Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class WorkloadCapturesStopReplayRequest.
Request to stop an active workload replay on a target Cloud SQL replay instance.
Generated from protobuf message google.cloud.sql.v1.WorkloadCapturesStopReplayRequest
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project |
string
Required. Project ID of the project that contains the target replay instance. |
↳ instance |
string
Required. Cloud SQL instance ID of the target replay instance. This does not include the project ID. |
↳ stop_workload_replay_context |
StopWorkloadReplayContext
Optional. Contains details about the stop workload replay operation. If omitted, default values are used. |
getProject
Required. Project ID of the project that contains the target replay instance.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProject
Required. Project ID of the project that contains the target replay instance.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstance
Required. Cloud SQL instance ID of the target replay instance. This does not include the project ID.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstance
Required. Cloud SQL instance ID of the target replay instance. This does not include the project ID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStopWorkloadReplayContext
Optional. Contains details about the stop workload replay operation. If omitted, default values are used.
| Returns | |
|---|---|
| Type | Description |
StopWorkloadReplayContext|null |
|
hasStopWorkloadReplayContext
clearStopWorkloadReplayContext
setStopWorkloadReplayContext
Optional. Contains details about the stop workload replay operation. If omitted, default values are used.
| Parameter | |
|---|---|
| Name | Description |
var |
StopWorkloadReplayContext
|
| Returns | |
|---|---|
| Type | Description |
$this |
|