public sealed class Asset : IMessage<Asset>, IEquatable<Asset>, IDeepCloneable<Asset>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center v1 API class Asset.
Security Command Center representation of a Google Cloud
resource.
The Asset is a Security Command Center resource that captures information
about a single Google Cloud resource. All modifications to an Asset are only
within the context of Security Command Center and don't affect the referenced
Google Cloud resource.
The canonical name of the resource. It's either
"organizations/{organization_id}/assets/{asset_id}",
"folders/{folder_id}/assets/{asset_id}" or
"projects/{project_number}/assets/{asset_id}", depending on the closest CRM
ancestor of the resource.
public Asset.Types.IamPolicy IamPolicy { get; set; }
Cloud IAM Policy information associated with the Google Cloud resource
described by the Security Command Center asset. This information is managed
and defined by the Google Cloud resource and cannot be modified by the
user.
[[["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\u003eThe latest version available for the Google.Cloud.SecurityCenter.V1.Asset is 3.24.0, with a list of previous versions dating back to 2.2.0 also available.\u003c/p\u003e\n"],["\u003cp\u003eThe Asset class represents a Security Command Center resource that contains information about a single Google Cloud resource, and all changes made to an Asset are only within the scope of the Security Command Center.\u003c/p\u003e\n"],["\u003cp\u003eThe Asset class includes properties such as AssetName, CanonicalName, CreateTime, IamPolicy, Name, ResourceProperties, SecurityCenterProperties, SecurityMarks, and UpdateTime, which provide detailed information about the resource.\u003c/p\u003e\n"],["\u003cp\u003eThe Asset class implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, ensuring compatibility and functionality within the .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eThe Security Command Center manages certain properties of an Asset, such as SecurityCenterProperties, while other properties like SecurityMarks can be managed directly by the user.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Security Command Center v1 API - Class Asset (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.Asset)\n- [3.23.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.23.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.22.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.21.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.20.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.19.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.18.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.17.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.16.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.15.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.14.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.13.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.12.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.11.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.10.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.9.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.8.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.7.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.6.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.5.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.4.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.3.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.2.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.1.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/3.0.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.13.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.12.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.11.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.10.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.9.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.8.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.7.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.6.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.5.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.4.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.3.0/Google.Cloud.SecurityCenter.V1.Asset)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/2.2.0/Google.Cloud.SecurityCenter.V1.Asset) \n\n public sealed class Asset : IMessage\u003cAsset\u003e, IEquatable\u003cAsset\u003e, IDeepCloneable\u003cAsset\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Security Command Center v1 API class Asset.\n\nSecurity Command Center representation of a Google Cloud\nresource.\n\nThe Asset is a Security Command Center resource that captures information\nabout a single Google Cloud resource. All modifications to an Asset are only\nwithin the context of Security Command Center and don't affect the referenced\nGoogle Cloud resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Asset \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Asset](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.Asset), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Asset](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.Asset), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Asset](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.Asset), [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### Asset()\n\n public Asset()\n\n### Asset(Asset)\n\n public Asset(Asset other)\n\nProperties\n----------\n\n### AssetName\n\n public AssetName AssetName { get; set; }\n\n[AssetName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.AssetName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1/latest/Google.Cloud.SecurityCenter.V1.Asset#Google_Cloud_SecurityCenter_V1_Asset_Name) resource name property.\n\n### CanonicalName\n\n public string CanonicalName { get; set; }\n\nThe canonical name of the resource. It's either\n\"organizations/{organization_id}/assets/{asset_id}\",\n\"folders/{folder_id}/assets/{asset_id}\" or\n\"projects/{project_number}/assets/{asset_id}\", depending on the closest CRM\nancestor of the resource.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nThe time at which the asset was created in Security Command Center.\n\n### IamPolicy\n\n public Asset.Types.IamPolicy IamPolicy { get; set; }\n\nCloud IAM Policy information associated with the Google Cloud resource\ndescribed by the Security Command Center asset. This information is managed\nand defined by the Google Cloud resource and cannot be modified by the\nuser.\n\n### Name\n\n public string Name { get; set; }\n\nThe relative resource name of this asset. See:\n\u003chttps://cloud.google.com/apis/design/resource_names#relative_resource_name\u003e\nExample:\n\"organizations/{organization_id}/assets/{asset_id}\".\n\n### ResourceProperties\n\n public MapField\u003cstring, Value\u003e ResourceProperties { get; }\n\nResource managed properties. These properties are managed and defined by\nthe Google Cloud resource and cannot be modified by the user.\n\n### SecurityCenterProperties\n\n public Asset.Types.SecurityCenterProperties SecurityCenterProperties { get; set; }\n\nSecurity Command Center managed properties. These properties are managed by\nSecurity Command Center and cannot be modified by the user.\n\n### SecurityMarks\n\n public SecurityMarks SecurityMarks { get; set; }\n\nUser specified security marks. These marks are entirely managed by the user\nand come from the SecurityMarks resource that belongs to the asset.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nThe time at which the asset was last updated or added in Cloud SCC."]]