Service Client: Google::Cloud::Policytroubleshooter::V1::Checker::IamCheckerClient

Client stub representing the remote IamChecker gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to policytroubleshooter.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Policytroubleshooter::V1::Checker - Compiled Protocol Buffers messages for google/cloud/policytroubleshooter/v1/checker.proto

SYNOPSIS

use Google::Cloud::Policytroubleshooter::V1::Checker;

my $msg = Google::Cloud::Policytroubleshooter::V1::Checker::TroubleshootIamPolicyRequest->new({
    access_tuple => $access_tuple,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Policytroubleshooter::V1::Checker::TroubleshootIamPolicyRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/policytroubleshooter/v1/checker.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::Policytroubleshooter::V1::Checker::TroubleshootIamPolicyRequest

Request for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Policytroubleshooter::V1::Checker::TroubleshootIamPolicyResponse

Response for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Policytroubleshooter::V1::AccessState)

    Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.

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

    Type: Message (Google::Cloud::Policytroubleshooter::V1::Explanations::ExplainedPolicy)

    List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.

    The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.

    To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.

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

    Type: Message (Google::Rpc::Status::Status)

    The general errors contained in the troubleshooting response.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Policytroubleshooter::V1::Checker::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.