Class InternalCheckGcpEnvironment

java.lang.Object
io.grpc.alts.InternalCheckGcpEnvironment

@Internal public final class InternalCheckGcpEnvironment extends Object
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 Details

    • isOnGcp

      public static boolean isOnGcp()
      Returns true if currently running on Google Cloud Platform (GCP).