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.
[[["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 2025-09-04 UTC."],[],[],null,["# Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class GAEMetadataProvider (1.64.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.64.2 (latest)](/php/docs/reference/cloud-core/latest/Report.GAEMetadataProvider)\n- [1.64.1](/php/docs/reference/cloud-core/1.64.1/Report.GAEMetadataProvider)\n- [1.63.0](/php/docs/reference/cloud-core/1.63.0/Report.GAEMetadataProvider)\n- [1.62.3](/php/docs/reference/cloud-core/1.62.3/Report.GAEMetadataProvider)\n- [1.61.0](/php/docs/reference/cloud-core/1.61.0/Report.GAEMetadataProvider)\n- [1.60.1](/php/docs/reference/cloud-core/1.60.1/Report.GAEMetadataProvider)\n- [1.59.1](/php/docs/reference/cloud-core/1.59.1/Report.GAEMetadataProvider)\n- [1.58.2](/php/docs/reference/cloud-core/1.58.2/Report.GAEMetadataProvider)\n- [1.53.0](/php/docs/reference/cloud-core/1.53.0/Report.GAEMetadataProvider)\n- [1.52.11](/php/docs/reference/cloud-core/1.52.11/Report.GAEMetadataProvider)\n- [1.51.2](/php/docs/reference/cloud-core/1.51.2/Report.GAEMetadataProvider)\n- [1.50.0](/php/docs/reference/cloud-core/1.50.0/Report.GAEMetadataProvider)\n- [1.49.3](/php/docs/reference/cloud-core/1.49.3/Report.GAEMetadataProvider)\n- [1.48.1](/php/docs/reference/cloud-core/1.48.1/Report.GAEMetadataProvider) \nReference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class GAEMetadataProvider.\n\nMetadataProvider for GAE.\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Core \\\\ Report\n\nMethods\n-------\n\n### __construct\n\n### monitoredResource\n\nSee also:\n\n- \u003chttps://cloud.google.com/logging/docs/reference/v2/rest/v2/MonitoredResource\u003e\n\n### projectId\n\nReturn the project id.\n\n### serviceId\n\nReturn the service id.\n\n### versionId\n\nReturn the version id.\n\n### labels\n\nReturn the labels. We need to evaluate $_SERVER for each request."]]