class Monitoring_MonitoringDestination extends Message

Configuration of a specific monitoring destination (the producer project or the consumer project).

Generated from protobuf message google.api.Monitoring.MonitoringDestination

Methods

__construct()

No description

string
getMonitoredResource()

The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

$this
setMonitoredResource(string $var)

The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

RepeatedField
getMetrics()

Names of the metrics to report to this monitoring destination.

$this
setMetrics(string[]|RepeatedField $var)

Names of the metrics to report to this monitoring destination.

Details

at line 34
__construct()

at line 46
string getMonitoredResource()

The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

Generated from protobuf field string monitored_resource = 1;

Return Value

string

at line 59
$this setMonitoredResource(string $var)

The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

Generated from protobuf field string monitored_resource = 1;

Parameters

string $var

Return Value

$this

at line 74
RepeatedField getMetrics()

Names of the metrics to report to this monitoring destination.

Each name must be defined in [Service.metrics][google.api.Service.metrics] section.

Generated from protobuf field repeated string metrics = 2;

Return Value

RepeatedField

at line 87
$this setMetrics(string[]|RepeatedField $var)

Names of the metrics to report to this monitoring destination.

Each name must be defined in [Service.metrics][google.api.Service.metrics] section.

Generated from protobuf field repeated string metrics = 2;

Parameters

string[]|RepeatedField $var

Return Value

$this