public class SQLAdmin.Instances.List extends SQLAdminRequest<InstancesListResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
List(java.lang.String project)
Lists instances under a given project in the alphabetical order of the instance name.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getFilter()
An expression for filtering the results of the request, such as by name or label.
|
java.lang.Long |
getMaxResults()
The maximum number of results to return per response.
|
java.lang.String |
getPageToken()
A previously-returned page token representing part of the larger set of results to view.
|
java.lang.String |
getProject()
Project ID of the project for which to list Cloud SQL instances.
|
SQLAdmin.Instances.List |
set(java.lang.String parameterName,
java.lang.Object value) |
SQLAdmin.Instances.List |
setAlt(java.lang.String alt)
Data format for the response.
|
SQLAdmin.Instances.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
SQLAdmin.Instances.List |
setFilter(java.lang.String filter)
An expression for filtering the results of the request, such as by name or label.
|
SQLAdmin.Instances.List |
setKey(java.lang.String key)
API key.
|
SQLAdmin.Instances.List |
setMaxResults(java.lang.Long maxResults)
The maximum number of results to return per response.
|
SQLAdmin.Instances.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
SQLAdmin.Instances.List |
setPageToken(java.lang.String pageToken)
A previously-returned page token representing part of the larger set of results to view.
|
SQLAdmin.Instances.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
SQLAdmin.Instances.List |
setProject(java.lang.String project)
Project ID of the project for which to list Cloud SQL instances.
|
SQLAdmin.Instances.List |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
SQLAdmin.Instances.List |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected List(java.lang.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 com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<InstancesListResponse>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<InstancesListResponse>
java.io.IOException
public SQLAdmin.Instances.List setAlt(java.lang.String alt)
SQLAdminRequest
setAlt
in class SQLAdminRequest<InstancesListResponse>
public SQLAdmin.Instances.List setFields(java.lang.String fields)
SQLAdminRequest
setFields
in class SQLAdminRequest<InstancesListResponse>
public SQLAdmin.Instances.List setKey(java.lang.String key)
SQLAdminRequest
setKey
in class SQLAdminRequest<InstancesListResponse>
public SQLAdmin.Instances.List setOauthToken(java.lang.String oauthToken)
SQLAdminRequest
setOauthToken
in class SQLAdminRequest<InstancesListResponse>
public SQLAdmin.Instances.List setPrettyPrint(java.lang.Boolean prettyPrint)
SQLAdminRequest
setPrettyPrint
in class SQLAdminRequest<InstancesListResponse>
public SQLAdmin.Instances.List setQuotaUser(java.lang.String quotaUser)
SQLAdminRequest
setQuotaUser
in class SQLAdminRequest<InstancesListResponse>
public SQLAdmin.Instances.List setUserIp(java.lang.String userIp)
SQLAdminRequest
setUserIp
in class SQLAdminRequest<InstancesListResponse>
public java.lang.String getProject()
public SQLAdmin.Instances.List setProject(java.lang.String project)
public java.lang.String getFilter()
public SQLAdmin.Instances.List setFilter(java.lang.String filter)
public java.lang.Long getMaxResults()
public SQLAdmin.Instances.List setMaxResults(java.lang.Long maxResults)
public java.lang.String getPageToken()
public SQLAdmin.Instances.List setPageToken(java.lang.String pageToken)
public SQLAdmin.Instances.List set(java.lang.String parameterName, java.lang.Object value)
set
in class SQLAdminRequest<InstancesListResponse>