Cloud Build v1 API - Class Source (2.4.0)

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.

Inheritance

object > Source

Namespace

GoogleCloudGoogle.Cloud.CloudBuildV1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

Source()

public Source()

Source(Source)

public Source(Source other)
Parameter
NameDescription
otherSource

Properties

GitSource

public GitSource GitSource { get; set; }

If provided, get the source from this Git repository.

Property Value
TypeDescription
GitSource

RepoSource

public RepoSource RepoSource { get; set; }

If provided, get the source from this location in a Cloud Source Repository.

Property Value
TypeDescription
RepoSource

SourceCase

public Source.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
SourceSourceOneofCase

StorageSource

public StorageSource StorageSource { get; set; }

If provided, get the source from this location in Google Cloud Storage.

Property Value
TypeDescription
StorageSource

StorageSourceManifest

public StorageSourceManifest StorageSourceManifest { get; set; }

If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description here.

Property Value
TypeDescription
StorageSourceManifest