0.1.4 (latest) 0.1.3

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

Captured workload for an 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. |
| `source_instance` | `str` Output only. The name of the source instance. |
| `workload_capture_state` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-sql/latest/google.cloud.sqladmin_v1.types.WorkloadCapture.State` Output only. The state of the workload capture. |
| `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. |
| `replay_instance` | `str` Output only. The name of the replay instance, if live replay was 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`. |

## Classes

### State

    State(value)

State of the workload capture.