[[["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 StorageLayout (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-storage-control/latest/V2.StorageLayout)\n- [1.4.0](/php/docs/reference/cloud-storage-control/1.4.0/V2.StorageLayout)\n- [1.3.0](/php/docs/reference/cloud-storage-control/1.3.0/V2.StorageLayout)\n- [1.1.0](/php/docs/reference/cloud-storage-control/1.1.0/V2.StorageLayout)\n- [1.0.3](/php/docs/reference/cloud-storage-control/1.0.3/V2.StorageLayout)\n- [0.2.1](/php/docs/reference/cloud-storage-control/0.2.1/V2.StorageLayout)\n- [0.1.1](/php/docs/reference/cloud-storage-control/0.1.1/V2.StorageLayout) \nReference documentation and code samples for the Google Cloud Storage Control V2 Client class StorageLayout.\n\nThe storage layout configuration of a bucket.\n\nGenerated from protobuf message `google.storage.control.v2.StorageLayout`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Storage \\\\ Control \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. The name of the StorageLayout resource.\n\nFormat: `projects/{project}/buckets/{bucket}/storageLayout`\n\n### setName\n\nOutput only. The name of the StorageLayout resource.\n\nFormat: `projects/{project}/buckets/{bucket}/storageLayout`\n\n### getLocation\n\nOutput only. The location of the bucket.\n\n### setLocation\n\nOutput only. The location of the bucket.\n\n### getLocationType\n\nOutput only. The location type of the bucket (region, dual-region,\nmulti-region, etc).\n\n### setLocationType\n\nOutput only. The location type of the bucket (region, dual-region,\nmulti-region, etc).\n\n### getCustomPlacementConfig\n\nOutput only. The data placement configuration for custom dual region. If\nthere is no configuration, this is not a custom dual region bucket.\n\n### hasCustomPlacementConfig\n\n### clearCustomPlacementConfig\n\n### setCustomPlacementConfig\n\nOutput only. The data placement configuration for custom dual region. If\nthere is no configuration, this is not a custom dual region bucket.\n\n### getHierarchicalNamespace\n\nOutput only. The bucket's hierarchical namespace configuration. If there is\nno configuration, the hierarchical namespace is disabled.\n\n### hasHierarchicalNamespace\n\n### clearHierarchicalNamespace\n\n### setHierarchicalNamespace\n\nOutput only. The bucket's hierarchical namespace configuration. If there is\nno configuration, the hierarchical namespace is disabled."]]