Reference documentation and code samples for the Google Cloud Storage Control V2 Client class DeleteFolderRequest.
Request message for DeleteFolder. This operation is only applicable to a hierarchical namespace enabled bucket.
Generated from protobuf message google.storage.control.v2.DeleteFolderRequest
Namespace
Google \ Cloud \ Storage \ Control \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Name of the folder. Format: projects/{project}/buckets/{bucket}/folders/{folder}
↳ if_metageneration_match
int|string
Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.
↳ if_metageneration_not_match
int|string
Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.
↳ request_id
string
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.
getName
Required. Name of the folder.
Format: projects/{project}/buckets/{bucket}/folders/{folder}
string
setName
Required. Name of the folder.
Format: projects/{project}/buckets/{bucket}/folders/{folder}
var
string
$this
getIfMetagenerationMatch
Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.
int|string
hasIfMetagenerationMatch
clearIfMetagenerationMatch
setIfMetagenerationMatch
Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.
var
int|string
$this
getIfMetagenerationNotMatch
Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.
int|string
hasIfMetagenerationNotMatch
clearIfMetagenerationNotMatch
setIfMetagenerationNotMatch
Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.
var
int|string
$this
getRequestId
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.
string
setRequestId
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.
var
string
$this
static::build
name
string
Required. Name of the folder.
Format: projects/{project}/buckets/{bucket}/folders/{folder}
Please see StorageControlClient::folderName()
for help formatting this field.