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.
Namespace
GoogleCloudGoogle.Cloud.SecurityCenterV1Assembly
Google.Cloud.SecurityCenter.V1.dll
Constructors
Asset()
public Asset()
Asset(Asset)
public Asset(Asset other)
Parameter | |
---|---|
Name | Description |
other | Asset |
Properties
AssetName
public AssetName AssetName { get; set; }
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
CreateTime
public Timestamp CreateTime { get; set; }
The time at which the asset was created in Security Command Center.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
AssetTypesIamPolicy |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
MapFieldstringValue |
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 | |
---|---|
Type | Description |
AssetTypesSecurityCenterProperties |
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 | |
---|---|
Type | Description |
SecurityMarks |
UpdateTime
public Timestamp UpdateTime { get; set; }
The time at which the asset was last updated or added in Cloud SCC.
Property Value | |
---|---|
Type | Description |
Timestamp |