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
- (::Google::Protobuf::Timestamp) — The time at which the asset was created in Security Command Center.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time at which the asset was created in Security Command Center.
Returns
- (::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
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
- (::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
Parameter
- 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.
Returns
- (::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
Returns
- (::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
Parameter
- 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.
Returns
- (::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
Returns
- (::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
Parameter
- value (::Google::Protobuf::Timestamp) — The time at which the asset was last updated or added in Cloud SCC.
Returns
- (::Google::Protobuf::Timestamp) — The time at which the asset was last updated or added in Cloud SCC.