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

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

A MetadataProvider for Cloud Run.

Namespace

Google \ Cloud \ Core \ Report

Methods

__construct

Parameter
Name Description
env array

monitoredResource

not implemented

projectId

not implemented

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