GitRepoSource class
GitRepoSource describes a repo and ref of a code repository.
Constructors
-
GitRepoSource({Input<
String> ? bitbucketServerConfig, Input<String> ? githubEnterpriseConfig, Input<String> ? ref, Input<GitRepoSourceRepoType> ? repoType, Input<String> ? repository, Input<String> ? uri}) -
Creates a new GitRepoSource.
bitbucketServerConfigThe full resource name of the bitbucket server config. Format:projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.githubEnterpriseConfigThe full resource name of the github enterprise config. Format:projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}.projects/{project}/githubEnterpriseConfigs/{id}.refThe branch or tag to use. Must start with "refs/" (required).repoTypeSee RepoType below.repositoryThe connected repository resource name, in the formatprojects/*/locations/*/connections/*/repositories/*. Eitheruriorrepositorycan be specified and is required.uriThe URI of the repo (e.g. https://github.com/user/repo.git). Eitheruriorrepositorycan be specified and is required.const -
GitRepoSource.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/*. Eitheruriorrepositorycan be specified and is required.final -
repoType
→ Input<
GitRepoSourceRepoType> ? -
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
uriorrepositorycan 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