GRPC Core
18.0.0
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/security/credentials/alts/check_gcp_environment.h"
#include <grpc/support/log.h>
Functions | |
bool | grpc_alts_is_running_on_gcp () |
This method checks if a VM (Windows or Linux) is running within Google compute Engine (GCE) or not. More... | |
bool grpc_alts_is_running_on_gcp | ( | ) |
This method checks if a VM (Windows or Linux) is running within Google compute Engine (GCE) or not.
It returns true if the VM is running in GCE and false otherwise.