@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcIamCredentialsStub extends IamCredentialsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcIamCredentialsStub(IamCredentialsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcIamCredentialsStub, using the given settings.
|
protected |
GrpcIamCredentialsStub(IamCredentialsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcIamCredentialsStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcIamCredentialsStub |
create(ClientContext clientContext) |
static GrpcIamCredentialsStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcIamCredentialsStub |
create(IamCredentialsStubSettings settings) |
UnaryCallable<com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest,com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse> |
generateAccessTokenCallable() |
UnaryCallable<com.google.cloud.iam.credentials.v1.GenerateIdentityBindingAccessTokenRequest,com.google.cloud.iam.credentials.v1.GenerateIdentityBindingAccessTokenResponse> |
generateIdentityBindingAccessTokenCallable() |
UnaryCallable<com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest,com.google.cloud.iam.credentials.v1.GenerateIdTokenResponse> |
generateIdTokenCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.iam.credentials.v1.SignBlobRequest,com.google.cloud.iam.credentials.v1.SignBlobResponse> |
signBlobCallable() |
UnaryCallable<com.google.cloud.iam.credentials.v1.SignJwtRequest,com.google.cloud.iam.credentials.v1.SignJwtResponse> |
signJwtCallable() |
protected GrpcIamCredentialsStub(IamCredentialsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcIamCredentialsStub(IamCredentialsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcIamCredentialsStub create(IamCredentialsStubSettings settings) throws IOException
IOException
public static final GrpcIamCredentialsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcIamCredentialsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest,com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse> generateAccessTokenCallable()
generateAccessTokenCallable
in class IamCredentialsStub
public UnaryCallable<com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest,com.google.cloud.iam.credentials.v1.GenerateIdTokenResponse> generateIdTokenCallable()
generateIdTokenCallable
in class IamCredentialsStub
public UnaryCallable<com.google.cloud.iam.credentials.v1.SignBlobRequest,com.google.cloud.iam.credentials.v1.SignBlobResponse> signBlobCallable()
signBlobCallable
in class IamCredentialsStub
public UnaryCallable<com.google.cloud.iam.credentials.v1.SignJwtRequest,com.google.cloud.iam.credentials.v1.SignJwtResponse> signJwtCallable()
signJwtCallable
in class IamCredentialsStub
public UnaryCallable<com.google.cloud.iam.credentials.v1.GenerateIdentityBindingAccessTokenRequest,com.google.cloud.iam.credentials.v1.GenerateIdentityBindingAccessTokenResponse> generateIdentityBindingAccessTokenCallable()
generateIdentityBindingAccessTokenCallable
in class IamCredentialsStub
public final void close()
close
in interface AutoCloseable
close
in class IamCredentialsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.