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.
A string representation of the resource path.
For Google Cloud, it has the format of
organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}
where there can be any number of folders.
For AWS, it has the format of
org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}
where there can be any number of organizational units.
For Azure, it has the format of
mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}
where there can be any number of management groups.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eResource\u003c/code\u003e class within the Google Cloud Security Center v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResource\u003c/code\u003e class offers information related to a Google Cloud resource, implementing various interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers various versions of the API, ranging from 3.24.0 (latest) down to 2.2.0, each linking to its respective version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eAwsMetadata\u003c/code\u003e, \u003ccode\u003eAzureMetadata\u003c/code\u003e, \u003ccode\u003eCloudProvider\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, and \u003ccode\u003eResourcePath\u003c/code\u003e, detailing various aspects of a cloud resource.\u003c/p\u003e\n"],["\u003cp\u003eIt outlines inheritance, constructors, properties, and their respective descriptions, such as \u003ccode\u003eFolders\u003c/code\u003e which shows the asset ancestry, and \u003ccode\u003eResourcePathString\u003c/code\u003e which shows a detailed path within the cloud provider.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Security Command Center v1 API - Class Resource (3.24.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.24.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.23.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.23.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.22.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.21.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.20.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.19.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.18.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.17.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.16.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.15.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.14.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.13.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.12.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.11.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.10.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.9.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.8.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.7.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.6.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.5.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.4.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.3.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.2.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.1.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.0.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.13.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.12.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.11.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.10.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.9.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.8.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.7.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.6.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.5.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.4.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.3.0/Google.Cloud.SecurityCenter.V1.Resource)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.2.0/Google.Cloud.SecurityCenter.V1.Resource) \n\n public sealed class Resource : IMessage\u003cResource\u003e, IEquatable\u003cResource\u003e, IDeepCloneable\u003cResource\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Security Command Center v1 API class Resource.\n\nInformation related to the Google Cloud resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Resource \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Resource](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.Resource), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Resource](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.Resource), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Resource](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.Resource), [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.V1](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V1.dll\n\nConstructors\n------------\n\n### Resource()\n\n public Resource()\n\n### Resource(Resource)\n\n public Resource(Resource other)\n\nProperties\n----------\n\n### AwsMetadata\n\n public AwsMetadata AwsMetadata { get; set; }\n\nThe AWS metadata associated with the finding.\n\n### AzureMetadata\n\n public AzureMetadata AzureMetadata { get; set; }\n\nThe Azure metadata associated with the finding.\n\n### CloudProvider\n\n public CloudProvider CloudProvider { get; set; }\n\nIndicates which cloud provider the resource resides in.\n\n### CloudProviderMetadataCase\n\n public Resource.CloudProviderMetadataOneofCase CloudProviderMetadataCase { get; }\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nThe human readable name of the resource.\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### Location\n\n public string Location { get; set; }\n\nThe region or location of the service (if applicable).\n\n### Name\n\n public string Name { get; set; }\n\nThe full resource name of the resource. See:\n\u003chttps://cloud.google.com/apis/design/resource_names#full_resource_name\u003e\n\n### Organization\n\n public string Organization { get; set; }\n\nIndicates which organization or tenant in the cloud provider the finding\napplies 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.\n\n### ResourcePath\n\n public ResourcePath ResourcePath { get; set; }\n\nProvides the path to the resource within the resource hierarchy.\n\n### ResourcePathString\n\n public string ResourcePathString { get; set; }\n\nA string representation of the resource path.\nFor Google Cloud, it has the format of\n`organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}`\nwhere there can be any number of folders.\nFor AWS, it has the format of\n`org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}`\nwhere there can be any number of organizational units.\nFor Azure, it has the format of\n`mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}`\nwhere there can be any number of management groups.\n\n### Service\n\n public string Service { get; set; }\n\nThe parent service or product from which the resource is provided, for\nexample, GKE or SNS.\n\n### Type\n\n public string Type { get; set; }\n\nThe full resource type of the resource."]]