Makes the operation only succeed conditional on whether the folder's
current metageneration matches the given value.
Returns
Type
Description
int|string
hasIfMetagenerationMatch
clearIfMetagenerationMatch
setIfMetagenerationMatch
Makes the operation only succeed conditional on whether the folder's
current metageneration matches the given value.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getIfMetagenerationNotMatch
Makes the operation only succeed conditional on whether the folder's
current metageneration does not match the given value.
Returns
Type
Description
int|string
hasIfMetagenerationNotMatch
clearIfMetagenerationNotMatch
setIfMetagenerationNotMatch
Makes the operation only succeed conditional on whether the folder's
current metageneration does not match the given value.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getRequestId
Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted.
Returns
Type
Description
string
setRequestId
Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. Name of the folder.
Format:projects/{project}/buckets/{bucket}/folders/{folder}Please seeStorageControlClient::folderName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Storage Control V2 Client - Class GetFolderRequest (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-storage-control/latest/V2.GetFolderRequest)\n- [1.4.0](/php/docs/reference/cloud-storage-control/1.4.0/V2.GetFolderRequest)\n- [1.3.0](/php/docs/reference/cloud-storage-control/1.3.0/V2.GetFolderRequest)\n- [1.1.0](/php/docs/reference/cloud-storage-control/1.1.0/V2.GetFolderRequest)\n- [1.0.3](/php/docs/reference/cloud-storage-control/1.0.3/V2.GetFolderRequest)\n- [0.2.1](/php/docs/reference/cloud-storage-control/0.2.1/V2.GetFolderRequest)\n- [0.1.1](/php/docs/reference/cloud-storage-control/0.1.1/V2.GetFolderRequest) \nReference documentation and code samples for the Google Cloud Storage Control V2 Client class GetFolderRequest.\n\nRequest message for GetFolder. This operation is only applicable to a\nhierarchical namespace enabled bucket.\n\nGenerated from protobuf message `google.storage.control.v2.GetFolderRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Storage \\\\ Control \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Name of the folder.\n\nFormat: `projects/{project}/buckets/{bucket}/folders/{folder}`\n\n### setName\n\nRequired. Name of the folder.\n\nFormat: `projects/{project}/buckets/{bucket}/folders/{folder}`\n\n### getIfMetagenerationMatch\n\nMakes the operation only succeed conditional on whether the folder's\ncurrent metageneration matches the given value.\n\n### hasIfMetagenerationMatch\n\n### clearIfMetagenerationMatch\n\n### setIfMetagenerationMatch\n\nMakes the operation only succeed conditional on whether the folder's\ncurrent metageneration matches the given value.\n\n### getIfMetagenerationNotMatch\n\nMakes the operation only succeed conditional on whether the folder's\ncurrent metageneration does not match the given value.\n\n### hasIfMetagenerationNotMatch\n\n### clearIfMetagenerationNotMatch\n\n### setIfMetagenerationNotMatch\n\nMakes the operation only succeed conditional on whether the folder's\ncurrent metageneration does not match the given value.\n\n### getRequestId\n\nOptional. A unique identifier for this request. UUID is the recommended\nformat, but other formats are still accepted.\n\n### setRequestId\n\nOptional. A unique identifier for this request. UUID is the recommended\nformat, but other formats are still accepted.\n\n### static::build"]]