Stackdriver Monitoring V3 Client - Class ListMetricDescriptorsResponse (1.2.2)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ListMetricDescriptorsResponse.

The ListMetricDescriptors response.

Generated from protobuf message google.monitoring.v3.ListMetricDescriptorsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ metric_descriptors array<Google\Api\MetricDescriptor>

The metric descriptors that are available to the project and that match the value of filter, if present.

↳ next_page_token string

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

getMetricDescriptors

The metric descriptors that are available to the project and that match the value of filter, if present.

Generated from protobuf field repeated .google.api.MetricDescriptor metric_descriptors = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetricDescriptors

The metric descriptors that are available to the project and that match the value of filter, if present.

Generated from protobuf field repeated .google.api.MetricDescriptor metric_descriptors = 1;

Parameter
NameDescription
var array<Google\Api\MetricDescriptor>
Returns
TypeDescription
$this

getNextPageToken

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this