Index
IdentityAwareProxyAdminService
(interface)IdentityAwareProxyOAuthService
(interface)AccessDeniedPageSettings
(message)AccessSettings
(message)AccessSettings.IdentitySource
(enum)AllowedDomainsSettings
(message)ApplicationSettings
(message)AttributePropagationSettings
(message)AttributePropagationSettings.OutputCredentials
(enum)Brand
(message)CorsSettings
(message)CreateBrandRequest
(message)CreateIdentityAwareProxyClientRequest
(message)CreateTunnelDestGroupRequest
(message)CsmSettings
(message)DeleteIdentityAwareProxyClientRequest
(message)DeleteTunnelDestGroupRequest
(message)GcipSettings
(message)GetBrandRequest
(message)GetIapSettingsRequest
(message)GetIdentityAwareProxyClientRequest
(message)GetTunnelDestGroupRequest
(message)IapSettings
(message)IdentityAwareProxyClient
(message)ListBrandsRequest
(message)ListBrandsResponse
(message)ListIdentityAwareProxyClientsRequest
(message)ListIdentityAwareProxyClientsResponse
(message)ListTunnelDestGroupsRequest
(message)ListTunnelDestGroupsResponse
(message)OAuth2
(message)OAuthSettings
(message)ReauthSettings
(message)ReauthSettings.Method
(enum)ReauthSettings.PolicyType
(enum)ResetIdentityAwareProxyClientSecretRequest
(message)TunnelDestGroup
(message)UpdateIapSettingsRequest
(message)UpdateTunnelDestGroupRequest
(message)ValidateIapAttributeExpressionRequest
(message)ValidateIapAttributeExpressionResponse
(message)WorkforceIdentitySettings
(message)
IdentityAwareProxyAdminService
APIs for Identity-Aware Proxy Admin configurations.
CreateTunnelDestGroup |
---|
Creates a new TunnelDestGroup.
|
DeleteTunnelDestGroup |
---|
Deletes a TunnelDestGroup.
|
GetIamPolicy |
---|
Gets the access control policy for an Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
GetIapSettings |
---|
Gets the IAP settings on a particular IAP protected resource.
|
GetTunnelDestGroup |
---|
Retrieves an existing TunnelDestGroup.
|
ListTunnelDestGroups |
---|
Lists the existing TunnelDestGroups. To group across all locations, use a
|
SetIamPolicy |
---|
Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
TestIamPermissions |
---|
Returns permissions that a caller has on the Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
UpdateIapSettings |
---|
Updates the IAP settings on a particular IAP protected resource. It replaces all fields unless the
|
UpdateTunnelDestGroup |
---|
Updates a TunnelDestGroup.
|
ValidateIapAttributeExpression |
---|
Validates that a given CEL expression conforms to IAP restrictions.
|
IdentityAwareProxyOAuthService
API to programmatically create, list and retrieve Identity Aware Proxy (IAP) OAuth brands; and create, retrieve, delete and reset-secret of IAP OAuth clients.
CreateBrand |
---|
Constructs a new OAuth brand for the project if one does not exist. The created brand is "internal only", meaning that OAuth clients created under it only accept requests from users who belong to the same Google Workspace organization as the project. The brand is created in an un-reviewed status. NOTE: The "internal only" status can be manually changed in the Google Cloud Console. Requires that a brand does not already exist for the project, and that the specified support email is owned by the caller.
|
CreateIdentityAwareProxyClient |
---|
Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned by IAP. Requires that the brand for the project exists and that it is set for internal-only use.
|
DeleteIdentityAwareProxyClient |
---|
Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing obsolete clients, managing the number of clients in a given project, and cleaning up after tests. Requires that the client is owned by IAP.
|
GetBrand |
---|
Retrieves the OAuth brand of the project.
|
GetIdentityAwareProxyClient |
---|
Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP.
|
ListBrands |
---|
Lists the existing brands for the project.
|
ListIdentityAwareProxyClients |
---|
Lists the existing clients for the brand.
|
ResetIdentityAwareProxyClientSecret |
---|
Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires that the client is owned by IAP.
|
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.
Fields | |
---|---|
access_denied_page_uri |
The URI to be redirected to when access is denied. |
generate_troubleshooting_uri |
Whether to generate a troubleshooting URL on access denied events to this application. |
remediation_token_generation_enabled |
Whether to generate remediation token on access denied events to this application. |
AccessSettings
Access related settings for IAP protected apps.
Fields | |
---|---|
gcip_settings |
Optional. GCIP claims and endpoint configurations for 3p identity providers. |
cors_settings |
Optional. Configuration to allow cross-origin requests via IAP. |
oauth_settings |
Optional. Settings to configure IAP's OAuth behavior. |
reauth_settings |
Optional. Settings to configure reauthentication policies in IAP. |
allowed_domains_settings |
Optional. Settings to configure and enable allowed domains. |
workforce_identity_settings |
Optional. Settings to configure the workforce identity federation, including workforce pools and OAuth 2.0 settings. |
identity_sources[] |
Optional. Identity sources that IAP can use to authenticate the end user. Only one identity source can be configured. |
IdentitySource
Types of identity source supported by IAP.
Enums | |
---|---|
IDENTITY_SOURCE_UNSPECIFIED |
IdentitySource Unspecified. When selected, IAP relies on which identity settings are fully configured to redirect the traffic to. The precedence order is WorkforceIdentitySettings > GcipSettings. If none is set, default to use Google identity. |
WORKFORCE_IDENTITY_FEDERATION |
Use external identities set up on Google Cloud Workforce Identity Federation. |
AllowedDomainsSettings
Configuration for IAP allowed domains. Lets you to restrict access to an app and allow access to only the domains that you list.
Fields | |
---|---|
domains[] |
Optional. List of trusted domains. |
enable |
Optional. Configuration for customers to opt in for the feature. |
ApplicationSettings
Wrapper over application specific settings for IAP.
Fields | |
---|---|
csm_settings |
Optional. Settings to configure IAP's behavior for a service mesh. |
access_denied_page_settings |
Optional. Customization for Access Denied page. |
cookie_domain |
The Domain value to set for cookies generated by IAP. This value is not validated by the API, but will be ignored at runtime if invalid. |
attribute_propagation_settings |
Optional. Settings to configure attribute propagation. |
AttributePropagationSettings
Configuration for propagating attributes to applications protected by IAP.
Fields | |
---|---|
output_credentials[] |
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. |
expression |
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
Example expression: |
enable |
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. |
OutputCredentials
Supported output credentials for attribute propagation. Each output credential maps to a "field" in the response. For example, selecting JWT will propagate all attributes in the IAP JWT, header in the headers, etc.
Enums | |
---|---|
OUTPUT_CREDENTIALS_UNSPECIFIED |
An output credential is required. |
HEADER |
Propagate attributes in the headers with "x-goog-iap-attr-" prefix. |
JWT |
Propagate attributes in the JWT of the form: |
RCTOKEN |
Propagate attributes in the RCToken of the form: |
Brand
OAuth brand data. NOTE: Only contains a portion of the data that describes a brand.
Fields | |
---|---|
name |
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. |
support_email |
Support email displayed on the OAuth consent screen. |
application_title |
Application name displayed on OAuth consent screen. |
org_internal_only |
Output only. Whether the brand is only intended for usage inside the G Suite organization only. |
CorsSettings
Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS call to bypass authentication and authorization.
Fields | |
---|---|
allow_http_options |
Configuration to allow HTTP OPTIONS calls to skip authorization. If undefined, IAP will not apply any special logic to OPTIONS requests. |
CreateBrandRequest
The request sent to CreateBrand.
Fields | |
---|---|
parent |
Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}. Authorization requires the following IAM permission on the specified resource
|
brand |
Required. The brand to be created. |
CreateIdentityAwareProxyClientRequest
The request sent to CreateIdentityAwareProxyClient.
Fields | |
---|---|
parent |
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. Authorization requires one or more of the following IAM permissions on the specified resource
|
identity_aware_proxy_client |
Required. Identity Aware Proxy Client to be created. |
CreateTunnelDestGroupRequest
The request to CreateTunnelDestGroup.
Fields | |
---|---|
parent |
Required. Google Cloud Project ID and location. In the following format: Authorization requires the following IAM permission on the specified resource
|
tunnel_dest_group |
Required. The TunnelDestGroup to create. |
tunnel_dest_group_id |
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 |
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.
Fields | |
---|---|
rctoken_aud |
Audience claim set in the generated RCToken. This value is not validated by IAP. |
DeleteIdentityAwareProxyClientRequest
The request sent to DeleteIdentityAwareProxyClient.
Fields | |
---|---|
name |
Required. Name of the Identity Aware Proxy client to be deleted. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}. Authorization requires the following IAM permission on the specified resource
|
DeleteTunnelDestGroupRequest
The request to DeleteTunnelDestGroup.
Fields | |
---|---|
name |
Required. Name of the TunnelDestGroup to delete. In the following format: Authorization requires the following IAM permission on the specified resource
|
GcipSettings
Allows customers to configure tenant_id for GCIP instance per-app.
Fields | |
---|---|
tenant_ids[] |
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 _ |
login_page_uri |
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. |
GetBrandRequest
The request sent to GetBrand.
Fields | |
---|---|
name |
Required. Name of the brand to be fetched. In the following format: projects/{project_number/id}/brands/{brand}. Authorization requires the following IAM permission on the specified resource
|
GetIapSettingsRequest
The request sent to GetIapSettings.
Fields | |
---|---|
name |
Required. The resource name for which to retrieve the settings. Authorization: Requires the Authorization requires one or more of the following IAM permissions on the specified resource
|
GetIdentityAwareProxyClientRequest
The request sent to GetIdentityAwareProxyClient.
Fields | |
---|---|
name |
Required. Name of the Identity Aware Proxy client to be fetched. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}. Authorization requires the following IAM permission on the specified resource
|
GetTunnelDestGroupRequest
The request to GetTunnelDestGroup.
Fields | |
---|---|
name |
Required. Name of the TunnelDestGroup to be fetched. In the following format: Authorization requires the following IAM permission on the specified resource
|
IapSettings
The IAP configurable settings.
Fields | |
---|---|
name |
Required. The resource name of the IAP protected resource. |
access_settings |
Optional. Top level wrapper for all access related setting in IAP |
application_settings |
Optional. Top level wrapper for all application related settings in IAP |
IdentityAwareProxyClient
Contains the data that describes an Identity Aware Proxy owned client.
Fields | |
---|---|
name |
Output only. Unique identifier of the OAuth client. |
secret |
Output only. Client secret of the OAuth client. |
display_name |
Human-friendly name given to the OAuth client. |
ListBrandsRequest
The request sent to ListBrands.
Fields | |
---|---|
parent |
Required. GCP Project number/id. In the following format: projects/{project_number/id}. Authorization requires the following IAM permission on the specified resource
|
ListBrandsResponse
Response message for ListBrands.
Fields | |
---|---|
brands[] |
Brands existing in the project. |
ListIdentityAwareProxyClientsRequest
The request sent to ListIdentityAwareProxyClients.
Fields | |
---|---|
parent |
Required. Full brand path. In the following format: projects/{project_number/id}/brands/{brand}. Authorization requires the following IAM permission on the specified resource
|
page_size |
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. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListIdentityAwareProxyClientsResponse
Response message for ListIdentityAwareProxyClients.
Fields | |
---|---|
identity_aware_proxy_clients[] |
Clients existing in the brand. |
next_page_token |
A token, which can be send as |
ListTunnelDestGroupsRequest
The request to ListTunnelDestGroups.
Fields | |
---|---|
parent |
Required. Google Cloud Project ID and location. In the following format: Authorization requires the following IAM permission on the specified resource
|
page_size |
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. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListTunnelDestGroupsResponse
The response from ListTunnelDestGroups.
Fields | |
---|---|
tunnel_dest_groups[] |
TunnelDestGroup existing in the project. |
next_page_token |
A token that you can send as |
OAuth2
The OAuth 2.0 Settings
Fields | |
---|---|
client_id |
The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server. |
client_secret |
Input only. The OAuth 2.0 client secret created while registering the client ID. |
client_secret_sha256 |
Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved. |
OAuthSettings
Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials.
Fields | |
---|---|
login_hint |
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. |
programmatic_clients[] |
Optional. List of client ids allowed to use IAP programmatically. |
ReauthSettings
Configuration for IAP reauthentication policies.
Fields | |
---|---|
method |
Reauth method requested. |
max_age |
Optional. Reauth session lifetime, how long before a user has to reauthenticate again. |
policy_type |
Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy. |
Method
Types of reauthentication methods supported by IAP.
Enums | |
---|---|
METHOD_UNSPECIFIED |
Reauthentication disabled. |
LOGIN |
Prompts the user to log in again. |
PASSWORD |
|
SECURE_KEY |
User must use their secure key 2nd factor device. |
ENROLLED_SECOND_FACTORS |
User can use any enabled 2nd factor. |
PolicyType
Type of policy in the case of hierarchical policies.
Enums | |
---|---|
POLICY_TYPE_UNSPECIFIED |
Default value. This value is unused. |
MINIMUM |
This policy acts as a minimum to other policies, lower in the hierarchy. Effective policy may only be the same or stricter. |
DEFAULT |
This policy acts as a default if no other reauth policy is set. |
ResetIdentityAwareProxyClientSecretRequest
The request sent to ResetIdentityAwareProxyClientSecret.
Fields | |
---|---|
name |
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}. Authorization requires the following IAM permission on the specified resource
|
TunnelDestGroup
A TunnelDestGroup.
Fields | |
---|---|
name |
Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-). |
cidrs[] |
Optional. Unordered list. List of CIDRs that this group applies to. |
fqdns[] |
Optional. Unordered list. List of FQDNs that this group applies to. |
UpdateIapSettingsRequest
The request sent to UpdateIapSettings.
Fields | |
---|---|
iap_settings |
Required. The new values for the IAP settings to be updated. Authorization: Requires the Authorization requires one or more of the following IAM permissions on the specified resource
|
update_mask |
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: |
UpdateTunnelDestGroupRequest
The request to UpdateTunnelDestGroup.
Fields | |
---|---|
tunnel_dest_group |
Required. The new values for the TunnelDestGroup. Authorization requires the following IAM permission on the specified resource
|
update_mask |
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 |
ValidateIapAttributeExpressionRequest
Request sent to IAP Expression Linter endpoint.
Fields | |
---|---|
name |
Required. The resource name of the IAP protected resource. |
expression |
Required. User input string expression. Should be of the form |
ValidateIapAttributeExpressionResponse
This type has no fields.
IAP Expression Linter endpoint returns empty response body.
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.
Fields | |
---|---|
workforce_pools[] |
The workforce pool resources. Only one workforce pool is accepted. |
oauth2 |
OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services. |