Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::WorkloadReplayConfig.
The workload replay configuration for a Cloud SQL replay instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The end time of the workload replay. This field is unset while the replay is running.
#replay_mode
def replay_mode() -> ::Google::Cloud::Sql::V1::WorkloadReplayConfig::ReplayMode
Returns
- (::Google::Cloud::Sql::V1::WorkloadReplayConfig::ReplayMode) — Output only. The mode of the workload replay.
#source_instance
def source_instance() -> ::String
Returns
- (::String) — Output only. The name of the source instance, excluding the project ID, where the workload was captured.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The start time of the workload replay.
#state
def state() -> ::Google::Cloud::Sql::V1::WorkloadReplayConfig::State
Returns
- (::Google::Cloud::Sql::V1::WorkloadReplayConfig::State) — Output only. The state of the workload replay.
#workload_id
def workload_id() -> ::String
Returns
- (::String) — Output only. The ID of the captured workload being replayed.