Google\Cloud\Compute\Metadata::get PHP Méthode

get() public méthode

Example: $projectId = $reader->get('project/project-id');
public get ( string $path )
$path string The path of the item to retrieve.
    public function get($path)
    {
        return $this->reader->read($path);
    }