Interface OSPolicy.Resource.File.GcsOrBuilder (2.56.0)

public static interface OSPolicy.Resource.File.GcsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

public abstract String getBucket()

Required. Bucket of the Cloud Storage object.

string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

Required. Bucket of the Cloud Storage object.

string bucket = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucket.

getGeneration()

public abstract long getGeneration()

Generation number of the Cloud Storage object.

int64 generation = 3;

Returns
Type Description
long

The generation.

getObject()

public abstract String getObject()

Required. Name of the Cloud Storage object.

string object = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The object.

getObjectBytes()

public abstract ByteString getObjectBytes()

Required. Name of the Cloud Storage object.

string object = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for object.