Stackdriver Monitoring V3 Client - Class ListMetricDescriptorsResponse (1.10.3)

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setMetricDescriptors

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

Parameter
Name Description
var array<Google\Api\MetricDescriptor>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this