public final class Operation
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Operation() |
| Modifier and Type | Method and Description |
|---|---|
Operation |
clone() |
AcquireSsrsLeaseContext |
getAcquireSsrsLeaseContext()
The context for acquire SSRS lease operation, if applicable.
|
ApiWarning |
getApiWarning()
An Admin API warning message.
|
BackupContext |
getBackupContext()
The context for backup operation, if applicable.
|
String |
getEndTime()
The time this operation finished in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
OperationErrors |
getError()
If errors occurred during processing of this operation, this field will be populated.
|
ExportContext |
getExportContext()
The context for export operation, if applicable.
|
ImportContext |
getImportContext()
The context for import operation, if applicable.
|
String |
getInsertTime()
The time this operation was enqueued in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
String |
getKind()
This is always `sql#operation`.
|
String |
getName()
An identifier that uniquely identifies the operation.
|
String |
getOperationType()
The type of the operation.
|
String |
getSelfLink()
The URI of this resource.
|
String |
getStartTime()
The time this operation actually started in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
String |
getStatus()
The status of an operation.
|
String |
getTargetId()
Name of the database instance related to this operation.
|
String |
getTargetLink() |
String |
getTargetProject()
The project ID of the target instance related to this operation.
|
String |
getUser()
The email address of the user who initiated this operation.
|
Operation |
set(String fieldName,
Object value) |
Operation |
setAcquireSsrsLeaseContext(AcquireSsrsLeaseContext acquireSsrsLeaseContext)
The context for acquire SSRS lease operation, if applicable.
|
Operation |
setApiWarning(ApiWarning apiWarning)
An Admin API warning message.
|
Operation |
setBackupContext(BackupContext backupContext)
The context for backup operation, if applicable.
|
Operation |
setEndTime(String endTime)
The time this operation finished in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
Operation |
setError(OperationErrors error)
If errors occurred during processing of this operation, this field will be populated.
|
Operation |
setExportContext(ExportContext exportContext)
The context for export operation, if applicable.
|
Operation |
setImportContext(ImportContext importContext)
The context for import operation, if applicable.
|
Operation |
setInsertTime(String insertTime)
The time this operation was enqueued in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
Operation |
setKind(String kind)
This is always `sql#operation`.
|
Operation |
setName(String name)
An identifier that uniquely identifies the operation.
|
Operation |
setOperationType(String operationType)
The type of the operation.
|
Operation |
setSelfLink(String selfLink)
The URI of this resource.
|
Operation |
setStartTime(String startTime)
The time this operation actually started in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
Operation |
setStatus(String status)
The status of an operation.
|
Operation |
setTargetId(String targetId)
Name of the database instance related to this operation.
|
Operation |
setTargetLink(String targetLink) |
Operation |
setTargetProject(String targetProject)
The project ID of the target instance related to this operation.
|
Operation |
setUser(String user)
The email address of the user who initiated this operation.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic AcquireSsrsLeaseContext getAcquireSsrsLeaseContext()
null for nonepublic Operation setAcquireSsrsLeaseContext(AcquireSsrsLeaseContext acquireSsrsLeaseContext)
acquireSsrsLeaseContext - acquireSsrsLeaseContext or null for nonepublic ApiWarning getApiWarning()
null for nonepublic Operation setApiWarning(ApiWarning apiWarning)
apiWarning - apiWarning or null for nonepublic BackupContext getBackupContext()
null for nonepublic Operation setBackupContext(BackupContext backupContext)
backupContext - backupContext or null for nonepublic String getEndTime()
null for nonepublic Operation setEndTime(String endTime)
endTime - endTime or null for nonepublic OperationErrors getError()
null for nonepublic Operation setError(OperationErrors error)
error - error or null for nonepublic ExportContext getExportContext()
null for nonepublic Operation setExportContext(ExportContext exportContext)
exportContext - exportContext or null for nonepublic ImportContext getImportContext()
null for nonepublic Operation setImportContext(ImportContext importContext)
importContext - importContext or null for nonepublic String getInsertTime()
null for nonepublic Operation setInsertTime(String insertTime)
insertTime - insertTime or null for nonepublic String getKind()
null for nonepublic Operation setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Operation setName(String name)
name - name or null for nonepublic String getOperationType()
null for nonepublic Operation setOperationType(String operationType)
operationType - operationType or null for nonepublic String getSelfLink()
null for nonepublic Operation setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getStartTime()
null for nonepublic Operation setStartTime(String startTime)
startTime - startTime or null for nonepublic String getStatus()
null for nonepublic Operation setStatus(String status)
status - status or null for nonepublic String getTargetId()
null for nonepublic Operation setTargetId(String targetId)
targetId - targetId or null for nonepublic String getTargetLink()
null for nonepublic Operation setTargetLink(String targetLink)
targetLink - targetLink or null for nonepublic String getTargetProject()
null for nonepublic Operation setTargetProject(String targetProject)
targetProject - targetProject or null for nonepublic String getUser()
null for nonepublic Operation setUser(String user)
user - user or null for nonepublic Operation set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Operation clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.