GitRepoSourceResponse constructor

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

Creates a new GitRepoSourceResponse. 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 GitRepoSourceResponse({
  required this.bitbucketServerConfig,
  required this.githubEnterpriseConfig,
  required this.ref,
  required this.repoType,
  required this.repository,
  required this.uri,
});