class GetMetricDescriptorRequest extends Message

The GetMetricDescriptor request.

Protobuf type Google\Monitoring\V3\GetMetricDescriptorRequest

Methods

__construct()

No description

string
getName()

The metric descriptor on which to execute the request. The format is "projects/{project_id_or_number}/metricDescriptors/{metric_id}".

setName(string $var)

The metric descriptor on which to execute the request. The format is "projects/{project_id_or_number}/metricDescriptors/{metric_id}".

Details

at line 28
__construct()

at line 42
string getName()

The metric descriptor on which to execute the request. The format is "projects/{project_id_or_number}/metricDescriptors/{metric_id}".

An example value of {metric_id} is "compute.googleapis.com/instance/disk/read_bytes_count".

Generated from protobuf field string name = 3;

Return Value

string

at line 56
setName(string $var)

The metric descriptor on which to execute the request. The format is "projects/{project_id_or_number}/metricDescriptors/{metric_id}".

An example value of {metric_id} is "compute.googleapis.com/instance/disk/read_bytes_count".

Generated from protobuf field string name = 3;

Parameters

string $var