Class IAMCredentialsGrpc (2.55.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
Type Description
String

Static Methods

bindService(IAMCredentialsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(IAMCredentialsGrpc.AsyncService service)
Parameter
Name Description
service IAMCredentialsGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGenerateAccessTokenMethod()

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

getGenerateIdTokenMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSignBlobMethod()

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

getSignJwtMethod()

public static MethodDescriptor<SignJwtRequest,SignJwtResponse> getSignJwtMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
IAMCredentialsGrpc.IAMCredentialsStub