Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class CloudRunJobMetadataProvider.
A MetadataProvider for Cloud Run Jobs.
Namespace
Google \ Cloud \ Core \ ReportMethods
__construct
Parameters
Name
Description
env
array
metadata
?\Google\Cloud\Core\Compute\Metadata
monitoredResource
Return an array representing 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.
Returns
Type
Description
array