Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class GAEMetadataProvider (1.59.1)

Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class GAEMetadataProvider.

MetadataProvider for GAE.

Namespace

Google \ Cloud \ Core \ Report

Methods

__construct

Parameter
Name Description
server array

An array for holding the values. Normally just use $_SERVER.

monitoredResource

Returns
Type Description
array

projectId

Return the project id.

Returns
Type Description
string

serviceId

Return the service id.

Returns
Type Description
string

versionId

Return the version id.

Returns
Type Description
string

labels

Return the labels. We need to evaluate $_SERVER for each request.

Returns
Type Description
array