Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::WorkloadCaptureConfig.
The workload capture configuration for a Cloud SQL primary instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_id
def backup_id() -> ::String
Returns
- (::String) — Output only. The base backup ID associated with the workload capture.
#capture_mode
def capture_mode() -> ::Google::Cloud::Sql::V1::WorkloadCaptureConfig::CaptureMode
Returns
- (::Google::Cloud::Sql::V1::WorkloadCaptureConfig::CaptureMode) — Output only. The mode of the workload capture.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The end time of the workload capture. This field is unset while the capture is running.
#max_capture_duration
def max_capture_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Output only. The maximum duration for this workload capture.
#replay_instance
def replay_instance() -> ::String
Returns
- (::String) — Output only. The name of the replay instance, excluding the project ID, if live replay is enabled.
#retention_days
def retention_days() -> ::Integer
Returns
- (::Integer) — Output only. The retention period in days for the captured workload.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The start time of the workload capture.
#state
def state() -> ::Google::Cloud::Sql::V1::WorkloadCaptureConfig::State
Returns
- (::Google::Cloud::Sql::V1::WorkloadCaptureConfig::State) — Output only. The state of the workload capture.
#workload_id
def workload_id() -> ::String
Returns
- (::String) — Output only. The ID of the captured workload.