Cloud Identity-Aware Proxy v1 API - Class IdentityAwareProxyOAuthServiceClientImpl (2.3.0)

public sealed class IdentityAwareProxyOAuthServiceClientImpl : IdentityAwareProxyOAuthServiceClient

Reference documentation and code samples for the Cloud Identity-Aware Proxy v1 API class IdentityAwareProxyOAuthServiceClientImpl.

IdentityAwareProxyOAuthService client wrapper implementation, for convenient use.

Inheritance

object > IdentityAwareProxyOAuthServiceClient > IdentityAwareProxyOAuthServiceClientImpl

Namespace

GoogleGoogle.CloudGoogle.Cloud.IapV1

Assembly

Google.Cloud.Iap.V1.dll

Remarks

API to programmatically create, list and retrieve Identity Aware Proxy (IAP) OAuth brands; and create, retrieve, delete and reset-secret of IAP OAuth clients.

Constructors

IdentityAwareProxyOAuthServiceClientImpl(IdentityAwareProxyOAuthServiceClient, IdentityAwareProxyOAuthServiceSettings, ILogger)

public IdentityAwareProxyOAuthServiceClientImpl(IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceClient grpcClient, IdentityAwareProxyOAuthServiceSettings settings, ILogger logger)

Constructs a client wrapper for the IdentityAwareProxyOAuthService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientIdentityAwareProxyOAuthServiceIdentityAwareProxyOAuthServiceClient

The underlying gRPC client.

settingsIdentityAwareProxyOAuthServiceSettings

The base IdentityAwareProxyOAuthServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceClient GrpcClient { get; }

The underlying gRPC IdentityAwareProxyOAuthService client

Property Value
TypeDescription
IdentityAwareProxyOAuthServiceIdentityAwareProxyOAuthServiceClient
Overrides

Methods

CreateBrand(CreateBrandRequest, CallSettings)

public override Brand CreateBrand(CreateBrandRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestCreateBrandRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Brand

The RPC response.

Overrides

CreateBrandAsync(CreateBrandRequest, CallSettings)

public override Task<Brand> CreateBrandAsync(CreateBrandRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestCreateBrandRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskBrand

A Task containing the RPC response.

Overrides

CreateIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest, CallSettings)

public override IdentityAwareProxyClient CreateIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestCreateIdentityAwareProxyClientRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
IdentityAwareProxyClient

The RPC response.

Overrides

CreateIdentityAwareProxyClientAsync(CreateIdentityAwareProxyClientRequest, CallSettings)

public override Task<IdentityAwareProxyClient> CreateIdentityAwareProxyClientAsync(CreateIdentityAwareProxyClientRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestCreateIdentityAwareProxyClientRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIdentityAwareProxyClient

A Task containing the RPC response.

Overrides

DeleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest, CallSettings)

public override void DeleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestDeleteIdentityAwareProxyClientRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteIdentityAwareProxyClientAsync(DeleteIdentityAwareProxyClientRequest, CallSettings)

public override Task DeleteIdentityAwareProxyClientAsync(DeleteIdentityAwareProxyClientRequest request, CallSettings callSettings = null)

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.

Parameters
NameDescription
requestDeleteIdentityAwareProxyClientRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetBrand(GetBrandRequest, CallSettings)

public override Brand GetBrand(GetBrandRequest request, CallSettings callSettings = null)

Retrieves the OAuth brand of the project.

Parameters
NameDescription
requestGetBrandRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Brand

The RPC response.

Overrides

GetBrandAsync(GetBrandRequest, CallSettings)

public override Task<Brand> GetBrandAsync(GetBrandRequest request, CallSettings callSettings = null)

Retrieves the OAuth brand of the project.

Parameters
NameDescription
requestGetBrandRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskBrand

A Task containing the RPC response.

Overrides

GetIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest, CallSettings)

public override IdentityAwareProxyClient GetIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest request, CallSettings callSettings = null)

Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP.

Parameters
NameDescription
requestGetIdentityAwareProxyClientRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
IdentityAwareProxyClient

The RPC response.

Overrides

GetIdentityAwareProxyClientAsync(GetIdentityAwareProxyClientRequest, CallSettings)

public override Task<IdentityAwareProxyClient> GetIdentityAwareProxyClientAsync(GetIdentityAwareProxyClientRequest request, CallSettings callSettings = null)

Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP.

Parameters
NameDescription
requestGetIdentityAwareProxyClientRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIdentityAwareProxyClient

A Task containing the RPC response.

Overrides

ListBrands(ListBrandsRequest, CallSettings)

public override ListBrandsResponse ListBrands(ListBrandsRequest request, CallSettings callSettings = null)

Lists the existing brands for the project.

Parameters
NameDescription
requestListBrandsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListBrandsResponse

The RPC response.

Overrides

ListBrandsAsync(ListBrandsRequest, CallSettings)

public override Task<ListBrandsResponse> ListBrandsAsync(ListBrandsRequest request, CallSettings callSettings = null)

Lists the existing brands for the project.

Parameters
NameDescription
requestListBrandsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListBrandsResponse

A Task containing the RPC response.

Overrides

ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest, CallSettings)

public override PagedEnumerable<ListIdentityAwareProxyClientsResponse, IdentityAwareProxyClient> ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest request, CallSettings callSettings = null)

Lists the existing clients for the brand.

Parameters
NameDescription
requestListIdentityAwareProxyClientsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListIdentityAwareProxyClientsResponseIdentityAwareProxyClient

A pageable sequence of IdentityAwareProxyClient resources.

Overrides

ListIdentityAwareProxyClientsAsync(ListIdentityAwareProxyClientsRequest, CallSettings)

public override PagedAsyncEnumerable<ListIdentityAwareProxyClientsResponse, IdentityAwareProxyClient> ListIdentityAwareProxyClientsAsync(ListIdentityAwareProxyClientsRequest request, CallSettings callSettings = null)

Lists the existing clients for the brand.

Parameters
NameDescription
requestListIdentityAwareProxyClientsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListIdentityAwareProxyClientsResponseIdentityAwareProxyClient

A pageable asynchronous sequence of IdentityAwareProxyClient resources.

Overrides

ResetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest, CallSettings)

public override IdentityAwareProxyClient ResetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest request, CallSettings callSettings = null)

Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires that the client is owned by IAP.

Parameters
NameDescription
requestResetIdentityAwareProxyClientSecretRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
IdentityAwareProxyClient

The RPC response.

Overrides

ResetIdentityAwareProxyClientSecretAsync(ResetIdentityAwareProxyClientSecretRequest, CallSettings)

public override Task<IdentityAwareProxyClient> ResetIdentityAwareProxyClientSecretAsync(ResetIdentityAwareProxyClientSecretRequest request, CallSettings callSettings = null)

Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires that the client is owned by IAP.

Parameters
NameDescription
requestResetIdentityAwareProxyClientSecretRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIdentityAwareProxyClient

A Task containing the RPC response.

Overrides