public class SQLAdmin.BackupRuns.List extends SQLAdminRequest<BackupRunsListResponse>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
List(String project,
String instance)
Lists all backup runs associated with the project or a given instance and configuration in the
reverse chronological order of the backup initiation time.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getInstance()
Cloud SQL instance ID, or "-" for all instances.
|
Integer |
getMaxResults()
Maximum number of backup runs 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.BackupRuns.List |
set(String parameterName,
Object value) |
SQLAdmin.BackupRuns.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
SQLAdmin.BackupRuns.List |
setAccessToken(String accessToken)
OAuth access token.
|
SQLAdmin.BackupRuns.List |
setAlt(String alt)
Data format for response.
|
SQLAdmin.BackupRuns.List |
setCallback(String callback)
JSONP
|
SQLAdmin.BackupRuns.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
SQLAdmin.BackupRuns.List |
setInstance(String instance)
Cloud SQL instance ID, or "-" for all instances.
|
SQLAdmin.BackupRuns.List |
setKey(String key)
API key.
|
SQLAdmin.BackupRuns.List |
setMaxResults(Integer maxResults)
Maximum number of backup runs per response.
|
SQLAdmin.BackupRuns.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
SQLAdmin.BackupRuns.List |
setPageToken(String pageToken)
A previously-returned page token representing part of the larger set of results to view.
|
SQLAdmin.BackupRuns.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
SQLAdmin.BackupRuns.List |
setProject(String project)
Project ID of the project that contains the instance.
|
SQLAdmin.BackupRuns.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
SQLAdmin.BackupRuns.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
SQLAdmin.BackupRuns.List |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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, or "-" for all instances. This does not include the project ID.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<BackupRunsListResponse>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<BackupRunsListResponse>IOExceptionpublic SQLAdmin.BackupRuns.List set$Xgafv(String $Xgafv)
SQLAdminRequestset$Xgafv in class SQLAdminRequest<BackupRunsListResponse>public SQLAdmin.BackupRuns.List setAccessToken(String accessToken)
SQLAdminRequestsetAccessToken in class SQLAdminRequest<BackupRunsListResponse>public SQLAdmin.BackupRuns.List setAlt(String alt)
SQLAdminRequestsetAlt in class SQLAdminRequest<BackupRunsListResponse>public SQLAdmin.BackupRuns.List setCallback(String callback)
SQLAdminRequestsetCallback in class SQLAdminRequest<BackupRunsListResponse>public SQLAdmin.BackupRuns.List setFields(String fields)
SQLAdminRequestsetFields in class SQLAdminRequest<BackupRunsListResponse>public SQLAdmin.BackupRuns.List setKey(String key)
SQLAdminRequestsetKey in class SQLAdminRequest<BackupRunsListResponse>public SQLAdmin.BackupRuns.List setOauthToken(String oauthToken)
SQLAdminRequestsetOauthToken in class SQLAdminRequest<BackupRunsListResponse>public SQLAdmin.BackupRuns.List setPrettyPrint(Boolean prettyPrint)
SQLAdminRequestsetPrettyPrint in class SQLAdminRequest<BackupRunsListResponse>public SQLAdmin.BackupRuns.List setQuotaUser(String quotaUser)
SQLAdminRequestsetQuotaUser in class SQLAdminRequest<BackupRunsListResponse>public SQLAdmin.BackupRuns.List setUploadType(String uploadType)
SQLAdminRequestsetUploadType in class SQLAdminRequest<BackupRunsListResponse>public SQLAdmin.BackupRuns.List setUploadProtocol(String uploadProtocol)
SQLAdminRequestsetUploadProtocol in class SQLAdminRequest<BackupRunsListResponse>public String getProject()
public SQLAdmin.BackupRuns.List setProject(String project)
public String getInstance()
public SQLAdmin.BackupRuns.List setInstance(String instance)
public Integer getMaxResults()
public SQLAdmin.BackupRuns.List setMaxResults(Integer maxResults)
public String getPageToken()
public SQLAdmin.BackupRuns.List setPageToken(String pageToken)
public SQLAdmin.BackupRuns.List set(String parameterName, Object value)
set in class SQLAdminRequest<BackupRunsListResponse>Copyright © 2011–2023 Google. All rights reserved.