Class ComputeEngineChannelCredentials
java.lang.Object
io.grpc.alts.ComputeEngineChannelCredentials
Credentials appropriate to contact Google services when running on Google Compute Engine. This
class sets up a secure channel using ALTS if applicable and using TLS as fallback. It is a subset
of the functionality provided by
GoogleDefaultChannelCredentials.-
Method Summary
Modifier and TypeMethodDescriptionstatic io.grpc.ChannelCredentialscreate()Creates credentials for Google Compute Engine.
-
Method Details
-
create
public static io.grpc.ChannelCredentials create()Creates credentials for Google Compute Engine. This class sets up a secure channel using ALTS if applicable and using TLS as fallback.
-