Stackdriver Monitoring V3 Client - Class ListMetricDescriptorsResponse (1.5.1)

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

The ListMetricDescriptors response.

Generated from protobuf message google.monitoring.v3.ListMetricDescriptorsResponse

Namespace

Google \ Cloud \ Monitoring \ V3

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.

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.

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.

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this