Namespaces | Functions
check_gcp_environment.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 grpc_core
 
 grpc_core::internal
 

Functions

bool grpc_core::internal::check_bios_data (const char *bios_data)
 
bool grpc_alts_is_running_on_gcp ()
 
char * grpc_core::internal::read_bios_file (const char *bios_file)
 

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