Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class GAEMetadataProvider.
MetadataProvider for GAE.
Methods
__construct
Parameter
Name
Description
server
array
An array for holding the values. Normally just use $_SERVER.
monitoredResource
Return an array representing MonitoredResource.
{@see}
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]