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 > IdentityAwareProxyOAuthServiceClientImplNamespace
GoogleGoogle.CloudGoogle.Cloud.IapV1Assembly
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 | |
---|---|
Name | Description |
grpcClient | IdentityAwareProxyOAuthServiceIdentityAwareProxyOAuthServiceClient The underlying gRPC client. |
settings | IdentityAwareProxyOAuthServiceSettings The base IdentityAwareProxyOAuthServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceClient GrpcClient { get; }
The underlying gRPC IdentityAwareProxyOAuthService client
Property Value | |
---|---|
Type | Description |
IdentityAwareProxyOAuthServiceIdentityAwareProxyOAuthServiceClient |
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 | |
---|---|
Name | Description |
request | CreateBrandRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Brand | The RPC response. |
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 | |
---|---|
Name | Description |
request | CreateBrandRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBrand | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | CreateIdentityAwareProxyClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
IdentityAwareProxyClient | The RPC response. |
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 | |
---|---|
Name | Description |
request | CreateIdentityAwareProxyClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskIdentityAwareProxyClient | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | DeleteIdentityAwareProxyClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
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 | |
---|---|
Name | Description |
request | DeleteIdentityAwareProxyClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetBrand(GetBrandRequest, CallSettings)
public override Brand GetBrand(GetBrandRequest request, CallSettings callSettings = null)
Retrieves the OAuth brand of the project.
Parameters | |
---|---|
Name | Description |
request | GetBrandRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Brand | The RPC response. |
GetBrandAsync(GetBrandRequest, CallSettings)
public override Task<Brand> GetBrandAsync(GetBrandRequest request, CallSettings callSettings = null)
Retrieves the OAuth brand of the project.
Parameters | |
---|---|
Name | Description |
request | GetBrandRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskBrand | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | GetIdentityAwareProxyClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
IdentityAwareProxyClient | The RPC response. |
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 | |
---|---|
Name | Description |
request | GetIdentityAwareProxyClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskIdentityAwareProxyClient | A Task containing the RPC response. |
ListBrands(ListBrandsRequest, CallSettings)
public override ListBrandsResponse ListBrands(ListBrandsRequest request, CallSettings callSettings = null)
Lists the existing brands for the project.
Parameters | |
---|---|
Name | Description |
request | ListBrandsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ListBrandsResponse | The RPC response. |
ListBrandsAsync(ListBrandsRequest, CallSettings)
public override Task<ListBrandsResponse> ListBrandsAsync(ListBrandsRequest request, CallSettings callSettings = null)
Lists the existing brands for the project.
Parameters | |
---|---|
Name | Description |
request | ListBrandsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskListBrandsResponse | A Task containing the RPC response. |
ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest, CallSettings)
public override PagedEnumerable<ListIdentityAwareProxyClientsResponse, IdentityAwareProxyClient> ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest request, CallSettings callSettings = null)
Lists the existing clients for the brand.
Parameters | |
---|---|
Name | Description |
request | ListIdentityAwareProxyClientsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListIdentityAwareProxyClientsResponseIdentityAwareProxyClient | A pageable sequence of IdentityAwareProxyClient resources. |
ListIdentityAwareProxyClientsAsync(ListIdentityAwareProxyClientsRequest, CallSettings)
public override PagedAsyncEnumerable<ListIdentityAwareProxyClientsResponse, IdentityAwareProxyClient> ListIdentityAwareProxyClientsAsync(ListIdentityAwareProxyClientsRequest request, CallSettings callSettings = null)
Lists the existing clients for the brand.
Parameters | |
---|---|
Name | Description |
request | ListIdentityAwareProxyClientsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListIdentityAwareProxyClientsResponseIdentityAwareProxyClient | A pageable asynchronous sequence of IdentityAwareProxyClient resources. |
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 | |
---|---|
Name | Description |
request | ResetIdentityAwareProxyClientSecretRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
IdentityAwareProxyClient | The RPC response. |
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 | |
---|---|
Name | Description |
request | ResetIdentityAwareProxyClientSecretRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskIdentityAwareProxyClient | A Task containing the RPC response. |