public static final class IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceFutureStub extends AbstractFutureStub<IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub >
IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createBrand(CreateBrandRequest request)
public ListenableFuture<Brand> createBrand(CreateBrandRequest request)
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Brand> |
|
createIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest request)
public ListenableFuture<IdentityAwareProxyClient> createIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest request)
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(DeleteIdentityAwareProxyClientRequest request)
public ListenableFuture<Empty> deleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest request)
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
getBrand(GetBrandRequest request)
public ListenableFuture<Brand> getBrand(GetBrandRequest request)
Retrieves the OAuth brand of the project.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Brand> |
|
getIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest request)
public ListenableFuture<IdentityAwareProxyClient> getIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest request)
Retrieves an Identity Aware Proxy (IAP) OAuth client.
Requires that the client is owned by IAP.
listBrands(ListBrandsRequest request)
public ListenableFuture<ListBrandsResponse> listBrands(ListBrandsRequest request)
Lists the existing brands for the project.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListBrandsResponse> |
|
listIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest request)
public ListenableFuture<ListIdentityAwareProxyClientsResponse> listIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest request)
Lists the existing clients for the brand.
resetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest request)
public ListenableFuture<IdentityAwareProxyClient> resetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest request)
Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the
secret was compromised. Requires that the client is owned by IAP.