Cloud Run Admin v2 API - Class StorageSource (2.11.0)

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

Reference documentation and code samples for the Cloud Run Admin v2 API class StorageSource.

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

Inheritance

object > StorageSource

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

StorageSource()

public StorageSource()

StorageSource(StorageSource)

public StorageSource(StorageSource other)
Parameter
Name Description
other StorageSource

Properties

Bucket

public string Bucket { get; set; }

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

Property Value
Type Description
string

Generation

public long Generation { get; set; }

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

Property Value
Type Description
long

Object

public string Object { get; set; }

Required. Google Cloud Storage object containing the source.

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

Property Value
Type Description
string