Class WorkloadCaptureConfig (0.1.5)

WorkloadCaptureConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The workload capture configuration for a Cloud SQL primary instance.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
workload_id str
Output only. The ID of the captured workload. This field is a member of oneof_ _workload_id.
capture_mode google.cloud.sqladmin_v1beta4.types.WorkloadCaptureConfig.CaptureMode
Output only. The mode of the workload capture. This field is a member of oneof_ _capture_mode.
state google.cloud.sqladmin_v1beta4.types.WorkloadCaptureConfig.State
Output only. The state of the workload capture. This field is a member of oneof_ _state.
start_time google.protobuf.timestamp_pb2.Timestamp
Output only. The start time of the workload capture.
end_time google.protobuf.timestamp_pb2.Timestamp
Output only. The end time of the workload capture. This field is unset while the capture is running.
replay_instance str
Output only. The name of the replay instance, excluding the project ID, if live replay is enabled. This field is a member of oneof_ _replay_instance.
retention_days int
Output only. The retention period in days for the captured workload. This field is a member of oneof_ _retention_days.
backup_id str
Output only. The base backup ID associated with the workload capture. This field is a member of oneof_ _backup_id.
max_capture_duration google.protobuf.duration_pb2.Duration
Output only. The maximum duration for this workload capture.

Classes

CaptureMode

CaptureMode(value)

The mode of workload capture.

State

State(value)

The state of the workload capture.