GoogleApi.SecurityCenter.V1.Model.Asset (google_api_security_center v0.20.0) View Source

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.

Attributes

  • canonicalName (type: String.t, default: nil) - 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.
  • createTime (type: DateTime.t, default: nil) - The time at which the asset was created in Security Command Center.
  • iamPolicy (type: GoogleApi.SecurityCenter.V1.Model.IamPolicy.t, default: nil) - 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.
  • name (type: String.t, default: nil) - 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}".
  • resourceProperties (type: map(), default: nil) - Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
  • securityCenterProperties (type: GoogleApi.SecurityCenter.V1.Model.SecurityCenterProperties.t, default: nil) - Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
  • securityMarks (type: GoogleApi.SecurityCenter.V1.Model.SecurityMarks.t, default: nil) - User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
  • updateTime (type: DateTime.t, default: nil) - The time at which the asset was last updated or added in Cloud SCC.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.SecurityCenter.V1.Model.Asset{
  canonicalName: String.t() | nil,
  createTime: DateTime.t() | nil,
  iamPolicy: GoogleApi.SecurityCenter.V1.Model.IamPolicy.t() | nil,
  name: String.t() | nil,
  resourceProperties: map() | nil,
  securityCenterProperties:
    GoogleApi.SecurityCenter.V1.Model.SecurityCenterProperties.t() | nil,
  securityMarks: GoogleApi.SecurityCenter.V1.Model.SecurityMarks.t() | nil,
  updateTime: DateTime.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.