Functions
check_gcp_environment_no_op.cc File Reference
#include <grpc/support/port_platform.h>
#include <grpc/support/log.h>
#include "src/core/lib/security/credentials/alts/check_gcp_environment.h"
Include dependency graph for check_gcp_environment_no_op.cc:

Go to the source code of this file.

Functions

bool grpc_alts_is_running_on_gcp ()
 

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.

Definition at line 27 of file check_gcp_environment_no_op.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:06