Class ListInstancesRequest (0.2.0)

ListInstancesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request for ListInstances.

Attributes

NameDescription
parent str
Required. The resource name of the instance location using the form: projects/{project_id}/locations/{location_id} where location_id refers to a GCP region
page_size int
The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token][CloudMemcache.ListInstancesResponse.next_page_token] to determine if there are more instances left to be queried.
page_token str
The next_page_token value returned from a previous List request, if any.
filter str
List filter. For example, exclude all Memcached instances with name as my-instance by specifying "name != my-instance".
order_by str
Sort results. Supported values are "name", "name desc" or "" (unsorted).

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.