public static final class IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceBlockingStub extends AbstractBlockingStub<IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceBlockingStub>
A stub to allow clients to do synchronous 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.AbstractBlockingStub >
IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected IdentityAwareProxyOAuthServiceGrpc.IdentityAwareProxyOAuthServiceBlockingStub 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 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 |
Brand |
|
createIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest request)
public 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 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 |
Empty |
|
getBrand(GetBrandRequest request)
public Brand getBrand(GetBrandRequest request)
Retrieves the OAuth brand of the project.
Returns |
Type |
Description |
Brand |
|
getIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest request)
public IdentityAwareProxyClient getIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest request)
Retrieves an Identity Aware Proxy (IAP) OAuth client.
Requires that the client is owned by IAP.
listBrands(ListBrandsRequest request)
public ListBrandsResponse listBrands(ListBrandsRequest request)
Lists the existing brands for the project.
listIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest request)
public ListIdentityAwareProxyClientsResponse listIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest request)
Lists the existing clients for the brand.
resetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest request)
public 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.