Interface LockBucketRetentionPolicyRequestOrBuilder (2.22.0)

public interface LockBucketRetentionPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

public abstract String getBucket()

Required. Name of a bucket.

string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

Required. Name of a bucket.

string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for bucket.

getIfMetagenerationMatch()

public abstract long getIfMetagenerationMatch()

Required. Makes the operation conditional on whether bucket's current metageneration matches the given value. Must be positive.

int64 if_metageneration_match = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
long

The ifMetagenerationMatch.