Interface DeleteManagedFolderRequestOrBuilder (2.38.0)

public interface DeleteManagedFolderRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowNonEmpty()

public abstract boolean getAllowNonEmpty()

Allows deletion of a managed folder even if it is not empty. A managed folder is empty if it manages no child managed folders or objects. Caller must have permission for storage.managedFolders.setIamPolicy.

bool allow_non_empty = 5;

Returns
Type Description
boolean

The allowNonEmpty.

getIfMetagenerationMatch()

public abstract long getIfMetagenerationMatch()

The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

optional int64 if_metageneration_match = 3;

Returns
Type Description
long

The ifMetagenerationMatch.

getIfMetagenerationNotMatch()

public abstract long getIfMetagenerationNotMatch()

The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

optional int64 if_metageneration_not_match = 4;

Returns
Type Description
long

The ifMetagenerationNotMatch.

getName()

public abstract String getName()

Required. Name of the managed folder. Format: projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}

string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of the managed folder. Format: projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}

string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getRequestId()

public abstract String getRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasIfMetagenerationMatch()

public abstract boolean hasIfMetagenerationMatch()

The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

optional int64 if_metageneration_match = 3;

Returns
Type Description
boolean

Whether the ifMetagenerationMatch field is set.

hasIfMetagenerationNotMatch()

public abstract boolean hasIfMetagenerationNotMatch()

The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

optional int64 if_metageneration_not_match = 4;

Returns
Type Description
boolean

Whether the ifMetagenerationNotMatch field is set.