Reference documentation and code samples for the Google API Common Protos Client class MonitoringDestination.
Configuration of a specific monitoring destination (the producer project or the consumer project).
Generated from protobuf message google.api.Monitoring.MonitoringDestination
Namespace
Google \ Api \ MonitoringMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ monitored_resource
string
The monitored resource type. The type must be defined in Service.monitored_resources section.
↳ metrics
array
Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
getMonitoredResource
The monitored resource type. The type must be defined in Service.monitored_resources section.
string
setMonitoredResource
The monitored resource type. The type must be defined in Service.monitored_resources section.
var
string
$this
getMetrics
Types of the metrics to report to this monitoring destination.
Each type must be defined in Service.metrics section.
setMetrics
Types of the metrics to report to this monitoring destination.
Each type must be defined in Service.metrics section.
var
string[]
$this