public sealed class Asset : IMessage<Asset>, IEquatable<Asset>, IDeepCloneable<Asset>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center v1p1beta1 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 \u003ccode\u003eAsset\u003c/code\u003e class represents a Google Cloud resource within the Security Command Center, providing a snapshot of a single resource's information.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eAsset\u003c/code\u003e class is part of the Google Cloud Security Command Center v1p1beta1 API and is available in different versions, with \u003ccode\u003e3.0.0-beta05\u003c/code\u003e being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsset\u003c/code\u003e class is sealed and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in data representation and manipulation.\u003c/p\u003e\n"],["\u003cp\u003eAssets have properties like \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eCanonicalName\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eIamPolicy\u003c/code\u003e, and \u003ccode\u003eSecurityCenterProperties\u003c/code\u003e, which store metadata, security, and other related information about the resource.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAsset\u003c/code\u003e data is read-only within the Security Command Center context, and its modifications do not impact the actual Google Cloud resource.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Security Command Center v1p1beta1 API - Class Asset (3.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.Asset)\n- [3.0.0-beta04](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/3.0.0-beta04/Google.Cloud.SecurityCenter.V1P1Beta1.Asset)\n- [2.0.0-beta07](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/2.0.0-beta07/Google.Cloud.SecurityCenter.V1P1Beta1.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 v1p1beta1 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.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.Asset), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Asset](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.Asset), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Asset](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.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.V1P1Beta1](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V1P1Beta1.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.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.AssetName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V1P1Beta1/latest/Google.Cloud.SecurityCenter.V1P1Beta1.Asset#Google_Cloud_SecurityCenter_V1P1Beta1_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."]]