Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class SimpleMetadataProvider.
Simple MetadataProvider.
Methods
__construct
monitoredResource
mixed
projectId
string
[optional] Defaults to''
serviceId
string
[optional] Defaults to''
versionId
string
[optional] Defaults to''
labels
array
[optional] Defaults to[]
monitoredResource
Return an array representing MonitoredResource.
https://cloud.google.com/logging/docs/reference/v2/rest/v2/MonitoredResourcearray
projectId
Return the project id.
string
serviceId
Return the service id.
string
versionId
Return the version id.
string
labels
Return the labels.
array