public class SQLAdmin.Operations.List extends SQLAdminRequest<OperationsListResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String project,
String instance)
Lists all instance operations that have been performed on the given Cloud SQL instance in the
reverse chronological order of the start time.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getInstance()
Cloud SQL instance ID.
|
Long |
getMaxResults()
Maximum number of operations 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 that contains the instance.
|
SQLAdmin.Operations.List |
set(String parameterName,
Object value) |
SQLAdmin.Operations.List |
setAlt(String alt)
Data format for the response.
|
SQLAdmin.Operations.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
SQLAdmin.Operations.List |
setInstance(String instance)
Cloud SQL instance ID.
|
SQLAdmin.Operations.List |
setKey(String key)
API key.
|
SQLAdmin.Operations.List |
setMaxResults(Long maxResults)
Maximum number of operations per response.
|
SQLAdmin.Operations.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
SQLAdmin.Operations.List |
setPageToken(String pageToken)
A previously-returned page token representing part of the larger set of results to view.
|
SQLAdmin.Operations.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
SQLAdmin.Operations.List |
setProject(String project)
Project ID of the project that contains the instance.
|
SQLAdmin.Operations.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
SQLAdmin.Operations.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, String instance)
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 that contains the instance.instance - Cloud SQL instance ID. This does not include the project ID.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<OperationsListResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<OperationsListResponse>IOExceptionpublic SQLAdmin.Operations.List setAlt(String alt)
SQLAdminRequestsetAlt in class SQLAdminRequest<OperationsListResponse>public SQLAdmin.Operations.List setFields(String fields)
SQLAdminRequestsetFields in class SQLAdminRequest<OperationsListResponse>public SQLAdmin.Operations.List setKey(String key)
SQLAdminRequestsetKey in class SQLAdminRequest<OperationsListResponse>public SQLAdmin.Operations.List setOauthToken(String oauthToken)
SQLAdminRequestsetOauthToken in class SQLAdminRequest<OperationsListResponse>public SQLAdmin.Operations.List setPrettyPrint(Boolean prettyPrint)
SQLAdminRequestsetPrettyPrint in class SQLAdminRequest<OperationsListResponse>public SQLAdmin.Operations.List setQuotaUser(String quotaUser)
SQLAdminRequestsetQuotaUser in class SQLAdminRequest<OperationsListResponse>public SQLAdmin.Operations.List setUserIp(String userIp)
SQLAdminRequestsetUserIp in class SQLAdminRequest<OperationsListResponse>public String getProject()
public SQLAdmin.Operations.List setProject(String project)
public String getInstance()
public SQLAdmin.Operations.List setInstance(String instance)
public Long getMaxResults()
public SQLAdmin.Operations.List setMaxResults(Long maxResults)
public String getPageToken()
public SQLAdmin.Operations.List setPageToken(String pageToken)
public SQLAdmin.Operations.List set(String parameterName, Object value)
set in class SQLAdminRequest<OperationsListResponse>Copyright © 2011–2019 Google. All rights reserved.