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-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eGcpMetadata\u003c/code\u003e is a class within the Security Command Center v2 API, specifically designed to represent metadata associated with Google Cloud Platform resources.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides properties such as \u003ccode\u003eFolders\u003c/code\u003e, \u003ccode\u003eOrganization\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentDisplayName\u003c/code\u003e, \u003ccode\u003eProject\u003c/code\u003e, and \u003ccode\u003eProjectDisplayName\u003c/code\u003e to access hierarchical information about a resource.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcpMetadata\u003c/code\u003e implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring compatibility and functionality within the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThere are two versions of the class shown, \u003ccode\u003e1.1.0\u003c/code\u003e and \u003ccode\u003e1.0.0\u003c/code\u003e, with the former being the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcpMetadata\u003c/code\u003e class offers two constructors: a default one \u003ccode\u003eGcpMetadata()\u003c/code\u003e, and one that accepts another \u003ccode\u003eGcpMetadata\u003c/code\u003e object for easy copying or modification.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class GcpMetadata (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.GcpMetadata)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.GcpMetadata)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.GcpMetadata) \n\n public sealed class GcpMetadata : IMessage\u003cGcpMetadata\u003e, IEquatable\u003cGcpMetadata\u003e, IDeepCloneable\u003cGcpMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class GcpMetadata.\n\nGoogle Cloud metadata associated with the resource. Only applicable if the\nfinding's cloud provider is Google Cloud. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GcpMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GcpMetadata](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.GcpMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GcpMetadata](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.GcpMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GcpMetadata](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.GcpMetadata), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### GcpMetadata()\n\n public GcpMetadata()\n\n### GcpMetadata(GcpMetadata)\n\n public GcpMetadata(GcpMetadata other)\n\nProperties\n----------\n\n### Folders\n\n public RepeatedField\u003cFolder\u003e Folders { get; }\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### Organization\n\n public string Organization { get; set; }\n\nThe name of the organization that the resource belongs to.\n\n### Parent\n\n public string Parent { get; set; }\n\nThe full resource name of resource's parent.\n\n### ParentDisplayName\n\n public string ParentDisplayName { get; set; }\n\nThe human readable name of resource's parent.\n\n### Project\n\n public string Project { get; set; }\n\nThe full resource name of project that the resource belongs to.\n\n### ProjectDisplayName\n\n public string ProjectDisplayName { get; set; }\n\nThe project ID that the resource belongs to."]]