Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::ImportContext::SqlBakImportOptions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bak_type
def bak_type() -> ::Google::Cloud::Sql::V1::BakType
Returns
- (::Google::Cloud::Sql::V1::BakType) — Type of the bak content, FULL or DIFF
#bak_type=
def bak_type=(value) -> ::Google::Cloud::Sql::V1::BakType
Parameter
- value (::Google::Cloud::Sql::V1::BakType) — Type of the bak content, FULL or DIFF
Returns
- (::Google::Cloud::Sql::V1::BakType) — Type of the bak content, FULL or DIFF
#encryption_options
def encryption_options() -> ::Google::Cloud::Sql::V1::ImportContext::SqlBakImportOptions::EncryptionOptions#encryption_options=
def encryption_options=(value) -> ::Google::Cloud::Sql::V1::ImportContext::SqlBakImportOptions::EncryptionOptions#no_recovery
def no_recovery() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud SQL for SQL Server.
#no_recovery=
def no_recovery=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud SQL for SQL Server.
Returns
- (::Google::Protobuf::BoolValue) — Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud SQL for SQL Server.
#recovery_only
def recovery_only() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
#recovery_only=
def recovery_only=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
Returns
- (::Google::Protobuf::BoolValue) — Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
#stop_at
def stop_at() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Optional. The timestamp when the import should stop. This timestamp is in
the RFC 3339 format (for example,
2023-10-01T16:19:00.094). This field is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only.
#stop_at=
def stop_at=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — Optional. The timestamp when the import should stop. This timestamp is in
the RFC 3339 format (for example,
2023-10-01T16:19:00.094). This field is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only.
Returns
-
(::Google::Protobuf::Timestamp) — Optional. The timestamp when the import should stop. This timestamp is in
the RFC 3339 format (for example,
2023-10-01T16:19:00.094). This field is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only.
#stop_at_mark
def stop_at_mark() -> ::String
Returns
- (::String) — Optional. The marked transaction where the import should stop. This field is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server only.
#stop_at_mark=
def stop_at_mark=(value) -> ::String
Parameter
- value (::String) — Optional. The marked transaction where the import should stop. This field is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server only.
Returns
- (::String) — Optional. The marked transaction where the import should stop. This field is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server only.
#striped
def striped() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
#striped=
def striped=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
Returns
- (::Google::Protobuf::BoolValue) — Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.