Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::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
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#canonical_name
def canonical_name() -> ::String
- (::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
- 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.
- (::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
- (::Google::Protobuf::Timestamp) — The time at which the asset was created in Security Command Center.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — The time at which the asset was created in Security Command Center.
- (::Google::Protobuf::Timestamp) — The time at which the asset was created in Security Command Center.
#iam_policy
def iam_policy() -> ::Google::Cloud::SecurityCenter::V1::Asset::IamPolicy
- (::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
- 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.
- (::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
- (::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
- 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}".
- (::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}
- (::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}
- 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.
- (::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
- (::Google::Cloud::SecurityCenter::V1::Asset::SecurityCenterProperties) — Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
#security_center_properties=
def security_center_properties=(value) -> ::Google::Cloud::SecurityCenter::V1::Asset::SecurityCenterProperties
- value (::Google::Cloud::SecurityCenter::V1::Asset::SecurityCenterProperties) — Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
- (::Google::Cloud::SecurityCenter::V1::Asset::SecurityCenterProperties) — Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
#security_marks
def security_marks() -> ::Google::Cloud::SecurityCenter::V1::SecurityMarks
- (::Google::Cloud::SecurityCenter::V1::SecurityMarks) — User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
#security_marks=
def security_marks=(value) -> ::Google::Cloud::SecurityCenter::V1::SecurityMarks
- value (::Google::Cloud::SecurityCenter::V1::SecurityMarks) — User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
- (::Google::Cloud::SecurityCenter::V1::SecurityMarks) — User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — The time at which the asset was last updated or added in Cloud SCC.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — The time at which the asset was last updated or added in Cloud SCC.
- (::Google::Protobuf::Timestamp) — The time at which the asset was last updated or added in Cloud SCC.