class ListMonitoredResourceDescriptorsRequest extends Message

The ListMonitoredResourceDescriptors request.

Protobuf type Google\Monitoring\V3\ListMonitoredResourceDescriptorsRequest

Methods

__construct()

No description

string
getName()

The project on which to execute the request. The format is "projects/{project_id_or_number}".

setName(string $var)

The project on which to execute the request. The format is "projects/{project_id_or_number}".

string
getFilter()

An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label: resource.type = starts_with("gce_") AND resource.label:id

setFilter(string $var)

An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label: resource.type = starts_with("gce_") AND resource.label:id

int
getPageSize()

A positive number that is the maximum number of results to return.

setPageSize(int $var)

A positive number that is the maximum number of results to return.

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.

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.

Details

at line 51
__construct()

at line 63
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;

Return Value

string

at line 75
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;

Parameters

string $var

at line 92
string getFilter()

An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label: resource.type = starts_with("gce_") AND resource.label:id

Generated from protobuf field string filter = 2;

Return Value

string

at line 108
setFilter(string $var)

An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label: resource.type = starts_with("gce_") AND resource.label:id

Generated from protobuf field string filter = 2;

Parameters

string $var

at line 120
int getPageSize()

A positive number that is the maximum number of results to return.

Generated from protobuf field int32 page_size = 3;

Return Value

int

at line 131
setPageSize(int $var)

A positive number that is the maximum number of results to return.

Generated from protobuf field int32 page_size = 3;

Parameters

int $var

at line 145
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;

Return Value

string

at line 158
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;

Parameters

string $var