Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::ResourceValueConfig.
A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cloud_provider
def cloud_provider() -> ::Google::Cloud::SecurityCenter::V1::CloudProvider
Returns
- (::Google::Cloud::SecurityCenter::V1::CloudProvider) — Cloud provider this configuration applies to
#cloud_provider=
def cloud_provider=(value) -> ::Google::Cloud::SecurityCenter::V1::CloudProvider
Parameter
- value (::Google::Cloud::SecurityCenter::V1::CloudProvider) — Cloud provider this configuration applies to
Returns
- (::Google::Cloud::SecurityCenter::V1::CloudProvider) — Cloud provider this configuration applies to
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp this resource value configuration was created.
#description
def description() -> ::String
Returns
- (::String) — Description of the resource value configuration.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Description of the resource value configuration.
Returns
- (::String) — Description of the resource value configuration.
#name
def name() -> ::String
Returns
- (::String) — Name for the resource value configuration
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Name for the resource value configuration
Returns
- (::String) — Name for the resource value configuration
#resource_labels_selector
def resource_labels_selector() -> ::Google::Protobuf::Map{::String => ::String}
Returns
-
(::Google::Protobuf::Map{::String => ::String}) — List of resource labels to search for, evaluated with
AND
. For example,"resource_labels_selector": {"key": "value", "env": "prod"}
will match resources with labels "key": "value"AND
"env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels
#resource_labels_selector=
def resource_labels_selector=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
-
value (::Google::Protobuf::Map{::String => ::String}) — List of resource labels to search for, evaluated with
AND
. For example,"resource_labels_selector": {"key": "value", "env": "prod"}
will match resources with labels "key": "value"AND
"env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels
Returns
-
(::Google::Protobuf::Map{::String => ::String}) — List of resource labels to search for, evaluated with
AND
. For example,"resource_labels_selector": {"key": "value", "env": "prod"}
will match resources with labels "key": "value"AND
"env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels
#resource_type
def resource_type() -> ::String
Returns
-
(::String) — Apply resource_value only to resources that match resource_type.
resource_type will be checked with
AND
of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
#resource_type=
def resource_type=(value) -> ::String
Parameter
-
value (::String) — Apply resource_value only to resources that match resource_type.
resource_type will be checked with
AND
of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
Returns
-
(::String) — Apply resource_value only to resources that match resource_type.
resource_type will be checked with
AND
of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
#resource_value
def resource_value() -> ::Google::Cloud::SecurityCenter::V1::ResourceValue
Returns
- (::Google::Cloud::SecurityCenter::V1::ResourceValue) — Required. Resource value level this expression represents
#resource_value=
def resource_value=(value) -> ::Google::Cloud::SecurityCenter::V1::ResourceValue
Parameter
- value (::Google::Cloud::SecurityCenter::V1::ResourceValue) — Required. Resource value level this expression represents
Returns
- (::Google::Cloud::SecurityCenter::V1::ResourceValue) — Required. Resource value level this expression represents
#scope
def scope() -> ::String
Returns
-
(::String) — Project or folder to scope this configuration to.
For example, "project/456" would apply this configuration only to resources
in "project/456" scope will be checked with
AND
of other resources.
#scope=
def scope=(value) -> ::String
Parameter
-
value (::String) — Project or folder to scope this configuration to.
For example, "project/456" would apply this configuration only to resources
in "project/456" scope will be checked with
AND
of other resources.
Returns
-
(::String) — Project or folder to scope this configuration to.
For example, "project/456" would apply this configuration only to resources
in "project/456" scope will be checked with
AND
of other resources.
#sensitive_data_protection_mapping
def sensitive_data_protection_mapping() -> ::Google::Cloud::SecurityCenter::V1::ResourceValueConfig::SensitiveDataProtectionMapping
Returns
- (::Google::Cloud::SecurityCenter::V1::ResourceValueConfig::SensitiveDataProtectionMapping) — A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset".
#sensitive_data_protection_mapping=
def sensitive_data_protection_mapping=(value) -> ::Google::Cloud::SecurityCenter::V1::ResourceValueConfig::SensitiveDataProtectionMapping
Parameter
- value (::Google::Cloud::SecurityCenter::V1::ResourceValueConfig::SensitiveDataProtectionMapping) — A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset".
Returns
- (::Google::Cloud::SecurityCenter::V1::ResourceValueConfig::SensitiveDataProtectionMapping) — A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset".
#tag_values
def tag_values() -> ::Array<::String>
Returns
-
(::Array<::String>) — Required. Tag values combined with
AND
to check against. Values in the form "tagValues/123" Example:[ "tagValues/123", "tagValues/456", "tagValues/789" ]
https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
#tag_values=
def tag_values=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — Required. Tag values combined with
AND
to check against. Values in the form "tagValues/123" Example:[ "tagValues/123", "tagValues/456", "tagValues/789" ]
https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
Returns
-
(::Array<::String>) — Required. Tag values combined with
AND
to check against. Values in the form "tagValues/123" Example:[ "tagValues/123", "tagValues/456", "tagValues/789" ]
https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp this resource value configuration was last updated.