GitFileSource constructor

const GitFileSource({
  1. Input<String>? bitbucketServerConfig,
  2. Input<String>? githubEnterpriseConfig,
  3. Input<String>? path,
  4. Input<GitFileSourceRepoType>? repoType,
  5. Input<String>? repository,
  6. Input<String>? revision,
  7. Input<String>? uri,
})

Creates a new GitFileSource. bitbucketServerConfig The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}. githubEnterpriseConfig The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}. path The path of the file, with the repo root as the root of the path. repoType See RepoType above. repository The fully qualified resource name of the Repos API repository. Either URI or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path. revision The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path. uri The URI of the repo. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

Implementation

const GitFileSource({
  this.bitbucketServerConfig,
  this.githubEnterpriseConfig,
  this.path,
  this.repoType,
  this.repository,
  this.revision,
  this.uri,
});