Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class WorkloadCapturesStartReplayRequest.
Request to start executing a captured workload on a replay instance (the Cloud SQL instance where the recorded SQL queries are executed).
Generated from protobuf message google.cloud.sql.v1.WorkloadCapturesStartReplayRequest
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_replay_context |
StartWorkloadReplayContext
Required. Contains details about the start workload replay operation. |
↳ workload_id |
string
Required. The ID of the workload to replay. |
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 |
|
getStartWorkloadReplayContext
Required. Contains details about the start workload replay operation.
| Returns | |
|---|---|
| Type | Description |
StartWorkloadReplayContext|null |
|
hasStartWorkloadReplayContext
clearStartWorkloadReplayContext
setStartWorkloadReplayContext
Required. Contains details about the start workload replay operation.
| Parameter | |
|---|---|
| Name | Description |
var |
StartWorkloadReplayContext
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWorkloadId
Required. The ID of the workload to replay.
| Returns | |
|---|---|
| Type | Description |
string |
|
setWorkloadId
Required. The ID of the workload to replay.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|