Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class WorkloadCapturesStopRequest.
Request to stop recording traffic from the primary instance.
Generated from protobuf message google.cloud.sql.v1.WorkloadCapturesStopRequest
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 instance. |
↳ instance |
string
Required. Cloud SQL instance ID. This does not include the project ID. |
↳ stop_workload_capture_context |
StopWorkloadCaptureContext
Optional. Contains details about the stop workload capture operation. |
getProject
Required. Project ID of the project that contains the instance.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProject
Required. Project ID of the project that contains the instance.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstance
Required. Cloud SQL instance ID. This does not include the project ID.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstance
Required. Cloud SQL instance ID. This does not include the project ID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStopWorkloadCaptureContext
Optional. Contains details about the stop workload capture operation.
| Returns | |
|---|---|
| Type | Description |
StopWorkloadCaptureContext|null |
|
hasStopWorkloadCaptureContext
clearStopWorkloadCaptureContext
setStopWorkloadCaptureContext
Optional. Contains details about the stop workload capture operation.
| Parameter | |
|---|---|
| Name | Description |
var |
StopWorkloadCaptureContext
|
| Returns | |
|---|---|
| Type | Description |
$this |
|