public static final class IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceStub extends AbstractAsyncStub<IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceStub>
A stub to allow clients to do asynchronous rpc calls to service 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.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceStub |
createBrand(CreateBrandRequest request, StreamObserver<Brand> responseObserver)
public void createBrand(CreateBrandRequest request, StreamObserver<Brand> responseObserver)
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 |
responseObserver |
io.grpc.stub.StreamObserver<Brand> |
createIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest request, StreamObserver<IdentityAwareProxyClient> responseObserver)
public void createIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest request, StreamObserver<IdentityAwareProxyClient> responseObserver)
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 |
responseObserver |
io.grpc.stub.StreamObserver<IdentityAwareProxyClient> |
deleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest request, StreamObserver<Empty> responseObserver)
public void deleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest request, StreamObserver<Empty> responseObserver)
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 |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
getBrand(GetBrandRequest request, StreamObserver<Brand> responseObserver)
public void getBrand(GetBrandRequest request, StreamObserver<Brand> responseObserver)
Retrieves the OAuth brand of the project.
Parameters | |
---|---|
Name | Description |
request |
GetBrandRequest |
responseObserver |
io.grpc.stub.StreamObserver<Brand> |
getIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest request, StreamObserver<IdentityAwareProxyClient> responseObserver)
public void getIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest request, StreamObserver<IdentityAwareProxyClient> responseObserver)
Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP.
Parameters | |
---|---|
Name | Description |
request |
GetIdentityAwareProxyClientRequest |
responseObserver |
io.grpc.stub.StreamObserver<IdentityAwareProxyClient> |
listBrands(ListBrandsRequest request, StreamObserver<ListBrandsResponse> responseObserver)
public void listBrands(ListBrandsRequest request, StreamObserver<ListBrandsResponse> responseObserver)
Lists the existing brands for the project.
Parameters | |
---|---|
Name | Description |
request |
ListBrandsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListBrandsResponse> |
listIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest request, StreamObserver<ListIdentityAwareProxyClientsResponse> responseObserver)
public void listIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest request, StreamObserver<ListIdentityAwareProxyClientsResponse> responseObserver)
Lists the existing clients for the brand.
Parameters | |
---|---|
Name | Description |
request |
ListIdentityAwareProxyClientsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListIdentityAwareProxyClientsResponse> |
resetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest request, StreamObserver<IdentityAwareProxyClient> responseObserver)
public void resetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest request, StreamObserver<IdentityAwareProxyClient> responseObserver)
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 |
responseObserver |
io.grpc.stub.StreamObserver<IdentityAwareProxyClient> |