WorkloadCapturesResource class

Constructors

WorkloadCapturesResource(ApiRequester client)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

list(String project, String instance, {String? $fields}) → Future<WorkloadCapturesListResponse>
Lists all captured workloads associated with the instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start(WorkloadCapturesStartRequest request, String project, String instance, {String? $fields}) → Future<Operation>
Starts capturing the SQL queries, transactions, and other operations executed on the primary instance.
startReplay(WorkloadCapturesStartReplayRequest request, String project, String instance, String workloadId, {String? $fields}) → Future<Operation>
Starts executing a captured workload on a separate Cloud SQL instance provisioned for workload replay.
stop(WorkloadCapturesStopRequest request, String project, String instance, {String? $fields}) → Future<Operation>
Stops capturing the query traffic and related operations executed on the primary instance.
stopReplay(WorkloadCapturesStopReplayRequest request, String project, String instance, {String? $fields}) → Future<Operation>
Stops an active workload replay on the target Cloud SQL replay instance.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited