GitFileSourceResponse class
GitFileSource describes a file within a (possibly remote) code repository.
Constructors
-
GitFileSourceResponse({required Input<
String> bitbucketServerConfig, required Input<String> githubEnterpriseConfig, required Input<String> path, required Input<String> repoType, required Input<String> repository, required Input<String> revision, required Input<String> uri}) -
Creates a new GitFileSourceResponse.
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}.pathThe path of the file, with the repo root as the root of the path.repoTypeSee RepoType above.repositoryThe 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.revisionThe 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.uriThe 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.const -
GitFileSourceResponse.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
-
path
→ Input<
String> -
The path of the file, with the repo root as the root of the path.
final
-
repository
→ Input<
String> -
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.
final
-
repoType
→ Input<
String> -
See RepoType above.
final
-
revision
→ Input<
String> -
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uri
→ Input<
String> -
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.
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