StartWorkloadReplayContext(mapping=None, *, ignore_unknown_fields=False, **kwargs)The context for the StartWorkloadReplay operation, which
contains details about starting the execution of a captured workload
(recorded read and write SQL queries) on a replay instance (the
Cloud SQL instance where the recorded SQL queries are executed).
Attributes |
|
|---|---|
| Name | Description |
replay_instance |
str
Required. The name of the Cloud SQL instance where the captured workload (SQL queries) is being executed, excluding the project ID (for example, my-replay-instance). The
instance name must start with a lowercase letter and contain
only lowercase letters, numbers, and hyphens. The combined
length of project-ID:instance-name must be 98 characters
or less.
|
workload_id |
str
Output only. The ID of the workload to start executing on the replay instance. Each workload capture generates a unique ID in the format workload- (for
example, workload-1786046400). Use this ID to start
executing the recorded SQL queries.
|