public static class ListInstancesRegionInstanceGroupsHttpRequest.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ListInstancesRegionInstanceGroupsHttpRequest |
build() |
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
clone() |
String |
getAccessToken()
OAuth 2.0 token for the current user.
|
String |
getCallback()
Name of the JavaScript callback function that handles the response.
|
String |
getFields()
Selector specifying a subset of fields to include in the response.
|
String |
getFilter()
A filter expression that filters resources listed in the response.
|
String |
getInstanceGroup()
Name of the regional instance group for which we want to list the instances.
|
String |
getKey()
API key.
|
Integer |
getMaxResults()
The maximum number of results per page that should be returned.
|
String |
getOrderBy()
Sorts list results by a certain order.
|
String |
getPageToken()
Specifies a page token to use.
|
String |
getPrettyPrint()
Returns response with indentations and line breaks.
|
String |
getQuotaUser()
Alternative to userIp.
|
RegionInstanceGroupsListInstancesRequest |
getRegionInstanceGroupsListInstancesRequestResource() |
String |
getUserIp()
IP address of the end user for whom the API call is being made.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
mergeFrom(ListInstancesRegionInstanceGroupsHttpRequest other) |
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setAccessToken(String access_token)
OAuth 2.0 token for the current user.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setCallback(String callback)
Name of the JavaScript callback function that handles the response.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setFields(String fields)
Selector specifying a subset of fields to include in the response.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setFilter(String filter)
A filter expression that filters resources listed in the response.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setInstanceGroup(String instanceGroup)
Name of the regional instance group for which we want to list the instances.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setKey(String key)
API key.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setMaxResults(Integer maxResults)
The maximum number of results per page that should be returned.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setOrderBy(String orderBy)
Sorts list results by a certain order.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setPageToken(String pageToken)
Specifies a page token to use.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setPrettyPrint(String prettyPrint)
Returns response with indentations and line breaks.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setQuotaUser(String quotaUser)
Alternative to userIp.
|
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setRegionInstanceGroupsListInstancesRequestResource(RegionInstanceGroupsListInstancesRequest regionInstanceGroupsListInstancesRequestResource) |
ListInstancesRegionInstanceGroupsHttpRequest.Builder |
setUserIp(String userIp)
IP address of the end user for whom the API call is being made.
|
public ListInstancesRegionInstanceGroupsHttpRequest.Builder mergeFrom(ListInstancesRegionInstanceGroupsHttpRequest other)
public String getAccessToken()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setAccessToken(String access_token)
public String getCallback()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setCallback(String callback)
public String getFields()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setFields(String fields)
public String getFilter()
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setFilter(String filter)
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
public String getInstanceGroup()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setInstanceGroup(String instanceGroup)
public String getKey()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setKey(String key)
public Integer getMaxResults()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setMaxResults(Integer maxResults)
public String getOrderBy()
You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
Currently, only sorting by name or creationTimestamp desc is supported.
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setOrderBy(String orderBy)
You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
Currently, only sorting by name or creationTimestamp desc is supported.
public String getPageToken()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setPageToken(String pageToken)
public String getPrettyPrint()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setPrettyPrint(String prettyPrint)
public String getQuotaUser()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setQuotaUser(String quotaUser)
public RegionInstanceGroupsListInstancesRequest getRegionInstanceGroupsListInstancesRequestResource()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setRegionInstanceGroupsListInstancesRequestResource(RegionInstanceGroupsListInstancesRequest regionInstanceGroupsListInstancesRequestResource)
public String getUserIp()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder setUserIp(String userIp)
public ListInstancesRegionInstanceGroupsHttpRequest build()
public ListInstancesRegionInstanceGroupsHttpRequest.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.