NAME
Google::Cloud::Securitycenter::V2::Label - Compiled Protocol Buffers messages for google/cloud/securitycenter/v2/label.proto
SYNOPSIS
use Google::Cloud::Securitycenter::V2::Label;
my $msg = Google::Cloud::Securitycenter::V2::Label::Label->new({
name => $name,
value => $value,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V2::Label::Label->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v2/label.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::Label::Label
Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of the label.
$msg->value()/$msg->value($value)Type:
StringValue that corresponds to the label's name.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V2::Label::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.