NAME
Google::Iam::V1::Options - Compiled Protocol Buffers messages for google/iam/v1/options.proto
SYNOPSIS
use Google::Iam::V1::Options;
my $msg = Google::Iam::V1::Options::GetPolicyOptions->new({
requested_policy_version => $requested_policy_version,
});
# Read or update a field
my $val = $msg->requested_policy_version();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Iam::V1::Options::GetPolicyOptions->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/iam/v1/options.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Iam::V1::Options::GetPolicyOptions
Encapsulates settings provided to GetIamPolicy.
Inherits from Protobuf::Message.
Accessors
$msg->requested_policy_version()/$msg->requested_policy_version($value)Type:
Int32Optional. The maximum policy version that will be used to format the policy.
Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.
The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.
To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
SEE ALSO
Protobuf, Protobuf::Message, Google::Iam::V1::Options::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.