Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class StopWorkloadCaptureContext.
The context for the StopWorkloadCapture operation, which contains
details to stop recording the workload (SQL queries) on a Cloud SQL
instance.
Generated from protobuf message google.cloud.sql.v1.StopWorkloadCaptureContext
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ abort_live_replay |
bool
Optional. If true, immediately aborts the concurrent live replay and discards any un-replayed traffic alongside stopping the capture. If false (the default), the capture stops recording new traffic, but the live replay will continue executing until the entire backlog of captured traffic has been replayed. |
getAbortLiveReplay
Optional. If true, immediately aborts the concurrent live replay and discards any un-replayed traffic alongside stopping the capture. If false (the default), the capture stops recording new traffic, but the live replay will continue executing until the entire backlog of captured traffic has been replayed.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setAbortLiveReplay
Optional. If true, immediately aborts the concurrent live replay and discards any un-replayed traffic alongside stopping the capture. If false (the default), the capture stops recording new traffic, but the live replay will continue executing until the entire backlog of captured traffic has been replayed.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|