NAME

Google::Cloud::Securitycenter::V2::ValuedResource - Compiled Protocol Buffers messages for google/cloud/securitycenter/v2/valued_resource.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V2::ValuedResource;

my $msg = Google::Cloud::Securitycenter::V2::ValuedResource::ValuedResource->new({
    name => $name,
    resource => $resource,
    resource_type => $resource_type,
    display_name => $display_name,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V2::ValuedResource::ValuedResource->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v2/valued_resource.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::V2::ValuedResource::ValuedResource

A resource that is determined to have value to a user's system

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Valued resource name, for example, e.g.: `organizations/123/simulations/456/valuedResources/789`

  • $msg->resource() / $msg->resource($value)

    Type: String

    The [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) of the valued resource.

  • $msg->resource_type() / $msg->resource_type($value)

    Type: String

    The [resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types) of the valued resource.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Human-readable name of the valued resource.

  • $msg->resource_value() / $msg->resource_value($value)

    Type: Enum (Google::Cloud::Securitycenter::V2::ValuedResource::ResourceValue)

    How valuable this resource is.

  • $msg->exposed_score() / $msg->exposed_score($value)

    Type: Double

    Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.

  • $msg->resource_value_configs_used() / $msg->resource_value_configs_used($value)

    Type: Message (Google::Cloud::Securitycenter::V2::ValuedResource::ResourceValueConfigMetadata)

    List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.

Enum: ValuedResource::ResourceValue

  • RESOURCE_VALUE_UNSPECIFIED => 0

  • RESOURCE_VALUE_LOW => 1

  • RESOURCE_VALUE_MEDIUM => 2

  • RESOURCE_VALUE_HIGH => 3

Google::Cloud::Securitycenter::V2::ValuedResource::ResourceValueConfigMetadata

Metadata about a ResourceValueConfig. For example, id and name.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Resource value config name

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V2::ValuedResource::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.