Cloud Build v1 API - Class StorageSource (2.8.0)

public sealed class StorageSource : IMessage<StorageSource>, IEquatable<StorageSource>, IDeepCloneable<StorageSource>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v1 API class StorageSource.

Location of the source in an archive file in Cloud Storage.

Inheritance

object > StorageSource

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

StorageSource()

public StorageSource()

StorageSource(StorageSource)

public StorageSource(StorageSource other)
Parameter
NameDescription
otherStorageSource

Properties

Bucket

public string Bucket { get; set; }

Cloud Storage bucket containing the source (see Bucket Name Requirements).

Property Value
TypeDescription
string

Generation

public long Generation { get; set; }

Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

Property Value
TypeDescription
long

Object

public string Object { get; set; }

Cloud Storage object containing the source.

This object must be a zipped (.zip) or gzipped archive file (.tar.gz) containing source to build.

Property Value
TypeDescription
string

SourceFetcher

public StorageSource.Types.SourceFetcher SourceFetcher { get; set; }

Option to specify the tool to fetch the source file for the build.

Property Value
TypeDescription
StorageSourceTypesSourceFetcher