public class SQLAdmin.Instances.List extends SQLAdminRequest<InstancesListResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String project)
Lists instances under a given project in the alphabetical order of the instance name.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getFilter()
An expression for filtering the results of the request, such as by name or label.
|
Long |
getMaxResults()
The maximum number of results to return per response.
|
String |
getPageToken()
A previously-returned page token representing part of the larger set of results to view.
|
String |
getProject()
Project ID of the project for which to list Cloud SQL instances.
|
SQLAdmin.Instances.List |
set(String parameterName,
Object value) |
SQLAdmin.Instances.List |
setAlt(String alt)
Data format for the response.
|
SQLAdmin.Instances.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
SQLAdmin.Instances.List |
setFilter(String filter)
An expression for filtering the results of the request, such as by name or label.
|
SQLAdmin.Instances.List |
setKey(String key)
API key.
|
SQLAdmin.Instances.List |
setMaxResults(Long maxResults)
The maximum number of results to return per response.
|
SQLAdmin.Instances.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
SQLAdmin.Instances.List |
setPageToken(String pageToken)
A previously-returned page token representing part of the larger set of results to view.
|
SQLAdmin.Instances.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
SQLAdmin.Instances.List |
setProject(String project)
Project ID of the project for which to list Cloud SQL instances.
|
SQLAdmin.Instances.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
SQLAdmin.Instances.List |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected List(String project)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
SQLAdmin.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
project - Project ID of the project for which to list Cloud SQL instances.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<InstancesListResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<InstancesListResponse>IOExceptionpublic SQLAdmin.Instances.List setAlt(String alt)
SQLAdminRequestsetAlt in class SQLAdminRequest<InstancesListResponse>public SQLAdmin.Instances.List setFields(String fields)
SQLAdminRequestsetFields in class SQLAdminRequest<InstancesListResponse>public SQLAdmin.Instances.List setKey(String key)
SQLAdminRequestsetKey in class SQLAdminRequest<InstancesListResponse>public SQLAdmin.Instances.List setOauthToken(String oauthToken)
SQLAdminRequestsetOauthToken in class SQLAdminRequest<InstancesListResponse>public SQLAdmin.Instances.List setPrettyPrint(Boolean prettyPrint)
SQLAdminRequestsetPrettyPrint in class SQLAdminRequest<InstancesListResponse>public SQLAdmin.Instances.List setQuotaUser(String quotaUser)
SQLAdminRequestsetQuotaUser in class SQLAdminRequest<InstancesListResponse>public SQLAdmin.Instances.List setUserIp(String userIp)
SQLAdminRequestsetUserIp in class SQLAdminRequest<InstancesListResponse>public String getProject()
public SQLAdmin.Instances.List setProject(String project)
public String getFilter()
public SQLAdmin.Instances.List setFilter(String filter)
public Long getMaxResults()
public SQLAdmin.Instances.List setMaxResults(Long maxResults)
public String getPageToken()
public SQLAdmin.Instances.List setPageToken(String pageToken)
public SQLAdmin.Instances.List set(String parameterName, Object value)
set in class SQLAdminRequest<InstancesListResponse>Copyright © 2011–2019 Google. All rights reserved.