class Monitoring_MonitoringDestination extends Message

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

Protobuf type 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.

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.

setMetrics(array|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 58
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

at line 71
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 83
setMetrics(array|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

array|RepeatedField $var