Google\Cloud\Compute\Metadata::get PHP Метод

get() публичный Метод

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);
    }