public sealed class Source : IMessage<Source>, IEquatable<Source>, IDeepCloneable<Source>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class Source.
Location of the source in a supported storage service.
Namespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
Source()
public Source()
Source(Source)
public Source(Source other)
Parameter | |
---|---|
Name | Description |
other | Source |
Properties
GitSource
public GitSource GitSource { get; set; }
If provided, get the source from this Git repository.
Property Value | |
---|---|
Type | Description |
GitSource |
RepoSource
public RepoSource RepoSource { get; set; }
If provided, get the source from this location in a Cloud Source Repository.
Property Value | |
---|---|
Type | Description |
RepoSource |
SourceCase
public Source.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
SourceSourceOneofCase |
StorageSource
public StorageSource StorageSource { get; set; }
If provided, get the source from this location in Cloud Storage.
Property Value | |
---|---|
Type | Description |
StorageSource |
StorageSourceManifest
public StorageSourceManifest StorageSourceManifest { get; set; }
If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.
Property Value | |
---|---|
Type | Description |
StorageSourceManifest |