Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class WorkloadCapturesStartRequest.
Request to start recording traffic from the primary instance (captured workload).
Generated from protobuf message google.cloud.sql.v1.WorkloadCapturesStartRequest
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. |
↳ start_workload_capture_context |
StartWorkloadCaptureContext
Optional. Contains details about the start 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 |
|
getStartWorkloadCaptureContext
Optional. Contains details about the start workload capture operation.
| Returns | |
|---|---|
| Type | Description |
StartWorkloadCaptureContext|null |
|
hasStartWorkloadCaptureContext
clearStartWorkloadCaptureContext
setStartWorkloadCaptureContext
Optional. Contains details about the start workload capture operation.
| Parameter | |
|---|---|
| Name | Description |
var |
StartWorkloadCaptureContext
|
| Returns | |
|---|---|
| Type | Description |
$this |
|