Cloud Functions v2beta API - Class StorageSource (1.0.0-beta03)

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

Reference documentation and code samples for the Cloud Functions v2beta API class StorageSource.

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

Inheritance

object > StorageSource

Namespace

Google.Cloud.Functions.V2Beta

Assembly

Google.Cloud.Functions.V2Beta.dll

Constructors

StorageSource()

public StorageSource()

StorageSource(StorageSource)

public StorageSource(StorageSource other)
Parameter
NameDescription
otherStorageSource

Properties

Bucket

public string Bucket { get; set; }

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

Property Value
TypeDescription
string

Generation

public long Generation { get; set; }

Google 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; }

Google Cloud Storage object containing the source.

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

Property Value
TypeDescription
string