NAME
Google::Cloud::Securitycenter::V1::ResourceValueConfig - Compiled Protocol Buffers messages for google/cloud/securitycenter/v1/resource_value_config.proto
SYNOPSIS
use Google::Cloud::Securitycenter::V1::ResourceValueConfig;
my $msg = Google::Cloud::Securitycenter::V1::ResourceValueConfig::ResourceValueConfig->new({
name => $name,
resource_value => $resource_value,
tag_values => $tag_values,
resource_type => $resource_type,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V1::ResourceValueConfig::ResourceValueConfig->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/resource_value_config.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Securitycenter::V1::ResourceValueConfig::ResourceValueConfig
A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName for the resource value configuration
$msg->resource_value()/$msg->resource_value($value)Type:
Enum(Google::Cloud::Securitycenter::V1::ResourceValue)Required. Resource value level this expression represents
$msg->tag_values()/$msg->tag_values($value)Type:
StringRequired. 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
$msg->resource_type()/$msg->resource_type($value)Type:
StringApply 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.
$msg->scope()/$msg->scope($value)Type:
StringProject 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.
$msg->resource_labels_selector()/$msg->resource_labels_selector($value)Type:
Message(Google::Cloud::Securitycenter::V1::ResourceValueConfig::ResourceValueConfig::ResourceLabelsSelectorEntry)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
$msg->description()/$msg->description($value)Type:
StringDescription of the resource value configuration.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp this resource value configuration was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp this resource value configuration was last updated.
$msg->cloud_provider()/$msg->cloud_provider($value)Type:
Enum(Google::Cloud::Securitycenter::V1::CloudProvider)Cloud provider this configuration applies to
$msg->sensitive_data_protection_mapping()/$msg->sensitive_data_protection_mapping($value)Type:
Message(Google::Cloud::Securitycenter::V1::ResourceValueConfig::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".
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V1::ResourceValueConfig::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.