Interface StorageSourceOrBuilder (2.53.0)

public interface StorageSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

public abstract String getBucket()

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

string bucket = 1;

Returns
Type Description
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

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

string bucket = 1;

Returns
Type Description
ByteString

The bytes for bucket.

getGeneration()

public abstract long getGeneration()

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

int64 generation = 3;

Returns
Type Description
long

The generation.

getObject()

public abstract String getObject()

Google Cloud Storage object containing the source.

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

string object = 2;

Returns
Type Description
String

The object.

getObjectBytes()

public abstract ByteString getObjectBytes()

Google Cloud Storage object containing the source.

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

string object = 2;

Returns
Type Description
ByteString

The bytes for object.

getSourceUploadUrl()

public abstract String getSourceUploadUrl()

When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.

string source_upload_url = 4;

Returns
Type Description
String

The sourceUploadUrl.

getSourceUploadUrlBytes()

public abstract ByteString getSourceUploadUrlBytes()

When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.

string source_upload_url = 4;

Returns
Type Description
ByteString

The bytes for sourceUploadUrl.