Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::RestoreBackupContext.
Database instance restore from backup context. Backup context contains source instance id and project id.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_run_id
def backup_run_id() -> ::Integer
Returns
- (::Integer) — The ID of the backup run to restore from.
#backup_run_id=
def backup_run_id=(value) -> ::Integer
Parameter
- value (::Integer) — The ID of the backup run to restore from.
Returns
- (::Integer) — The ID of the backup run to restore from.
#instance_id
def instance_id() -> ::String
Returns
- (::String) — The ID of the instance that the backup was taken from.
#instance_id=
def instance_id=(value) -> ::String
Parameter
- value (::String) — The ID of the instance that the backup was taken from.
Returns
- (::String) — The ID of the instance that the backup was taken from.
#kind
def kind() -> ::String
Returns
-
(::String) — This is always
sql#restoreBackupContext.
#kind=
def kind=(value) -> ::String
Parameter
-
value (::String) — This is always
sql#restoreBackupContext.
Returns
-
(::String) — This is always
sql#restoreBackupContext.
#project
def project() -> ::String
Returns
- (::String) — The full project ID of the source instance.
#project=
def project=(value) -> ::String
Parameter
- value (::String) — The full project ID of the source instance.
Returns
- (::String) — The full project ID of the source instance.