Service Client: Google::Cloud::Iap::V1::Service::IdentityAwareProxyAdminServiceClient

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

target

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

credentials

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

Service Client: Google::Cloud::Iap::V1::Service::IdentityAwareProxyOAuthServiceClient

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

target

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

credentials

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

NAME

Google::Cloud::Iap::V1::Service - Compiled Protocol Buffers messages for google/cloud/iap/v1/service.proto

SYNOPSIS

use Google::Cloud::Iap::V1::Service;

my $msg = Google::Cloud::Iap::V1::Service::ListTunnelDestGroupsRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Iap::V1::Service::ListTunnelDestGroupsRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/iap/v1/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::Cloud::Iap::V1::Service::ListTunnelDestGroupsRequest

The request to ListTunnelDestGroups.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}`. A `-` can be used for the location to group across all locations.

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

    Type: Int32

    The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 100 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

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

    Type: String

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

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

Google::Cloud::Iap::V1::Service::ListTunnelDestGroupsResponse

The response from ListTunnelDestGroups.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Iap::V1::Service::TunnelDestGroup)

    TunnelDestGroup existing in the project.

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

    Type: String

    A token that you can send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Iap::V1::Service::CreateTunnelDestGroupRequest

The request to CreateTunnelDestGroup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}`.

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

    Type: Message (Google::Cloud::Iap::V1::Service::TunnelDestGroup)

    Required. The TunnelDestGroup to create.

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

    Type: String

    Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name.

    This value must be 4-63 characters, and valid characters are `[a-z]-`.

Google::Cloud::Iap::V1::Service::GetTunnelDestGroupRequest

The request to GetTunnelDestGroup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the TunnelDestGroup to be fetched. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`.

Google::Cloud::Iap::V1::Service::DeleteTunnelDestGroupRequest

The request to DeleteTunnelDestGroup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the TunnelDestGroup to delete. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`.

Google::Cloud::Iap::V1::Service::UpdateTunnelDestGroupRequest

The request to UpdateTunnelDestGroup.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Iap::V1::Service::TunnelDestGroup)

    Required. The new values for the TunnelDestGroup.

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

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

    A field mask that specifies which IAP settings to update. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

Google::Cloud::Iap::V1::Service::TunnelDestGroup

A TunnelDestGroup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).

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

    Type: String

    Optional. Unordered list. List of CIDRs that this group applies to.

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

    Type: String

    Optional. Unordered list. List of FQDNs that this group applies to.

Google::Cloud::Iap::V1::Service::GetIapSettingsRequest

The request sent to GetIapSettings.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name for which to retrieve the settings. Authorization: Requires the `getSettings` permission for the associated resource.

Google::Cloud::Iap::V1::Service::UpdateIapSettingsRequest

The request sent to UpdateIapSettings.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Iap::V1::Service::IapSettings)

    Required. The new values for the IAP settings to be updated. Authorization: Requires the `updateSettings` permission for the associated resource.

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

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

    The field mask specifying which IAP settings should be updated. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

    Note: All IAP reauth settings must always be set together, using the field mask: `iapSettings.accessSettings.reauthSettings`.

Google::Cloud::Iap::V1::Service::IapSettings

The IAP configurable settings.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the IAP protected resource.

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

    Type: Message (Google::Cloud::Iap::V1::Service::AccessSettings)

    Optional. Top level wrapper for all access related setting in IAP

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

    Type: Message (Google::Cloud::Iap::V1::Service::ApplicationSettings)

    Optional. Top level wrapper for all application related settings in IAP

Google::Cloud::Iap::V1::Service::AccessSettings

Access related settings for IAP protected apps.

Inherits from Protobuf::Message.

Accessors

Enum: AccessSettings::IdentitySource

  • IDENTITY_SOURCE_UNSPECIFIED => 0

  • WORKFORCE_IDENTITY_FEDERATION => 3

Google::Cloud::Iap::V1::Service::GcipSettings

