Class GitFileSource
GitFileSource describes a file within a (possibly remote) code repository.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class GitFileSource : IDirectResponseSchema
Properties
BitbucketServerConfig
The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
Declaration
[JsonProperty("bitbucketServerConfig")]
public virtual string BitbucketServerConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GithubEnterpriseConfig
The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}.
projects/{project}/githubEnterpriseConfigs/{id}.
Declaration
[JsonProperty("githubEnterpriseConfig")]
public virtual string GithubEnterpriseConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Path
The path of the file, with the repo root as the root of the path.
Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RepoType
See RepoType above.
Declaration
[JsonProperty("repoType")]
public virtual string RepoType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Repository
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.
Declaration
[JsonProperty("repository")]
public virtual string Repository { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Revision
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.
Declaration
[JsonProperty("revision")]
public virtual string Revision { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uri
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.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |