Class IAMCredentialsGrpc (2.16.0)

publicfinalclass 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

publicstaticfinalStringSERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(IAMCredentialsGrpc.AsyncService service)

publicstaticfinalServerServiceDefinitionbindService(IAMCredentialsGrpc.AsyncServiceservice)
Parameter
Name Description
service IAMCredentialsGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGenerateAccessTokenMethod()

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

getGenerateIdTokenMethod()

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

getServiceDescriptor()

publicstaticServiceDescriptorgetServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSignBlobMethod()

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

getSignJwtMethod()

publicstaticMethodDescriptor<SignJwtRequest,SignJwtResponse>getSignJwtMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SignJwtRequest,SignJwtResponse>

newBlockingStub(Channel channel)

publicstaticIAMCredentialsGrpc.IAMCredentialsBlockingStubnewBlockingStub(Channelchannel)

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)

publicstaticIAMCredentialsGrpc.IAMCredentialsFutureStubnewFutureStub(Channelchannel)

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)

publicstaticIAMCredentialsGrpc.IAMCredentialsStubnewStub(Channelchannel)

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.