TriggerGitFileSource class
Constructors
-
TriggerGitFileSource({Input<String?>? bitbucketServerConfig, Input<String?>? githubEnterpriseConfig, required Input<String> path, required Input<String> repoType, Input<String?>? repository, Input<String?>? revision, Input<String?>? uri})
-
Creates a new TriggerGitFileSource.
bitbucketServerConfig The full resource name of the bitbucket server config.
githubEnterpriseConfig The full resource name of the github enterprise config.
path The path of the file, with the repo root as the root of the path.
repoType The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
repository The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
revision The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
uri The URI of the repo (optional). If unspecified, the repo from which the trigger
const
-
TriggerGitFileSource.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 Repo API repository. The fully qualified resource name of the Repo API repository.
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>
-
The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER
Possible values are:
UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER.
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 (optional). If unspecified, the repo from which the trigger
invocation originated is assumed to be the repo from which to read the specified path.
final