apache/libcloud — pull request #422 by erjohnso (2014-12-30 00:13:38+00:00)
Title: [google compute] adding all list params to all list functions

This PR adds support to all `list_XXX()` and `ex_list_XXX()` driver methods using the parameters provided by GCE API as described in this example, https://cloud.google.com/compute/docs/reference/latest/diskTypes/list.

* Users can now provide an `ex_filter` to restrict search results to filter matches such as nodes that match `name eq "test.*"`.
* Users can now step through large resource sets `ex_max_results` for each method call until no more results are returned. In GCE terms, this allows for "pagination" and uses a `pageToken` query parameter to step through the resource set. Users can 'reset' the step pointer by specifying `ex_reset_page_token`, e.g.

```python
subset = gce_driver.ex_list_snapshots(ex_max_results=2):
while subset:
# do something with this subset of snapshots...
subset = gce_driver.ex_list_snapshots(ex_max_results=2)
gce_driver.ex_list_snapshots(ex_reset_page_token=True)
```