Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Google
Cloud
Compute
Metadata
get
Google\Cloud\Compute\Metadata::get PHP Method
Metadata Class Documentation
Show file
Open project: GoogleCloudPlatform/gcloud-php
get()
public
method
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); }
Metadata
__construct
get
getInstanceMetadata
getProjectId
getProjectMetadata
setReader