public final class RestoreDatabaseRequest
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 Spanner 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
RestoreDatabaseRequest() |
Modifier and Type | Method and Description |
---|---|
RestoreDatabaseRequest |
clone() |
String |
getBackup()
Name of the backup from which to restore.
|
String |
getDatabaseId()
Required.
|
RestoreDatabaseEncryptionConfig |
getEncryptionConfig()
Optional.
|
RestoreDatabaseRequest |
set(String fieldName,
Object value) |
RestoreDatabaseRequest |
setBackup(String backup)
Name of the backup from which to restore.
|
RestoreDatabaseRequest |
setDatabaseId(String databaseId)
Required.
|
RestoreDatabaseRequest |
setEncryptionConfig(RestoreDatabaseEncryptionConfig encryptionConfig)
Optional.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getBackup()
null
for nonepublic RestoreDatabaseRequest setBackup(String backup)
backup
- backup or null
for nonepublic String getDatabaseId()
null
for nonepublic RestoreDatabaseRequest setDatabaseId(String databaseId)
databaseId
- databaseId or null
for nonepublic RestoreDatabaseEncryptionConfig getEncryptionConfig()
null
for nonepublic RestoreDatabaseRequest setEncryptionConfig(RestoreDatabaseEncryptionConfig encryptionConfig)
encryptionConfig
- encryptionConfig or null
for nonepublic RestoreDatabaseRequest set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public RestoreDatabaseRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.