Class Google::Cloud::SecurityCenter::V1::Asset (v0.12.1)

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#canonical_name

def canonical_name() -> ::String
Returns
  • (::String) — 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.

#canonical_name=

def canonical_name=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#iam_policy

def iam_policy() -> ::Google::Cloud::SecurityCenter::V1::Asset::IamPolicy
Returns
  • (::Google::Cloud::SecurityCenter::V1::Asset::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.

#iam_policy=

def iam_policy=(value) -> ::Google::Cloud::SecurityCenter::V1::Asset::IamPolicy
Parameter
  • value (::Google::Cloud::SecurityCenter::V1::Asset::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.
Returns
  • (::Google::Cloud::SecurityCenter::V1::Asset::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.

#name

def name() -> ::String
Returns
  • (::String) — 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}".

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — 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}".
Returns
  • (::String) — 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}".

#resource_properties

def resource_properties() -> ::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}) — Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.

#resource_properties=

def resource_properties=(value) -> ::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}) — Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}) — Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.

#security_center_properties

def security_center_properties() -> ::Google::Cloud::SecurityCenter::V1::Asset::SecurityCenterProperties
Returns

#security_center_properties=

def security_center_properties=(value) -> ::Google::Cloud::SecurityCenter::V1::Asset::SecurityCenterProperties
Parameter
Returns

#security_marks

def security_marks() -> ::Google::Cloud::SecurityCenter::V1::SecurityMarks
Returns

#security_marks=

def security_marks=(value) -> ::Google::Cloud::SecurityCenter::V1::SecurityMarks
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#update_time=

def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns