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

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

#cloud_provider=

def cloud_provider=(value) -> ::Google::Cloud::SecurityCenter::V2::CloudProvider
Parameter
Returns

#create_time

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

#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) — Identifier. Name for the resource value configuration

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Name for the resource value configuration
Returns
  • (::String) — Identifier. 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::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 configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope and 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 and 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 and 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>) — 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>) — 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>) — 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