ListMetricDescriptorsRequest
class ListMetricDescriptorsRequest extends Message
The ListMetricDescriptors
request.
Protobuf type Google\Monitoring\V3\ListMetricDescriptorsRequest
Methods
No description
The project on which to execute the request. The format is
"projects/{project_id_or_number}"
.
The project on which to execute the request. The format is
"projects/{project_id_or_number}"
.
If this field is empty, all custom and system-defined metric descriptors are returned.
If this field is empty, all custom and system-defined metric descriptors are returned.
A positive number that is the maximum number of results to return.
A positive number that is the maximum number of results to return.
If this field is not empty then it must contain the nextPageToken
value
returned by a previous call to this method. Using this field causes the
method to return additional results from the previous method call.
If this field is not empty then it must contain the nextPageToken
value
returned by a previous call to this method. Using this field causes the
method to return additional results from the previous method call.
Details
at line 52
__construct()
at line 64
string
getName()
The project on which to execute the request. The format is
"projects/{project_id_or_number}"
.
Generated from protobuf field string name = 5;
at line 76
setName(string $var)
The project on which to execute the request. The format is
"projects/{project_id_or_number}"
.
Generated from protobuf field string name = 5;
at line 94
string
getFilter()
If this field is empty, all custom and system-defined metric descriptors are returned.
Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics: metric.type = starts_with("custom.googleapis.com/")
Generated from protobuf field string filter = 2;
at line 111
setFilter(string $var)
If this field is empty, all custom and system-defined metric descriptors are returned.
Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics: metric.type = starts_with("custom.googleapis.com/")
Generated from protobuf field string filter = 2;
at line 123
int
getPageSize()
A positive number that is the maximum number of results to return.
Generated from protobuf field int32 page_size = 3;
at line 134
setPageSize(int $var)
A positive number that is the maximum number of results to return.
Generated from protobuf field int32 page_size = 3;
at line 148
string
getPageToken()
If this field is not empty then it must contain the nextPageToken
value
returned by a previous call to this method. Using this field causes the
method to return additional results from the previous method call.
Generated from protobuf field string page_token = 4;
at line 161
setPageToken(string $var)
If this field is not empty then it must contain the nextPageToken
value
returned by a previous call to this method. Using this field causes the
method to return additional results from the previous method call.
Generated from protobuf field string page_token = 4;