Allows customers to configure tenant IDs for a Cloud Identity Platform (GCIP) instance for each application.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids` could be a string beginning with a number character to indicate authenticating with GCIP tenant flow, or in the format of `_<ProjectNumber>` to indicate authenticating with GCIP agent flow. If agent flow is used, `tenant_ids` should only contain one single element, while for tenant flow, `tenant_ids` can contain multiple elements.

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

    Type: Message (Google::Protobuf::Wrappers::StringValue)

    Login page URI associated with the GCIP tenants. Typically, all resources within the same project share the same login page, though it could be overridden at the sub resource level.

Google::Cloud::Iap::V1::Service::CorsSettings

Allows customers to configure HTTP request paths that'll allow HTTP `OPTIONS` call to bypass authentication and authorization.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.

Google::Cloud::Iap::V1::Service::OAuthSettings

Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Wrappers::StringValue)

    Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies.

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

    Type: Message (Google::Protobuf::Wrappers::StringValue)

    Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.

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

    Type: Message (Google::Protobuf::Wrappers::StringValue)

    Optional. Input only. OAuth secret paired with client ID.

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

    Type: Message (Google::Protobuf::Wrappers::StringValue)

    Output only. OAuth secret SHA256 paired with client ID.

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

    Type: String

    Optional. List of client ids allowed to use IAP programmatically.

Google::Cloud::Iap::V1::Service::WorkforceIdentitySettings

WorkforceIdentitySettings allows customers to configure workforce pools and OAuth 2.0 settings to gate their applications using a third-party IdP with access control.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The workforce pool resources. Only one workforce pool is accepted.

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

    Type: Message (Google::Cloud::Iap::V1::Service::OAuth2)

    OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services.

Google::Cloud::Iap::V1::Service::OAuth2

The OAuth 2.0 Settings

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.

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

    Type: String

    Input only. The OAuth 2.0 client secret created while registering the client ID.

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

    Type: String

    Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved.

Google::Cloud::Iap::V1::Service::ReauthSettings

Configuration for IAP reauthentication policies.

Inherits from Protobuf::Message.

Accessors

Enum: ReauthSettings::Method

  • METHOD_UNSPECIFIED => 0

  • LOGIN => 1

  • PASSWORD => 2

  • SECURE_KEY => 3

  • ENROLLED_SECOND_FACTORS => 4

Enum: ReauthSettings::PolicyType

  • POLICY_TYPE_UNSPECIFIED => 0

  • MINIMUM => 1

  • DEFAULT => 2

Google::Cloud::Iap::V1::Service::AllowedDomainsSettings

Configuration for IAP allowed domains. Lets you to restrict access to an app and allow access to only the domains that you list.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Optional. Configuration for customers to opt in for the feature.

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

    Type: String

    Optional. List of trusted domains.

Google::Cloud::Iap::V1::Service::ApplicationSettings

Wrapper over application specific settings for IAP.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Iap::V1::Service::CsmSettings

Configuration for RCToken generated for service mesh workloads protected by IAP. RCToken are IAP generated JWTs that can be verified at the application. The RCToken is primarily used for service mesh deployments, and can be scoped to a single mesh by configuring the audience field accordingly.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Iap::V1::Service::AccessDeniedPageSettings

Custom content configuration for access denied page. IAP allows customers to define a custom URI to use as the error page when access is denied to users. If IAP prevents access to this page, the default IAP error page will be displayed instead.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Wrappers::StringValue)

    The URI to be redirected to when access is denied.

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

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    Whether to generate a troubleshooting URL on access denied events to this application.

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

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    Whether to generate remediation token on access denied events to this application.

Google::Cloud::Iap::V1::Service::AttributePropagationSettings

Configuration for propagating attributes to applications protected by IAP.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. Raw string CEL expression. Must return a list of attributes. A maximum of 45 attributes can be selected. Expressions can select different attribute types from `attributes`: `attributes.saml_attributes`, `attributes.iap_attributes`. The following functions are supported:

    - filter `<list>.filter(<iter_var>, <predicate>)`: Returns a subset of
    `<list>` where `<predicate>` is true for every item.
    
    - in `<var> in <list>`: Returns true if `<list>` contains `<var>`.
    
    - selectByName `<list>.selectByName(<string>)`: Returns the attribute
    in
    `<list>` with the given `<string>` name, otherwise returns empty.
    
    - emitAs `<attribute>.emitAs(<string>)`: Sets the `<attribute>` name
    field to the given `<string>` for propagation in selected output
    credentials.
    
    - strict `<attribute>.strict()`: Ignores the `x-goog-iap-attr-` prefix
    for the provided `<attribute>` when propagating with the `HEADER` output
    credential, such as request headers.
    
    - append `<target_list>.append(<attribute>)` OR
    `<target_list>.append(<list>)`: Appends the provided `<attribute>` or
    `<list>` to the end of `<target_list>`.

    Example expression: `attributes.saml_attributes.filter(x, x.name in ['test']).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())`

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

    Type: Enum (Google::Cloud::Iap::V1::AttributePropagationSettings::OutputCredentials)

    Optional. Which output credentials attributes selected by the CEL expression should be propagated in. All attributes will be fully duplicated in each selected output credential.

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

    Type: Bool

    Optional. Whether the provided attribute propagation settings should be evaluated on user requests. If set to true, attributes returned from the expression will be propagated in the set output credentials.

Enum: AttributePropagationSettings::OutputCredentials

  • OUTPUT_CREDENTIALS_UNSPECIFIED => 0

  • HEADER => 1

  • JWT => 2

  • RCTOKEN => 3

Google::Cloud::Iap::V1::Service::ValidateIapAttributeExpressionRequest

Request sent to IAP Expression Linter endpoint.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the IAP protected resource.

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

    Type: String

    Required. User input string expression. Should be of the form `attributes.saml_attributes.filter(attribute, attribute.name in ['{attribute_name}', '{attribute_name}'])`

Google::Cloud::Iap::V1::Service::ValidateIapAttributeExpressionResponse

IAP Expression Linter endpoint returns empty response body.

Inherits from Protobuf::Message.

Google::Cloud::Iap::V1::Service::ListBrandsRequest

The request sent to ListBrands.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. GCP Project number/id. In the following format: projects/{project_number/id}.

Google::Cloud::Iap::V1::Service::ListBrandsResponse

Response message for ListBrands.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Iap::V1::Service::CreateBrandRequest

The request sent to CreateBrand.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}.

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

    Type: Message (Google::Cloud::Iap::V1::Service::Brand)

    Required. The brand to be created.

Google::Cloud::Iap::V1::Service::GetBrandRequest

The request sent to GetBrand.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the brand to be fetched. In the following format: projects/{project_number/id}/brands/{brand}.

Google::Cloud::Iap::V1::Service::ListIdentityAwareProxyClientsRequest

The request sent to ListIdentityAwareProxyClients.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Full brand path. In the following format: projects/{project_number/id}/brands/{brand}.

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

    Type: Int32

    The maximum number of clients to return. The service may return fewer than this value. If unspecified, at most 100 clients 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

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

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

Google::Cloud::Iap::V1::Service::ListIdentityAwareProxyClientsResponse

Response message for ListIdentityAwareProxyClients.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Iap::V1::Service::IdentityAwareProxyClient)

    Clients existing in the brand.

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

    Type: String

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

Google::Cloud::Iap::V1::Service::CreateIdentityAwareProxyClientRequest

The request sent to CreateIdentityAwareProxyClient.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Path to create the client in. In the following format: projects/{project_number/id}/brands/{brand}. The project must belong to a G Suite account.

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

    Type: Message (Google::Cloud::Iap::V1::Service::IdentityAwareProxyClient)

    Required. Identity Aware Proxy Client to be created.

Google::Cloud::Iap::V1::Service::GetIdentityAwareProxyClientRequest

The request sent to GetIdentityAwareProxyClient.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the Identity Aware Proxy client to be fetched. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}.

Google::Cloud::Iap::V1::Service::ResetIdentityAwareProxyClientSecretRequest

The request sent to ResetIdentityAwareProxyClientSecret.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the Identity Aware Proxy client to that will have its secret reset. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}.

Google::Cloud::Iap::V1::Service::DeleteIdentityAwareProxyClientRequest

The request sent to DeleteIdentityAwareProxyClient.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the Identity Aware Proxy client to be deleted. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}.

Google::Cloud::Iap::V1::Service::Brand

OAuth brand data. NOTE: Only contains a portion of the data that describes a brand.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Identifier of the brand. NOTE: GCP project number achieves the same brand identification purpose as only one brand per project can be created.

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

    Type: String

    Support email displayed on the OAuth consent screen.

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

    Type: String

    Application name displayed on OAuth consent screen.

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

    Type: Bool

    Output only. Whether the brand is only intended for usage inside the G Suite organization only.

Google::Cloud::Iap::V1::Service::IdentityAwareProxyClient

Contains the data that describes an Identity Aware Proxy owned client.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Unique identifier of the OAuth client.

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

    Type: String

    Output only. Client secret of the OAuth client.

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

    Type: String

    Human-friendly name given to the OAuth client.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Iap::V1::Service::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.