GRPC Core  9.0.0
Functions
check_gcp_environment_no_op.cc File Reference
#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...
 

Function Documentation

◆ grpc_alts_is_running_on_gcp()

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.