GitRepoSourceResponse class

GitRepoSource describes a repo and ref of a code repository.

Constructors

GitRepoSourceResponse({required Input<String> bitbucketServerConfig, required Input<String> githubEnterpriseConfig, required Input<String> ref, required Input<String> repoType, required Input<String> repository, 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.
const
GitRepoSourceResponse.fromMap(Map<String, dynamic> map)
factory

Properties

bitbucketServerConfig → Input<String>
The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
final
githubEnterpriseConfig → Input<String>
The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
final
hashCode → int
The hash code for this object.
no setterinherited
ref → Input<String>
The branch or tag to use. Must start with "refs/" (required).
final
repository → Input<String>
The connected repository resource name, in the format projects/*/locations/*/connections/*/repositories/*. Either uri or repository can be specified and is required.
final
repoType → Input<String>
See RepoType below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → Input<String>
The URI of the repo (e.g. https://github.com/user/repo.git). Either uri or repository can be specified and is required.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited