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.
Implements
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1.Data
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class Asset : IDirectResponseSchema
Properties
CanonicalName
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.
Declaration
[JsonProperty("canonicalName")]
public virtual string CanonicalName { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
The time at which the asset was created in Security Command Center.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
IamPolicy
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.
Declaration
[JsonProperty("iamPolicy")]
public virtual IamPolicy IamPolicy { get; set; }
Property Value
Type | Description |
---|---|
IamPolicy |
Name
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}".
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceProperties
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
Declaration
[JsonProperty("resourceProperties")]
public virtual IDictionary<string, object> ResourceProperties { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
SecurityCenterProperties
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
Declaration
[JsonProperty("securityCenterProperties")]
public virtual SecurityCenterProperties SecurityCenterProperties { get; set; }
Property Value
Type | Description |
---|---|
SecurityCenterProperties |
SecurityMarks
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
Declaration
[JsonProperty("securityMarks")]
public virtual SecurityMarks SecurityMarks { get; set; }
Property Value
Type | Description |
---|---|
SecurityMarks |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
The time at which the asset was last updated or added in Cloud SCC.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |