Class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
Location of the source in any accessible Git repository.
Implements
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1beta1.Data
Assembly: Google.Apis.ContainerAnalysis.v1beta1.dll
Syntax
public class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource : IDirectResponseSchema
Properties
Dir
Optional. Directory, relative to the source root, in which to run the build. This must be a relative path.
If a step's dir
is specified and is an absolute path, this value is ignored for that step's execution.
Declaration
[JsonProperty("dir")]
public virtual string Dir { 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 |
Revision
Optional. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git
ref. Cloud Build uses git fetch
to fetch the revision from the Git repository; therefore make sure that
the string you provide for revision
is parsable by the command. For information on string values accepted
by git fetch
, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on git fetch
, see https://git-scm.com/docs/git-fetch.
Declaration
[JsonProperty("revision")]
public virtual string Revision { get; set; }
Property Value
Type | Description |
---|---|
string |
Url
Required. Location of the Git repo to build. This will be used as a git remote
, see
https://git-scm.com/docs/git-remote.
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type | Description |
---|---|
string |