Package | Description |
---|---|
com.google.cloud.compute.deprecated |
A client for Google Compute Engine – High-performance, scalable virtual machines.
|
Modifier and Type | Method and Description |
---|---|
static Compute.InstanceListOption |
Compute.InstanceListOption.fields(Compute.InstanceField... fields)
Returns an option to specify the instance's fields to be returned by the RPC call.
|
static Compute.InstanceListOption |
Compute.InstanceListOption.filter(Compute.InstanceFilter filter)
Returns an option to specify a filter on the instances being listed.
|
static Compute.InstanceListOption |
Compute.InstanceListOption.pageSize(long pageSize)
Returns an option to specify the maximum number of instances returned per page.
|
static Compute.InstanceListOption |
Compute.InstanceListOption.pageToken(String pageToken)
Returns an option to specify the page token from which to start listing instances.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.paging.Page<Instance> |
Compute.listInstances(String zone,
Compute.InstanceListOption... options)
Lists instances for the provided zone.
|
Copyright © 2019 Google LLC. All rights reserved.