public final class InstancesRestoreBackupRequest
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 |
|---|
InstancesRestoreBackupRequest() |
| Modifier and Type | Method and Description |
|---|---|
InstancesRestoreBackupRequest |
clone() |
String |
getBackup()
The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-
id}/backups/{backup-uid}.
|
String |
getBackupdrBackup()
The name of the backup that's used to restore a Cloud SQL instance: Format: "projects/{project-
id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-
uid}".
|
RestoreBackupContext |
getRestoreBackupContext()
Parameters required to perform the restore backup operation.
|
DatabaseInstance |
getRestoreInstanceSettings()
Optional.
|
InstancesRestoreBackupRequest |
set(String fieldName,
Object value) |
InstancesRestoreBackupRequest |
setBackup(String backup)
The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-
id}/backups/{backup-uid}.
|
InstancesRestoreBackupRequest |
setBackupdrBackup(String backupdrBackup)
The name of the backup that's used to restore a Cloud SQL instance: Format: "projects/{project-
id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-
uid}".
|
InstancesRestoreBackupRequest |
setRestoreBackupContext(RestoreBackupContext restoreBackupContext)
Parameters required to perform the restore backup operation.
|
InstancesRestoreBackupRequest |
setRestoreInstanceSettings(DatabaseInstance restoreInstanceSettings)
Optional.
|
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 String getBackup()
null for nonepublic InstancesRestoreBackupRequest setBackup(String backup)
backup - backup or null for nonepublic String getBackupdrBackup()
null for nonepublic InstancesRestoreBackupRequest setBackupdrBackup(String backupdrBackup)
backupdrBackup - backupdrBackup or null for nonepublic RestoreBackupContext getRestoreBackupContext()
null for nonepublic InstancesRestoreBackupRequest setRestoreBackupContext(RestoreBackupContext restoreBackupContext)
restoreBackupContext - restoreBackupContext or null for nonepublic DatabaseInstance getRestoreInstanceSettings()
null for nonepublic InstancesRestoreBackupRequest setRestoreInstanceSettings(DatabaseInstance restoreInstanceSettings)
restoreInstanceSettings - restoreInstanceSettings or null for nonepublic InstancesRestoreBackupRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic InstancesRestoreBackupRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.