Package io.grpc.alts
Class InternalCheckGcpEnvironment
java.lang.Object
io.grpc.alts.InternalCheckGcpEnvironment
Class for checking if the system is running on Google Cloud Platform (GCP). This is intended for
usage internal to the gRPC team. If you *really* think you need to use this, contact the gRPC
team first.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisOnGcp()Returnstrueif currently running on Google Cloud Platform (GCP).
-
Method Details
-
isOnGcp
public static boolean isOnGcp()Returnstrueif currently running on Google Cloud Platform (GCP).
-