Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
↳ organization
string
The name of the organization that the resource belongs to.
getProject
The full resource name of project that the resource belongs to.
Returns
Type
Description
string
setProject
The full resource name of project that the resource belongs to.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getProjectDisplayName
The project ID that the resource belongs to.
Returns
Type
Description
string
setProjectDisplayName
The project ID that the resource belongs to.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getParent
The full resource name of resource's parent.
Returns
Type
Description
string
setParent
The full resource name of resource's parent.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getParentDisplayName
The human readable name of resource's parent.
Returns
Type
Description
string
setParentDisplayName
The human readable name of resource's parent.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFolders
Output only. Contains a Folder message for each folder in the assets
ancestry. The first folder is the deepest nested folder, and the last
folder is the folder directly under the Organization.
Output only. Contains a Folder message for each folder in the assets
ancestry. The first folder is the deepest nested folder, and the last
folder is the folder directly under the Organization.
[[["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 Security Command Center V2 Client - Class GcpMetadata (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V2.GcpMetadata)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V2.GcpMetadata)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V2.GcpMetadata)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V2.GcpMetadata)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V2.GcpMetadata)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V2.GcpMetadata)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V2.GcpMetadata)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V2.GcpMetadata)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V2.GcpMetadata)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V2.GcpMetadata)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V2.GcpMetadata)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V2.GcpMetadata)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V2.GcpMetadata)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V2.GcpMetadata)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V2.GcpMetadata)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V2.GcpMetadata)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V2.GcpMetadata)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V2.GcpMetadata) \nReference documentation and code samples for the Google Cloud Security Command Center V2 Client class GcpMetadata.\n\nGoogle Cloud metadata associated with the resource. Only applicable if the\nfinding's cloud provider is Google Cloud.\n\nGenerated from protobuf message `google.cloud.securitycenter.v2.GcpMetadata`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getProject\n\nThe full resource name of project that the resource belongs to.\n\n### setProject\n\nThe full resource name of project that the resource belongs to.\n\n### getProjectDisplayName\n\nThe project ID that the resource belongs to.\n\n### setProjectDisplayName\n\nThe project ID that the resource belongs to.\n\n### getParent\n\nThe full resource name of resource's parent.\n\n### setParent\n\nThe full resource name of resource's parent.\n\n### getParentDisplayName\n\nThe human readable name of resource's parent.\n\n### setParentDisplayName\n\nThe human readable name of resource's parent.\n\n### getFolders\n\nOutput only. Contains a Folder message for each folder in the assets\nancestry. The first folder is the deepest nested folder, and the last\nfolder is the folder directly under the Organization.\n\n### setFolders\n\nOutput only. Contains a Folder message for each folder in the assets\nancestry. The first folder is the deepest nested folder, and the last\nfolder is the folder directly under the Organization.\n\n### getOrganization\n\nThe name of the organization that the resource belongs to.\n\n### setOrganization\n\nThe name of the organization that the resource belongs to."]]