Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::ResourceValueConfig (v0.1.0)

Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::ResourceValueConfig.

A resource value config (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

#create_time

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

#description

def description() -> ::String
Returns
  • (::String) — Description of the resource value config.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Description of the resource value config.
Returns
  • (::String) — Description of the resource value config.

#name

def name() -> ::String
Returns
  • (::String) — Name for the resource value config

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name for the resource value config
Returns
  • (::String) — Name for the resource value config

#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. E.g. "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. E.g. "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. E.g. "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. E.g. "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. E.g. "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. E.g. "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::V2::ResourceValue
Returns

#resource_value=

def resource_value=(value) -> ::Google::Cloud::SecurityCenter::V2::ResourceValue
Parameter
Returns

#scope

def scope() -> ::String
Returns
  • (::String) — Project or folder to scope this config to. For example, "project/456" would apply this config 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 config to. For example, "project/456" would apply this config only to resources in "project/456" scope will be checked with "AND" of other resources.
Returns
  • (::String) — Project or folder to scope this config to. For example, "project/456" would apply this config 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::V2::ResourceValueConfig::SensitiveDataProtectionMapping
Returns

#sensitive_data_protection_mapping=

def sensitive_data_protection_mapping=(value) -> ::Google::Cloud::SecurityCenter::V2::ResourceValueConfig::SensitiveDataProtectionMapping
Parameter
Returns

#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" E.g. [ "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" E.g. [ "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" E.g. [ "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