Cloud Security Command Center V1p1beta1 API - Class Google::Cloud::SecurityCenter::V1p1beta1::Asset (v0.14.1)

Reference documentation and code samples for the Cloud Security Command Center V1p1beta1 API class Google::Cloud::SecurityCenter::V1p1beta1::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.

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::V1p1beta1::Asset::IamPolicy
Returns

#iam_policy=

def iam_policy=(value) -> ::Google::Cloud::SecurityCenter::V1p1beta1::Asset::IamPolicy
Parameter
Returns

#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::V1p1beta1::Asset::SecurityCenterProperties
Returns

#security_center_properties=

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

#security_marks

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

#security_marks=

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

#update_time

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

#update_time=

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