@googleapis/sqladmin 40.0.0 → 41.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/build/index.js +0 -1
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +873 -4
- package/build/v1.js +174 -0
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +875 -3
- package/build/v1beta4.js +174 -0
- package/build/v1beta4.js.map +1 -1
- package/index.ts +0 -1
- package/package.json +1 -1
- package/v1.ts +1269 -4
- package/v1beta4.ts +1271 -3
package/build/v1.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ export declare namespace sqladmin_v1 {
|
|
|
79
79
|
sslCerts: Resource$Sslcerts;
|
|
80
80
|
tiers: Resource$Tiers;
|
|
81
81
|
users: Resource$Users;
|
|
82
|
+
workloadCaptures: Resource$Workloadcaptures;
|
|
82
83
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
83
84
|
}
|
|
84
85
|
/**
|
|
@@ -1162,6 +1163,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1162
1163
|
* Disk encryption configuration for an instance.
|
|
1163
1164
|
*/
|
|
1164
1165
|
export interface Schema$DiskEncryptionConfiguration {
|
|
1166
|
+
/**
|
|
1167
|
+
* Optional. Whether to enforce CMEK log encryption at source. When enforced, transaction logs are encrypted prior to being uploaded to Cloud Storage. If not enforced, then CMEK logs are encrypted by the Cloud Storage service.
|
|
1168
|
+
*/
|
|
1169
|
+
cmekSourceLogEncryptionEnforced?: boolean | null;
|
|
1165
1170
|
/**
|
|
1166
1171
|
* Optional. If true, enables Confidential Mode for the instance's Hyperdisk Balanced volumes. Only supported for zonal C4A instances currently.
|
|
1167
1172
|
*/
|
|
@@ -1171,7 +1176,7 @@ export declare namespace sqladmin_v1 {
|
|
|
1171
1176
|
*/
|
|
1172
1177
|
kind?: string | null;
|
|
1173
1178
|
/**
|
|
1174
|
-
* Resource name of KMS key for disk encryption
|
|
1179
|
+
* Resource name of KMS key for disk encryption.
|
|
1175
1180
|
*/
|
|
1176
1181
|
kmsKeyName?: string | null;
|
|
1177
1182
|
}
|
|
@@ -2194,10 +2199,26 @@ export declare namespace sqladmin_v1 {
|
|
|
2194
2199
|
* The time this operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
|
2195
2200
|
*/
|
|
2196
2201
|
startTime?: string | null;
|
|
2202
|
+
/**
|
|
2203
|
+
* The context for the `StartWorkloadCapture` operation, which contains details to start recording the workload (SQL queries) on a Cloud SQL instance.
|
|
2204
|
+
*/
|
|
2205
|
+
startWorkloadCaptureContext?: Schema$StartWorkloadCaptureContext;
|
|
2206
|
+
/**
|
|
2207
|
+
* The context for the `StartWorkloadReplay` operation, which contains details about starting the execution of a captured workload (recorded read and write SQL queries) on a replay instance (the Cloud SQL instance where the recorded SQL queries are executed).
|
|
2208
|
+
*/
|
|
2209
|
+
startWorkloadReplayContext?: Schema$StartWorkloadReplayContext;
|
|
2197
2210
|
/**
|
|
2198
2211
|
* The status of an operation.
|
|
2199
2212
|
*/
|
|
2200
2213
|
status?: string | null;
|
|
2214
|
+
/**
|
|
2215
|
+
* The context for the `StopWorkloadCapture` operation, which contains details to stop recording the workload (SQL queries) on a Cloud SQL instance.
|
|
2216
|
+
*/
|
|
2217
|
+
stopWorkloadCaptureContext?: Schema$StopWorkloadCaptureContext;
|
|
2218
|
+
/**
|
|
2219
|
+
* The context for the `StopWorkloadReplay` operation, which contains details about stopping the execution of a captured workload (recorded read and write SQL queries) on a replay instance.
|
|
2220
|
+
*/
|
|
2221
|
+
stopWorkloadReplayContext?: Schema$StopWorkloadReplayContext;
|
|
2201
2222
|
/**
|
|
2202
2223
|
* Optional. The sub operation based on the operation type.
|
|
2203
2224
|
*/
|
|
@@ -3071,9 +3092,6 @@ export declare namespace sqladmin_v1 {
|
|
|
3071
3092
|
*/
|
|
3072
3093
|
operationId?: string | null;
|
|
3073
3094
|
}
|
|
3074
|
-
/**
|
|
3075
|
-
* Execute SQL statements response.
|
|
3076
|
-
*/
|
|
3077
3095
|
export interface Schema$SqlInstancesExecuteSqlResponse {
|
|
3078
3096
|
/**
|
|
3079
3097
|
* A list of notices and warnings generated during query execution. For PostgreSQL, this includes all notices and warnings. For MySQL, this includes warnings generated by the last executed statement. To retrieve all warnings for a multi-statement query, `SHOW WARNINGS` must be executed after each statement.
|
|
@@ -3344,6 +3362,42 @@ export declare namespace sqladmin_v1 {
|
|
|
3344
3362
|
*/
|
|
3345
3363
|
maintenanceType?: string | null;
|
|
3346
3364
|
}
|
|
3365
|
+
/**
|
|
3366
|
+
* Request to start executing a captured workload on a replay instance (the Cloud SQL instance where the recorded SQL queries are executed).
|
|
3367
|
+
*/
|
|
3368
|
+
export interface Schema$SqlWorkloadCapturesStartReplayRequest {
|
|
3369
|
+
/**
|
|
3370
|
+
* Optional. Contains details about the start workload replay operation.
|
|
3371
|
+
*/
|
|
3372
|
+
startWorkloadReplayContext?: Schema$StartWorkloadReplayContext;
|
|
3373
|
+
}
|
|
3374
|
+
/**
|
|
3375
|
+
* Request to start recording traffic from the primary instance (captured workload).
|
|
3376
|
+
*/
|
|
3377
|
+
export interface Schema$SqlWorkloadCapturesStartRequest {
|
|
3378
|
+
/**
|
|
3379
|
+
* Optional. Contains details about the start workload capture operation.
|
|
3380
|
+
*/
|
|
3381
|
+
startWorkloadCaptureContext?: Schema$StartWorkloadCaptureContext;
|
|
3382
|
+
}
|
|
3383
|
+
/**
|
|
3384
|
+
* Request to stop executing a captured workload on a replay instance.
|
|
3385
|
+
*/
|
|
3386
|
+
export interface Schema$SqlWorkloadCapturesStopReplayRequest {
|
|
3387
|
+
/**
|
|
3388
|
+
* Optional. Contains details about the stop workload replay operation.
|
|
3389
|
+
*/
|
|
3390
|
+
stopWorkloadReplayContext?: Schema$StopWorkloadReplayContext;
|
|
3391
|
+
}
|
|
3392
|
+
/**
|
|
3393
|
+
* Request to stop recording traffic from the primary instance.
|
|
3394
|
+
*/
|
|
3395
|
+
export interface Schema$SqlWorkloadCapturesStopRequest {
|
|
3396
|
+
/**
|
|
3397
|
+
* Optional. Contains details about the stop workload capture operation.
|
|
3398
|
+
*/
|
|
3399
|
+
stopWorkloadCaptureContext?: Schema$StopWorkloadCaptureContext;
|
|
3400
|
+
}
|
|
3347
3401
|
/**
|
|
3348
3402
|
* SslCerts Resource
|
|
3349
3403
|
*/
|
|
@@ -3454,6 +3508,32 @@ export declare namespace sqladmin_v1 {
|
|
|
3454
3508
|
*/
|
|
3455
3509
|
kind?: string | null;
|
|
3456
3510
|
}
|
|
3511
|
+
/**
|
|
3512
|
+
* The context for the `StartWorkloadCapture` operation, which contains details to start recording the workload (SQL queries) on a Cloud SQL instance.
|
|
3513
|
+
*/
|
|
3514
|
+
export interface Schema$StartWorkloadCaptureContext {
|
|
3515
|
+
/**
|
|
3516
|
+
* Optional. If true, the captured workload is simultaneously executed on a separate, ephemeral Cloud SQL instance. This "live replay" instance is automatically provisioned and is cloned from the source instance. If false (the default), the workload is only stored and no live replay occurs. It can be replayed later using a separate `StartWorkloadReplayRequest`. Note: The workload capture runs continuously until an explicit `StopWorkloadCaptureRequest` is issued.
|
|
3517
|
+
*/
|
|
3518
|
+
enableLiveReplay?: boolean | null;
|
|
3519
|
+
/**
|
|
3520
|
+
* Optional. Required if `enable_live_replay` is true. The name of the Cloud SQL instance where the captured workload (SQL queries) is being executed, excluding the project ID (for example, `my-replay-instance`). The instance name must start with a lowercase letter and contain only lowercase letters, numbers, and hyphens. The combined length of `project-ID:instance-name` must be 98 characters or less.
|
|
3521
|
+
*/
|
|
3522
|
+
replayInstance?: string | null;
|
|
3523
|
+
}
|
|
3524
|
+
/**
|
|
3525
|
+
* The context for the `StartWorkloadReplay` operation, which contains details about starting the execution of a captured workload (recorded read and write SQL queries) on a replay instance (the Cloud SQL instance where the recorded SQL queries are executed).
|
|
3526
|
+
*/
|
|
3527
|
+
export interface Schema$StartWorkloadReplayContext {
|
|
3528
|
+
/**
|
|
3529
|
+
* Required. The name of the Cloud SQL instance where the captured workload (SQL queries) is being executed, excluding the project ID (for example, `my-replay-instance`). The instance name must start with a lowercase letter and contain only lowercase letters, numbers, and hyphens. The combined length of `project-ID:instance-name` must be 98 characters or less.
|
|
3530
|
+
*/
|
|
3531
|
+
replayInstance?: string | null;
|
|
3532
|
+
/**
|
|
3533
|
+
* Output only. The ID of the workload to start executing on the replay instance. Each workload capture generates a unique ID in the format `workload-` (for example, `workload-1786046400`). Use this ID to start executing the recorded SQL queries.
|
|
3534
|
+
*/
|
|
3535
|
+
workloadId?: string | null;
|
|
3536
|
+
}
|
|
3457
3537
|
/**
|
|
3458
3538
|
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
3459
3539
|
*/
|
|
@@ -3473,6 +3553,28 @@ export declare namespace sqladmin_v1 {
|
|
|
3473
3553
|
*/
|
|
3474
3554
|
message?: string | null;
|
|
3475
3555
|
}
|
|
3556
|
+
/**
|
|
3557
|
+
* The context for the `StopWorkloadCapture` operation, which contains details to stop recording the workload (SQL queries) on a Cloud SQL instance.
|
|
3558
|
+
*/
|
|
3559
|
+
export interface Schema$StopWorkloadCaptureContext {
|
|
3560
|
+
/**
|
|
3561
|
+
* 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.
|
|
3562
|
+
*/
|
|
3563
|
+
abortLiveReplay?: boolean | null;
|
|
3564
|
+
}
|
|
3565
|
+
/**
|
|
3566
|
+
* The context for the `StopWorkloadReplay` operation, which contains details about stopping the execution of a captured workload (recorded read and write SQL queries) on a replay instance.
|
|
3567
|
+
*/
|
|
3568
|
+
export interface Schema$StopWorkloadReplayContext {
|
|
3569
|
+
/**
|
|
3570
|
+
* Required. The name of the Cloud SQL instance where the captured workload (SQL queries) is being executed, excluding the project ID (for example, `my-replay-instance`). The instance name must start with a lowercase letter and contain only lowercase letters, numbers, and hyphens. The combined length of `project-ID:instance-name` must be 98 characters or less.
|
|
3571
|
+
*/
|
|
3572
|
+
replayInstance?: string | null;
|
|
3573
|
+
/**
|
|
3574
|
+
* Output only. The ID of the workload to stop executing on the replay instance. Each workload capture generates a unique ID in the format `workload-` (for example, `workload-1786046400`). Use this ID to stop executing the recorded SQL queries.
|
|
3575
|
+
*/
|
|
3576
|
+
workloadId?: string | null;
|
|
3577
|
+
}
|
|
3476
3578
|
/**
|
|
3477
3579
|
* Request message for switching over a `BlueGreenDeployment` resource.
|
|
3478
3580
|
*/
|
|
@@ -3681,6 +3783,49 @@ export declare namespace sqladmin_v1 {
|
|
|
3681
3783
|
*/
|
|
3682
3784
|
value?: string | null;
|
|
3683
3785
|
}
|
|
3786
|
+
/**
|
|
3787
|
+
* Captured workload for an instance.
|
|
3788
|
+
*/
|
|
3789
|
+
export interface Schema$WorkloadCapture {
|
|
3790
|
+
/**
|
|
3791
|
+
* Output only. The end time of the workload capture.
|
|
3792
|
+
*/
|
|
3793
|
+
endTime?: string | null;
|
|
3794
|
+
/**
|
|
3795
|
+
* Output only. The name of the replay instance, if live replay was enabled.
|
|
3796
|
+
*/
|
|
3797
|
+
replayInstance?: string | null;
|
|
3798
|
+
/**
|
|
3799
|
+
* Output only. The retention period in days for the captured workload.
|
|
3800
|
+
*/
|
|
3801
|
+
retentionDays?: number | null;
|
|
3802
|
+
/**
|
|
3803
|
+
* Output only. The name of the source instance.
|
|
3804
|
+
*/
|
|
3805
|
+
sourceInstance?: string | null;
|
|
3806
|
+
/**
|
|
3807
|
+
* Output only. The start time of the workload capture.
|
|
3808
|
+
*/
|
|
3809
|
+
startTime?: string | null;
|
|
3810
|
+
/**
|
|
3811
|
+
* Output only. The state of the workload capture.
|
|
3812
|
+
*/
|
|
3813
|
+
workloadCaptureState?: string | null;
|
|
3814
|
+
/**
|
|
3815
|
+
* Output only. The ID of the captured workload.
|
|
3816
|
+
*/
|
|
3817
|
+
workloadId?: string | null;
|
|
3818
|
+
}
|
|
3819
|
+
export interface Schema$WorkloadCapturesListResponse {
|
|
3820
|
+
/**
|
|
3821
|
+
* This is always `sql#workloadCapturesList`.
|
|
3822
|
+
*/
|
|
3823
|
+
kind?: string | null;
|
|
3824
|
+
/**
|
|
3825
|
+
* List of captured workloads for the instance.
|
|
3826
|
+
*/
|
|
3827
|
+
workloadCaptures?: Schema$WorkloadCapture[];
|
|
3828
|
+
}
|
|
3684
3829
|
export class Resource$Backupruns {
|
|
3685
3830
|
context: APIRequestContext;
|
|
3686
3831
|
constructor(context: APIRequestContext);
|
|
@@ -3743,7 +3888,11 @@ export declare namespace sqladmin_v1 {
|
|
|
3743
3888
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
3744
3889
|
* // "selfLink": "my_selfLink",
|
|
3745
3890
|
* // "startTime": "my_startTime",
|
|
3891
|
+
* // "startWorkloadCaptureContext": {},
|
|
3892
|
+
* // "startWorkloadReplayContext": {},
|
|
3746
3893
|
* // "status": "my_status",
|
|
3894
|
+
* // "stopWorkloadCaptureContext": {},
|
|
3895
|
+
* // "stopWorkloadReplayContext": {},
|
|
3747
3896
|
* // "subOperationType": {},
|
|
3748
3897
|
* // "targetId": "my_targetId",
|
|
3749
3898
|
* // "targetLink": "my_targetLink",
|
|
@@ -3938,7 +4087,11 @@ export declare namespace sqladmin_v1 {
|
|
|
3938
4087
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
3939
4088
|
* // "selfLink": "my_selfLink",
|
|
3940
4089
|
* // "startTime": "my_startTime",
|
|
4090
|
+
* // "startWorkloadCaptureContext": {},
|
|
4091
|
+
* // "startWorkloadReplayContext": {},
|
|
3941
4092
|
* // "status": "my_status",
|
|
4093
|
+
* // "stopWorkloadCaptureContext": {},
|
|
4094
|
+
* // "stopWorkloadReplayContext": {},
|
|
3942
4095
|
* // "subOperationType": {},
|
|
3943
4096
|
* // "targetId": "my_targetId",
|
|
3944
4097
|
* // "targetLink": "my_targetLink",
|
|
@@ -4185,7 +4338,11 @@ export declare namespace sqladmin_v1 {
|
|
|
4185
4338
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
4186
4339
|
* // "selfLink": "my_selfLink",
|
|
4187
4340
|
* // "startTime": "my_startTime",
|
|
4341
|
+
* // "startWorkloadCaptureContext": {},
|
|
4342
|
+
* // "startWorkloadReplayContext": {},
|
|
4188
4343
|
* // "status": "my_status",
|
|
4344
|
+
* // "stopWorkloadCaptureContext": {},
|
|
4345
|
+
* // "stopWorkloadReplayContext": {},
|
|
4189
4346
|
* // "subOperationType": {},
|
|
4190
4347
|
* // "targetId": "my_targetId",
|
|
4191
4348
|
* // "targetLink": "my_targetLink",
|
|
@@ -4267,7 +4424,11 @@ export declare namespace sqladmin_v1 {
|
|
|
4267
4424
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
4268
4425
|
* // "selfLink": "my_selfLink",
|
|
4269
4426
|
* // "startTime": "my_startTime",
|
|
4427
|
+
* // "startWorkloadCaptureContext": {},
|
|
4428
|
+
* // "startWorkloadReplayContext": {},
|
|
4270
4429
|
* // "status": "my_status",
|
|
4430
|
+
* // "stopWorkloadCaptureContext": {},
|
|
4431
|
+
* // "stopWorkloadReplayContext": {},
|
|
4271
4432
|
* // "subOperationType": {},
|
|
4272
4433
|
* // "targetId": "my_targetId",
|
|
4273
4434
|
* // "targetLink": "my_targetLink",
|
|
@@ -4537,7 +4698,11 @@ export declare namespace sqladmin_v1 {
|
|
|
4537
4698
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
4538
4699
|
* // "selfLink": "my_selfLink",
|
|
4539
4700
|
* // "startTime": "my_startTime",
|
|
4701
|
+
* // "startWorkloadCaptureContext": {},
|
|
4702
|
+
* // "startWorkloadReplayContext": {},
|
|
4540
4703
|
* // "status": "my_status",
|
|
4704
|
+
* // "stopWorkloadCaptureContext": {},
|
|
4705
|
+
* // "stopWorkloadReplayContext": {},
|
|
4541
4706
|
* // "subOperationType": {},
|
|
4542
4707
|
* // "targetId": "my_targetId",
|
|
4543
4708
|
* // "targetLink": "my_targetLink",
|
|
@@ -4696,7 +4861,11 @@ export declare namespace sqladmin_v1 {
|
|
|
4696
4861
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
4697
4862
|
* // "selfLink": "my_selfLink",
|
|
4698
4863
|
* // "startTime": "my_startTime",
|
|
4864
|
+
* // "startWorkloadCaptureContext": {},
|
|
4865
|
+
* // "startWorkloadReplayContext": {},
|
|
4699
4866
|
* // "status": "my_status",
|
|
4867
|
+
* // "stopWorkloadCaptureContext": {},
|
|
4868
|
+
* // "stopWorkloadReplayContext": {},
|
|
4700
4869
|
* // "subOperationType": {},
|
|
4701
4870
|
* // "targetId": "my_targetId",
|
|
4702
4871
|
* // "targetLink": "my_targetLink",
|
|
@@ -4780,7 +4949,11 @@ export declare namespace sqladmin_v1 {
|
|
|
4780
4949
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
4781
4950
|
* // "selfLink": "my_selfLink",
|
|
4782
4951
|
* // "startTime": "my_startTime",
|
|
4952
|
+
* // "startWorkloadCaptureContext": {},
|
|
4953
|
+
* // "startWorkloadReplayContext": {},
|
|
4783
4954
|
* // "status": "my_status",
|
|
4955
|
+
* // "stopWorkloadCaptureContext": {},
|
|
4956
|
+
* // "stopWorkloadReplayContext": {},
|
|
4784
4957
|
* // "subOperationType": {},
|
|
4785
4958
|
* // "targetId": "my_targetId",
|
|
4786
4959
|
* // "targetLink": "my_targetLink",
|
|
@@ -5014,7 +5187,11 @@ export declare namespace sqladmin_v1 {
|
|
|
5014
5187
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5015
5188
|
* // "selfLink": "my_selfLink",
|
|
5016
5189
|
* // "startTime": "my_startTime",
|
|
5190
|
+
* // "startWorkloadCaptureContext": {},
|
|
5191
|
+
* // "startWorkloadReplayContext": {},
|
|
5017
5192
|
* // "status": "my_status",
|
|
5193
|
+
* // "stopWorkloadCaptureContext": {},
|
|
5194
|
+
* // "stopWorkloadReplayContext": {},
|
|
5018
5195
|
* // "subOperationType": {},
|
|
5019
5196
|
* // "targetId": "my_targetId",
|
|
5020
5197
|
* // "targetLink": "my_targetLink",
|
|
@@ -5450,7 +5627,11 @@ export declare namespace sqladmin_v1 {
|
|
|
5450
5627
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5451
5628
|
* // "selfLink": "my_selfLink",
|
|
5452
5629
|
* // "startTime": "my_startTime",
|
|
5630
|
+
* // "startWorkloadCaptureContext": {},
|
|
5631
|
+
* // "startWorkloadReplayContext": {},
|
|
5453
5632
|
* // "status": "my_status",
|
|
5633
|
+
* // "stopWorkloadCaptureContext": {},
|
|
5634
|
+
* // "stopWorkloadReplayContext": {},
|
|
5454
5635
|
* // "subOperationType": {},
|
|
5455
5636
|
* // "targetId": "my_targetId",
|
|
5456
5637
|
* // "targetLink": "my_targetLink",
|
|
@@ -5629,7 +5810,11 @@ export declare namespace sqladmin_v1 {
|
|
|
5629
5810
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5630
5811
|
* // "selfLink": "my_selfLink",
|
|
5631
5812
|
* // "startTime": "my_startTime",
|
|
5813
|
+
* // "startWorkloadCaptureContext": {},
|
|
5814
|
+
* // "startWorkloadReplayContext": {},
|
|
5632
5815
|
* // "status": "my_status",
|
|
5816
|
+
* // "stopWorkloadCaptureContext": {},
|
|
5817
|
+
* // "stopWorkloadReplayContext": {},
|
|
5633
5818
|
* // "subOperationType": {},
|
|
5634
5819
|
* // "targetId": "my_targetId",
|
|
5635
5820
|
* // "targetLink": "my_targetLink",
|
|
@@ -5801,7 +5986,11 @@ export declare namespace sqladmin_v1 {
|
|
|
5801
5986
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5802
5987
|
* // "selfLink": "my_selfLink",
|
|
5803
5988
|
* // "startTime": "my_startTime",
|
|
5989
|
+
* // "startWorkloadCaptureContext": {},
|
|
5990
|
+
* // "startWorkloadReplayContext": {},
|
|
5804
5991
|
* // "status": "my_status",
|
|
5992
|
+
* // "stopWorkloadCaptureContext": {},
|
|
5993
|
+
* // "stopWorkloadReplayContext": {},
|
|
5805
5994
|
* // "subOperationType": {},
|
|
5806
5995
|
* // "targetId": "my_targetId",
|
|
5807
5996
|
* // "targetLink": "my_targetLink",
|
|
@@ -5905,7 +6094,11 @@ export declare namespace sqladmin_v1 {
|
|
|
5905
6094
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5906
6095
|
* // "selfLink": "my_selfLink",
|
|
5907
6096
|
* // "startTime": "my_startTime",
|
|
6097
|
+
* // "startWorkloadCaptureContext": {},
|
|
6098
|
+
* // "startWorkloadReplayContext": {},
|
|
5908
6099
|
* // "status": "my_status",
|
|
6100
|
+
* // "stopWorkloadCaptureContext": {},
|
|
6101
|
+
* // "stopWorkloadReplayContext": {},
|
|
5909
6102
|
* // "subOperationType": {},
|
|
5910
6103
|
* // "targetId": "my_targetId",
|
|
5911
6104
|
* // "targetLink": "my_targetLink",
|
|
@@ -6262,7 +6455,11 @@ export declare namespace sqladmin_v1 {
|
|
|
6262
6455
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6263
6456
|
* // "selfLink": "my_selfLink",
|
|
6264
6457
|
* // "startTime": "my_startTime",
|
|
6458
|
+
* // "startWorkloadCaptureContext": {},
|
|
6459
|
+
* // "startWorkloadReplayContext": {},
|
|
6265
6460
|
* // "status": "my_status",
|
|
6461
|
+
* // "stopWorkloadCaptureContext": {},
|
|
6462
|
+
* // "stopWorkloadReplayContext": {},
|
|
6266
6463
|
* // "subOperationType": {},
|
|
6267
6464
|
* // "targetId": "my_targetId",
|
|
6268
6465
|
* // "targetLink": "my_targetLink",
|
|
@@ -6348,7 +6545,11 @@ export declare namespace sqladmin_v1 {
|
|
|
6348
6545
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6349
6546
|
* // "selfLink": "my_selfLink",
|
|
6350
6547
|
* // "startTime": "my_startTime",
|
|
6548
|
+
* // "startWorkloadCaptureContext": {},
|
|
6549
|
+
* // "startWorkloadReplayContext": {},
|
|
6351
6550
|
* // "status": "my_status",
|
|
6551
|
+
* // "stopWorkloadCaptureContext": {},
|
|
6552
|
+
* // "stopWorkloadReplayContext": {},
|
|
6352
6553
|
* // "subOperationType": {},
|
|
6353
6554
|
* // "targetId": "my_targetId",
|
|
6354
6555
|
* // "targetLink": "my_targetLink",
|
|
@@ -6434,7 +6635,11 @@ export declare namespace sqladmin_v1 {
|
|
|
6434
6635
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6435
6636
|
* // "selfLink": "my_selfLink",
|
|
6436
6637
|
* // "startTime": "my_startTime",
|
|
6638
|
+
* // "startWorkloadCaptureContext": {},
|
|
6639
|
+
* // "startWorkloadReplayContext": {},
|
|
6437
6640
|
* // "status": "my_status",
|
|
6641
|
+
* // "stopWorkloadCaptureContext": {},
|
|
6642
|
+
* // "stopWorkloadReplayContext": {},
|
|
6438
6643
|
* // "subOperationType": {},
|
|
6439
6644
|
* // "targetId": "my_targetId",
|
|
6440
6645
|
* // "targetLink": "my_targetLink",
|
|
@@ -6528,7 +6733,11 @@ export declare namespace sqladmin_v1 {
|
|
|
6528
6733
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6529
6734
|
* // "selfLink": "my_selfLink",
|
|
6530
6735
|
* // "startTime": "my_startTime",
|
|
6736
|
+
* // "startWorkloadCaptureContext": {},
|
|
6737
|
+
* // "startWorkloadReplayContext": {},
|
|
6531
6738
|
* // "status": "my_status",
|
|
6739
|
+
* // "stopWorkloadCaptureContext": {},
|
|
6740
|
+
* // "stopWorkloadReplayContext": {},
|
|
6532
6741
|
* // "subOperationType": {},
|
|
6533
6742
|
* // "targetId": "my_targetId",
|
|
6534
6743
|
* // "targetLink": "my_targetLink",
|
|
@@ -6622,7 +6831,11 @@ export declare namespace sqladmin_v1 {
|
|
|
6622
6831
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6623
6832
|
* // "selfLink": "my_selfLink",
|
|
6624
6833
|
* // "startTime": "my_startTime",
|
|
6834
|
+
* // "startWorkloadCaptureContext": {},
|
|
6835
|
+
* // "startWorkloadReplayContext": {},
|
|
6625
6836
|
* // "status": "my_status",
|
|
6837
|
+
* // "stopWorkloadCaptureContext": {},
|
|
6838
|
+
* // "stopWorkloadReplayContext": {},
|
|
6626
6839
|
* // "subOperationType": {},
|
|
6627
6840
|
* // "targetId": "my_targetId",
|
|
6628
6841
|
* // "targetLink": "my_targetLink",
|
|
@@ -6716,7 +6929,11 @@ export declare namespace sqladmin_v1 {
|
|
|
6716
6929
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6717
6930
|
* // "selfLink": "my_selfLink",
|
|
6718
6931
|
* // "startTime": "my_startTime",
|
|
6932
|
+
* // "startWorkloadCaptureContext": {},
|
|
6933
|
+
* // "startWorkloadReplayContext": {},
|
|
6719
6934
|
* // "status": "my_status",
|
|
6935
|
+
* // "stopWorkloadCaptureContext": {},
|
|
6936
|
+
* // "stopWorkloadReplayContext": {},
|
|
6720
6937
|
* // "subOperationType": {},
|
|
6721
6938
|
* // "targetId": "my_targetId",
|
|
6722
6939
|
* // "targetLink": "my_targetLink",
|
|
@@ -6810,7 +7027,11 @@ export declare namespace sqladmin_v1 {
|
|
|
6810
7027
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6811
7028
|
* // "selfLink": "my_selfLink",
|
|
6812
7029
|
* // "startTime": "my_startTime",
|
|
7030
|
+
* // "startWorkloadCaptureContext": {},
|
|
7031
|
+
* // "startWorkloadReplayContext": {},
|
|
6813
7032
|
* // "status": "my_status",
|
|
7033
|
+
* // "stopWorkloadCaptureContext": {},
|
|
7034
|
+
* // "stopWorkloadReplayContext": {},
|
|
6814
7035
|
* // "subOperationType": {},
|
|
6815
7036
|
* // "targetId": "my_targetId",
|
|
6816
7037
|
* // "targetLink": "my_targetLink",
|
|
@@ -6986,7 +7207,11 @@ export declare namespace sqladmin_v1 {
|
|
|
6986
7207
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6987
7208
|
* // "selfLink": "my_selfLink",
|
|
6988
7209
|
* // "startTime": "my_startTime",
|
|
7210
|
+
* // "startWorkloadCaptureContext": {},
|
|
7211
|
+
* // "startWorkloadReplayContext": {},
|
|
6989
7212
|
* // "status": "my_status",
|
|
7213
|
+
* // "stopWorkloadCaptureContext": {},
|
|
7214
|
+
* // "stopWorkloadReplayContext": {},
|
|
6990
7215
|
* // "subOperationType": {},
|
|
6991
7216
|
* // "targetId": "my_targetId",
|
|
6992
7217
|
* // "targetLink": "my_targetLink",
|
|
@@ -7080,7 +7305,11 @@ export declare namespace sqladmin_v1 {
|
|
|
7080
7305
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
7081
7306
|
* // "selfLink": "my_selfLink",
|
|
7082
7307
|
* // "startTime": "my_startTime",
|
|
7308
|
+
* // "startWorkloadCaptureContext": {},
|
|
7309
|
+
* // "startWorkloadReplayContext": {},
|
|
7083
7310
|
* // "status": "my_status",
|
|
7311
|
+
* // "stopWorkloadCaptureContext": {},
|
|
7312
|
+
* // "stopWorkloadReplayContext": {},
|
|
7084
7313
|
* // "subOperationType": {},
|
|
7085
7314
|
* // "targetId": "my_targetId",
|
|
7086
7315
|
* // "targetLink": "my_targetLink",
|
|
@@ -7290,7 +7519,11 @@ export declare namespace sqladmin_v1 {
|
|
|
7290
7519
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
7291
7520
|
* // "selfLink": "my_selfLink",
|
|
7292
7521
|
* // "startTime": "my_startTime",
|
|
7522
|
+
* // "startWorkloadCaptureContext": {},
|
|
7523
|
+
* // "startWorkloadReplayContext": {},
|
|
7293
7524
|
* // "status": "my_status",
|
|
7525
|
+
* // "stopWorkloadCaptureContext": {},
|
|
7526
|
+
* // "stopWorkloadReplayContext": {},
|
|
7294
7527
|
* // "subOperationType": {},
|
|
7295
7528
|
* // "targetId": "my_targetId",
|
|
7296
7529
|
* // "targetLink": "my_targetLink",
|
|
@@ -7434,7 +7667,11 @@ export declare namespace sqladmin_v1 {
|
|
|
7434
7667
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
7435
7668
|
* // "selfLink": "my_selfLink",
|
|
7436
7669
|
* // "startTime": "my_startTime",
|
|
7670
|
+
* // "startWorkloadCaptureContext": {},
|
|
7671
|
+
* // "startWorkloadReplayContext": {},
|
|
7437
7672
|
* // "status": "my_status",
|
|
7673
|
+
* // "stopWorkloadCaptureContext": {},
|
|
7674
|
+
* // "stopWorkloadReplayContext": {},
|
|
7438
7675
|
* // "subOperationType": {},
|
|
7439
7676
|
* // "targetId": "my_targetId",
|
|
7440
7677
|
* // "targetLink": "my_targetLink",
|
|
@@ -7866,7 +8103,11 @@ export declare namespace sqladmin_v1 {
|
|
|
7866
8103
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
7867
8104
|
* // "selfLink": "my_selfLink",
|
|
7868
8105
|
* // "startTime": "my_startTime",
|
|
8106
|
+
* // "startWorkloadCaptureContext": {},
|
|
8107
|
+
* // "startWorkloadReplayContext": {},
|
|
7869
8108
|
* // "status": "my_status",
|
|
8109
|
+
* // "stopWorkloadCaptureContext": {},
|
|
8110
|
+
* // "stopWorkloadReplayContext": {},
|
|
7870
8111
|
* // "subOperationType": {},
|
|
7871
8112
|
* // "targetId": "my_targetId",
|
|
7872
8113
|
* // "targetLink": "my_targetLink",
|
|
@@ -7965,7 +8206,11 @@ export declare namespace sqladmin_v1 {
|
|
|
7965
8206
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
7966
8207
|
* // "selfLink": "my_selfLink",
|
|
7967
8208
|
* // "startTime": "my_startTime",
|
|
8209
|
+
* // "startWorkloadCaptureContext": {},
|
|
8210
|
+
* // "startWorkloadReplayContext": {},
|
|
7968
8211
|
* // "status": "my_status",
|
|
8212
|
+
* // "stopWorkloadCaptureContext": {},
|
|
8213
|
+
* // "stopWorkloadReplayContext": {},
|
|
7969
8214
|
* // "subOperationType": {},
|
|
7970
8215
|
* // "targetId": "my_targetId",
|
|
7971
8216
|
* // "targetLink": "my_targetLink",
|
|
@@ -8059,7 +8304,11 @@ export declare namespace sqladmin_v1 {
|
|
|
8059
8304
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8060
8305
|
* // "selfLink": "my_selfLink",
|
|
8061
8306
|
* // "startTime": "my_startTime",
|
|
8307
|
+
* // "startWorkloadCaptureContext": {},
|
|
8308
|
+
* // "startWorkloadReplayContext": {},
|
|
8062
8309
|
* // "status": "my_status",
|
|
8310
|
+
* // "stopWorkloadCaptureContext": {},
|
|
8311
|
+
* // "stopWorkloadReplayContext": {},
|
|
8063
8312
|
* // "subOperationType": {},
|
|
8064
8313
|
* // "targetId": "my_targetId",
|
|
8065
8314
|
* // "targetLink": "my_targetLink",
|
|
@@ -8147,7 +8396,11 @@ export declare namespace sqladmin_v1 {
|
|
|
8147
8396
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8148
8397
|
* // "selfLink": "my_selfLink",
|
|
8149
8398
|
* // "startTime": "my_startTime",
|
|
8399
|
+
* // "startWorkloadCaptureContext": {},
|
|
8400
|
+
* // "startWorkloadReplayContext": {},
|
|
8150
8401
|
* // "status": "my_status",
|
|
8402
|
+
* // "stopWorkloadCaptureContext": {},
|
|
8403
|
+
* // "stopWorkloadReplayContext": {},
|
|
8151
8404
|
* // "subOperationType": {},
|
|
8152
8405
|
* // "targetId": "my_targetId",
|
|
8153
8406
|
* // "targetLink": "my_targetLink",
|
|
@@ -8241,7 +8494,11 @@ export declare namespace sqladmin_v1 {
|
|
|
8241
8494
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8242
8495
|
* // "selfLink": "my_selfLink",
|
|
8243
8496
|
* // "startTime": "my_startTime",
|
|
8497
|
+
* // "startWorkloadCaptureContext": {},
|
|
8498
|
+
* // "startWorkloadReplayContext": {},
|
|
8244
8499
|
* // "status": "my_status",
|
|
8500
|
+
* // "stopWorkloadCaptureContext": {},
|
|
8501
|
+
* // "stopWorkloadReplayContext": {},
|
|
8245
8502
|
* // "subOperationType": {},
|
|
8246
8503
|
* // "targetId": "my_targetId",
|
|
8247
8504
|
* // "targetLink": "my_targetLink",
|
|
@@ -8396,7 +8653,11 @@ export declare namespace sqladmin_v1 {
|
|
|
8396
8653
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8397
8654
|
* // "selfLink": "my_selfLink",
|
|
8398
8655
|
* // "startTime": "my_startTime",
|
|
8656
|
+
* // "startWorkloadCaptureContext": {},
|
|
8657
|
+
* // "startWorkloadReplayContext": {},
|
|
8399
8658
|
* // "status": "my_status",
|
|
8659
|
+
* // "stopWorkloadCaptureContext": {},
|
|
8660
|
+
* // "stopWorkloadReplayContext": {},
|
|
8400
8661
|
* // "subOperationType": {},
|
|
8401
8662
|
* // "targetId": "my_targetId",
|
|
8402
8663
|
* // "targetLink": "my_targetLink",
|
|
@@ -8482,7 +8743,11 @@ export declare namespace sqladmin_v1 {
|
|
|
8482
8743
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8483
8744
|
* // "selfLink": "my_selfLink",
|
|
8484
8745
|
* // "startTime": "my_startTime",
|
|
8746
|
+
* // "startWorkloadCaptureContext": {},
|
|
8747
|
+
* // "startWorkloadReplayContext": {},
|
|
8485
8748
|
* // "status": "my_status",
|
|
8749
|
+
* // "stopWorkloadCaptureContext": {},
|
|
8750
|
+
* // "stopWorkloadReplayContext": {},
|
|
8486
8751
|
* // "subOperationType": {},
|
|
8487
8752
|
* // "targetId": "my_targetId",
|
|
8488
8753
|
* // "targetLink": "my_targetLink",
|
|
@@ -8581,7 +8846,11 @@ export declare namespace sqladmin_v1 {
|
|
|
8581
8846
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8582
8847
|
* // "selfLink": "my_selfLink",
|
|
8583
8848
|
* // "startTime": "my_startTime",
|
|
8849
|
+
* // "startWorkloadCaptureContext": {},
|
|
8850
|
+
* // "startWorkloadReplayContext": {},
|
|
8584
8851
|
* // "status": "my_status",
|
|
8852
|
+
* // "stopWorkloadCaptureContext": {},
|
|
8853
|
+
* // "stopWorkloadReplayContext": {},
|
|
8585
8854
|
* // "subOperationType": {},
|
|
8586
8855
|
* // "targetId": "my_targetId",
|
|
8587
8856
|
* // "targetLink": "my_targetLink",
|
|
@@ -8675,7 +8944,11 @@ export declare namespace sqladmin_v1 {
|
|
|
8675
8944
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8676
8945
|
* // "selfLink": "my_selfLink",
|
|
8677
8946
|
* // "startTime": "my_startTime",
|
|
8947
|
+
* // "startWorkloadCaptureContext": {},
|
|
8948
|
+
* // "startWorkloadReplayContext": {},
|
|
8678
8949
|
* // "status": "my_status",
|
|
8950
|
+
* // "stopWorkloadCaptureContext": {},
|
|
8951
|
+
* // "stopWorkloadReplayContext": {},
|
|
8679
8952
|
* // "subOperationType": {},
|
|
8680
8953
|
* // "targetId": "my_targetId",
|
|
8681
8954
|
* // "targetLink": "my_targetLink",
|
|
@@ -8769,7 +9042,11 @@ export declare namespace sqladmin_v1 {
|
|
|
8769
9042
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8770
9043
|
* // "selfLink": "my_selfLink",
|
|
8771
9044
|
* // "startTime": "my_startTime",
|
|
9045
|
+
* // "startWorkloadCaptureContext": {},
|
|
9046
|
+
* // "startWorkloadReplayContext": {},
|
|
8772
9047
|
* // "status": "my_status",
|
|
9048
|
+
* // "stopWorkloadCaptureContext": {},
|
|
9049
|
+
* // "stopWorkloadReplayContext": {},
|
|
8773
9050
|
* // "subOperationType": {},
|
|
8774
9051
|
* // "targetId": "my_targetId",
|
|
8775
9052
|
* // "targetLink": "my_targetLink",
|
|
@@ -8863,7 +9140,11 @@ export declare namespace sqladmin_v1 {
|
|
|
8863
9140
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8864
9141
|
* // "selfLink": "my_selfLink",
|
|
8865
9142
|
* // "startTime": "my_startTime",
|
|
9143
|
+
* // "startWorkloadCaptureContext": {},
|
|
9144
|
+
* // "startWorkloadReplayContext": {},
|
|
8866
9145
|
* // "status": "my_status",
|
|
9146
|
+
* // "stopWorkloadCaptureContext": {},
|
|
9147
|
+
* // "stopWorkloadReplayContext": {},
|
|
8867
9148
|
* // "subOperationType": {},
|
|
8868
9149
|
* // "targetId": "my_targetId",
|
|
8869
9150
|
* // "targetLink": "my_targetLink",
|
|
@@ -8949,7 +9230,11 @@ export declare namespace sqladmin_v1 {
|
|
|
8949
9230
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8950
9231
|
* // "selfLink": "my_selfLink",
|
|
8951
9232
|
* // "startTime": "my_startTime",
|
|
9233
|
+
* // "startWorkloadCaptureContext": {},
|
|
9234
|
+
* // "startWorkloadReplayContext": {},
|
|
8952
9235
|
* // "status": "my_status",
|
|
9236
|
+
* // "stopWorkloadCaptureContext": {},
|
|
9237
|
+
* // "stopWorkloadReplayContext": {},
|
|
8953
9238
|
* // "subOperationType": {},
|
|
8954
9239
|
* // "targetId": "my_targetId",
|
|
8955
9240
|
* // "targetLink": "my_targetLink",
|
|
@@ -9035,7 +9320,11 @@ export declare namespace sqladmin_v1 {
|
|
|
9035
9320
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
9036
9321
|
* // "selfLink": "my_selfLink",
|
|
9037
9322
|
* // "startTime": "my_startTime",
|
|
9323
|
+
* // "startWorkloadCaptureContext": {},
|
|
9324
|
+
* // "startWorkloadReplayContext": {},
|
|
9038
9325
|
* // "status": "my_status",
|
|
9326
|
+
* // "stopWorkloadCaptureContext": {},
|
|
9327
|
+
* // "stopWorkloadReplayContext": {},
|
|
9039
9328
|
* // "subOperationType": {},
|
|
9040
9329
|
* // "targetId": "my_targetId",
|
|
9041
9330
|
* // "targetLink": "my_targetLink",
|
|
@@ -9123,7 +9412,11 @@ export declare namespace sqladmin_v1 {
|
|
|
9123
9412
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
9124
9413
|
* // "selfLink": "my_selfLink",
|
|
9125
9414
|
* // "startTime": "my_startTime",
|
|
9415
|
+
* // "startWorkloadCaptureContext": {},
|
|
9416
|
+
* // "startWorkloadReplayContext": {},
|
|
9126
9417
|
* // "status": "my_status",
|
|
9418
|
+
* // "stopWorkloadCaptureContext": {},
|
|
9419
|
+
* // "stopWorkloadReplayContext": {},
|
|
9127
9420
|
* // "subOperationType": {},
|
|
9128
9421
|
* // "targetId": "my_targetId",
|
|
9129
9422
|
* // "targetLink": "my_targetLink",
|
|
@@ -9217,7 +9510,11 @@ export declare namespace sqladmin_v1 {
|
|
|
9217
9510
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
9218
9511
|
* // "selfLink": "my_selfLink",
|
|
9219
9512
|
* // "startTime": "my_startTime",
|
|
9513
|
+
* // "startWorkloadCaptureContext": {},
|
|
9514
|
+
* // "startWorkloadReplayContext": {},
|
|
9220
9515
|
* // "status": "my_status",
|
|
9516
|
+
* // "stopWorkloadCaptureContext": {},
|
|
9517
|
+
* // "stopWorkloadReplayContext": {},
|
|
9221
9518
|
* // "subOperationType": {},
|
|
9222
9519
|
* // "targetId": "my_targetId",
|
|
9223
9520
|
* // "targetLink": "my_targetLink",
|
|
@@ -9363,7 +9660,11 @@ export declare namespace sqladmin_v1 {
|
|
|
9363
9660
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
9364
9661
|
* // "selfLink": "my_selfLink",
|
|
9365
9662
|
* // "startTime": "my_startTime",
|
|
9663
|
+
* // "startWorkloadCaptureContext": {},
|
|
9664
|
+
* // "startWorkloadReplayContext": {},
|
|
9366
9665
|
* // "status": "my_status",
|
|
9666
|
+
* // "stopWorkloadCaptureContext": {},
|
|
9667
|
+
* // "stopWorkloadReplayContext": {},
|
|
9367
9668
|
* // "subOperationType": {},
|
|
9368
9669
|
* // "targetId": "my_targetId",
|
|
9369
9670
|
* // "targetLink": "my_targetLink",
|
|
@@ -10116,7 +10417,11 @@ export declare namespace sqladmin_v1 {
|
|
|
10116
10417
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10117
10418
|
* // "selfLink": "my_selfLink",
|
|
10118
10419
|
* // "startTime": "my_startTime",
|
|
10420
|
+
* // "startWorkloadCaptureContext": {},
|
|
10421
|
+
* // "startWorkloadReplayContext": {},
|
|
10119
10422
|
* // "status": "my_status",
|
|
10423
|
+
* // "stopWorkloadCaptureContext": {},
|
|
10424
|
+
* // "stopWorkloadReplayContext": {},
|
|
10120
10425
|
* // "subOperationType": {},
|
|
10121
10426
|
* // "targetId": "my_targetId",
|
|
10122
10427
|
* // "targetLink": "my_targetLink",
|
|
@@ -10482,7 +10787,11 @@ export declare namespace sqladmin_v1 {
|
|
|
10482
10787
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10483
10788
|
* // "selfLink": "my_selfLink",
|
|
10484
10789
|
* // "startTime": "my_startTime",
|
|
10790
|
+
* // "startWorkloadCaptureContext": {},
|
|
10791
|
+
* // "startWorkloadReplayContext": {},
|
|
10485
10792
|
* // "status": "my_status",
|
|
10793
|
+
* // "stopWorkloadCaptureContext": {},
|
|
10794
|
+
* // "stopWorkloadReplayContext": {},
|
|
10486
10795
|
* // "subOperationType": {},
|
|
10487
10796
|
* // "targetId": "my_targetId",
|
|
10488
10797
|
* // "targetLink": "my_targetLink",
|
|
@@ -10576,7 +10885,11 @@ export declare namespace sqladmin_v1 {
|
|
|
10576
10885
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10577
10886
|
* // "selfLink": "my_selfLink",
|
|
10578
10887
|
* // "startTime": "my_startTime",
|
|
10888
|
+
* // "startWorkloadCaptureContext": {},
|
|
10889
|
+
* // "startWorkloadReplayContext": {},
|
|
10579
10890
|
* // "status": "my_status",
|
|
10891
|
+
* // "stopWorkloadCaptureContext": {},
|
|
10892
|
+
* // "stopWorkloadReplayContext": {},
|
|
10580
10893
|
* // "subOperationType": {},
|
|
10581
10894
|
* // "targetId": "my_targetId",
|
|
10582
10895
|
* // "targetLink": "my_targetLink",
|
|
@@ -10668,7 +10981,11 @@ export declare namespace sqladmin_v1 {
|
|
|
10668
10981
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10669
10982
|
* // "selfLink": "my_selfLink",
|
|
10670
10983
|
* // "startTime": "my_startTime",
|
|
10984
|
+
* // "startWorkloadCaptureContext": {},
|
|
10985
|
+
* // "startWorkloadReplayContext": {},
|
|
10671
10986
|
* // "status": "my_status",
|
|
10987
|
+
* // "stopWorkloadCaptureContext": {},
|
|
10988
|
+
* // "stopWorkloadReplayContext": {},
|
|
10672
10989
|
* // "subOperationType": {},
|
|
10673
10990
|
* // "targetId": "my_targetId",
|
|
10674
10991
|
* // "targetLink": "my_targetLink",
|
|
@@ -10766,7 +11083,11 @@ export declare namespace sqladmin_v1 {
|
|
|
10766
11083
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10767
11084
|
* // "selfLink": "my_selfLink",
|
|
10768
11085
|
* // "startTime": "my_startTime",
|
|
11086
|
+
* // "startWorkloadCaptureContext": {},
|
|
11087
|
+
* // "startWorkloadReplayContext": {},
|
|
10769
11088
|
* // "status": "my_status",
|
|
11089
|
+
* // "stopWorkloadCaptureContext": {},
|
|
11090
|
+
* // "stopWorkloadReplayContext": {},
|
|
10770
11091
|
* // "subOperationType": {},
|
|
10771
11092
|
* // "targetId": "my_targetId",
|
|
10772
11093
|
* // "targetLink": "my_targetLink",
|
|
@@ -11132,7 +11453,11 @@ export declare namespace sqladmin_v1 {
|
|
|
11132
11453
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
11133
11454
|
* // "selfLink": "my_selfLink",
|
|
11134
11455
|
* // "startTime": "my_startTime",
|
|
11456
|
+
* // "startWorkloadCaptureContext": {},
|
|
11457
|
+
* // "startWorkloadReplayContext": {},
|
|
11135
11458
|
* // "status": "my_status",
|
|
11459
|
+
* // "stopWorkloadCaptureContext": {},
|
|
11460
|
+
* // "stopWorkloadReplayContext": {},
|
|
11136
11461
|
* // "subOperationType": {},
|
|
11137
11462
|
* // "targetId": "my_targetId",
|
|
11138
11463
|
* // "targetLink": "my_targetLink",
|
|
@@ -11587,7 +11912,11 @@ export declare namespace sqladmin_v1 {
|
|
|
11587
11912
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
11588
11913
|
* // "selfLink": "my_selfLink",
|
|
11589
11914
|
* // "startTime": "my_startTime",
|
|
11915
|
+
* // "startWorkloadCaptureContext": {},
|
|
11916
|
+
* // "startWorkloadReplayContext": {},
|
|
11590
11917
|
* // "status": "my_status",
|
|
11918
|
+
* // "stopWorkloadCaptureContext": {},
|
|
11919
|
+
* // "stopWorkloadReplayContext": {},
|
|
11591
11920
|
* // "subOperationType": {},
|
|
11592
11921
|
* // "targetId": "my_targetId",
|
|
11593
11922
|
* // "targetLink": "my_targetLink",
|
|
@@ -11780,7 +12109,11 @@ export declare namespace sqladmin_v1 {
|
|
|
11780
12109
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
11781
12110
|
* // "selfLink": "my_selfLink",
|
|
11782
12111
|
* // "startTime": "my_startTime",
|
|
12112
|
+
* // "startWorkloadCaptureContext": {},
|
|
12113
|
+
* // "startWorkloadReplayContext": {},
|
|
11783
12114
|
* // "status": "my_status",
|
|
12115
|
+
* // "stopWorkloadCaptureContext": {},
|
|
12116
|
+
* // "stopWorkloadReplayContext": {},
|
|
11784
12117
|
* // "subOperationType": {},
|
|
11785
12118
|
* // "targetId": "my_targetId",
|
|
11786
12119
|
* // "targetLink": "my_targetLink",
|
|
@@ -11969,7 +12302,11 @@ export declare namespace sqladmin_v1 {
|
|
|
11969
12302
|
* // "preCheckMajorVersionUpgradeContext": {},
|
|
11970
12303
|
* // "selfLink": "my_selfLink",
|
|
11971
12304
|
* // "startTime": "my_startTime",
|
|
12305
|
+
* // "startWorkloadCaptureContext": {},
|
|
12306
|
+
* // "startWorkloadReplayContext": {},
|
|
11972
12307
|
* // "status": "my_status",
|
|
12308
|
+
* // "stopWorkloadCaptureContext": {},
|
|
12309
|
+
* // "stopWorkloadReplayContext": {},
|
|
11973
12310
|
* // "subOperationType": {},
|
|
11974
12311
|
* // "targetId": "my_targetId",
|
|
11975
12312
|
* // "targetLink": "my_targetLink",
|
|
@@ -12115,5 +12452,537 @@ export declare namespace sqladmin_v1 {
|
|
|
12115
12452
|
*/
|
|
12116
12453
|
requestBody?: Schema$User;
|
|
12117
12454
|
}
|
|
12455
|
+
export class Resource$Workloadcaptures {
|
|
12456
|
+
context: APIRequestContext;
|
|
12457
|
+
constructor(context: APIRequestContext);
|
|
12458
|
+
/**
|
|
12459
|
+
* Lists all captured workloads associated with the instance.
|
|
12460
|
+
* @example
|
|
12461
|
+
* ```js
|
|
12462
|
+
* // Before running the sample:
|
|
12463
|
+
* // - Enable the API at:
|
|
12464
|
+
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
12465
|
+
* // - Login into gcloud by running:
|
|
12466
|
+
* // ```sh
|
|
12467
|
+
* // $ gcloud auth application-default login
|
|
12468
|
+
* // ```
|
|
12469
|
+
* // - Install the npm module by running:
|
|
12470
|
+
* // ```sh
|
|
12471
|
+
* // $ npm install googleapis
|
|
12472
|
+
* // ```
|
|
12473
|
+
*
|
|
12474
|
+
* const {google} = require('googleapis');
|
|
12475
|
+
* const sqladmin = google.sqladmin('v1');
|
|
12476
|
+
*
|
|
12477
|
+
* async function main() {
|
|
12478
|
+
* const auth = new google.auth.GoogleAuth({
|
|
12479
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
12480
|
+
* scopes: [
|
|
12481
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
12482
|
+
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
12483
|
+
* ],
|
|
12484
|
+
* });
|
|
12485
|
+
*
|
|
12486
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
12487
|
+
* const authClient = await auth.getClient();
|
|
12488
|
+
* google.options({auth: authClient});
|
|
12489
|
+
*
|
|
12490
|
+
* // Do the magic
|
|
12491
|
+
* const res = await sql.workloadCaptures.list({
|
|
12492
|
+
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12493
|
+
* instance: 'placeholder-value',
|
|
12494
|
+
* // Required. Project ID of the project that contains the instance.
|
|
12495
|
+
* project: 'placeholder-value',
|
|
12496
|
+
* });
|
|
12497
|
+
* console.log(res.data);
|
|
12498
|
+
*
|
|
12499
|
+
* // Example response
|
|
12500
|
+
* // {
|
|
12501
|
+
* // "kind": "my_kind",
|
|
12502
|
+
* // "workloadCaptures": []
|
|
12503
|
+
* // }
|
|
12504
|
+
* }
|
|
12505
|
+
*
|
|
12506
|
+
* main().catch(e => {
|
|
12507
|
+
* console.error(e);
|
|
12508
|
+
* throw e;
|
|
12509
|
+
* });
|
|
12510
|
+
*
|
|
12511
|
+
* ```
|
|
12512
|
+
*
|
|
12513
|
+
* @param params - Parameters for request
|
|
12514
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
12515
|
+
* @param callback - Optional callback that handles the response.
|
|
12516
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
12517
|
+
*/
|
|
12518
|
+
list(params: Params$Resource$Workloadcaptures$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12519
|
+
list(params?: Params$Resource$Workloadcaptures$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$WorkloadCapturesListResponse>>;
|
|
12520
|
+
list(params: Params$Resource$Workloadcaptures$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
12521
|
+
list(params: Params$Resource$Workloadcaptures$List, options: MethodOptions | BodyResponseCallback<Schema$WorkloadCapturesListResponse>, callback: BodyResponseCallback<Schema$WorkloadCapturesListResponse>): void;
|
|
12522
|
+
list(params: Params$Resource$Workloadcaptures$List, callback: BodyResponseCallback<Schema$WorkloadCapturesListResponse>): void;
|
|
12523
|
+
list(callback: BodyResponseCallback<Schema$WorkloadCapturesListResponse>): void;
|
|
12524
|
+
/**
|
|
12525
|
+
* Starts capturing the SQL queries, transactions, and other operations executed on the primary instance. This traffic is securely stored and forms a "captured workload". This workload can be replayed later on a different instance to safely test performance impacts, database upgrades, configuration changes etc. before applying them to production.
|
|
12526
|
+
* @example
|
|
12527
|
+
* ```js
|
|
12528
|
+
* // Before running the sample:
|
|
12529
|
+
* // - Enable the API at:
|
|
12530
|
+
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
12531
|
+
* // - Login into gcloud by running:
|
|
12532
|
+
* // ```sh
|
|
12533
|
+
* // $ gcloud auth application-default login
|
|
12534
|
+
* // ```
|
|
12535
|
+
* // - Install the npm module by running:
|
|
12536
|
+
* // ```sh
|
|
12537
|
+
* // $ npm install googleapis
|
|
12538
|
+
* // ```
|
|
12539
|
+
*
|
|
12540
|
+
* const {google} = require('googleapis');
|
|
12541
|
+
* const sqladmin = google.sqladmin('v1');
|
|
12542
|
+
*
|
|
12543
|
+
* async function main() {
|
|
12544
|
+
* const auth = new google.auth.GoogleAuth({
|
|
12545
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
12546
|
+
* scopes: [
|
|
12547
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
12548
|
+
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
12549
|
+
* ],
|
|
12550
|
+
* });
|
|
12551
|
+
*
|
|
12552
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
12553
|
+
* const authClient = await auth.getClient();
|
|
12554
|
+
* google.options({auth: authClient});
|
|
12555
|
+
*
|
|
12556
|
+
* // Do the magic
|
|
12557
|
+
* const res = await sql.workloadCaptures.start({
|
|
12558
|
+
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12559
|
+
* instance: 'placeholder-value',
|
|
12560
|
+
* // Required. Project ID of the project that contains the instance.
|
|
12561
|
+
* project: 'placeholder-value',
|
|
12562
|
+
*
|
|
12563
|
+
* // Request body metadata
|
|
12564
|
+
* requestBody: {
|
|
12565
|
+
* // request body parameters
|
|
12566
|
+
* // {
|
|
12567
|
+
* // "startWorkloadCaptureContext": {}
|
|
12568
|
+
* // }
|
|
12569
|
+
* },
|
|
12570
|
+
* });
|
|
12571
|
+
* console.log(res.data);
|
|
12572
|
+
*
|
|
12573
|
+
* // Example response
|
|
12574
|
+
* // {
|
|
12575
|
+
* // "acquireSsrsLeaseContext": {},
|
|
12576
|
+
* // "apiWarning": {},
|
|
12577
|
+
* // "backupContext": {},
|
|
12578
|
+
* // "endTime": "my_endTime",
|
|
12579
|
+
* // "error": {},
|
|
12580
|
+
* // "exportContext": {},
|
|
12581
|
+
* // "importContext": {},
|
|
12582
|
+
* // "insertTime": "my_insertTime",
|
|
12583
|
+
* // "kind": "my_kind",
|
|
12584
|
+
* // "name": "my_name",
|
|
12585
|
+
* // "operationType": "my_operationType",
|
|
12586
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
12587
|
+
* // "selfLink": "my_selfLink",
|
|
12588
|
+
* // "startTime": "my_startTime",
|
|
12589
|
+
* // "startWorkloadCaptureContext": {},
|
|
12590
|
+
* // "startWorkloadReplayContext": {},
|
|
12591
|
+
* // "status": "my_status",
|
|
12592
|
+
* // "stopWorkloadCaptureContext": {},
|
|
12593
|
+
* // "stopWorkloadReplayContext": {},
|
|
12594
|
+
* // "subOperationType": {},
|
|
12595
|
+
* // "targetId": "my_targetId",
|
|
12596
|
+
* // "targetLink": "my_targetLink",
|
|
12597
|
+
* // "targetProject": "my_targetProject",
|
|
12598
|
+
* // "user": "my_user"
|
|
12599
|
+
* // }
|
|
12600
|
+
* }
|
|
12601
|
+
*
|
|
12602
|
+
* main().catch(e => {
|
|
12603
|
+
* console.error(e);
|
|
12604
|
+
* throw e;
|
|
12605
|
+
* });
|
|
12606
|
+
*
|
|
12607
|
+
* ```
|
|
12608
|
+
*
|
|
12609
|
+
* @param params - Parameters for request
|
|
12610
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
12611
|
+
* @param callback - Optional callback that handles the response.
|
|
12612
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
12613
|
+
*/
|
|
12614
|
+
start(params: Params$Resource$Workloadcaptures$Start, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12615
|
+
start(params?: Params$Resource$Workloadcaptures$Start, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
12616
|
+
start(params: Params$Resource$Workloadcaptures$Start, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
12617
|
+
start(params: Params$Resource$Workloadcaptures$Start, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12618
|
+
start(params: Params$Resource$Workloadcaptures$Start, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12619
|
+
start(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12620
|
+
/**
|
|
12621
|
+
* Starts executing a captured workload on a separate Cloud SQL instance provisioned for workload replay. This target instance simulates the production environment without affecting the primary instance.
|
|
12622
|
+
* @example
|
|
12623
|
+
* ```js
|
|
12624
|
+
* // Before running the sample:
|
|
12625
|
+
* // - Enable the API at:
|
|
12626
|
+
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
12627
|
+
* // - Login into gcloud by running:
|
|
12628
|
+
* // ```sh
|
|
12629
|
+
* // $ gcloud auth application-default login
|
|
12630
|
+
* // ```
|
|
12631
|
+
* // - Install the npm module by running:
|
|
12632
|
+
* // ```sh
|
|
12633
|
+
* // $ npm install googleapis
|
|
12634
|
+
* // ```
|
|
12635
|
+
*
|
|
12636
|
+
* const {google} = require('googleapis');
|
|
12637
|
+
* const sqladmin = google.sqladmin('v1');
|
|
12638
|
+
*
|
|
12639
|
+
* async function main() {
|
|
12640
|
+
* const auth = new google.auth.GoogleAuth({
|
|
12641
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
12642
|
+
* scopes: [
|
|
12643
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
12644
|
+
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
12645
|
+
* ],
|
|
12646
|
+
* });
|
|
12647
|
+
*
|
|
12648
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
12649
|
+
* const authClient = await auth.getClient();
|
|
12650
|
+
* google.options({auth: authClient});
|
|
12651
|
+
*
|
|
12652
|
+
* // Do the magic
|
|
12653
|
+
* const res = await sql.workloadCaptures.startReplay({
|
|
12654
|
+
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12655
|
+
* instance: 'placeholder-value',
|
|
12656
|
+
* // Required. Project ID of the project that contains the instance.
|
|
12657
|
+
* project: 'placeholder-value',
|
|
12658
|
+
* // Required. The ID of the workload to replay.
|
|
12659
|
+
* workloadId: 'placeholder-value',
|
|
12660
|
+
*
|
|
12661
|
+
* // Request body metadata
|
|
12662
|
+
* requestBody: {
|
|
12663
|
+
* // request body parameters
|
|
12664
|
+
* // {
|
|
12665
|
+
* // "startWorkloadReplayContext": {}
|
|
12666
|
+
* // }
|
|
12667
|
+
* },
|
|
12668
|
+
* });
|
|
12669
|
+
* console.log(res.data);
|
|
12670
|
+
*
|
|
12671
|
+
* // Example response
|
|
12672
|
+
* // {
|
|
12673
|
+
* // "acquireSsrsLeaseContext": {},
|
|
12674
|
+
* // "apiWarning": {},
|
|
12675
|
+
* // "backupContext": {},
|
|
12676
|
+
* // "endTime": "my_endTime",
|
|
12677
|
+
* // "error": {},
|
|
12678
|
+
* // "exportContext": {},
|
|
12679
|
+
* // "importContext": {},
|
|
12680
|
+
* // "insertTime": "my_insertTime",
|
|
12681
|
+
* // "kind": "my_kind",
|
|
12682
|
+
* // "name": "my_name",
|
|
12683
|
+
* // "operationType": "my_operationType",
|
|
12684
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
12685
|
+
* // "selfLink": "my_selfLink",
|
|
12686
|
+
* // "startTime": "my_startTime",
|
|
12687
|
+
* // "startWorkloadCaptureContext": {},
|
|
12688
|
+
* // "startWorkloadReplayContext": {},
|
|
12689
|
+
* // "status": "my_status",
|
|
12690
|
+
* // "stopWorkloadCaptureContext": {},
|
|
12691
|
+
* // "stopWorkloadReplayContext": {},
|
|
12692
|
+
* // "subOperationType": {},
|
|
12693
|
+
* // "targetId": "my_targetId",
|
|
12694
|
+
* // "targetLink": "my_targetLink",
|
|
12695
|
+
* // "targetProject": "my_targetProject",
|
|
12696
|
+
* // "user": "my_user"
|
|
12697
|
+
* // }
|
|
12698
|
+
* }
|
|
12699
|
+
*
|
|
12700
|
+
* main().catch(e => {
|
|
12701
|
+
* console.error(e);
|
|
12702
|
+
* throw e;
|
|
12703
|
+
* });
|
|
12704
|
+
*
|
|
12705
|
+
* ```
|
|
12706
|
+
*
|
|
12707
|
+
* @param params - Parameters for request
|
|
12708
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
12709
|
+
* @param callback - Optional callback that handles the response.
|
|
12710
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
12711
|
+
*/
|
|
12712
|
+
startReplay(params: Params$Resource$Workloadcaptures$Startreplay, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12713
|
+
startReplay(params?: Params$Resource$Workloadcaptures$Startreplay, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
12714
|
+
startReplay(params: Params$Resource$Workloadcaptures$Startreplay, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
12715
|
+
startReplay(params: Params$Resource$Workloadcaptures$Startreplay, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12716
|
+
startReplay(params: Params$Resource$Workloadcaptures$Startreplay, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12717
|
+
startReplay(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12718
|
+
/**
|
|
12719
|
+
* Stops capturing the query traffic and related operations executed on the primary instance.
|
|
12720
|
+
* @example
|
|
12721
|
+
* ```js
|
|
12722
|
+
* // Before running the sample:
|
|
12723
|
+
* // - Enable the API at:
|
|
12724
|
+
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
12725
|
+
* // - Login into gcloud by running:
|
|
12726
|
+
* // ```sh
|
|
12727
|
+
* // $ gcloud auth application-default login
|
|
12728
|
+
* // ```
|
|
12729
|
+
* // - Install the npm module by running:
|
|
12730
|
+
* // ```sh
|
|
12731
|
+
* // $ npm install googleapis
|
|
12732
|
+
* // ```
|
|
12733
|
+
*
|
|
12734
|
+
* const {google} = require('googleapis');
|
|
12735
|
+
* const sqladmin = google.sqladmin('v1');
|
|
12736
|
+
*
|
|
12737
|
+
* async function main() {
|
|
12738
|
+
* const auth = new google.auth.GoogleAuth({
|
|
12739
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
12740
|
+
* scopes: [
|
|
12741
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
12742
|
+
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
12743
|
+
* ],
|
|
12744
|
+
* });
|
|
12745
|
+
*
|
|
12746
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
12747
|
+
* const authClient = await auth.getClient();
|
|
12748
|
+
* google.options({auth: authClient});
|
|
12749
|
+
*
|
|
12750
|
+
* // Do the magic
|
|
12751
|
+
* const res = await sql.workloadCaptures.stop({
|
|
12752
|
+
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12753
|
+
* instance: 'placeholder-value',
|
|
12754
|
+
* // Required. Project ID of the project that contains the instance.
|
|
12755
|
+
* project: 'placeholder-value',
|
|
12756
|
+
*
|
|
12757
|
+
* // Request body metadata
|
|
12758
|
+
* requestBody: {
|
|
12759
|
+
* // request body parameters
|
|
12760
|
+
* // {
|
|
12761
|
+
* // "stopWorkloadCaptureContext": {}
|
|
12762
|
+
* // }
|
|
12763
|
+
* },
|
|
12764
|
+
* });
|
|
12765
|
+
* console.log(res.data);
|
|
12766
|
+
*
|
|
12767
|
+
* // Example response
|
|
12768
|
+
* // {
|
|
12769
|
+
* // "acquireSsrsLeaseContext": {},
|
|
12770
|
+
* // "apiWarning": {},
|
|
12771
|
+
* // "backupContext": {},
|
|
12772
|
+
* // "endTime": "my_endTime",
|
|
12773
|
+
* // "error": {},
|
|
12774
|
+
* // "exportContext": {},
|
|
12775
|
+
* // "importContext": {},
|
|
12776
|
+
* // "insertTime": "my_insertTime",
|
|
12777
|
+
* // "kind": "my_kind",
|
|
12778
|
+
* // "name": "my_name",
|
|
12779
|
+
* // "operationType": "my_operationType",
|
|
12780
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
12781
|
+
* // "selfLink": "my_selfLink",
|
|
12782
|
+
* // "startTime": "my_startTime",
|
|
12783
|
+
* // "startWorkloadCaptureContext": {},
|
|
12784
|
+
* // "startWorkloadReplayContext": {},
|
|
12785
|
+
* // "status": "my_status",
|
|
12786
|
+
* // "stopWorkloadCaptureContext": {},
|
|
12787
|
+
* // "stopWorkloadReplayContext": {},
|
|
12788
|
+
* // "subOperationType": {},
|
|
12789
|
+
* // "targetId": "my_targetId",
|
|
12790
|
+
* // "targetLink": "my_targetLink",
|
|
12791
|
+
* // "targetProject": "my_targetProject",
|
|
12792
|
+
* // "user": "my_user"
|
|
12793
|
+
* // }
|
|
12794
|
+
* }
|
|
12795
|
+
*
|
|
12796
|
+
* main().catch(e => {
|
|
12797
|
+
* console.error(e);
|
|
12798
|
+
* throw e;
|
|
12799
|
+
* });
|
|
12800
|
+
*
|
|
12801
|
+
* ```
|
|
12802
|
+
*
|
|
12803
|
+
* @param params - Parameters for request
|
|
12804
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
12805
|
+
* @param callback - Optional callback that handles the response.
|
|
12806
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
12807
|
+
*/
|
|
12808
|
+
stop(params: Params$Resource$Workloadcaptures$Stop, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12809
|
+
stop(params?: Params$Resource$Workloadcaptures$Stop, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
12810
|
+
stop(params: Params$Resource$Workloadcaptures$Stop, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
12811
|
+
stop(params: Params$Resource$Workloadcaptures$Stop, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12812
|
+
stop(params: Params$Resource$Workloadcaptures$Stop, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12813
|
+
stop(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12814
|
+
/**
|
|
12815
|
+
* Stops executing a captured workload on the separate Cloud SQL instance.
|
|
12816
|
+
* @example
|
|
12817
|
+
* ```js
|
|
12818
|
+
* // Before running the sample:
|
|
12819
|
+
* // - Enable the API at:
|
|
12820
|
+
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
12821
|
+
* // - Login into gcloud by running:
|
|
12822
|
+
* // ```sh
|
|
12823
|
+
* // $ gcloud auth application-default login
|
|
12824
|
+
* // ```
|
|
12825
|
+
* // - Install the npm module by running:
|
|
12826
|
+
* // ```sh
|
|
12827
|
+
* // $ npm install googleapis
|
|
12828
|
+
* // ```
|
|
12829
|
+
*
|
|
12830
|
+
* const {google} = require('googleapis');
|
|
12831
|
+
* const sqladmin = google.sqladmin('v1');
|
|
12832
|
+
*
|
|
12833
|
+
* async function main() {
|
|
12834
|
+
* const auth = new google.auth.GoogleAuth({
|
|
12835
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
12836
|
+
* scopes: [
|
|
12837
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
12838
|
+
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
12839
|
+
* ],
|
|
12840
|
+
* });
|
|
12841
|
+
*
|
|
12842
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
12843
|
+
* const authClient = await auth.getClient();
|
|
12844
|
+
* google.options({auth: authClient});
|
|
12845
|
+
*
|
|
12846
|
+
* // Do the magic
|
|
12847
|
+
* const res = await sql.workloadCaptures.stopReplay({
|
|
12848
|
+
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12849
|
+
* instance: 'placeholder-value',
|
|
12850
|
+
* // Required. Project ID of the project that contains the instance.
|
|
12851
|
+
* project: 'placeholder-value',
|
|
12852
|
+
* // Required. The ID of the workload to replay.
|
|
12853
|
+
* workloadId: 'placeholder-value',
|
|
12854
|
+
*
|
|
12855
|
+
* // Request body metadata
|
|
12856
|
+
* requestBody: {
|
|
12857
|
+
* // request body parameters
|
|
12858
|
+
* // {
|
|
12859
|
+
* // "stopWorkloadReplayContext": {}
|
|
12860
|
+
* // }
|
|
12861
|
+
* },
|
|
12862
|
+
* });
|
|
12863
|
+
* console.log(res.data);
|
|
12864
|
+
*
|
|
12865
|
+
* // Example response
|
|
12866
|
+
* // {
|
|
12867
|
+
* // "acquireSsrsLeaseContext": {},
|
|
12868
|
+
* // "apiWarning": {},
|
|
12869
|
+
* // "backupContext": {},
|
|
12870
|
+
* // "endTime": "my_endTime",
|
|
12871
|
+
* // "error": {},
|
|
12872
|
+
* // "exportContext": {},
|
|
12873
|
+
* // "importContext": {},
|
|
12874
|
+
* // "insertTime": "my_insertTime",
|
|
12875
|
+
* // "kind": "my_kind",
|
|
12876
|
+
* // "name": "my_name",
|
|
12877
|
+
* // "operationType": "my_operationType",
|
|
12878
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
12879
|
+
* // "selfLink": "my_selfLink",
|
|
12880
|
+
* // "startTime": "my_startTime",
|
|
12881
|
+
* // "startWorkloadCaptureContext": {},
|
|
12882
|
+
* // "startWorkloadReplayContext": {},
|
|
12883
|
+
* // "status": "my_status",
|
|
12884
|
+
* // "stopWorkloadCaptureContext": {},
|
|
12885
|
+
* // "stopWorkloadReplayContext": {},
|
|
12886
|
+
* // "subOperationType": {},
|
|
12887
|
+
* // "targetId": "my_targetId",
|
|
12888
|
+
* // "targetLink": "my_targetLink",
|
|
12889
|
+
* // "targetProject": "my_targetProject",
|
|
12890
|
+
* // "user": "my_user"
|
|
12891
|
+
* // }
|
|
12892
|
+
* }
|
|
12893
|
+
*
|
|
12894
|
+
* main().catch(e => {
|
|
12895
|
+
* console.error(e);
|
|
12896
|
+
* throw e;
|
|
12897
|
+
* });
|
|
12898
|
+
*
|
|
12899
|
+
* ```
|
|
12900
|
+
*
|
|
12901
|
+
* @param params - Parameters for request
|
|
12902
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
12903
|
+
* @param callback - Optional callback that handles the response.
|
|
12904
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
12905
|
+
*/
|
|
12906
|
+
stopReplay(params: Params$Resource$Workloadcaptures$Stopreplay, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12907
|
+
stopReplay(params?: Params$Resource$Workloadcaptures$Stopreplay, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
12908
|
+
stopReplay(params: Params$Resource$Workloadcaptures$Stopreplay, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
12909
|
+
stopReplay(params: Params$Resource$Workloadcaptures$Stopreplay, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12910
|
+
stopReplay(params: Params$Resource$Workloadcaptures$Stopreplay, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12911
|
+
stopReplay(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
12912
|
+
}
|
|
12913
|
+
export interface Params$Resource$Workloadcaptures$List extends StandardParameters {
|
|
12914
|
+
/**
|
|
12915
|
+
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12916
|
+
*/
|
|
12917
|
+
instance?: string;
|
|
12918
|
+
/**
|
|
12919
|
+
* Required. Project ID of the project that contains the instance.
|
|
12920
|
+
*/
|
|
12921
|
+
project?: string;
|
|
12922
|
+
}
|
|
12923
|
+
export interface Params$Resource$Workloadcaptures$Start extends StandardParameters {
|
|
12924
|
+
/**
|
|
12925
|
+
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12926
|
+
*/
|
|
12927
|
+
instance?: string;
|
|
12928
|
+
/**
|
|
12929
|
+
* Required. Project ID of the project that contains the instance.
|
|
12930
|
+
*/
|
|
12931
|
+
project?: string;
|
|
12932
|
+
/**
|
|
12933
|
+
* Request body metadata
|
|
12934
|
+
*/
|
|
12935
|
+
requestBody?: Schema$SqlWorkloadCapturesStartRequest;
|
|
12936
|
+
}
|
|
12937
|
+
export interface Params$Resource$Workloadcaptures$Startreplay extends StandardParameters {
|
|
12938
|
+
/**
|
|
12939
|
+
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12940
|
+
*/
|
|
12941
|
+
instance?: string;
|
|
12942
|
+
/**
|
|
12943
|
+
* Required. Project ID of the project that contains the instance.
|
|
12944
|
+
*/
|
|
12945
|
+
project?: string;
|
|
12946
|
+
/**
|
|
12947
|
+
* Required. The ID of the workload to replay.
|
|
12948
|
+
*/
|
|
12949
|
+
workloadId?: string;
|
|
12950
|
+
/**
|
|
12951
|
+
* Request body metadata
|
|
12952
|
+
*/
|
|
12953
|
+
requestBody?: Schema$SqlWorkloadCapturesStartReplayRequest;
|
|
12954
|
+
}
|
|
12955
|
+
export interface Params$Resource$Workloadcaptures$Stop extends StandardParameters {
|
|
12956
|
+
/**
|
|
12957
|
+
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12958
|
+
*/
|
|
12959
|
+
instance?: string;
|
|
12960
|
+
/**
|
|
12961
|
+
* Required. Project ID of the project that contains the instance.
|
|
12962
|
+
*/
|
|
12963
|
+
project?: string;
|
|
12964
|
+
/**
|
|
12965
|
+
* Request body metadata
|
|
12966
|
+
*/
|
|
12967
|
+
requestBody?: Schema$SqlWorkloadCapturesStopRequest;
|
|
12968
|
+
}
|
|
12969
|
+
export interface Params$Resource$Workloadcaptures$Stopreplay extends StandardParameters {
|
|
12970
|
+
/**
|
|
12971
|
+
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12972
|
+
*/
|
|
12973
|
+
instance?: string;
|
|
12974
|
+
/**
|
|
12975
|
+
* Required. Project ID of the project that contains the instance.
|
|
12976
|
+
*/
|
|
12977
|
+
project?: string;
|
|
12978
|
+
/**
|
|
12979
|
+
* Required. The ID of the workload to replay.
|
|
12980
|
+
*/
|
|
12981
|
+
workloadId?: string;
|
|
12982
|
+
/**
|
|
12983
|
+
* Request body metadata
|
|
12984
|
+
*/
|
|
12985
|
+
requestBody?: Schema$SqlWorkloadCapturesStopReplayRequest;
|
|
12986
|
+
}
|
|
12118
12987
|
export {};
|
|
12119
12988
|
}
|