Service Client: Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::PrincipalAccessBoundaryPoliciesClient

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

target

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

credentials

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

NAME

Google::Iam::V3::PrincipalAccessBoundaryPoliciesService - Compiled Protocol Buffers messages for google/iam/v3/principal_access_boundary_policies_service.proto

SYNOPSIS

use Google::Iam::V3::PrincipalAccessBoundaryPoliciesService;

my $msg = Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::CreatePrincipalAccessBoundaryPolicyRequest->new({
    parent => $parent,
    principal_access_boundary_policy_id => $principal_access_boundary_policy_id,
    principal_access_boundary_policy => $principal_access_boundary_policy,
    validate_only => $validate_only,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::CreatePrincipalAccessBoundaryPolicyRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/iam/v3/principal_access_boundary_policies_service.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::V3::PrincipalAccessBoundaryPoliciesService::CreatePrincipalAccessBoundaryPolicyRequest

Request message for CreatePrincipalAccessBoundaryPolicyRequest method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource where this principal access boundary policy will be created. Only organizations are supported.

    Format: `organizations/{organization_id}/locations/{location}`

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

    Type: String

    Required. The ID to use for the principal access boundary policy, which will become the final component of the principal access boundary policy's resource name.

    This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, hyphens, or dots. Pattern, /[a-z][a-z0-9-\.]{2,62}/.

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

    Type: Message (Google::Iam::V3::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicy)

    Required. The principal access boundary policy to create.

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

    Type: Bool

    Optional. If set, validate the request and preview the creation, but do not actually post it.

Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::GetPrincipalAccessBoundaryPolicyRequest

Request message for GetPrincipalAccessBoundaryPolicy method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the principal access boundary policy to retrieve.

    Format: `organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}`

Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::UpdatePrincipalAccessBoundaryPolicyRequest

Request message for UpdatePrincipalAccessBoundaryPolicy method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Iam::V3::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicy)

    Required. The principal access boundary policy to update.

    The principal access boundary policy's `name` field is used to identify the policy to update.

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

    Type: Bool

    Optional. If set, validate the request and preview the update, but do not actually post it.

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to update

Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::DeletePrincipalAccessBoundaryPolicyRequest

Request message for DeletePrincipalAccessBoundaryPolicy method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the principal access boundary policy to delete.

    Format: `organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}`

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

    Type: String

    Optional. The etag of the principal access boundary policy. If this is provided, it must match the server's etag.

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

    Type: Bool

    Optional. If set, validate the request and preview the deletion, but do not actually post it.

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

    Type: Bool

    Optional. If set to true, the request will force the deletion of the policy even if the policy is referenced in policy bindings.

Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::ListPrincipalAccessBoundaryPoliciesRequest

Request message for ListPrincipalAccessBoundaryPolicies method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource, which owns the collection of principal access boundary policies.

    Format: `organizations/{organization_id}/locations/{location}`

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

    Type: Int32

    Optional. The maximum number of principal access boundary policies to return. The service may return fewer than this value.

    If unspecified, at most 50 principal access boundary policies will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

    Type: String

    Optional. A page token, received from a previous `ListPrincipalAccessBoundaryPolicies` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListPrincipalAccessBoundaryPolicies` must match the call that provided the page token.

Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::ListPrincipalAccessBoundaryPoliciesResponse

Response message for ListPrincipalAccessBoundaryPolicies method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Iam::V3::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicy)

    The principal access boundary policies from the specified parent.

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

    Type: String

    Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::SearchPrincipalAccessBoundaryPolicyBindingsRequest

Request message for SearchPrincipalAccessBoundaryPolicyBindings rpc.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the principal access boundary policy. Format: `organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}`

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

    Type: Int32

    Optional. The maximum number of policy bindings to return. The service may return fewer than this value.

    If unspecified, at most 50 policy bindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

    Type: String

    Optional. A page token, received from a previous `SearchPrincipalAccessBoundaryPolicyBindingsRequest` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `SearchPrincipalAccessBoundaryPolicyBindingsRequest` must match the call that provided the page token.

Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::SearchPrincipalAccessBoundaryPolicyBindingsResponse

Response message for SearchPrincipalAccessBoundaryPolicyBindings rpc.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Iam::V3::PolicyBindingResources::PolicyBinding)

    The policy bindings that reference the specified policy.

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

    Type: String

    Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

SEE ALSO

Protobuf, Protobuf::Message, Google::Iam::V3::PrincipalAccessBoundaryPoliciesService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.