Interface LockBucketRetentionPolicyRequestOrBuilder (2.38.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
Type Description
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
Type Description
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
Type Description
long

The ifMetagenerationMatch.