Google Cloud Security Command Center v1 API - Class Asset (3.6.0)

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.

Inheritance

Object > Asset

Namespace

Google.Cloud.SecurityCenter.V1

Assembly

Google.Cloud.SecurityCenter.V1.dll

Constructors

Asset()

public Asset()

Asset(Asset)

public Asset(Asset other)
Parameter
NameDescription
otherAsset

Properties

AssetName

public AssetName AssetName { get; set; }

AssetName-typed view over the Name resource name property.

Property Value
TypeDescription
AssetName

CanonicalName

public string CanonicalName { get; set; }

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.

Property Value
TypeDescription
String

CreateTime

public Timestamp CreateTime { get; set; }

The time at which the asset was created in Security Command Center.

Property Value
TypeDescription
Timestamp

IamPolicy

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.

Property Value
TypeDescription
Asset.Types.IamPolicy

Name

public string Name { get; set; }

The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".

Property Value
TypeDescription
String

ResourceProperties

public MapField<string, Value> ResourceProperties { get; }

Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.

Property Value
TypeDescription
MapField<String, Value>

SecurityCenterProperties

public Asset.Types.SecurityCenterProperties SecurityCenterProperties { get; set; }

Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.

Property Value
TypeDescription
Asset.Types.SecurityCenterProperties

SecurityMarks

public SecurityMarks SecurityMarks { get; set; }

User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.

Property Value
TypeDescription
SecurityMarks

UpdateTime

public Timestamp UpdateTime { get; set; }

The time at which the asset was last updated or added in Cloud SCC.

Property Value
TypeDescription
Timestamp