public class Compute.InstanceGroups.ListInstances extends ComputeRequest<InstanceGroupsListInstances>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Compute.InstanceGroups.ListInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroup,
InstanceGroupsListInstancesRequest content)
Lists the instances in the specified instance group.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilter()
Sets a filter expression for filtering listed resources, in the form filter={expression}.
|
java.lang.String |
getInstanceGroup()
The name of the instance group from which you want to generate a list of included instances.
|
java.lang.Long |
getMaxResults()
The maximum number of results per page that should be returned.
|
java.lang.String |
getPageToken()
Specifies a page token to use.
|
java.lang.String |
getProject()
Project ID for this request.
|
java.lang.String |
getZone()
The name of the zone where the instance group is located.
|
Compute.InstanceGroups.ListInstances |
set(java.lang.String parameterName,
java.lang.Object value) |
Compute.InstanceGroups.ListInstances |
setAlt(java.lang.String alt)
Data format for the response.
|
Compute.InstanceGroups.ListInstances |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Compute.InstanceGroups.ListInstances |
setFilter(java.lang.String filter)
Sets a filter expression for filtering listed resources, in the form filter={expression}.
|
Compute.InstanceGroups.ListInstances |
setInstanceGroup(java.lang.String instanceGroup)
The name of the instance group from which you want to generate a list of included
instances.
|
Compute.InstanceGroups.ListInstances |
setKey(java.lang.String key)
API key.
|
Compute.InstanceGroups.ListInstances |
setMaxResults(java.lang.Long maxResults)
The maximum number of results per page that should be returned.
|
Compute.InstanceGroups.ListInstances |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.InstanceGroups.ListInstances |
setPageToken(java.lang.String pageToken)
Specifies a page token to use.
|
Compute.InstanceGroups.ListInstances |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.InstanceGroups.ListInstances |
setProject(java.lang.String project)
Project ID for this request.
|
Compute.InstanceGroups.ListInstances |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.InstanceGroups.ListInstances |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
Compute.InstanceGroups.ListInstances |
setZone(java.lang.String zone)
The name of the zone where the instance group is located.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysprotected Compute.InstanceGroups.ListInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroup,
InstanceGroupsListInstancesRequest content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
ListInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR
equest) must be called to initialize this instance immediately after invoking the constructor.
project - Project ID for this request.zone - The name of the zone where the instance group is located.instanceGroup - The name of the instance group from which you want to generate a list of included instances.content - the InstanceGroupsListInstancesRequestpublic Compute.InstanceGroups.ListInstances setAlt(java.lang.String alt)
ComputeRequestsetAlt in class ComputeRequest<InstanceGroupsListInstances>public Compute.InstanceGroups.ListInstances setFields(java.lang.String fields)
ComputeRequestsetFields in class ComputeRequest<InstanceGroupsListInstances>public Compute.InstanceGroups.ListInstances setKey(java.lang.String key)
ComputeRequestsetKey in class ComputeRequest<InstanceGroupsListInstances>public Compute.InstanceGroups.ListInstances setOauthToken(java.lang.String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<InstanceGroupsListInstances>public Compute.InstanceGroups.ListInstances setPrettyPrint(java.lang.Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<InstanceGroupsListInstances>public Compute.InstanceGroups.ListInstances setQuotaUser(java.lang.String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<InstanceGroupsListInstances>public Compute.InstanceGroups.ListInstances setUserIp(java.lang.String userIp)
ComputeRequestsetUserIp in class ComputeRequest<InstanceGroupsListInstances>public java.lang.String getProject()
public Compute.InstanceGroups.ListInstances setProject(java.lang.String project)
public java.lang.String getZone()
public Compute.InstanceGroups.ListInstances setZone(java.lang.String zone)
public java.lang.String getInstanceGroup()
public Compute.InstanceGroups.ListInstances setInstanceGroup(java.lang.String instanceGroup)
public java.lang.String getFilter()
public Compute.InstanceGroups.ListInstances setFilter(java.lang.String filter)
public java.lang.Long getMaxResults()
public Compute.InstanceGroups.ListInstances setMaxResults(java.lang.Long maxResults)
public java.lang.String getPageToken()
public Compute.InstanceGroups.ListInstances setPageToken(java.lang.String pageToken)
public Compute.InstanceGroups.ListInstances set(java.lang.String parameterName, java.lang.Object value)
set in class ComputeRequest<InstanceGroupsListInstances>