Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::ExportContext::SqlBakExportOptions.
Options for exporting BAK files (SQL Server-only)
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 this bak file will be export, FULL or DIFF, SQL Server only
#bak_type=
def bak_type=(value) -> ::Google::Cloud::Sql::V1::BakType
Parameter
- value (::Google::Cloud::Sql::V1::BakType) — Type of this bak file will be export, FULL or DIFF, SQL Server only
Returns
- (::Google::Cloud::Sql::V1::BakType) — Type of this bak file will be export, FULL or DIFF, SQL Server only
#copy_only
def copy_only() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Deprecated: copy_only is deprecated. Use differential_base instead
#copy_only=
def copy_only=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Deprecated: copy_only is deprecated. Use differential_base instead
Returns
- (::Google::Protobuf::BoolValue) — Deprecated: copy_only is deprecated. Use differential_base instead
#differential_base
def differential_base() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base
#differential_base=
def differential_base=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base
Returns
- (::Google::Protobuf::BoolValue) — Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base
#export_log_end_time
def export_log_end_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Optional. The end timestamp when transaction log will be included in the
export operation. RFC 3339 format
(for example,
2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.
#export_log_end_time=
def export_log_end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — Optional. The end timestamp when transaction log will be included in the
export operation. RFC 3339 format
(for example,
2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.
Returns
-
(::Google::Protobuf::Timestamp) — Optional. The end timestamp when transaction log will be included in the
export operation. RFC 3339 format
(for example,
2023-10-01T16:19:00.094) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.
#export_log_start_time
def export_log_start_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Optional. The begin timestamp when transaction log will be included in
the export operation. RFC 3339
format (for example,
2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.
#export_log_start_time=
def export_log_start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — Optional. The begin timestamp when transaction log will be included in
the export operation. RFC 3339
format (for example,
2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.
Returns
-
(::Google::Protobuf::Timestamp) — Optional. The begin timestamp when transaction log will be included in
the export operation. RFC 3339
format (for example,
2023-10-01T16:19:00.094) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.
#stripe_count
def stripe_count() -> ::Google::Protobuf::Int32Value
Returns
- (::Google::Protobuf::Int32Value) — Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
#stripe_count=
def stripe_count=(value) -> ::Google::Protobuf::Int32Value
Parameter
- value (::Google::Protobuf::Int32Value) — Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
Returns
- (::Google::Protobuf::Int32Value) — Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
#striped
def striped() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Whether or not the export should be striped.
#striped=
def striped=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Whether or not the export should be striped.
Returns
- (::Google::Protobuf::BoolValue) — Whether or not the export should be striped.