Reference documentation and code samples for the Google Cloud Storage Control V2 Client class ManagedFolder.
A managed folder.
Generated from protobuf messagegoogle.storage.control.v2.ManagedFolder
Namespace
Google \ Cloud \ Storage \ Control \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of this managed folder. Format:projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}
↳ metageneration
int|string
Output only. The metadata version of this managed folder. It increases whenever the metadata is updated. Used for preconditions and for detecting changes in metadata. Managed folders don't have a generation number.
Output only. The metadata version of this managed folder. It increases
whenever the metadata is updated. Used for preconditions and for detecting
changes in metadata. Managed folders don't have a generation number.
Returns
Type
Description
int|string
setMetageneration
Output only. The metadata version of this managed folder. It increases
whenever the metadata is updated. Used for preconditions and for detecting
changes in metadata. Managed folders don't have a generation number.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getCreateTime
Output only. The creation time of the managed folder.
[[["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 ManagedFolder (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-storage-control/latest/V2.ManagedFolder)\n- [1.4.0](/php/docs/reference/cloud-storage-control/1.4.0/V2.ManagedFolder)\n- [1.3.0](/php/docs/reference/cloud-storage-control/1.3.0/V2.ManagedFolder)\n- [1.1.0](/php/docs/reference/cloud-storage-control/1.1.0/V2.ManagedFolder)\n- [1.0.3](/php/docs/reference/cloud-storage-control/1.0.3/V2.ManagedFolder)\n- [0.2.1](/php/docs/reference/cloud-storage-control/0.2.1/V2.ManagedFolder)\n- [0.1.1](/php/docs/reference/cloud-storage-control/0.1.1/V2.ManagedFolder) \nReference documentation and code samples for the Google Cloud Storage Control V2 Client class ManagedFolder.\n\nA managed folder.\n\nGenerated from protobuf message `google.storage.control.v2.ManagedFolder`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Storage \\\\ Control \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The name of this managed folder.\n\nFormat:\n`projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`\n\n### setName\n\nIdentifier. The name of this managed folder.\n\nFormat:\n`projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`\n\n### getMetageneration\n\nOutput only. The metadata version of this managed folder. It increases\nwhenever the metadata is updated. Used for preconditions and for detecting\nchanges in metadata. Managed folders don't have a generation number.\n\n### setMetageneration\n\nOutput only. The metadata version of this managed folder. It increases\nwhenever the metadata is updated. Used for preconditions and for detecting\nchanges in metadata. Managed folders don't have a generation number.\n\n### getCreateTime\n\nOutput only. The creation time of the managed folder.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The creation time of the managed folder.\n\n### getUpdateTime\n\nOutput only. The modification time of the managed folder.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The modification time of the managed folder."]]