Class IAMCredentialsGrpc (2.17.0)

public final class IAMCredentialsGrpc

A service account is a special type of Google account that belongs to your application or a virtual machine (VM), instead of to an individual end user. Your application assumes the identity of the service account to call Google APIs, so that the users aren't directly involved. Service account credentials are used to temporarily assume the identity of the service account. Supported credential types include OAuth 2.0 access tokens, OpenID Connect ID tokens, self-signed JSON Web Tokens (JWTs), and more.

Inheritance

java.lang.Object > IAMCredentialsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(IAMCredentialsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(IAMCredentialsGrpc.AsyncService service)
Parameter
NameDescription
serviceIAMCredentialsGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getGenerateAccessTokenMethod()

public static MethodDescriptor<GenerateAccessTokenRequest,GenerateAccessTokenResponse> getGenerateAccessTokenMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GenerateAccessTokenRequest,GenerateAccessTokenResponse>

getGenerateIdTokenMethod()

public static MethodDescriptor<GenerateIdTokenRequest,GenerateIdTokenResponse> getGenerateIdTokenMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GenerateIdTokenRequest,GenerateIdTokenResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSignBlobMethod()

public static MethodDescriptor<SignBlobRequest,SignBlobResponse> getSignBlobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SignBlobRequest,SignBlobResponse>

getSignJwtMethod()

public static MethodDescriptor<SignJwtRequest,SignJwtResponse> getSignJwtMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SignJwtRequest,SignJwtResponse>

newBlockingStub(Channel channel)

public static IAMCredentialsGrpc.IAMCredentialsBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
IAMCredentialsGrpc.IAMCredentialsBlockingStub

newFutureStub(Channel channel)

public static IAMCredentialsGrpc.IAMCredentialsFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
IAMCredentialsGrpc.IAMCredentialsFutureStub

newStub(Channel channel)

public static IAMCredentialsGrpc.IAMCredentialsStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
IAMCredentialsGrpc.IAMCredentialsStub