GitRepoSource constructor

const GitRepoSource({
  1. Input<String>? bitbucketServerConfig,
  2. Input<String>? githubEnterpriseConfig,
  3. Input<String>? ref,
  4. Input<GitRepoSourceRepoType>? repoType,
  5. Input<String>? repository,
  6. Input<String>? uri,
})

Creates a new GitRepoSource. 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}. ref The branch or tag to use. Must start with "refs/" (required). repoType See RepoType below. repository The connected repository resource name, in the format projects/*/locations/*/connections/*/repositories/*. Either uri or repository can be specified and is required. uri The URI of the repo (e.g. https://github.com/user/repo.git). Either uri or repository can be specified and is required.

Implementation

const GitRepoSource({
  this.bitbucketServerConfig,
  this.githubEnterpriseConfig,
  this.ref,
  this.repoType,
  this.repository,
  this.uri,
});