@googleapis/sqladmin 38.1.0 → 38.1.1
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 +7 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +73 -1100
- package/build/v1.js +0 -169
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +58 -1114
- package/build/v1beta4.js +0 -169
- package/build/v1beta4.js.map +1 -1
- package/package.json +2 -2
- package/v1.ts +72 -1494
- package/v1beta4.ts +63 -1518
package/v1beta4.ts
CHANGED
|
@@ -114,7 +114,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
114
114
|
context: APIRequestContext;
|
|
115
115
|
backupRuns: Resource$Backupruns;
|
|
116
116
|
backups: Resource$Backups;
|
|
117
|
-
blueGreenDeployments: Resource$Bluegreendeployments;
|
|
118
117
|
connect: Resource$Connect;
|
|
119
118
|
databases: Resource$Databases;
|
|
120
119
|
flags: Resource$Flags;
|
|
@@ -133,9 +132,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
133
132
|
|
|
134
133
|
this.backupRuns = new Resource$Backupruns(this.context);
|
|
135
134
|
this.backups = new Resource$Backups(this.context);
|
|
136
|
-
this.blueGreenDeployments = new Resource$Bluegreendeployments(
|
|
137
|
-
this.context
|
|
138
|
-
);
|
|
139
135
|
this.connect = new Resource$Connect(this.context);
|
|
140
136
|
this.databases = new Resource$Databases(this.context);
|
|
141
137
|
this.flags = new Resource$Flags(this.context);
|
|
@@ -537,80 +533,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
537
533
|
*/
|
|
538
534
|
kind?: string | null;
|
|
539
535
|
}
|
|
540
|
-
/**
|
|
541
|
-
* A `BlueGreenDeployment` resource represents a Cloud SQL blue-green deployment setup. It orchestrates the lifecycle of creating a synchronized "green" environment from a "blue" production environment, performing updates, and managing the switchover process to minimize downtime.
|
|
542
|
-
*/
|
|
543
|
-
export interface Schema$BlueGreenDeployment {
|
|
544
|
-
/**
|
|
545
|
-
* Output only. The time when the deployment was created.
|
|
546
|
-
*/
|
|
547
|
-
createTime?: string | null;
|
|
548
|
-
/**
|
|
549
|
-
* Output only. A list representing the pairs of source and target instances in the deployment.
|
|
550
|
-
*/
|
|
551
|
-
deploymentMappings?: Schema$SourceTargetPairedNode[];
|
|
552
|
-
/**
|
|
553
|
-
* Output only. Combined list of tasks for all paired nodes.
|
|
554
|
-
*/
|
|
555
|
-
deploymentTasks?: Schema$DeploymentTasks;
|
|
556
|
-
/**
|
|
557
|
-
* Optional. User-provided description for the deployment.
|
|
558
|
-
*/
|
|
559
|
-
description?: string | null;
|
|
560
|
-
/**
|
|
561
|
-
* Output only. Provides an error message with details on why switchover is not possible.
|
|
562
|
-
*/
|
|
563
|
-
errorDetail?: string | null;
|
|
564
|
-
/**
|
|
565
|
-
* Output only. Identifier. The full resource name of the deployment. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{deployment_id\}
|
|
566
|
-
*/
|
|
567
|
-
name?: string | null;
|
|
568
|
-
/**
|
|
569
|
-
* Output only. Deprecated: Use deployment_mappings instead. Output only. A list representing the pairs of source and target instances in the deployment.
|
|
570
|
-
*/
|
|
571
|
-
pairedNodes?: Schema$SourceTargetPairedNode[];
|
|
572
|
-
/**
|
|
573
|
-
* Optional. Immutable. Optional on create, and immutable. The configuration intended for the target instance(s) when the deployment was created.
|
|
574
|
-
*/
|
|
575
|
-
requestedConfig?: Schema$RequestedConfig;
|
|
576
|
-
/**
|
|
577
|
-
* Required. Immutable. The instance ID of the source instance (the "blue" instance). The value for this field does not include the project ID, for example, `my-instance-id`. This field is immutable.
|
|
578
|
-
*/
|
|
579
|
-
sourceInstance?: string | null;
|
|
580
|
-
/**
|
|
581
|
-
* Output only. The current state of the blue-green deployment.
|
|
582
|
-
*/
|
|
583
|
-
state?: string | null;
|
|
584
|
-
/**
|
|
585
|
-
* Output only. Details about the primary target instance (the "Green" instance) that will be promoted during switchover.
|
|
586
|
-
*/
|
|
587
|
-
switchoverTargetInstance?: string | null;
|
|
588
|
-
/**
|
|
589
|
-
* Optional. Immutable. Deprecated: Use requested_config instead. The configuration intended for the target instance(s) when the deployment was created. This field is immutable.
|
|
590
|
-
*/
|
|
591
|
-
targetConfig?: Schema$TargetConfig;
|
|
592
|
-
}
|
|
593
|
-
/**
|
|
594
|
-
* Blue-green deployment metadata for a database instance. In a blue-green deployment, we maintain two environments, one of which is live. This message contains details about the blue-green deployment.
|
|
595
|
-
*/
|
|
596
|
-
export interface Schema$BlueGreenDeploymentInfo {
|
|
597
|
-
/**
|
|
598
|
-
* Output only. The resource ID of the blue-green deployment.
|
|
599
|
-
*/
|
|
600
|
-
deploymentId?: string | null;
|
|
601
|
-
/**
|
|
602
|
-
* Output only. The source instance for the Blue-Green deployment.
|
|
603
|
-
*/
|
|
604
|
-
source?: Schema$SourceRole;
|
|
605
|
-
/**
|
|
606
|
-
* Output only. The current state of blue-green-deployment for UI tags
|
|
607
|
-
*/
|
|
608
|
-
state?: string | null;
|
|
609
|
-
/**
|
|
610
|
-
* Output only. The target instance for the Blue-Green deployment.
|
|
611
|
-
*/
|
|
612
|
-
target?: Schema$TargetRole;
|
|
613
|
-
}
|
|
614
536
|
/**
|
|
615
537
|
* Database instance clone context.
|
|
616
538
|
*/
|
|
@@ -677,23 +599,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
677
599
|
*/
|
|
678
600
|
type?: string | null;
|
|
679
601
|
}
|
|
680
|
-
/**
|
|
681
|
-
* Represents a specific configuration difference between Blue and Green instances.
|
|
682
|
-
*/
|
|
683
|
-
export interface Schema$ConfigDiff {
|
|
684
|
-
/**
|
|
685
|
-
* Output only. The name of the field that differs, fully-qualified. Example: settings.tier
|
|
686
|
-
*/
|
|
687
|
-
field?: string | null;
|
|
688
|
-
/**
|
|
689
|
-
* Output only. The value on the source instance.
|
|
690
|
-
*/
|
|
691
|
-
sourceValue?: string | null;
|
|
692
|
-
/**
|
|
693
|
-
* Output only. The value on the target instance.
|
|
694
|
-
*/
|
|
695
|
-
targetValue?: string | null;
|
|
696
|
-
}
|
|
697
602
|
/**
|
|
698
603
|
* The managed connection pooling configuration.
|
|
699
604
|
*/
|
|
@@ -897,10 +802,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
897
802
|
* The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.
|
|
898
803
|
*/
|
|
899
804
|
databaseVersion?: string | null;
|
|
900
|
-
/**
|
|
901
|
-
* Output only. Deployment info for the instance. This is set if the instance is currently part of any blue-green setup.
|
|
902
|
-
*/
|
|
903
|
-
deploymentInfo?: Schema$BlueGreenDeploymentInfo;
|
|
904
805
|
/**
|
|
905
806
|
* Disk encryption configuration specific to an instance.
|
|
906
807
|
*/
|
|
@@ -1197,48 +1098,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
1197
1098
|
*/
|
|
1198
1099
|
time?: string | null;
|
|
1199
1100
|
}
|
|
1200
|
-
/**
|
|
1201
|
-
* Represents a task executed as part of the deployment on a target instance.
|
|
1202
|
-
*/
|
|
1203
|
-
export interface Schema$DeploymentTask {
|
|
1204
|
-
/**
|
|
1205
|
-
* Output only. Task end time (if completed).
|
|
1206
|
-
*/
|
|
1207
|
-
endTime?: string | null;
|
|
1208
|
-
/**
|
|
1209
|
-
* Output only. Optional Error details if the task state is FAILED.
|
|
1210
|
-
*/
|
|
1211
|
-
errorMessage?: string | null;
|
|
1212
|
-
/**
|
|
1213
|
-
* Output only. Task start time.
|
|
1214
|
-
*/
|
|
1215
|
-
startTime?: string | null;
|
|
1216
|
-
/**
|
|
1217
|
-
* Output only. The current state of the task.
|
|
1218
|
-
*/
|
|
1219
|
-
state?: string | null;
|
|
1220
|
-
/**
|
|
1221
|
-
* Output only. The type of the task.
|
|
1222
|
-
*/
|
|
1223
|
-
type?: string | null;
|
|
1224
|
-
}
|
|
1225
|
-
/**
|
|
1226
|
-
* Combined list of tasks for all paired nodes in the deployment.
|
|
1227
|
-
*/
|
|
1228
|
-
export interface Schema$DeploymentTasks {
|
|
1229
|
-
/**
|
|
1230
|
-
* Output only. Tasks performed or being performed on the paired nodes of the deployment at a consolidated level.
|
|
1231
|
-
*/
|
|
1232
|
-
task?: Schema$DeploymentTask[];
|
|
1233
|
-
}
|
|
1234
1101
|
/**
|
|
1235
1102
|
* Disk encryption configuration for an instance.
|
|
1236
1103
|
*/
|
|
1237
1104
|
export interface Schema$DiskEncryptionConfiguration {
|
|
1238
|
-
/**
|
|
1239
|
-
* Optional. If true, enables Confidential Mode for the instance's Hyperdisk Balanced volumes. Only supported for zonal C4A instances currently.
|
|
1240
|
-
*/
|
|
1241
|
-
confidentialMode?: boolean | null;
|
|
1242
1105
|
/**
|
|
1243
1106
|
* This is always `sql#diskEncryptionConfiguration`.
|
|
1244
1107
|
*/
|
|
@@ -1836,10 +1699,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
1836
1699
|
* The name of the backup that's used to restore a Cloud SQL instance: Format: "projects/{project-id\}/locations/{location\}/backupVaults/{backupvault\}/dataSources/{datasource\}/backups/{backup-uid\}". Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.
|
|
1837
1700
|
*/
|
|
1838
1701
|
backupdrBackup?: string | null;
|
|
1839
|
-
/**
|
|
1840
|
-
* Optional. If true, the restore operation proceeds even if the target instance's maintenance version is older than the source instance's maintenance version.
|
|
1841
|
-
*/
|
|
1842
|
-
ignoreMaintenanceVersion?: boolean | null;
|
|
1843
1702
|
/**
|
|
1844
1703
|
* Parameters required to perform the restore backup operation.
|
|
1845
1704
|
*/
|
|
@@ -1989,19 +1848,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
1989
1848
|
*/
|
|
1990
1849
|
warnings?: Schema$ApiWarning[];
|
|
1991
1850
|
}
|
|
1992
|
-
/**
|
|
1993
|
-
* The response message for listing blue-green deployment resources.
|
|
1994
|
-
*/
|
|
1995
|
-
export interface Schema$ListBlueGreenDeploymentsResponse {
|
|
1996
|
-
/**
|
|
1997
|
-
* The list of blue-green deployment resources.
|
|
1998
|
-
*/
|
|
1999
|
-
blueGreenDeployments?: Schema$BlueGreenDeployment[];
|
|
2000
|
-
/**
|
|
2001
|
-
* A token to retrieve the next page of results, or empty if there are no more results.
|
|
2002
|
-
*/
|
|
2003
|
-
nextPageToken?: string | null;
|
|
2004
|
-
}
|
|
2005
1851
|
/**
|
|
2006
1852
|
* Preferred location. This specifies where a Cloud SQL instance is located. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified.
|
|
2007
1853
|
*/
|
|
@@ -2124,27 +1970,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
2124
1970
|
*/
|
|
2125
1971
|
initialSyncFlags?: Schema$SyncFlags[];
|
|
2126
1972
|
}
|
|
2127
|
-
/**
|
|
2128
|
-
* Details about an instance within the deployment.
|
|
2129
|
-
*/
|
|
2130
|
-
export interface Schema$NodeInfo {
|
|
2131
|
-
/**
|
|
2132
|
-
* Output only. The instance connection name.
|
|
2133
|
-
*/
|
|
2134
|
-
connection?: string | null;
|
|
2135
|
-
/**
|
|
2136
|
-
* Output only. The unique DNS name for this instance.
|
|
2137
|
-
*/
|
|
2138
|
-
dns?: string | null;
|
|
2139
|
-
/**
|
|
2140
|
-
* Output only. The full resource name of the instance. Format: projects/{project\}/instances/{instance\}
|
|
2141
|
-
*/
|
|
2142
|
-
instance?: string | null;
|
|
2143
|
-
/**
|
|
2144
|
-
* Output only. The list of IP addresses for this instance.
|
|
2145
|
-
*/
|
|
2146
|
-
ipMappings?: Schema$IpMapping[];
|
|
2147
|
-
}
|
|
2148
1973
|
/**
|
|
2149
1974
|
* On-premises instance configuration.
|
|
2150
1975
|
*/
|
|
@@ -2642,7 +2467,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
2642
2467
|
*/
|
|
2643
2468
|
allowedConsumerProjects?: string[] | null;
|
|
2644
2469
|
/**
|
|
2645
|
-
* Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect
|
|
2470
|
+
* Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect via PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID
|
|
2646
2471
|
*/
|
|
2647
2472
|
networkAttachmentUri?: string | null;
|
|
2648
2473
|
/**
|
|
@@ -2762,15 +2587,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
2762
2587
|
*/
|
|
2763
2588
|
psaWriteEndpoint?: string | null;
|
|
2764
2589
|
}
|
|
2765
|
-
/**
|
|
2766
|
-
* Configuration specified by the user at creation time for the target (Green) instance.
|
|
2767
|
-
*/
|
|
2768
|
-
export interface Schema$RequestedConfig {
|
|
2769
|
-
/**
|
|
2770
|
-
* Optional. The target database major version for the upgrade.
|
|
2771
|
-
*/
|
|
2772
|
-
databaseVersion?: string | null;
|
|
2773
|
-
}
|
|
2774
2590
|
export interface Schema$Reschedule {
|
|
2775
2591
|
/**
|
|
2776
2592
|
* Required. The type of the reschedule.
|
|
@@ -2992,7 +2808,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
2992
2808
|
*/
|
|
2993
2809
|
maintenanceWindow?: Schema$MaintenanceWindow;
|
|
2994
2810
|
/**
|
|
2995
|
-
* The local user password validation policy of the instance
|
|
2811
|
+
* The local user password validation policy of the instance.
|
|
2996
2812
|
*/
|
|
2997
2813
|
passwordValidationPolicy?: Schema$PasswordValidationPolicy;
|
|
2998
2814
|
/**
|
|
@@ -3048,44 +2864,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
3048
2864
|
*/
|
|
3049
2865
|
userLabels?: {[key: string]: string} | null;
|
|
3050
2866
|
}
|
|
3051
|
-
/**
|
|
3052
|
-
* The source instance for the Blue-Green deployment.
|
|
3053
|
-
*/
|
|
3054
|
-
export interface Schema$SourceRole {
|
|
3055
|
-
/**
|
|
3056
|
-
* Output only. The target instance paired with this source instance in a blue-green deployment.
|
|
3057
|
-
*/
|
|
3058
|
-
targetId?: Schema$InstanceReference;
|
|
3059
|
-
}
|
|
3060
|
-
/**
|
|
3061
|
-
* Represents a pairing of a source instance node and a target instance node.
|
|
3062
|
-
*/
|
|
3063
|
-
export interface Schema$SourceTargetPairedNode {
|
|
3064
|
-
/**
|
|
3065
|
-
* Output only. Deprecated: Indicates which instance (SOURCE or TARGET) in the pair is currently live. Used for internal implementation and deprecated for external use.
|
|
3066
|
-
*/
|
|
3067
|
-
currentlyServingTraffic?: string | null;
|
|
3068
|
-
/**
|
|
3069
|
-
* Output only. Describes the list of differences for this pair.
|
|
3070
|
-
*/
|
|
3071
|
-
diffs?: Schema$ConfigDiff[];
|
|
3072
|
-
/**
|
|
3073
|
-
* Output only. Resource name of the source instance in this pair.
|
|
3074
|
-
*/
|
|
3075
|
-
source?: Schema$NodeInfo;
|
|
3076
|
-
/**
|
|
3077
|
-
* Output only. The current state of this specific source-target pair.
|
|
3078
|
-
*/
|
|
3079
|
-
state?: string | null;
|
|
3080
|
-
/**
|
|
3081
|
-
* Output only. Details of the corresponding target instance in this pair.
|
|
3082
|
-
*/
|
|
3083
|
-
target?: Schema$NodeInfo;
|
|
3084
|
-
/**
|
|
3085
|
-
* Output only. Tasks performed or being performed on the target instance of this pair.
|
|
3086
|
-
*/
|
|
3087
|
-
tasks?: Schema$DeploymentTask[];
|
|
3088
|
-
}
|
|
3089
2867
|
/**
|
|
3090
2868
|
* Active Directory configuration, relevant only for Cloud SQL for SQL Server.
|
|
3091
2869
|
*/
|
|
@@ -3217,17 +2995,8 @@ export namespace sqladmin_v1beta4 {
|
|
|
3217
2995
|
/**
|
|
3218
2996
|
* Instance reset replica size request.
|
|
3219
2997
|
*/
|
|
3220
|
-
export interface Schema$SqlInstancesResetReplicaSizeRequest {
|
|
3221
|
-
/**
|
|
3222
|
-
* Optional. Region of the Cloud SQL instance.
|
|
3223
|
-
*/
|
|
3224
|
-
location?: string | null;
|
|
3225
|
-
}
|
|
2998
|
+
export interface Schema$SqlInstancesResetReplicaSizeRequest {}
|
|
3226
2999
|
export interface Schema$SqlInstancesStartExternalSyncRequest {
|
|
3227
|
-
/**
|
|
3228
|
-
* Optional. Region of the Cloud SQL instance.
|
|
3229
|
-
*/
|
|
3230
|
-
location?: string | null;
|
|
3231
3000
|
/**
|
|
3232
3001
|
* Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
|
|
3233
3002
|
*/
|
|
@@ -3254,10 +3023,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
3254
3023
|
syncParallelLevel?: string | null;
|
|
3255
3024
|
}
|
|
3256
3025
|
export interface Schema$SqlInstancesVerifyExternalSyncSettingsRequest {
|
|
3257
|
-
/**
|
|
3258
|
-
* Optional. Region of the Cloud SQL instance.
|
|
3259
|
-
*/
|
|
3260
|
-
location?: string | null;
|
|
3261
3026
|
/**
|
|
3262
3027
|
* Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
|
|
3263
3028
|
*/
|
|
@@ -3391,11 +3156,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
3391
3156
|
*/
|
|
3392
3157
|
export interface Schema$SqlServerUserDetails {
|
|
3393
3158
|
/**
|
|
3394
|
-
*
|
|
3159
|
+
* If the user has been disabled
|
|
3395
3160
|
*/
|
|
3396
3161
|
disabled?: boolean | null;
|
|
3397
3162
|
/**
|
|
3398
|
-
*
|
|
3163
|
+
* The server roles for this user
|
|
3399
3164
|
*/
|
|
3400
3165
|
serverRoles?: string[] | null;
|
|
3401
3166
|
}
|
|
@@ -3535,10 +3300,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
3535
3300
|
*/
|
|
3536
3301
|
message?: string | null;
|
|
3537
3302
|
}
|
|
3538
|
-
/**
|
|
3539
|
-
* Request message for switching over a `BlueGreenDeployment` resource.
|
|
3540
|
-
*/
|
|
3541
|
-
export interface Schema$SwitchoverBlueGreenDeploymentRequest {}
|
|
3542
3303
|
/**
|
|
3543
3304
|
* Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.
|
|
3544
3305
|
*/
|
|
@@ -3552,15 +3313,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
3552
3313
|
*/
|
|
3553
3314
|
value?: string | null;
|
|
3554
3315
|
}
|
|
3555
|
-
/**
|
|
3556
|
-
* Deprecated: Use RequestedConfig instead. Configuration specified by the user at creation time for the target (Green) instance.
|
|
3557
|
-
*/
|
|
3558
|
-
export interface Schema$TargetConfig {
|
|
3559
|
-
/**
|
|
3560
|
-
* Optional. The target database major version for the upgrade.
|
|
3561
|
-
*/
|
|
3562
|
-
databaseVersion?: string | null;
|
|
3563
|
-
}
|
|
3564
3316
|
/**
|
|
3565
3317
|
* Target metric for read pool auto scaling.
|
|
3566
3318
|
*/
|
|
@@ -3574,15 +3326,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
3574
3326
|
*/
|
|
3575
3327
|
targetValue?: number | null;
|
|
3576
3328
|
}
|
|
3577
|
-
/**
|
|
3578
|
-
* The target instance for the Blue-Green deployment.
|
|
3579
|
-
*/
|
|
3580
|
-
export interface Schema$TargetRole {
|
|
3581
|
-
/**
|
|
3582
|
-
* Output only. The source instance paired with this target instance in a blue-green deployment.
|
|
3583
|
-
*/
|
|
3584
|
-
sourceId?: Schema$InstanceReference;
|
|
3585
|
-
}
|
|
3586
3329
|
/**
|
|
3587
3330
|
* A Google Cloud SQL service tier resource.
|
|
3588
3331
|
*/
|
|
@@ -5388,14 +5131,14 @@ export namespace sqladmin_v1beta4 {
|
|
|
5388
5131
|
requestBody?: Schema$Backup;
|
|
5389
5132
|
}
|
|
5390
5133
|
|
|
5391
|
-
export class Resource$
|
|
5134
|
+
export class Resource$Connect {
|
|
5392
5135
|
context: APIRequestContext;
|
|
5393
5136
|
constructor(context: APIRequestContext) {
|
|
5394
5137
|
this.context = context;
|
|
5395
5138
|
}
|
|
5396
5139
|
|
|
5397
5140
|
/**
|
|
5398
|
-
*
|
|
5141
|
+
* Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.
|
|
5399
5142
|
* @example
|
|
5400
5143
|
* ```js
|
|
5401
5144
|
* // Before running the sample:
|
|
@@ -5427,28 +5170,20 @@ export namespace sqladmin_v1beta4 {
|
|
|
5427
5170
|
* google.options({auth: authClient});
|
|
5428
5171
|
*
|
|
5429
5172
|
* // Do the magic
|
|
5430
|
-
* const res = await sql.
|
|
5431
|
-
* //
|
|
5432
|
-
*
|
|
5433
|
-
* //
|
|
5434
|
-
*
|
|
5173
|
+
* const res = await sql.connect.generateEphemeral({
|
|
5174
|
+
* // Cloud SQL instance ID. This does not include the project ID.
|
|
5175
|
+
* instance: 'placeholder-value',
|
|
5176
|
+
* // Project ID of the project that contains the instance.
|
|
5177
|
+
* project: 'placeholder-value',
|
|
5435
5178
|
*
|
|
5436
5179
|
* // Request body metadata
|
|
5437
5180
|
* requestBody: {
|
|
5438
5181
|
* // request body parameters
|
|
5439
5182
|
* // {
|
|
5440
|
-
* // "
|
|
5441
|
-
* // "
|
|
5442
|
-
* // "
|
|
5443
|
-
* // "
|
|
5444
|
-
* // "errorDetail": "my_errorDetail",
|
|
5445
|
-
* // "name": "my_name",
|
|
5446
|
-
* // "pairedNodes": [],
|
|
5447
|
-
* // "requestedConfig": {},
|
|
5448
|
-
* // "sourceInstance": "my_sourceInstance",
|
|
5449
|
-
* // "state": "my_state",
|
|
5450
|
-
* // "switchoverTargetInstance": "my_switchoverTargetInstance",
|
|
5451
|
-
* // "targetConfig": {}
|
|
5183
|
+
* // "access_token": "my_access_token",
|
|
5184
|
+
* // "public_key": "my_public_key",
|
|
5185
|
+
* // "readTime": "my_readTime",
|
|
5186
|
+
* // "validDuration": "my_validDuration"
|
|
5452
5187
|
* // }
|
|
5453
5188
|
* },
|
|
5454
5189
|
* });
|
|
@@ -5456,26 +5191,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5456
5191
|
*
|
|
5457
5192
|
* // Example response
|
|
5458
5193
|
* // {
|
|
5459
|
-
* // "
|
|
5460
|
-
* // "apiWarning": {},
|
|
5461
|
-
* // "backupContext": {},
|
|
5462
|
-
* // "endTime": "my_endTime",
|
|
5463
|
-
* // "error": {},
|
|
5464
|
-
* // "exportContext": {},
|
|
5465
|
-
* // "importContext": {},
|
|
5466
|
-
* // "insertTime": "my_insertTime",
|
|
5467
|
-
* // "kind": "my_kind",
|
|
5468
|
-
* // "name": "my_name",
|
|
5469
|
-
* // "operationType": "my_operationType",
|
|
5470
|
-
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5471
|
-
* // "selfLink": "my_selfLink",
|
|
5472
|
-
* // "startTime": "my_startTime",
|
|
5473
|
-
* // "status": "my_status",
|
|
5474
|
-
* // "subOperationType": {},
|
|
5475
|
-
* // "targetId": "my_targetId",
|
|
5476
|
-
* // "targetLink": "my_targetLink",
|
|
5477
|
-
* // "targetProject": "my_targetProject",
|
|
5478
|
-
* // "user": "my_user"
|
|
5194
|
+
* // "ephemeralCert": {}
|
|
5479
5195
|
* // }
|
|
5480
5196
|
* }
|
|
5481
5197
|
*
|
|
@@ -5491,52 +5207,57 @@ export namespace sqladmin_v1beta4 {
|
|
|
5491
5207
|
* @param callback - Optional callback that handles the response.
|
|
5492
5208
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5493
5209
|
*/
|
|
5494
|
-
|
|
5495
|
-
params: Params$Resource$
|
|
5210
|
+
generateEphemeralCert(
|
|
5211
|
+
params: Params$Resource$Connect$Generateephemeralcert,
|
|
5496
5212
|
options: StreamMethodOptions
|
|
5497
5213
|
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5498
|
-
|
|
5499
|
-
params?: Params$Resource$
|
|
5214
|
+
generateEphemeralCert(
|
|
5215
|
+
params?: Params$Resource$Connect$Generateephemeralcert,
|
|
5500
5216
|
options?: MethodOptions
|
|
5501
|
-
): Promise<GaxiosResponseWithHTTP2<Schema$
|
|
5502
|
-
|
|
5503
|
-
params: Params$Resource$
|
|
5217
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$GenerateEphemeralCertResponse>>;
|
|
5218
|
+
generateEphemeralCert(
|
|
5219
|
+
params: Params$Resource$Connect$Generateephemeralcert,
|
|
5504
5220
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5505
5221
|
callback: BodyResponseCallback<Readable>
|
|
5506
5222
|
): void;
|
|
5507
|
-
|
|
5508
|
-
params: Params$Resource$
|
|
5509
|
-
options:
|
|
5510
|
-
|
|
5223
|
+
generateEphemeralCert(
|
|
5224
|
+
params: Params$Resource$Connect$Generateephemeralcert,
|
|
5225
|
+
options:
|
|
5226
|
+
| MethodOptions
|
|
5227
|
+
| BodyResponseCallback<Schema$GenerateEphemeralCertResponse>,
|
|
5228
|
+
callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
5511
5229
|
): void;
|
|
5512
|
-
|
|
5513
|
-
params: Params$Resource$
|
|
5514
|
-
callback: BodyResponseCallback<Schema$
|
|
5230
|
+
generateEphemeralCert(
|
|
5231
|
+
params: Params$Resource$Connect$Generateephemeralcert,
|
|
5232
|
+
callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
5233
|
+
): void;
|
|
5234
|
+
generateEphemeralCert(
|
|
5235
|
+
callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
5515
5236
|
): void;
|
|
5516
|
-
|
|
5517
|
-
create(
|
|
5237
|
+
generateEphemeralCert(
|
|
5518
5238
|
paramsOrCallback?:
|
|
5519
|
-
| Params$Resource$
|
|
5520
|
-
| BodyResponseCallback<Schema$
|
|
5239
|
+
| Params$Resource$Connect$Generateephemeralcert
|
|
5240
|
+
| BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
5521
5241
|
| BodyResponseCallback<Readable>,
|
|
5522
5242
|
optionsOrCallback?:
|
|
5523
5243
|
| MethodOptions
|
|
5524
5244
|
| StreamMethodOptions
|
|
5525
|
-
| BodyResponseCallback<Schema$
|
|
5245
|
+
| BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
5526
5246
|
| BodyResponseCallback<Readable>,
|
|
5527
5247
|
callback?:
|
|
5528
|
-
BodyResponseCallback<Schema$
|
|
5248
|
+
| BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
5249
|
+
| BodyResponseCallback<Readable>
|
|
5529
5250
|
):
|
|
5530
5251
|
| void
|
|
5531
|
-
| Promise<GaxiosResponseWithHTTP2<Schema$
|
|
5252
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$GenerateEphemeralCertResponse>>
|
|
5532
5253
|
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5533
5254
|
let params = (paramsOrCallback ||
|
|
5534
|
-
{}) as Params$Resource$
|
|
5255
|
+
{}) as Params$Resource$Connect$Generateephemeralcert;
|
|
5535
5256
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5536
5257
|
|
|
5537
5258
|
if (typeof paramsOrCallback === 'function') {
|
|
5538
5259
|
callback = paramsOrCallback;
|
|
5539
|
-
params = {} as Params$Resource$
|
|
5260
|
+
params = {} as Params$Resource$Connect$Generateephemeralcert;
|
|
5540
5261
|
options = {};
|
|
5541
5262
|
}
|
|
5542
5263
|
|
|
@@ -5550,7 +5271,8 @@ export namespace sqladmin_v1beta4 {
|
|
|
5550
5271
|
options: Object.assign(
|
|
5551
5272
|
{
|
|
5552
5273
|
url: (
|
|
5553
|
-
rootUrl +
|
|
5274
|
+
rootUrl +
|
|
5275
|
+
'/sql/v1beta4/projects/{project}/instances/{instance}:generateEphemeralCert'
|
|
5554
5276
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
5555
5277
|
method: 'POST',
|
|
5556
5278
|
apiVersion: '',
|
|
@@ -5558,22 +5280,24 @@ export namespace sqladmin_v1beta4 {
|
|
|
5558
5280
|
options
|
|
5559
5281
|
),
|
|
5560
5282
|
params,
|
|
5561
|
-
requiredParams: ['
|
|
5562
|
-
pathParams: ['
|
|
5283
|
+
requiredParams: ['project', 'instance'],
|
|
5284
|
+
pathParams: ['instance', 'project'],
|
|
5563
5285
|
context: this.context,
|
|
5564
5286
|
};
|
|
5565
5287
|
if (callback) {
|
|
5566
|
-
createAPIRequest<Schema$
|
|
5288
|
+
createAPIRequest<Schema$GenerateEphemeralCertResponse>(
|
|
5567
5289
|
parameters,
|
|
5568
5290
|
callback as BodyResponseCallback<unknown>
|
|
5569
5291
|
);
|
|
5570
5292
|
} else {
|
|
5571
|
-
return createAPIRequest<Schema$
|
|
5293
|
+
return createAPIRequest<Schema$GenerateEphemeralCertResponse>(
|
|
5294
|
+
parameters
|
|
5295
|
+
);
|
|
5572
5296
|
}
|
|
5573
5297
|
}
|
|
5574
5298
|
|
|
5575
5299
|
/**
|
|
5576
|
-
*
|
|
5300
|
+
* Retrieves connect settings about a Cloud SQL instance.
|
|
5577
5301
|
* @example
|
|
5578
5302
|
* ```js
|
|
5579
5303
|
* // Before running the sample:
|
|
@@ -5605,883 +5329,13 @@ export namespace sqladmin_v1beta4 {
|
|
|
5605
5329
|
* google.options({auth: authClient});
|
|
5606
5330
|
*
|
|
5607
5331
|
* // Do the magic
|
|
5608
|
-
* const res = await sql.
|
|
5609
|
-
* //
|
|
5610
|
-
*
|
|
5611
|
-
* //
|
|
5612
|
-
*
|
|
5613
|
-
*
|
|
5614
|
-
*
|
|
5615
|
-
*
|
|
5616
|
-
* // Example response
|
|
5617
|
-
* // {
|
|
5618
|
-
* // "acquireSsrsLeaseContext": {},
|
|
5619
|
-
* // "apiWarning": {},
|
|
5620
|
-
* // "backupContext": {},
|
|
5621
|
-
* // "endTime": "my_endTime",
|
|
5622
|
-
* // "error": {},
|
|
5623
|
-
* // "exportContext": {},
|
|
5624
|
-
* // "importContext": {},
|
|
5625
|
-
* // "insertTime": "my_insertTime",
|
|
5626
|
-
* // "kind": "my_kind",
|
|
5627
|
-
* // "name": "my_name",
|
|
5628
|
-
* // "operationType": "my_operationType",
|
|
5629
|
-
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5630
|
-
* // "selfLink": "my_selfLink",
|
|
5631
|
-
* // "startTime": "my_startTime",
|
|
5632
|
-
* // "status": "my_status",
|
|
5633
|
-
* // "subOperationType": {},
|
|
5634
|
-
* // "targetId": "my_targetId",
|
|
5635
|
-
* // "targetLink": "my_targetLink",
|
|
5636
|
-
* // "targetProject": "my_targetProject",
|
|
5637
|
-
* // "user": "my_user"
|
|
5638
|
-
* // }
|
|
5639
|
-
* }
|
|
5640
|
-
*
|
|
5641
|
-
* main().catch(e => {
|
|
5642
|
-
* console.error(e);
|
|
5643
|
-
* throw e;
|
|
5644
|
-
* });
|
|
5645
|
-
*
|
|
5646
|
-
* ```
|
|
5647
|
-
*
|
|
5648
|
-
* @param params - Parameters for request
|
|
5649
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5650
|
-
* @param callback - Optional callback that handles the response.
|
|
5651
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5652
|
-
*/
|
|
5653
|
-
delete(
|
|
5654
|
-
params: Params$Resource$Bluegreendeployments$Delete,
|
|
5655
|
-
options: StreamMethodOptions
|
|
5656
|
-
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5657
|
-
delete(
|
|
5658
|
-
params?: Params$Resource$Bluegreendeployments$Delete,
|
|
5659
|
-
options?: MethodOptions
|
|
5660
|
-
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5661
|
-
delete(
|
|
5662
|
-
params: Params$Resource$Bluegreendeployments$Delete,
|
|
5663
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5664
|
-
callback: BodyResponseCallback<Readable>
|
|
5665
|
-
): void;
|
|
5666
|
-
delete(
|
|
5667
|
-
params: Params$Resource$Bluegreendeployments$Delete,
|
|
5668
|
-
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
5669
|
-
callback: BodyResponseCallback<Schema$Operation>
|
|
5670
|
-
): void;
|
|
5671
|
-
delete(
|
|
5672
|
-
params: Params$Resource$Bluegreendeployments$Delete,
|
|
5673
|
-
callback: BodyResponseCallback<Schema$Operation>
|
|
5674
|
-
): void;
|
|
5675
|
-
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5676
|
-
delete(
|
|
5677
|
-
paramsOrCallback?:
|
|
5678
|
-
| Params$Resource$Bluegreendeployments$Delete
|
|
5679
|
-
| BodyResponseCallback<Schema$Operation>
|
|
5680
|
-
| BodyResponseCallback<Readable>,
|
|
5681
|
-
optionsOrCallback?:
|
|
5682
|
-
| MethodOptions
|
|
5683
|
-
| StreamMethodOptions
|
|
5684
|
-
| BodyResponseCallback<Schema$Operation>
|
|
5685
|
-
| BodyResponseCallback<Readable>,
|
|
5686
|
-
callback?:
|
|
5687
|
-
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
5688
|
-
):
|
|
5689
|
-
| void
|
|
5690
|
-
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5691
|
-
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5692
|
-
let params = (paramsOrCallback ||
|
|
5693
|
-
{}) as Params$Resource$Bluegreendeployments$Delete;
|
|
5694
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5695
|
-
|
|
5696
|
-
if (typeof paramsOrCallback === 'function') {
|
|
5697
|
-
callback = paramsOrCallback;
|
|
5698
|
-
params = {} as Params$Resource$Bluegreendeployments$Delete;
|
|
5699
|
-
options = {};
|
|
5700
|
-
}
|
|
5701
|
-
|
|
5702
|
-
if (typeof optionsOrCallback === 'function') {
|
|
5703
|
-
callback = optionsOrCallback;
|
|
5704
|
-
options = {};
|
|
5705
|
-
}
|
|
5706
|
-
|
|
5707
|
-
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
|
5708
|
-
const parameters = {
|
|
5709
|
-
options: Object.assign(
|
|
5710
|
-
{
|
|
5711
|
-
url: (rootUrl + '/sql/v1beta4/{+name}').replace(
|
|
5712
|
-
/([^:]\/)\/+/g,
|
|
5713
|
-
'$1'
|
|
5714
|
-
),
|
|
5715
|
-
method: 'DELETE',
|
|
5716
|
-
apiVersion: '',
|
|
5717
|
-
},
|
|
5718
|
-
options
|
|
5719
|
-
),
|
|
5720
|
-
params,
|
|
5721
|
-
requiredParams: ['name'],
|
|
5722
|
-
pathParams: ['name'],
|
|
5723
|
-
context: this.context,
|
|
5724
|
-
};
|
|
5725
|
-
if (callback) {
|
|
5726
|
-
createAPIRequest<Schema$Operation>(
|
|
5727
|
-
parameters,
|
|
5728
|
-
callback as BodyResponseCallback<unknown>
|
|
5729
|
-
);
|
|
5730
|
-
} else {
|
|
5731
|
-
return createAPIRequest<Schema$Operation>(parameters);
|
|
5732
|
-
}
|
|
5733
|
-
}
|
|
5734
|
-
|
|
5735
|
-
/**
|
|
5736
|
-
* Retrieves a blue-green deployment resource under a given project and location.
|
|
5737
|
-
* @example
|
|
5738
|
-
* ```js
|
|
5739
|
-
* // Before running the sample:
|
|
5740
|
-
* // - Enable the API at:
|
|
5741
|
-
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
5742
|
-
* // - Login into gcloud by running:
|
|
5743
|
-
* // ```sh
|
|
5744
|
-
* // $ gcloud auth application-default login
|
|
5745
|
-
* // ```
|
|
5746
|
-
* // - Install the npm module by running:
|
|
5747
|
-
* // ```sh
|
|
5748
|
-
* // $ npm install googleapis
|
|
5749
|
-
* // ```
|
|
5750
|
-
*
|
|
5751
|
-
* const {google} = require('googleapis');
|
|
5752
|
-
* const sqladmin = google.sqladmin('v1beta4');
|
|
5753
|
-
*
|
|
5754
|
-
* async function main() {
|
|
5755
|
-
* const auth = new google.auth.GoogleAuth({
|
|
5756
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5757
|
-
* scopes: [
|
|
5758
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
5759
|
-
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
5760
|
-
* ],
|
|
5761
|
-
* });
|
|
5762
|
-
*
|
|
5763
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
5764
|
-
* const authClient = await auth.getClient();
|
|
5765
|
-
* google.options({auth: authClient});
|
|
5766
|
-
*
|
|
5767
|
-
* // Do the magic
|
|
5768
|
-
* const res = await sql.blueGreenDeployments.get({
|
|
5769
|
-
* // Required. The name of the blue-green deployment to retrieve. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
|
|
5770
|
-
* name: 'projects/my-project/locations/my-location/blueGreenDeployments/my-blueGreenDeployment',
|
|
5771
|
-
* // Optional. Specifies whether to return the basic or detailed view of the resource in the response.
|
|
5772
|
-
* view: 'placeholder-value',
|
|
5773
|
-
* });
|
|
5774
|
-
* console.log(res.data);
|
|
5775
|
-
*
|
|
5776
|
-
* // Example response
|
|
5777
|
-
* // {
|
|
5778
|
-
* // "createTime": "my_createTime",
|
|
5779
|
-
* // "deploymentMappings": [],
|
|
5780
|
-
* // "deploymentTasks": {},
|
|
5781
|
-
* // "description": "my_description",
|
|
5782
|
-
* // "errorDetail": "my_errorDetail",
|
|
5783
|
-
* // "name": "my_name",
|
|
5784
|
-
* // "pairedNodes": [],
|
|
5785
|
-
* // "requestedConfig": {},
|
|
5786
|
-
* // "sourceInstance": "my_sourceInstance",
|
|
5787
|
-
* // "state": "my_state",
|
|
5788
|
-
* // "switchoverTargetInstance": "my_switchoverTargetInstance",
|
|
5789
|
-
* // "targetConfig": {}
|
|
5790
|
-
* // }
|
|
5791
|
-
* }
|
|
5792
|
-
*
|
|
5793
|
-
* main().catch(e => {
|
|
5794
|
-
* console.error(e);
|
|
5795
|
-
* throw e;
|
|
5796
|
-
* });
|
|
5797
|
-
*
|
|
5798
|
-
* ```
|
|
5799
|
-
*
|
|
5800
|
-
* @param params - Parameters for request
|
|
5801
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5802
|
-
* @param callback - Optional callback that handles the response.
|
|
5803
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5804
|
-
*/
|
|
5805
|
-
get(
|
|
5806
|
-
params: Params$Resource$Bluegreendeployments$Get,
|
|
5807
|
-
options: StreamMethodOptions
|
|
5808
|
-
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5809
|
-
get(
|
|
5810
|
-
params?: Params$Resource$Bluegreendeployments$Get,
|
|
5811
|
-
options?: MethodOptions
|
|
5812
|
-
): Promise<GaxiosResponseWithHTTP2<Schema$BlueGreenDeployment>>;
|
|
5813
|
-
get(
|
|
5814
|
-
params: Params$Resource$Bluegreendeployments$Get,
|
|
5815
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5816
|
-
callback: BodyResponseCallback<Readable>
|
|
5817
|
-
): void;
|
|
5818
|
-
get(
|
|
5819
|
-
params: Params$Resource$Bluegreendeployments$Get,
|
|
5820
|
-
options: MethodOptions | BodyResponseCallback<Schema$BlueGreenDeployment>,
|
|
5821
|
-
callback: BodyResponseCallback<Schema$BlueGreenDeployment>
|
|
5822
|
-
): void;
|
|
5823
|
-
get(
|
|
5824
|
-
params: Params$Resource$Bluegreendeployments$Get,
|
|
5825
|
-
callback: BodyResponseCallback<Schema$BlueGreenDeployment>
|
|
5826
|
-
): void;
|
|
5827
|
-
get(callback: BodyResponseCallback<Schema$BlueGreenDeployment>): void;
|
|
5828
|
-
get(
|
|
5829
|
-
paramsOrCallback?:
|
|
5830
|
-
| Params$Resource$Bluegreendeployments$Get
|
|
5831
|
-
| BodyResponseCallback<Schema$BlueGreenDeployment>
|
|
5832
|
-
| BodyResponseCallback<Readable>,
|
|
5833
|
-
optionsOrCallback?:
|
|
5834
|
-
| MethodOptions
|
|
5835
|
-
| StreamMethodOptions
|
|
5836
|
-
| BodyResponseCallback<Schema$BlueGreenDeployment>
|
|
5837
|
-
| BodyResponseCallback<Readable>,
|
|
5838
|
-
callback?:
|
|
5839
|
-
| BodyResponseCallback<Schema$BlueGreenDeployment>
|
|
5840
|
-
| BodyResponseCallback<Readable>
|
|
5841
|
-
):
|
|
5842
|
-
| void
|
|
5843
|
-
| Promise<GaxiosResponseWithHTTP2<Schema$BlueGreenDeployment>>
|
|
5844
|
-
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5845
|
-
let params = (paramsOrCallback ||
|
|
5846
|
-
{}) as Params$Resource$Bluegreendeployments$Get;
|
|
5847
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5848
|
-
|
|
5849
|
-
if (typeof paramsOrCallback === 'function') {
|
|
5850
|
-
callback = paramsOrCallback;
|
|
5851
|
-
params = {} as Params$Resource$Bluegreendeployments$Get;
|
|
5852
|
-
options = {};
|
|
5853
|
-
}
|
|
5854
|
-
|
|
5855
|
-
if (typeof optionsOrCallback === 'function') {
|
|
5856
|
-
callback = optionsOrCallback;
|
|
5857
|
-
options = {};
|
|
5858
|
-
}
|
|
5859
|
-
|
|
5860
|
-
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
|
5861
|
-
const parameters = {
|
|
5862
|
-
options: Object.assign(
|
|
5863
|
-
{
|
|
5864
|
-
url: (rootUrl + '/sql/v1beta4/{+name}').replace(
|
|
5865
|
-
/([^:]\/)\/+/g,
|
|
5866
|
-
'$1'
|
|
5867
|
-
),
|
|
5868
|
-
method: 'GET',
|
|
5869
|
-
apiVersion: '',
|
|
5870
|
-
},
|
|
5871
|
-
options
|
|
5872
|
-
),
|
|
5873
|
-
params,
|
|
5874
|
-
requiredParams: ['name'],
|
|
5875
|
-
pathParams: ['name'],
|
|
5876
|
-
context: this.context,
|
|
5877
|
-
};
|
|
5878
|
-
if (callback) {
|
|
5879
|
-
createAPIRequest<Schema$BlueGreenDeployment>(
|
|
5880
|
-
parameters,
|
|
5881
|
-
callback as BodyResponseCallback<unknown>
|
|
5882
|
-
);
|
|
5883
|
-
} else {
|
|
5884
|
-
return createAPIRequest<Schema$BlueGreenDeployment>(parameters);
|
|
5885
|
-
}
|
|
5886
|
-
}
|
|
5887
|
-
|
|
5888
|
-
/**
|
|
5889
|
-
* Lists blue-green deployments under a given project.
|
|
5890
|
-
* @example
|
|
5891
|
-
* ```js
|
|
5892
|
-
* // Before running the sample:
|
|
5893
|
-
* // - Enable the API at:
|
|
5894
|
-
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
5895
|
-
* // - Login into gcloud by running:
|
|
5896
|
-
* // ```sh
|
|
5897
|
-
* // $ gcloud auth application-default login
|
|
5898
|
-
* // ```
|
|
5899
|
-
* // - Install the npm module by running:
|
|
5900
|
-
* // ```sh
|
|
5901
|
-
* // $ npm install googleapis
|
|
5902
|
-
* // ```
|
|
5903
|
-
*
|
|
5904
|
-
* const {google} = require('googleapis');
|
|
5905
|
-
* const sqladmin = google.sqladmin('v1beta4');
|
|
5906
|
-
*
|
|
5907
|
-
* async function main() {
|
|
5908
|
-
* const auth = new google.auth.GoogleAuth({
|
|
5909
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5910
|
-
* scopes: [
|
|
5911
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
5912
|
-
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
5913
|
-
* ],
|
|
5914
|
-
* });
|
|
5915
|
-
*
|
|
5916
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
5917
|
-
* const authClient = await auth.getClient();
|
|
5918
|
-
* google.options({auth: authClient});
|
|
5919
|
-
*
|
|
5920
|
-
* // Do the magic
|
|
5921
|
-
* const res = await sql.blueGreenDeployments.list({
|
|
5922
|
-
* // Optional. A filter expression that filters the results.
|
|
5923
|
-
* filter: 'placeholder-value',
|
|
5924
|
-
* // Optional. A comma-separated list of fields to order the results by.
|
|
5925
|
-
* orderBy: 'placeholder-value',
|
|
5926
|
-
* // Optional. The maximum number of deployments to return.
|
|
5927
|
-
* pageSize: 'placeholder-value',
|
|
5928
|
-
* // Optional. A page token, received from a previous `ListBlueGreenDeployments` call. Provide this to retrieve the subsequent page.
|
|
5929
|
-
* pageToken: 'placeholder-value',
|
|
5930
|
-
* // Required. The parent resource whose blue-green deployments are to be listed. Format: projects/{project\}/locations/{location\}
|
|
5931
|
-
* parent: 'projects/my-project/locations/my-location',
|
|
5932
|
-
* });
|
|
5933
|
-
* console.log(res.data);
|
|
5934
|
-
*
|
|
5935
|
-
* // Example response
|
|
5936
|
-
* // {
|
|
5937
|
-
* // "blueGreenDeployments": [],
|
|
5938
|
-
* // "nextPageToken": "my_nextPageToken"
|
|
5939
|
-
* // }
|
|
5940
|
-
* }
|
|
5941
|
-
*
|
|
5942
|
-
* main().catch(e => {
|
|
5943
|
-
* console.error(e);
|
|
5944
|
-
* throw e;
|
|
5945
|
-
* });
|
|
5946
|
-
*
|
|
5947
|
-
* ```
|
|
5948
|
-
*
|
|
5949
|
-
* @param params - Parameters for request
|
|
5950
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5951
|
-
* @param callback - Optional callback that handles the response.
|
|
5952
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5953
|
-
*/
|
|
5954
|
-
list(
|
|
5955
|
-
params: Params$Resource$Bluegreendeployments$List,
|
|
5956
|
-
options: StreamMethodOptions
|
|
5957
|
-
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5958
|
-
list(
|
|
5959
|
-
params?: Params$Resource$Bluegreendeployments$List,
|
|
5960
|
-
options?: MethodOptions
|
|
5961
|
-
): Promise<
|
|
5962
|
-
GaxiosResponseWithHTTP2<Schema$ListBlueGreenDeploymentsResponse>
|
|
5963
|
-
>;
|
|
5964
|
-
list(
|
|
5965
|
-
params: Params$Resource$Bluegreendeployments$List,
|
|
5966
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5967
|
-
callback: BodyResponseCallback<Readable>
|
|
5968
|
-
): void;
|
|
5969
|
-
list(
|
|
5970
|
-
params: Params$Resource$Bluegreendeployments$List,
|
|
5971
|
-
options:
|
|
5972
|
-
| MethodOptions
|
|
5973
|
-
| BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>,
|
|
5974
|
-
callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>
|
|
5975
|
-
): void;
|
|
5976
|
-
list(
|
|
5977
|
-
params: Params$Resource$Bluegreendeployments$List,
|
|
5978
|
-
callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>
|
|
5979
|
-
): void;
|
|
5980
|
-
list(
|
|
5981
|
-
callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>
|
|
5982
|
-
): void;
|
|
5983
|
-
list(
|
|
5984
|
-
paramsOrCallback?:
|
|
5985
|
-
| Params$Resource$Bluegreendeployments$List
|
|
5986
|
-
| BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>
|
|
5987
|
-
| BodyResponseCallback<Readable>,
|
|
5988
|
-
optionsOrCallback?:
|
|
5989
|
-
| MethodOptions
|
|
5990
|
-
| StreamMethodOptions
|
|
5991
|
-
| BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>
|
|
5992
|
-
| BodyResponseCallback<Readable>,
|
|
5993
|
-
callback?:
|
|
5994
|
-
| BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>
|
|
5995
|
-
| BodyResponseCallback<Readable>
|
|
5996
|
-
):
|
|
5997
|
-
| void
|
|
5998
|
-
| Promise<
|
|
5999
|
-
GaxiosResponseWithHTTP2<Schema$ListBlueGreenDeploymentsResponse>
|
|
6000
|
-
>
|
|
6001
|
-
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6002
|
-
let params = (paramsOrCallback ||
|
|
6003
|
-
{}) as Params$Resource$Bluegreendeployments$List;
|
|
6004
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
6005
|
-
|
|
6006
|
-
if (typeof paramsOrCallback === 'function') {
|
|
6007
|
-
callback = paramsOrCallback;
|
|
6008
|
-
params = {} as Params$Resource$Bluegreendeployments$List;
|
|
6009
|
-
options = {};
|
|
6010
|
-
}
|
|
6011
|
-
|
|
6012
|
-
if (typeof optionsOrCallback === 'function') {
|
|
6013
|
-
callback = optionsOrCallback;
|
|
6014
|
-
options = {};
|
|
6015
|
-
}
|
|
6016
|
-
|
|
6017
|
-
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
|
6018
|
-
const parameters = {
|
|
6019
|
-
options: Object.assign(
|
|
6020
|
-
{
|
|
6021
|
-
url: (
|
|
6022
|
-
rootUrl + '/sql/v1beta4/{+parent}/blueGreenDeployments'
|
|
6023
|
-
).replace(/([^:]\/)\/+/g, '$1'),
|
|
6024
|
-
method: 'GET',
|
|
6025
|
-
apiVersion: '',
|
|
6026
|
-
},
|
|
6027
|
-
options
|
|
6028
|
-
),
|
|
6029
|
-
params,
|
|
6030
|
-
requiredParams: ['parent'],
|
|
6031
|
-
pathParams: ['parent'],
|
|
6032
|
-
context: this.context,
|
|
6033
|
-
};
|
|
6034
|
-
if (callback) {
|
|
6035
|
-
createAPIRequest<Schema$ListBlueGreenDeploymentsResponse>(
|
|
6036
|
-
parameters,
|
|
6037
|
-
callback as BodyResponseCallback<unknown>
|
|
6038
|
-
);
|
|
6039
|
-
} else {
|
|
6040
|
-
return createAPIRequest<Schema$ListBlueGreenDeploymentsResponse>(
|
|
6041
|
-
parameters
|
|
6042
|
-
);
|
|
6043
|
-
}
|
|
6044
|
-
}
|
|
6045
|
-
|
|
6046
|
-
/**
|
|
6047
|
-
* Switches over to green instance for a blue-green deployment.
|
|
6048
|
-
* @example
|
|
6049
|
-
* ```js
|
|
6050
|
-
* // Before running the sample:
|
|
6051
|
-
* // - Enable the API at:
|
|
6052
|
-
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
6053
|
-
* // - Login into gcloud by running:
|
|
6054
|
-
* // ```sh
|
|
6055
|
-
* // $ gcloud auth application-default login
|
|
6056
|
-
* // ```
|
|
6057
|
-
* // - Install the npm module by running:
|
|
6058
|
-
* // ```sh
|
|
6059
|
-
* // $ npm install googleapis
|
|
6060
|
-
* // ```
|
|
6061
|
-
*
|
|
6062
|
-
* const {google} = require('googleapis');
|
|
6063
|
-
* const sqladmin = google.sqladmin('v1beta4');
|
|
6064
|
-
*
|
|
6065
|
-
* async function main() {
|
|
6066
|
-
* const auth = new google.auth.GoogleAuth({
|
|
6067
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
6068
|
-
* scopes: [
|
|
6069
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
6070
|
-
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
6071
|
-
* ],
|
|
6072
|
-
* });
|
|
6073
|
-
*
|
|
6074
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
6075
|
-
* const authClient = await auth.getClient();
|
|
6076
|
-
* google.options({auth: authClient});
|
|
6077
|
-
*
|
|
6078
|
-
* // Do the magic
|
|
6079
|
-
* const res = await sql.blueGreenDeployments.switchover({
|
|
6080
|
-
* // Required. The name of the blue-green deployment to switch over. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
|
|
6081
|
-
* name: 'projects/my-project/locations/my-location/blueGreenDeployments/my-blueGreenDeployment',
|
|
6082
|
-
*
|
|
6083
|
-
* // Request body metadata
|
|
6084
|
-
* requestBody: {
|
|
6085
|
-
* // request body parameters
|
|
6086
|
-
* // {}
|
|
6087
|
-
* },
|
|
6088
|
-
* });
|
|
6089
|
-
* console.log(res.data);
|
|
6090
|
-
*
|
|
6091
|
-
* // Example response
|
|
6092
|
-
* // {
|
|
6093
|
-
* // "acquireSsrsLeaseContext": {},
|
|
6094
|
-
* // "apiWarning": {},
|
|
6095
|
-
* // "backupContext": {},
|
|
6096
|
-
* // "endTime": "my_endTime",
|
|
6097
|
-
* // "error": {},
|
|
6098
|
-
* // "exportContext": {},
|
|
6099
|
-
* // "importContext": {},
|
|
6100
|
-
* // "insertTime": "my_insertTime",
|
|
6101
|
-
* // "kind": "my_kind",
|
|
6102
|
-
* // "name": "my_name",
|
|
6103
|
-
* // "operationType": "my_operationType",
|
|
6104
|
-
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6105
|
-
* // "selfLink": "my_selfLink",
|
|
6106
|
-
* // "startTime": "my_startTime",
|
|
6107
|
-
* // "status": "my_status",
|
|
6108
|
-
* // "subOperationType": {},
|
|
6109
|
-
* // "targetId": "my_targetId",
|
|
6110
|
-
* // "targetLink": "my_targetLink",
|
|
6111
|
-
* // "targetProject": "my_targetProject",
|
|
6112
|
-
* // "user": "my_user"
|
|
6113
|
-
* // }
|
|
6114
|
-
* }
|
|
6115
|
-
*
|
|
6116
|
-
* main().catch(e => {
|
|
6117
|
-
* console.error(e);
|
|
6118
|
-
* throw e;
|
|
6119
|
-
* });
|
|
6120
|
-
*
|
|
6121
|
-
* ```
|
|
6122
|
-
*
|
|
6123
|
-
* @param params - Parameters for request
|
|
6124
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6125
|
-
* @param callback - Optional callback that handles the response.
|
|
6126
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6127
|
-
*/
|
|
6128
|
-
switchover(
|
|
6129
|
-
params: Params$Resource$Bluegreendeployments$Switchover,
|
|
6130
|
-
options: StreamMethodOptions
|
|
6131
|
-
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6132
|
-
switchover(
|
|
6133
|
-
params?: Params$Resource$Bluegreendeployments$Switchover,
|
|
6134
|
-
options?: MethodOptions
|
|
6135
|
-
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
6136
|
-
switchover(
|
|
6137
|
-
params: Params$Resource$Bluegreendeployments$Switchover,
|
|
6138
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
6139
|
-
callback: BodyResponseCallback<Readable>
|
|
6140
|
-
): void;
|
|
6141
|
-
switchover(
|
|
6142
|
-
params: Params$Resource$Bluegreendeployments$Switchover,
|
|
6143
|
-
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
6144
|
-
callback: BodyResponseCallback<Schema$Operation>
|
|
6145
|
-
): void;
|
|
6146
|
-
switchover(
|
|
6147
|
-
params: Params$Resource$Bluegreendeployments$Switchover,
|
|
6148
|
-
callback: BodyResponseCallback<Schema$Operation>
|
|
6149
|
-
): void;
|
|
6150
|
-
switchover(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
6151
|
-
switchover(
|
|
6152
|
-
paramsOrCallback?:
|
|
6153
|
-
| Params$Resource$Bluegreendeployments$Switchover
|
|
6154
|
-
| BodyResponseCallback<Schema$Operation>
|
|
6155
|
-
| BodyResponseCallback<Readable>,
|
|
6156
|
-
optionsOrCallback?:
|
|
6157
|
-
| MethodOptions
|
|
6158
|
-
| StreamMethodOptions
|
|
6159
|
-
| BodyResponseCallback<Schema$Operation>
|
|
6160
|
-
| BodyResponseCallback<Readable>,
|
|
6161
|
-
callback?:
|
|
6162
|
-
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
6163
|
-
):
|
|
6164
|
-
| void
|
|
6165
|
-
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
6166
|
-
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6167
|
-
let params = (paramsOrCallback ||
|
|
6168
|
-
{}) as Params$Resource$Bluegreendeployments$Switchover;
|
|
6169
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
6170
|
-
|
|
6171
|
-
if (typeof paramsOrCallback === 'function') {
|
|
6172
|
-
callback = paramsOrCallback;
|
|
6173
|
-
params = {} as Params$Resource$Bluegreendeployments$Switchover;
|
|
6174
|
-
options = {};
|
|
6175
|
-
}
|
|
6176
|
-
|
|
6177
|
-
if (typeof optionsOrCallback === 'function') {
|
|
6178
|
-
callback = optionsOrCallback;
|
|
6179
|
-
options = {};
|
|
6180
|
-
}
|
|
6181
|
-
|
|
6182
|
-
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
|
6183
|
-
const parameters = {
|
|
6184
|
-
options: Object.assign(
|
|
6185
|
-
{
|
|
6186
|
-
url: (rootUrl + '/sql/v1beta4/{+name}:switchover').replace(
|
|
6187
|
-
/([^:]\/)\/+/g,
|
|
6188
|
-
'$1'
|
|
6189
|
-
),
|
|
6190
|
-
method: 'POST',
|
|
6191
|
-
apiVersion: '',
|
|
6192
|
-
},
|
|
6193
|
-
options
|
|
6194
|
-
),
|
|
6195
|
-
params,
|
|
6196
|
-
requiredParams: ['name'],
|
|
6197
|
-
pathParams: ['name'],
|
|
6198
|
-
context: this.context,
|
|
6199
|
-
};
|
|
6200
|
-
if (callback) {
|
|
6201
|
-
createAPIRequest<Schema$Operation>(
|
|
6202
|
-
parameters,
|
|
6203
|
-
callback as BodyResponseCallback<unknown>
|
|
6204
|
-
);
|
|
6205
|
-
} else {
|
|
6206
|
-
return createAPIRequest<Schema$Operation>(parameters);
|
|
6207
|
-
}
|
|
6208
|
-
}
|
|
6209
|
-
}
|
|
6210
|
-
|
|
6211
|
-
export interface Params$Resource$Bluegreendeployments$Create extends StandardParameters {
|
|
6212
|
-
/**
|
|
6213
|
-
* Required. The ID to use for the blue-green deployment, which will become the final component of the deployment's resource name.
|
|
6214
|
-
*/
|
|
6215
|
-
blueGreenDeploymentId?: string;
|
|
6216
|
-
/**
|
|
6217
|
-
* Required. The parent resource where this blue-green deployment will be created. Format: projects/{project\}/locations/{location\}
|
|
6218
|
-
*/
|
|
6219
|
-
parent?: string;
|
|
6220
|
-
|
|
6221
|
-
/**
|
|
6222
|
-
* Request body metadata
|
|
6223
|
-
*/
|
|
6224
|
-
requestBody?: Schema$BlueGreenDeployment;
|
|
6225
|
-
}
|
|
6226
|
-
export interface Params$Resource$Bluegreendeployments$Delete extends StandardParameters {
|
|
6227
|
-
/**
|
|
6228
|
-
* Optional. If set to true, and the switchover is complete, this deletes the old source instance along with the deployment.
|
|
6229
|
-
*/
|
|
6230
|
-
deleteOldSource?: boolean;
|
|
6231
|
-
/**
|
|
6232
|
-
* Required. The name of the blue-green deployment to delete. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
|
|
6233
|
-
*/
|
|
6234
|
-
name?: string;
|
|
6235
|
-
}
|
|
6236
|
-
export interface Params$Resource$Bluegreendeployments$Get extends StandardParameters {
|
|
6237
|
-
/**
|
|
6238
|
-
* Required. The name of the blue-green deployment to retrieve. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
|
|
6239
|
-
*/
|
|
6240
|
-
name?: string;
|
|
6241
|
-
/**
|
|
6242
|
-
* Optional. Specifies whether to return the basic or detailed view of the resource in the response.
|
|
6243
|
-
*/
|
|
6244
|
-
view?: string;
|
|
6245
|
-
}
|
|
6246
|
-
export interface Params$Resource$Bluegreendeployments$List extends StandardParameters {
|
|
6247
|
-
/**
|
|
6248
|
-
* Optional. A filter expression that filters the results.
|
|
6249
|
-
*/
|
|
6250
|
-
filter?: string;
|
|
6251
|
-
/**
|
|
6252
|
-
* Optional. A comma-separated list of fields to order the results by.
|
|
6253
|
-
*/
|
|
6254
|
-
orderBy?: string;
|
|
6255
|
-
/**
|
|
6256
|
-
* Optional. The maximum number of deployments to return.
|
|
6257
|
-
*/
|
|
6258
|
-
pageSize?: number;
|
|
6259
|
-
/**
|
|
6260
|
-
* Optional. A page token, received from a previous `ListBlueGreenDeployments` call. Provide this to retrieve the subsequent page.
|
|
6261
|
-
*/
|
|
6262
|
-
pageToken?: string;
|
|
6263
|
-
/**
|
|
6264
|
-
* Required. The parent resource whose blue-green deployments are to be listed. Format: projects/{project\}/locations/{location\}
|
|
6265
|
-
*/
|
|
6266
|
-
parent?: string;
|
|
6267
|
-
}
|
|
6268
|
-
export interface Params$Resource$Bluegreendeployments$Switchover extends StandardParameters {
|
|
6269
|
-
/**
|
|
6270
|
-
* Required. The name of the blue-green deployment to switch over. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
|
|
6271
|
-
*/
|
|
6272
|
-
name?: string;
|
|
6273
|
-
|
|
6274
|
-
/**
|
|
6275
|
-
* Request body metadata
|
|
6276
|
-
*/
|
|
6277
|
-
requestBody?: Schema$SwitchoverBlueGreenDeploymentRequest;
|
|
6278
|
-
}
|
|
6279
|
-
|
|
6280
|
-
export class Resource$Connect {
|
|
6281
|
-
context: APIRequestContext;
|
|
6282
|
-
constructor(context: APIRequestContext) {
|
|
6283
|
-
this.context = context;
|
|
6284
|
-
}
|
|
6285
|
-
|
|
6286
|
-
/**
|
|
6287
|
-
* Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.
|
|
6288
|
-
* @example
|
|
6289
|
-
* ```js
|
|
6290
|
-
* // Before running the sample:
|
|
6291
|
-
* // - Enable the API at:
|
|
6292
|
-
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
6293
|
-
* // - Login into gcloud by running:
|
|
6294
|
-
* // ```sh
|
|
6295
|
-
* // $ gcloud auth application-default login
|
|
6296
|
-
* // ```
|
|
6297
|
-
* // - Install the npm module by running:
|
|
6298
|
-
* // ```sh
|
|
6299
|
-
* // $ npm install googleapis
|
|
6300
|
-
* // ```
|
|
6301
|
-
*
|
|
6302
|
-
* const {google} = require('googleapis');
|
|
6303
|
-
* const sqladmin = google.sqladmin('v1beta4');
|
|
6304
|
-
*
|
|
6305
|
-
* async function main() {
|
|
6306
|
-
* const auth = new google.auth.GoogleAuth({
|
|
6307
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
6308
|
-
* scopes: [
|
|
6309
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
6310
|
-
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
6311
|
-
* ],
|
|
6312
|
-
* });
|
|
6313
|
-
*
|
|
6314
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
6315
|
-
* const authClient = await auth.getClient();
|
|
6316
|
-
* google.options({auth: authClient});
|
|
6317
|
-
*
|
|
6318
|
-
* // Do the magic
|
|
6319
|
-
* const res = await sql.connect.generateEphemeral({
|
|
6320
|
-
* // Cloud SQL instance ID. This does not include the project ID.
|
|
6321
|
-
* instance: 'placeholder-value',
|
|
6322
|
-
* // Project ID of the project that contains the instance.
|
|
6323
|
-
* project: 'placeholder-value',
|
|
6324
|
-
*
|
|
6325
|
-
* // Request body metadata
|
|
6326
|
-
* requestBody: {
|
|
6327
|
-
* // request body parameters
|
|
6328
|
-
* // {
|
|
6329
|
-
* // "access_token": "my_access_token",
|
|
6330
|
-
* // "public_key": "my_public_key",
|
|
6331
|
-
* // "readTime": "my_readTime",
|
|
6332
|
-
* // "validDuration": "my_validDuration"
|
|
6333
|
-
* // }
|
|
6334
|
-
* },
|
|
6335
|
-
* });
|
|
6336
|
-
* console.log(res.data);
|
|
6337
|
-
*
|
|
6338
|
-
* // Example response
|
|
6339
|
-
* // {
|
|
6340
|
-
* // "ephemeralCert": {}
|
|
6341
|
-
* // }
|
|
6342
|
-
* }
|
|
6343
|
-
*
|
|
6344
|
-
* main().catch(e => {
|
|
6345
|
-
* console.error(e);
|
|
6346
|
-
* throw e;
|
|
6347
|
-
* });
|
|
6348
|
-
*
|
|
6349
|
-
* ```
|
|
6350
|
-
*
|
|
6351
|
-
* @param params - Parameters for request
|
|
6352
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6353
|
-
* @param callback - Optional callback that handles the response.
|
|
6354
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6355
|
-
*/
|
|
6356
|
-
generateEphemeralCert(
|
|
6357
|
-
params: Params$Resource$Connect$Generateephemeralcert,
|
|
6358
|
-
options: StreamMethodOptions
|
|
6359
|
-
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6360
|
-
generateEphemeralCert(
|
|
6361
|
-
params?: Params$Resource$Connect$Generateephemeralcert,
|
|
6362
|
-
options?: MethodOptions
|
|
6363
|
-
): Promise<GaxiosResponseWithHTTP2<Schema$GenerateEphemeralCertResponse>>;
|
|
6364
|
-
generateEphemeralCert(
|
|
6365
|
-
params: Params$Resource$Connect$Generateephemeralcert,
|
|
6366
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
6367
|
-
callback: BodyResponseCallback<Readable>
|
|
6368
|
-
): void;
|
|
6369
|
-
generateEphemeralCert(
|
|
6370
|
-
params: Params$Resource$Connect$Generateephemeralcert,
|
|
6371
|
-
options:
|
|
6372
|
-
| MethodOptions
|
|
6373
|
-
| BodyResponseCallback<Schema$GenerateEphemeralCertResponse>,
|
|
6374
|
-
callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
6375
|
-
): void;
|
|
6376
|
-
generateEphemeralCert(
|
|
6377
|
-
params: Params$Resource$Connect$Generateephemeralcert,
|
|
6378
|
-
callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
6379
|
-
): void;
|
|
6380
|
-
generateEphemeralCert(
|
|
6381
|
-
callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
6382
|
-
): void;
|
|
6383
|
-
generateEphemeralCert(
|
|
6384
|
-
paramsOrCallback?:
|
|
6385
|
-
| Params$Resource$Connect$Generateephemeralcert
|
|
6386
|
-
| BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
6387
|
-
| BodyResponseCallback<Readable>,
|
|
6388
|
-
optionsOrCallback?:
|
|
6389
|
-
| MethodOptions
|
|
6390
|
-
| StreamMethodOptions
|
|
6391
|
-
| BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
6392
|
-
| BodyResponseCallback<Readable>,
|
|
6393
|
-
callback?:
|
|
6394
|
-
| BodyResponseCallback<Schema$GenerateEphemeralCertResponse>
|
|
6395
|
-
| BodyResponseCallback<Readable>
|
|
6396
|
-
):
|
|
6397
|
-
| void
|
|
6398
|
-
| Promise<GaxiosResponseWithHTTP2<Schema$GenerateEphemeralCertResponse>>
|
|
6399
|
-
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6400
|
-
let params = (paramsOrCallback ||
|
|
6401
|
-
{}) as Params$Resource$Connect$Generateephemeralcert;
|
|
6402
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
6403
|
-
|
|
6404
|
-
if (typeof paramsOrCallback === 'function') {
|
|
6405
|
-
callback = paramsOrCallback;
|
|
6406
|
-
params = {} as Params$Resource$Connect$Generateephemeralcert;
|
|
6407
|
-
options = {};
|
|
6408
|
-
}
|
|
6409
|
-
|
|
6410
|
-
if (typeof optionsOrCallback === 'function') {
|
|
6411
|
-
callback = optionsOrCallback;
|
|
6412
|
-
options = {};
|
|
6413
|
-
}
|
|
6414
|
-
|
|
6415
|
-
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
|
6416
|
-
const parameters = {
|
|
6417
|
-
options: Object.assign(
|
|
6418
|
-
{
|
|
6419
|
-
url: (
|
|
6420
|
-
rootUrl +
|
|
6421
|
-
'/sql/v1beta4/projects/{project}/instances/{instance}:generateEphemeralCert'
|
|
6422
|
-
).replace(/([^:]\/)\/+/g, '$1'),
|
|
6423
|
-
method: 'POST',
|
|
6424
|
-
apiVersion: '',
|
|
6425
|
-
},
|
|
6426
|
-
options
|
|
6427
|
-
),
|
|
6428
|
-
params,
|
|
6429
|
-
requiredParams: ['project', 'instance'],
|
|
6430
|
-
pathParams: ['instance', 'project'],
|
|
6431
|
-
context: this.context,
|
|
6432
|
-
};
|
|
6433
|
-
if (callback) {
|
|
6434
|
-
createAPIRequest<Schema$GenerateEphemeralCertResponse>(
|
|
6435
|
-
parameters,
|
|
6436
|
-
callback as BodyResponseCallback<unknown>
|
|
6437
|
-
);
|
|
6438
|
-
} else {
|
|
6439
|
-
return createAPIRequest<Schema$GenerateEphemeralCertResponse>(
|
|
6440
|
-
parameters
|
|
6441
|
-
);
|
|
6442
|
-
}
|
|
6443
|
-
}
|
|
6444
|
-
|
|
6445
|
-
/**
|
|
6446
|
-
* Retrieves connect settings about a Cloud SQL instance.
|
|
6447
|
-
* @example
|
|
6448
|
-
* ```js
|
|
6449
|
-
* // Before running the sample:
|
|
6450
|
-
* // - Enable the API at:
|
|
6451
|
-
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
6452
|
-
* // - Login into gcloud by running:
|
|
6453
|
-
* // ```sh
|
|
6454
|
-
* // $ gcloud auth application-default login
|
|
6455
|
-
* // ```
|
|
6456
|
-
* // - Install the npm module by running:
|
|
6457
|
-
* // ```sh
|
|
6458
|
-
* // $ npm install googleapis
|
|
6459
|
-
* // ```
|
|
6460
|
-
*
|
|
6461
|
-
* const {google} = require('googleapis');
|
|
6462
|
-
* const sqladmin = google.sqladmin('v1beta4');
|
|
6463
|
-
*
|
|
6464
|
-
* async function main() {
|
|
6465
|
-
* const auth = new google.auth.GoogleAuth({
|
|
6466
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
6467
|
-
* scopes: [
|
|
6468
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
6469
|
-
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
6470
|
-
* ],
|
|
6471
|
-
* });
|
|
6472
|
-
*
|
|
6473
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
6474
|
-
* const authClient = await auth.getClient();
|
|
6475
|
-
* google.options({auth: authClient});
|
|
6476
|
-
*
|
|
6477
|
-
* // Do the magic
|
|
6478
|
-
* const res = await sql.connect.get({
|
|
6479
|
-
* // Cloud SQL instance ID. This does not include the project ID.
|
|
6480
|
-
* instance: 'placeholder-value',
|
|
6481
|
-
* // Project ID of the project that contains the instance.
|
|
6482
|
-
* project: 'placeholder-value',
|
|
6483
|
-
* // Optional. Optional snapshot read timestamp to trade freshness for performance.
|
|
6484
|
-
* readTime: 'placeholder-value',
|
|
5332
|
+
* const res = await sql.connect.get({
|
|
5333
|
+
* // Cloud SQL instance ID. This does not include the project ID.
|
|
5334
|
+
* instance: 'placeholder-value',
|
|
5335
|
+
* // Project ID of the project that contains the instance.
|
|
5336
|
+
* project: 'placeholder-value',
|
|
5337
|
+
* // Optional. Optional snapshot read timestamp to trade freshness for performance.
|
|
5338
|
+
* readTime: 'placeholder-value',
|
|
6485
5339
|
* });
|
|
6486
5340
|
* console.log(res.data);
|
|
6487
5341
|
*
|
|
@@ -6839,8 +5693,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
6839
5693
|
* database: 'placeholder-value',
|
|
6840
5694
|
* // Database instance ID. This does not include the project ID.
|
|
6841
5695
|
* instance: 'placeholder-value',
|
|
6842
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6843
|
-
* location: 'placeholder-value',
|
|
6844
5696
|
* // Project ID of the project that contains the instance.
|
|
6845
5697
|
* project: 'placeholder-value',
|
|
6846
5698
|
* });
|
|
@@ -7002,8 +5854,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7002
5854
|
* database: 'placeholder-value',
|
|
7003
5855
|
* // Database instance ID. This does not include the project ID.
|
|
7004
5856
|
* instance: 'placeholder-value',
|
|
7005
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7006
|
-
* location: 'placeholder-value',
|
|
7007
5857
|
* // Project ID of the project that contains the instance.
|
|
7008
5858
|
* project: 'placeholder-value',
|
|
7009
5859
|
* });
|
|
@@ -7152,8 +6002,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7152
6002
|
* const res = await sql.databases.insert({
|
|
7153
6003
|
* // Database instance ID. This does not include the project ID.
|
|
7154
6004
|
* instance: 'placeholder-value',
|
|
7155
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7156
|
-
* location: 'placeholder-value',
|
|
7157
6005
|
* // Project ID of the project that contains the instance.
|
|
7158
6006
|
* project: 'placeholder-value',
|
|
7159
6007
|
*
|
|
@@ -7329,8 +6177,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7329
6177
|
* const res = await sql.databases.list({
|
|
7330
6178
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
7331
6179
|
* instance: 'placeholder-value',
|
|
7332
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7333
|
-
* location: 'placeholder-value',
|
|
7334
6180
|
* // Project ID of the project that contains the instance.
|
|
7335
6181
|
* project: 'placeholder-value',
|
|
7336
6182
|
* });
|
|
@@ -7476,8 +6322,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7476
6322
|
* database: 'placeholder-value',
|
|
7477
6323
|
* // Database instance ID. This does not include the project ID.
|
|
7478
6324
|
* instance: 'placeholder-value',
|
|
7479
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7480
|
-
* location: 'placeholder-value',
|
|
7481
6325
|
* // Project ID of the project that contains the instance.
|
|
7482
6326
|
* project: 'placeholder-value',
|
|
7483
6327
|
*
|
|
@@ -7655,8 +6499,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7655
6499
|
* database: 'placeholder-value',
|
|
7656
6500
|
* // Database instance ID. This does not include the project ID.
|
|
7657
6501
|
* instance: 'placeholder-value',
|
|
7658
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7659
|
-
* location: 'placeholder-value',
|
|
7660
6502
|
* // Project ID of the project that contains the instance.
|
|
7661
6503
|
* project: 'placeholder-value',
|
|
7662
6504
|
*
|
|
@@ -7806,10 +6648,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7806
6648
|
* Database instance ID. This does not include the project ID.
|
|
7807
6649
|
*/
|
|
7808
6650
|
instance?: string;
|
|
7809
|
-
/**
|
|
7810
|
-
* Optional. Region of the Cloud SQL instance.
|
|
7811
|
-
*/
|
|
7812
|
-
location?: string;
|
|
7813
6651
|
/**
|
|
7814
6652
|
* Project ID of the project that contains the instance.
|
|
7815
6653
|
*/
|
|
@@ -7824,10 +6662,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7824
6662
|
* Database instance ID. This does not include the project ID.
|
|
7825
6663
|
*/
|
|
7826
6664
|
instance?: string;
|
|
7827
|
-
/**
|
|
7828
|
-
* Optional. Region of the Cloud SQL instance.
|
|
7829
|
-
*/
|
|
7830
|
-
location?: string;
|
|
7831
6665
|
/**
|
|
7832
6666
|
* Project ID of the project that contains the instance.
|
|
7833
6667
|
*/
|
|
@@ -7838,10 +6672,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7838
6672
|
* Database instance ID. This does not include the project ID.
|
|
7839
6673
|
*/
|
|
7840
6674
|
instance?: string;
|
|
7841
|
-
/**
|
|
7842
|
-
* Optional. Region of the Cloud SQL instance.
|
|
7843
|
-
*/
|
|
7844
|
-
location?: string;
|
|
7845
6675
|
/**
|
|
7846
6676
|
* Project ID of the project that contains the instance.
|
|
7847
6677
|
*/
|
|
@@ -7857,10 +6687,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7857
6687
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
7858
6688
|
*/
|
|
7859
6689
|
instance?: string;
|
|
7860
|
-
/**
|
|
7861
|
-
* Optional. Region of the Cloud SQL instance.
|
|
7862
|
-
*/
|
|
7863
|
-
location?: string;
|
|
7864
6690
|
/**
|
|
7865
6691
|
* Project ID of the project that contains the instance.
|
|
7866
6692
|
*/
|
|
@@ -7875,10 +6701,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7875
6701
|
* Database instance ID. This does not include the project ID.
|
|
7876
6702
|
*/
|
|
7877
6703
|
instance?: string;
|
|
7878
|
-
/**
|
|
7879
|
-
* Optional. Region of the Cloud SQL instance.
|
|
7880
|
-
*/
|
|
7881
|
-
location?: string;
|
|
7882
6704
|
/**
|
|
7883
6705
|
* Project ID of the project that contains the instance.
|
|
7884
6706
|
*/
|
|
@@ -7898,10 +6720,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
7898
6720
|
* Database instance ID. This does not include the project ID.
|
|
7899
6721
|
*/
|
|
7900
6722
|
instance?: string;
|
|
7901
|
-
/**
|
|
7902
|
-
* Optional. Region of the Cloud SQL instance.
|
|
7903
|
-
*/
|
|
7904
|
-
location?: string;
|
|
7905
6723
|
/**
|
|
7906
6724
|
* Project ID of the project that contains the instance.
|
|
7907
6725
|
*/
|
|
@@ -8112,8 +6930,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
8112
6930
|
* const res = await sql.instances.acquireSsrsLease({
|
|
8113
6931
|
* // Required. Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).
|
|
8114
6932
|
* instance: 'placeholder-value',
|
|
8115
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8116
|
-
* location: 'placeholder-value',
|
|
8117
6933
|
* // Required. ID of the project that contains the instance (Example: project-id).
|
|
8118
6934
|
* project: 'placeholder-value',
|
|
8119
6935
|
*
|
|
@@ -8274,8 +7090,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
8274
7090
|
* const res = await sql.instances.addEntraIdCertificate({
|
|
8275
7091
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
8276
7092
|
* instance: 'placeholder-value',
|
|
8277
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8278
|
-
* location: 'placeholder-value',
|
|
8279
7093
|
* // Required. Project ID of the project that contains the instance.
|
|
8280
7094
|
* project: 'placeholder-value',
|
|
8281
7095
|
* });
|
|
@@ -8438,8 +7252,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
8438
7252
|
* const res = await sql.instances.addServerCa({
|
|
8439
7253
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
8440
7254
|
* instance: 'placeholder-value',
|
|
8441
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8442
|
-
* location: 'placeholder-value',
|
|
8443
7255
|
* // Project ID of the project that contains the instance.
|
|
8444
7256
|
* project: 'placeholder-value',
|
|
8445
7257
|
* });
|
|
@@ -8600,8 +7412,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
8600
7412
|
* const res = await sql.instances.addServerCertificate({
|
|
8601
7413
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
8602
7414
|
* instance: 'placeholder-value',
|
|
8603
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8604
|
-
* location: 'placeholder-value',
|
|
8605
7415
|
* // Required. Project ID of the project that contains the instance.
|
|
8606
7416
|
* project: 'placeholder-value',
|
|
8607
7417
|
* });
|
|
@@ -8764,8 +7574,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
8764
7574
|
* const res = await sql.instances.clone({
|
|
8765
7575
|
* // The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
|
|
8766
7576
|
* instance: 'placeholder-value',
|
|
8767
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8768
|
-
* location: 'placeholder-value',
|
|
8769
7577
|
* // Project ID of the source Cloud SQL instance.
|
|
8770
7578
|
* project: 'placeholder-value',
|
|
8771
7579
|
*
|
|
@@ -8941,8 +7749,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
8941
7749
|
* finalBackupTtlDays: 'placeholder-value',
|
|
8942
7750
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
8943
7751
|
* instance: 'placeholder-value',
|
|
8944
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8945
|
-
* location: 'placeholder-value',
|
|
8946
7752
|
* // Project ID of the project that contains the instance to be deleted.
|
|
8947
7753
|
* project: 'placeholder-value',
|
|
8948
7754
|
* });
|
|
@@ -9100,9 +7906,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
9100
7906
|
* // Do the magic
|
|
9101
7907
|
* const res = await sql.instances.demote({
|
|
9102
7908
|
* // Required. The name of the Cloud SQL instance.
|
|
9103
|
-
* instance: 'placeholder-value',
|
|
9104
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
9105
|
-
* location: 'placeholder-value',
|
|
7909
|
+
* instance: 'placeholder-value',
|
|
9106
7910
|
* // Required. The project ID of the project that contains the instance.
|
|
9107
7911
|
* project: 'placeholder-value',
|
|
9108
7912
|
*
|
|
@@ -9270,8 +8074,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
9270
8074
|
* const res = await sql.instances.demoteMaster({
|
|
9271
8075
|
* // Cloud SQL instance name.
|
|
9272
8076
|
* instance: 'placeholder-value',
|
|
9273
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
9274
|
-
* location: 'placeholder-value',
|
|
9275
8077
|
* // ID of the project that contains the instance.
|
|
9276
8078
|
* project: 'placeholder-value',
|
|
9277
8079
|
*
|
|
@@ -9440,8 +8242,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
9440
8242
|
* const res = await sql.instances.executeSql({
|
|
9441
8243
|
* // Required. Database instance ID. This does not include the project ID.
|
|
9442
8244
|
* instance: 'placeholder-value',
|
|
9443
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
9444
|
-
* location: 'placeholder-value',
|
|
9445
8245
|
* // Required. Project ID of the project that contains the instance.
|
|
9446
8246
|
* project: 'placeholder-value',
|
|
9447
8247
|
*
|
|
@@ -9605,8 +8405,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
9605
8405
|
* const res = await sql.instances.export({
|
|
9606
8406
|
* // The Cloud SQL instance ID. This doesn't include the project ID.
|
|
9607
8407
|
* instance: 'placeholder-value',
|
|
9608
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
9609
|
-
* location: 'placeholder-value',
|
|
9610
8408
|
* // Project ID of the project that contains the instance to be exported.
|
|
9611
8409
|
* project: 'placeholder-value',
|
|
9612
8410
|
*
|
|
@@ -9774,8 +8572,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
9774
8572
|
* const res = await sql.instances.failover({
|
|
9775
8573
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
9776
8574
|
* instance: 'placeholder-value',
|
|
9777
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
9778
|
-
* location: 'placeholder-value',
|
|
9779
8575
|
* // ID of the project that contains the read replica.
|
|
9780
8576
|
* project: 'placeholder-value',
|
|
9781
8577
|
*
|
|
@@ -9944,8 +8740,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
9944
8740
|
* const res = await sql.instances.get({
|
|
9945
8741
|
* // Database instance ID. This does not include the project ID.
|
|
9946
8742
|
* instance: 'placeholder-value',
|
|
9947
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
9948
|
-
* location: 'placeholder-value',
|
|
9949
8743
|
* // Project ID of the project that contains the instance.
|
|
9950
8744
|
* project: 'placeholder-value',
|
|
9951
8745
|
* });
|
|
@@ -9961,7 +8755,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
9961
8755
|
* // "databaseCenterIntegrationEnabled": false,
|
|
9962
8756
|
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
9963
8757
|
* // "databaseVersion": "my_databaseVersion",
|
|
9964
|
-
* // "deploymentInfo": {},
|
|
9965
8758
|
* // "diskEncryptionConfiguration": {},
|
|
9966
8759
|
* // "diskEncryptionStatus": {},
|
|
9967
8760
|
* // "dnsName": "my_dnsName",
|
|
@@ -10135,8 +8928,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
10135
8928
|
* const res = await sql.instances.import({
|
|
10136
8929
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
10137
8930
|
* instance: 'placeholder-value',
|
|
10138
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
10139
|
-
* location: 'placeholder-value',
|
|
10140
8931
|
* // Project ID of the project that contains the instance.
|
|
10141
8932
|
* project: 'placeholder-value',
|
|
10142
8933
|
*
|
|
@@ -10302,8 +9093,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
10302
9093
|
*
|
|
10303
9094
|
* // Do the magic
|
|
10304
9095
|
* const res = await sql.instances.insert({
|
|
10305
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
10306
|
-
* location: 'placeholder-value',
|
|
10307
9096
|
* // Project ID of the project to which the newly created Cloud SQL instances should belong.
|
|
10308
9097
|
* project: 'placeholder-value',
|
|
10309
9098
|
*
|
|
@@ -10319,7 +9108,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
10319
9108
|
* // "databaseCenterIntegrationEnabled": false,
|
|
10320
9109
|
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
10321
9110
|
* // "databaseVersion": "my_databaseVersion",
|
|
10322
|
-
* // "deploymentInfo": {},
|
|
10323
9111
|
* // "diskEncryptionConfiguration": {},
|
|
10324
9112
|
* // "diskEncryptionStatus": {},
|
|
10325
9113
|
* // "dnsName": "my_dnsName",
|
|
@@ -10522,8 +9310,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
10522
9310
|
* const res = await sql.instances.list({
|
|
10523
9311
|
* // A filter expression that filters resources listed in the response. The expression is in the form of field:value. For example, 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON representation, such as 'settings.userLabels.auto_start:true'. Multiple filter queries are space-separated. For example. 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.
|
|
10524
9312
|
* filter: 'placeholder-value',
|
|
10525
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
10526
|
-
* location: 'placeholder-value',
|
|
10527
9313
|
* // The maximum number of instances to return. The service may return fewer than this value. If unspecified, at most 500 instances are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
|
|
10528
9314
|
* maxResults: 'placeholder-value',
|
|
10529
9315
|
* // A previously-returned page token representing part of the larger set of results to view.
|
|
@@ -10672,8 +9458,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
10672
9458
|
* const res = await sql.instances.ListEntraIdCertificates({
|
|
10673
9459
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
10674
9460
|
* instance: 'placeholder-value',
|
|
10675
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
10676
|
-
* location: 'placeholder-value',
|
|
10677
9461
|
* // Required. Project ID of the project that contains the instance.
|
|
10678
9462
|
* project: 'placeholder-value',
|
|
10679
9463
|
* });
|
|
@@ -10828,8 +9612,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
10828
9612
|
* const res = await sql.instances.listServerCas({
|
|
10829
9613
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
10830
9614
|
* instance: 'placeholder-value',
|
|
10831
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
10832
|
-
* location: 'placeholder-value',
|
|
10833
9615
|
* // Project ID of the project that contains the instance.
|
|
10834
9616
|
* project: 'placeholder-value',
|
|
10835
9617
|
* });
|
|
@@ -10980,8 +9762,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
10980
9762
|
* const res = await sql.instances.ListServerCertificates({
|
|
10981
9763
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
10982
9764
|
* instance: 'placeholder-value',
|
|
10983
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
10984
|
-
* location: 'placeholder-value',
|
|
10985
9765
|
* // Required. Project ID of the project that contains the instance.
|
|
10986
9766
|
* project: 'placeholder-value',
|
|
10987
9767
|
* });
|
|
@@ -11137,8 +9917,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
11137
9917
|
* const res = await sql.instances.patch({
|
|
11138
9918
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
11139
9919
|
* instance: 'placeholder-value',
|
|
11140
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
11141
|
-
* location: 'placeholder-value',
|
|
11142
9920
|
* // Project ID of the project that contains the instance.
|
|
11143
9921
|
* project: 'placeholder-value',
|
|
11144
9922
|
* // Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
|
|
@@ -11158,7 +9936,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
11158
9936
|
* // "databaseCenterIntegrationEnabled": false,
|
|
11159
9937
|
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
11160
9938
|
* // "databaseVersion": "my_databaseVersion",
|
|
11161
|
-
* // "deploymentInfo": {},
|
|
11162
9939
|
* // "diskEncryptionConfiguration": {},
|
|
11163
9940
|
* // "diskEncryptionStatus": {},
|
|
11164
9941
|
* // "dnsName": "my_dnsName",
|
|
@@ -11535,8 +10312,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
11535
10312
|
* const res = await sql.instances.preCheckMajorVersionUpgrade({
|
|
11536
10313
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
11537
10314
|
* instance: 'placeholder-value',
|
|
11538
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
11539
|
-
* location: 'placeholder-value',
|
|
11540
10315
|
* // Required. Project ID of the project that contains the instance.
|
|
11541
10316
|
* project: 'placeholder-value',
|
|
11542
10317
|
*
|
|
@@ -11709,8 +10484,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
11709
10484
|
* failover: 'placeholder-value',
|
|
11710
10485
|
* // Cloud SQL read replica instance name.
|
|
11711
10486
|
* instance: 'placeholder-value',
|
|
11712
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
11713
|
-
* location: 'placeholder-value',
|
|
11714
10487
|
* // ID of the project that contains the read replica.
|
|
11715
10488
|
* project: 'placeholder-value',
|
|
11716
10489
|
* });
|
|
@@ -11871,8 +10644,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
11871
10644
|
* const res = await sql.instances.reencrypt({
|
|
11872
10645
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
11873
10646
|
* instance: 'placeholder-value',
|
|
11874
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
11875
|
-
* location: 'placeholder-value',
|
|
11876
10647
|
* // ID of the project that contains the instance.
|
|
11877
10648
|
* project: 'placeholder-value',
|
|
11878
10649
|
*
|
|
@@ -12041,8 +10812,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
12041
10812
|
* const res = await sql.instances.releaseSsrsLease({
|
|
12042
10813
|
* // Required. The Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).
|
|
12043
10814
|
* instance: 'placeholder-value',
|
|
12044
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
12045
|
-
* location: 'placeholder-value',
|
|
12046
10815
|
* // Required. The ID of the project that contains the instance (Example: project-id).
|
|
12047
10816
|
* project: 'placeholder-value',
|
|
12048
10817
|
* });
|
|
@@ -12195,8 +10964,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
12195
10964
|
* const res = await sql.instances.resetSslConfig({
|
|
12196
10965
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
12197
10966
|
* instance: 'placeholder-value',
|
|
12198
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
12199
|
-
* location: 'placeholder-value',
|
|
12200
10967
|
* // Optional. Reset SSL mode to use.
|
|
12201
10968
|
* mode: 'placeholder-value',
|
|
12202
10969
|
* // Project ID of the project that contains the instance.
|
|
@@ -12359,8 +11126,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
12359
11126
|
* const res = await sql.instances.restart({
|
|
12360
11127
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
12361
11128
|
* instance: 'placeholder-value',
|
|
12362
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
12363
|
-
* location: 'placeholder-value',
|
|
12364
11129
|
* // Project ID of the project that contains the instance to be restarted.
|
|
12365
11130
|
* project: 'placeholder-value',
|
|
12366
11131
|
* });
|
|
@@ -12521,8 +11286,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
12521
11286
|
* const res = await sql.instances.restoreBackup({
|
|
12522
11287
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
12523
11288
|
* instance: 'placeholder-value',
|
|
12524
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
12525
|
-
* location: 'placeholder-value',
|
|
12526
11289
|
* // Project ID of the project that contains the instance.
|
|
12527
11290
|
* project: 'placeholder-value',
|
|
12528
11291
|
*
|
|
@@ -12532,7 +11295,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
12532
11295
|
* // {
|
|
12533
11296
|
* // "backup": "my_backup",
|
|
12534
11297
|
* // "backupdrBackup": "my_backupdrBackup",
|
|
12535
|
-
* // "ignoreMaintenanceVersion": false,
|
|
12536
11298
|
* // "restoreBackupContext": {},
|
|
12537
11299
|
* // "restoreInstanceClearOverridesFieldNames": [],
|
|
12538
11300
|
* // "restoreInstanceSettings": {}
|
|
@@ -12696,8 +11458,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
12696
11458
|
* const res = await sql.instances.RotateEntraIdCertificate({
|
|
12697
11459
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12698
11460
|
* instance: 'placeholder-value',
|
|
12699
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
12700
|
-
* location: 'placeholder-value',
|
|
12701
11461
|
* // Required. Project ID of the project that contains the instance.
|
|
12702
11462
|
* project: 'placeholder-value',
|
|
12703
11463
|
*
|
|
@@ -12868,8 +11628,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
12868
11628
|
* const res = await sql.instances.rotateServerCa({
|
|
12869
11629
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
12870
11630
|
* instance: 'placeholder-value',
|
|
12871
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
12872
|
-
* location: 'placeholder-value',
|
|
12873
11631
|
* // Project ID of the project that contains the instance.
|
|
12874
11632
|
* project: 'placeholder-value',
|
|
12875
11633
|
*
|
|
@@ -13038,8 +11796,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
13038
11796
|
* const res = await sql.instances.RotateServerCertificate({
|
|
13039
11797
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
13040
11798
|
* instance: 'placeholder-value',
|
|
13041
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
13042
|
-
* location: 'placeholder-value',
|
|
13043
11799
|
* // Required. Project ID of the project that contains the instance.
|
|
13044
11800
|
* project: 'placeholder-value',
|
|
13045
11801
|
*
|
|
@@ -13210,8 +11966,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
13210
11966
|
* const res = await sql.instances.startReplica({
|
|
13211
11967
|
* // Cloud SQL read replica instance name.
|
|
13212
11968
|
* instance: 'placeholder-value',
|
|
13213
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
13214
|
-
* location: 'placeholder-value',
|
|
13215
11969
|
* // ID of the project that contains the read replica.
|
|
13216
11970
|
* project: 'placeholder-value',
|
|
13217
11971
|
* });
|
|
@@ -13372,8 +12126,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
13372
12126
|
* const res = await sql.instances.stopReplica({
|
|
13373
12127
|
* // Cloud SQL read replica instance name.
|
|
13374
12128
|
* instance: 'placeholder-value',
|
|
13375
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
13376
|
-
* location: 'placeholder-value',
|
|
13377
12129
|
* // ID of the project that contains the read replica.
|
|
13378
12130
|
* project: 'placeholder-value',
|
|
13379
12131
|
* });
|
|
@@ -13536,8 +12288,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
13536
12288
|
* dbTimeout: 'placeholder-value',
|
|
13537
12289
|
* // Cloud SQL read replica instance name.
|
|
13538
12290
|
* instance: 'placeholder-value',
|
|
13539
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
13540
|
-
* location: 'placeholder-value',
|
|
13541
12291
|
* // ID of the project that contains the replica.
|
|
13542
12292
|
* project: 'placeholder-value',
|
|
13543
12293
|
* });
|
|
@@ -13698,8 +12448,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
13698
12448
|
* const res = await sql.instances.truncateLog({
|
|
13699
12449
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
13700
12450
|
* instance: 'placeholder-value',
|
|
13701
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
13702
|
-
* location: 'placeholder-value',
|
|
13703
12451
|
* // Project ID of the Cloud SQL project.
|
|
13704
12452
|
* project: 'placeholder-value',
|
|
13705
12453
|
*
|
|
@@ -13868,8 +12616,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
13868
12616
|
* const res = await sql.instances.update({
|
|
13869
12617
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
13870
12618
|
* instance: 'placeholder-value',
|
|
13871
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
13872
|
-
* location: 'placeholder-value',
|
|
13873
12619
|
* // Project ID of the project that contains the instance.
|
|
13874
12620
|
* project: 'placeholder-value',
|
|
13875
12621
|
*
|
|
@@ -13885,7 +12631,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
13885
12631
|
* // "databaseCenterIntegrationEnabled": false,
|
|
13886
12632
|
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
13887
12633
|
* // "databaseVersion": "my_databaseVersion",
|
|
13888
|
-
* // "deploymentInfo": {},
|
|
13889
12634
|
* // "diskEncryptionConfiguration": {},
|
|
13890
12635
|
* // "diskEncryptionStatus": {},
|
|
13891
12636
|
* // "dnsName": "my_dnsName",
|
|
@@ -14058,10 +12803,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14058
12803
|
* Required. Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).
|
|
14059
12804
|
*/
|
|
14060
12805
|
instance?: string;
|
|
14061
|
-
/**
|
|
14062
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14063
|
-
*/
|
|
14064
|
-
location?: string;
|
|
14065
12806
|
/**
|
|
14066
12807
|
* Required. ID of the project that contains the instance (Example: project-id).
|
|
14067
12808
|
*/
|
|
@@ -14077,10 +12818,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14077
12818
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
14078
12819
|
*/
|
|
14079
12820
|
instance?: string;
|
|
14080
|
-
/**
|
|
14081
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14082
|
-
*/
|
|
14083
|
-
location?: string;
|
|
14084
12821
|
/**
|
|
14085
12822
|
* Required. Project ID of the project that contains the instance.
|
|
14086
12823
|
*/
|
|
@@ -14091,10 +12828,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14091
12828
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14092
12829
|
*/
|
|
14093
12830
|
instance?: string;
|
|
14094
|
-
/**
|
|
14095
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14096
|
-
*/
|
|
14097
|
-
location?: string;
|
|
14098
12831
|
/**
|
|
14099
12832
|
* Project ID of the project that contains the instance.
|
|
14100
12833
|
*/
|
|
@@ -14105,10 +12838,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14105
12838
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
14106
12839
|
*/
|
|
14107
12840
|
instance?: string;
|
|
14108
|
-
/**
|
|
14109
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14110
|
-
*/
|
|
14111
|
-
location?: string;
|
|
14112
12841
|
/**
|
|
14113
12842
|
* Required. Project ID of the project that contains the instance.
|
|
14114
12843
|
*/
|
|
@@ -14119,10 +12848,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14119
12848
|
* The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
|
|
14120
12849
|
*/
|
|
14121
12850
|
instance?: string;
|
|
14122
|
-
/**
|
|
14123
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14124
|
-
*/
|
|
14125
|
-
location?: string;
|
|
14126
12851
|
/**
|
|
14127
12852
|
* Project ID of the source Cloud SQL instance.
|
|
14128
12853
|
*/
|
|
@@ -14154,10 +12879,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14154
12879
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14155
12880
|
*/
|
|
14156
12881
|
instance?: string;
|
|
14157
|
-
/**
|
|
14158
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14159
|
-
*/
|
|
14160
|
-
location?: string;
|
|
14161
12882
|
/**
|
|
14162
12883
|
* Project ID of the project that contains the instance to be deleted.
|
|
14163
12884
|
*/
|
|
@@ -14168,10 +12889,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14168
12889
|
* Required. The name of the Cloud SQL instance.
|
|
14169
12890
|
*/
|
|
14170
12891
|
instance?: string;
|
|
14171
|
-
/**
|
|
14172
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14173
|
-
*/
|
|
14174
|
-
location?: string;
|
|
14175
12892
|
/**
|
|
14176
12893
|
* Required. The project ID of the project that contains the instance.
|
|
14177
12894
|
*/
|
|
@@ -14187,10 +12904,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14187
12904
|
* Cloud SQL instance name.
|
|
14188
12905
|
*/
|
|
14189
12906
|
instance?: string;
|
|
14190
|
-
/**
|
|
14191
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14192
|
-
*/
|
|
14193
|
-
location?: string;
|
|
14194
12907
|
/**
|
|
14195
12908
|
* ID of the project that contains the instance.
|
|
14196
12909
|
*/
|
|
@@ -14206,10 +12919,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14206
12919
|
* Required. Database instance ID. This does not include the project ID.
|
|
14207
12920
|
*/
|
|
14208
12921
|
instance?: string;
|
|
14209
|
-
/**
|
|
14210
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14211
|
-
*/
|
|
14212
|
-
location?: string;
|
|
14213
12922
|
/**
|
|
14214
12923
|
* Required. Project ID of the project that contains the instance.
|
|
14215
12924
|
*/
|
|
@@ -14225,10 +12934,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14225
12934
|
* The Cloud SQL instance ID. This doesn't include the project ID.
|
|
14226
12935
|
*/
|
|
14227
12936
|
instance?: string;
|
|
14228
|
-
/**
|
|
14229
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14230
|
-
*/
|
|
14231
|
-
location?: string;
|
|
14232
12937
|
/**
|
|
14233
12938
|
* Project ID of the project that contains the instance to be exported.
|
|
14234
12939
|
*/
|
|
@@ -14244,10 +12949,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14244
12949
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14245
12950
|
*/
|
|
14246
12951
|
instance?: string;
|
|
14247
|
-
/**
|
|
14248
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14249
|
-
*/
|
|
14250
|
-
location?: string;
|
|
14251
12952
|
/**
|
|
14252
12953
|
* ID of the project that contains the read replica.
|
|
14253
12954
|
*/
|
|
@@ -14263,10 +12964,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14263
12964
|
* Database instance ID. This does not include the project ID.
|
|
14264
12965
|
*/
|
|
14265
12966
|
instance?: string;
|
|
14266
|
-
/**
|
|
14267
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14268
|
-
*/
|
|
14269
|
-
location?: string;
|
|
14270
12967
|
/**
|
|
14271
12968
|
* Project ID of the project that contains the instance.
|
|
14272
12969
|
*/
|
|
@@ -14277,10 +12974,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14277
12974
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14278
12975
|
*/
|
|
14279
12976
|
instance?: string;
|
|
14280
|
-
/**
|
|
14281
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14282
|
-
*/
|
|
14283
|
-
location?: string;
|
|
14284
12977
|
/**
|
|
14285
12978
|
* Project ID of the project that contains the instance.
|
|
14286
12979
|
*/
|
|
@@ -14292,10 +12985,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14292
12985
|
requestBody?: Schema$InstancesImportRequest;
|
|
14293
12986
|
}
|
|
14294
12987
|
export interface Params$Resource$Instances$Insert extends StandardParameters {
|
|
14295
|
-
/**
|
|
14296
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14297
|
-
*/
|
|
14298
|
-
location?: string;
|
|
14299
12988
|
/**
|
|
14300
12989
|
* Project ID of the project to which the newly created Cloud SQL instances should belong.
|
|
14301
12990
|
*/
|
|
@@ -14311,10 +13000,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14311
13000
|
* A filter expression that filters resources listed in the response. The expression is in the form of field:value. For example, 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON representation, such as 'settings.userLabels.auto_start:true'. Multiple filter queries are space-separated. For example. 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.
|
|
14312
13001
|
*/
|
|
14313
13002
|
filter?: string;
|
|
14314
|
-
/**
|
|
14315
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14316
|
-
*/
|
|
14317
|
-
location?: string;
|
|
14318
13003
|
/**
|
|
14319
13004
|
* The maximum number of instances to return. The service may return fewer than this value. If unspecified, at most 500 instances are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
|
|
14320
13005
|
*/
|
|
@@ -14333,10 +13018,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14333
13018
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
14334
13019
|
*/
|
|
14335
13020
|
instance?: string;
|
|
14336
|
-
/**
|
|
14337
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14338
|
-
*/
|
|
14339
|
-
location?: string;
|
|
14340
13021
|
/**
|
|
14341
13022
|
* Required. Project ID of the project that contains the instance.
|
|
14342
13023
|
*/
|
|
@@ -14347,10 +13028,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14347
13028
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14348
13029
|
*/
|
|
14349
13030
|
instance?: string;
|
|
14350
|
-
/**
|
|
14351
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14352
|
-
*/
|
|
14353
|
-
location?: string;
|
|
14354
13031
|
/**
|
|
14355
13032
|
* Project ID of the project that contains the instance.
|
|
14356
13033
|
*/
|
|
@@ -14361,10 +13038,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14361
13038
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
14362
13039
|
*/
|
|
14363
13040
|
instance?: string;
|
|
14364
|
-
/**
|
|
14365
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14366
|
-
*/
|
|
14367
|
-
location?: string;
|
|
14368
13041
|
/**
|
|
14369
13042
|
* Required. Project ID of the project that contains the instance.
|
|
14370
13043
|
*/
|
|
@@ -14375,10 +13048,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14375
13048
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14376
13049
|
*/
|
|
14377
13050
|
instance?: string;
|
|
14378
|
-
/**
|
|
14379
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14380
|
-
*/
|
|
14381
|
-
location?: string;
|
|
14382
13051
|
/**
|
|
14383
13052
|
* Project ID of the project that contains the instance.
|
|
14384
13053
|
*/
|
|
@@ -14413,10 +13082,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14413
13082
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
14414
13083
|
*/
|
|
14415
13084
|
instance?: string;
|
|
14416
|
-
/**
|
|
14417
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14418
|
-
*/
|
|
14419
|
-
location?: string;
|
|
14420
13085
|
/**
|
|
14421
13086
|
* Required. Project ID of the project that contains the instance.
|
|
14422
13087
|
*/
|
|
@@ -14436,10 +13101,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14436
13101
|
* Cloud SQL read replica instance name.
|
|
14437
13102
|
*/
|
|
14438
13103
|
instance?: string;
|
|
14439
|
-
/**
|
|
14440
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14441
|
-
*/
|
|
14442
|
-
location?: string;
|
|
14443
13104
|
/**
|
|
14444
13105
|
* ID of the project that contains the read replica.
|
|
14445
13106
|
*/
|
|
@@ -14450,10 +13111,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14450
13111
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14451
13112
|
*/
|
|
14452
13113
|
instance?: string;
|
|
14453
|
-
/**
|
|
14454
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14455
|
-
*/
|
|
14456
|
-
location?: string;
|
|
14457
13114
|
/**
|
|
14458
13115
|
* ID of the project that contains the instance.
|
|
14459
13116
|
*/
|
|
@@ -14469,10 +13126,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14469
13126
|
* Required. The Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).
|
|
14470
13127
|
*/
|
|
14471
13128
|
instance?: string;
|
|
14472
|
-
/**
|
|
14473
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14474
|
-
*/
|
|
14475
|
-
location?: string;
|
|
14476
13129
|
/**
|
|
14477
13130
|
* Required. The ID of the project that contains the instance (Example: project-id).
|
|
14478
13131
|
*/
|
|
@@ -14483,10 +13136,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14483
13136
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14484
13137
|
*/
|
|
14485
13138
|
instance?: string;
|
|
14486
|
-
/**
|
|
14487
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14488
|
-
*/
|
|
14489
|
-
location?: string;
|
|
14490
13139
|
/**
|
|
14491
13140
|
* Optional. Reset SSL mode to use.
|
|
14492
13141
|
*/
|
|
@@ -14501,10 +13150,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14501
13150
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14502
13151
|
*/
|
|
14503
13152
|
instance?: string;
|
|
14504
|
-
/**
|
|
14505
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14506
|
-
*/
|
|
14507
|
-
location?: string;
|
|
14508
13153
|
/**
|
|
14509
13154
|
* Project ID of the project that contains the instance to be restarted.
|
|
14510
13155
|
*/
|
|
@@ -14515,10 +13160,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14515
13160
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14516
13161
|
*/
|
|
14517
13162
|
instance?: string;
|
|
14518
|
-
/**
|
|
14519
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14520
|
-
*/
|
|
14521
|
-
location?: string;
|
|
14522
13163
|
/**
|
|
14523
13164
|
* Project ID of the project that contains the instance.
|
|
14524
13165
|
*/
|
|
@@ -14534,10 +13175,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14534
13175
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
14535
13176
|
*/
|
|
14536
13177
|
instance?: string;
|
|
14537
|
-
/**
|
|
14538
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14539
|
-
*/
|
|
14540
|
-
location?: string;
|
|
14541
13178
|
/**
|
|
14542
13179
|
* Required. Project ID of the project that contains the instance.
|
|
14543
13180
|
*/
|
|
@@ -14553,10 +13190,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14553
13190
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14554
13191
|
*/
|
|
14555
13192
|
instance?: string;
|
|
14556
|
-
/**
|
|
14557
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14558
|
-
*/
|
|
14559
|
-
location?: string;
|
|
14560
13193
|
/**
|
|
14561
13194
|
* Project ID of the project that contains the instance.
|
|
14562
13195
|
*/
|
|
@@ -14572,10 +13205,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14572
13205
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
14573
13206
|
*/
|
|
14574
13207
|
instance?: string;
|
|
14575
|
-
/**
|
|
14576
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14577
|
-
*/
|
|
14578
|
-
location?: string;
|
|
14579
13208
|
/**
|
|
14580
13209
|
* Required. Project ID of the project that contains the instance.
|
|
14581
13210
|
*/
|
|
@@ -14591,10 +13220,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14591
13220
|
* Cloud SQL read replica instance name.
|
|
14592
13221
|
*/
|
|
14593
13222
|
instance?: string;
|
|
14594
|
-
/**
|
|
14595
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14596
|
-
*/
|
|
14597
|
-
location?: string;
|
|
14598
13223
|
/**
|
|
14599
13224
|
* ID of the project that contains the read replica.
|
|
14600
13225
|
*/
|
|
@@ -14605,10 +13230,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14605
13230
|
* Cloud SQL read replica instance name.
|
|
14606
13231
|
*/
|
|
14607
13232
|
instance?: string;
|
|
14608
|
-
/**
|
|
14609
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14610
|
-
*/
|
|
14611
|
-
location?: string;
|
|
14612
13233
|
/**
|
|
14613
13234
|
* ID of the project that contains the read replica.
|
|
14614
13235
|
*/
|
|
@@ -14623,10 +13244,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14623
13244
|
* Cloud SQL read replica instance name.
|
|
14624
13245
|
*/
|
|
14625
13246
|
instance?: string;
|
|
14626
|
-
/**
|
|
14627
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14628
|
-
*/
|
|
14629
|
-
location?: string;
|
|
14630
13247
|
/**
|
|
14631
13248
|
* ID of the project that contains the replica.
|
|
14632
13249
|
*/
|
|
@@ -14637,10 +13254,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14637
13254
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14638
13255
|
*/
|
|
14639
13256
|
instance?: string;
|
|
14640
|
-
/**
|
|
14641
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14642
|
-
*/
|
|
14643
|
-
location?: string;
|
|
14644
13257
|
/**
|
|
14645
13258
|
* Project ID of the Cloud SQL project.
|
|
14646
13259
|
*/
|
|
@@ -14656,10 +13269,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
14656
13269
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
14657
13270
|
*/
|
|
14658
13271
|
instance?: string;
|
|
14659
|
-
/**
|
|
14660
|
-
* Optional. Region of the Cloud SQL instance.
|
|
14661
|
-
*/
|
|
14662
|
-
location?: string;
|
|
14663
13272
|
/**
|
|
14664
13273
|
* Project ID of the project that contains the instance.
|
|
14665
13274
|
*/
|
|
@@ -15230,8 +13839,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
15230
13839
|
* const res = await sql.projects.instances.getDiskShrinkConfig({
|
|
15231
13840
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
15232
13841
|
* instance: 'placeholder-value',
|
|
15233
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
15234
|
-
* location: 'placeholder-value',
|
|
15235
13842
|
* // Project ID of the project that contains the instance.
|
|
15236
13843
|
* project: 'placeholder-value',
|
|
15237
13844
|
* });
|
|
@@ -15386,8 +13993,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
15386
13993
|
* const res = await sql.projects.instances.getLatestRecoveryTime({
|
|
15387
13994
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
15388
13995
|
* instance: 'placeholder-value',
|
|
15389
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
15390
|
-
* location: 'placeholder-value',
|
|
15391
13996
|
* // Project ID of the project that contains the instance.
|
|
15392
13997
|
* project: 'placeholder-value',
|
|
15393
13998
|
* // The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp.
|
|
@@ -15544,8 +14149,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
15544
14149
|
* const res = await sql.projects.instances.performDiskShrink({
|
|
15545
14150
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
15546
14151
|
* instance: 'placeholder-value',
|
|
15547
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
15548
|
-
* location: 'placeholder-value',
|
|
15549
14152
|
* // Project ID of the project that contains the instance.
|
|
15550
14153
|
* project: 'placeholder-value',
|
|
15551
14154
|
*
|
|
@@ -15714,8 +14317,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
15714
14317
|
* const res = await sql.projects.instances.rescheduleMaintenance({
|
|
15715
14318
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
15716
14319
|
* instance: 'placeholder-value',
|
|
15717
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
15718
|
-
* location: 'placeholder-value',
|
|
15719
14320
|
* // ID of the project that contains the instance.
|
|
15720
14321
|
* project: 'placeholder-value',
|
|
15721
14322
|
*
|
|
@@ -15892,9 +14493,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
15892
14493
|
* // Request body metadata
|
|
15893
14494
|
* requestBody: {
|
|
15894
14495
|
* // request body parameters
|
|
15895
|
-
* // {
|
|
15896
|
-
* // "location": "my_location"
|
|
15897
|
-
* // }
|
|
14496
|
+
* // {}
|
|
15898
14497
|
* },
|
|
15899
14498
|
* });
|
|
15900
14499
|
* console.log(res.data);
|
|
@@ -16061,7 +14660,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
16061
14660
|
* requestBody: {
|
|
16062
14661
|
* // request body parameters
|
|
16063
14662
|
* // {
|
|
16064
|
-
* // "location": "my_location",
|
|
16065
14663
|
* // "migrationType": "my_migrationType",
|
|
16066
14664
|
* // "mysqlSyncConfig": {},
|
|
16067
14665
|
* // "replicaOverwriteEnabled": false,
|
|
@@ -16235,7 +14833,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
16235
14833
|
* requestBody: {
|
|
16236
14834
|
* // request body parameters
|
|
16237
14835
|
* // {
|
|
16238
|
-
* // "location": "my_location",
|
|
16239
14836
|
* // "migrationType": "my_migrationType",
|
|
16240
14837
|
* // "mysqlSyncConfig": {},
|
|
16241
14838
|
* // "selectedObjects": [],
|
|
@@ -16368,10 +14965,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
16368
14965
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
16369
14966
|
*/
|
|
16370
14967
|
instance?: string;
|
|
16371
|
-
/**
|
|
16372
|
-
* Optional. Region of the Cloud SQL instance.
|
|
16373
|
-
*/
|
|
16374
|
-
location?: string;
|
|
16375
14968
|
/**
|
|
16376
14969
|
* Project ID of the project that contains the instance.
|
|
16377
14970
|
*/
|
|
@@ -16382,10 +14975,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
16382
14975
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
16383
14976
|
*/
|
|
16384
14977
|
instance?: string;
|
|
16385
|
-
/**
|
|
16386
|
-
* Optional. Region of the Cloud SQL instance.
|
|
16387
|
-
*/
|
|
16388
|
-
location?: string;
|
|
16389
14978
|
/**
|
|
16390
14979
|
* Project ID of the project that contains the instance.
|
|
16391
14980
|
*/
|
|
@@ -16400,10 +14989,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
16400
14989
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
16401
14990
|
*/
|
|
16402
14991
|
instance?: string;
|
|
16403
|
-
/**
|
|
16404
|
-
* Optional. Region of the Cloud SQL instance.
|
|
16405
|
-
*/
|
|
16406
|
-
location?: string;
|
|
16407
14992
|
/**
|
|
16408
14993
|
* Project ID of the project that contains the instance.
|
|
16409
14994
|
*/
|
|
@@ -16419,10 +15004,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
16419
15004
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
16420
15005
|
*/
|
|
16421
15006
|
instance?: string;
|
|
16422
|
-
/**
|
|
16423
|
-
* Optional. Region of the Cloud SQL instance.
|
|
16424
|
-
*/
|
|
16425
|
-
location?: string;
|
|
16426
15007
|
/**
|
|
16427
15008
|
* ID of the project that contains the instance.
|
|
16428
15009
|
*/
|
|
@@ -16521,8 +15102,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
16521
15102
|
* const res = await sql.sslCerts.createEphemeral({
|
|
16522
15103
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
16523
15104
|
* instance: 'placeholder-value',
|
|
16524
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
16525
|
-
* location: 'placeholder-value',
|
|
16526
15105
|
* // Project ID of the Cloud SQL project.
|
|
16527
15106
|
* project: 'placeholder-value',
|
|
16528
15107
|
*
|
|
@@ -17258,10 +15837,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
17258
15837
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
17259
15838
|
*/
|
|
17260
15839
|
instance?: string;
|
|
17261
|
-
/**
|
|
17262
|
-
* Optional. Region of the Cloud SQL instance.
|
|
17263
|
-
*/
|
|
17264
|
-
location?: string;
|
|
17265
15840
|
/**
|
|
17266
15841
|
* Project ID of the Cloud SQL project.
|
|
17267
15842
|
*/
|
|
@@ -17524,8 +16099,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
17524
16099
|
* host: 'placeholder-value',
|
|
17525
16100
|
* // Database instance ID. This does not include the project ID.
|
|
17526
16101
|
* instance: 'placeholder-value',
|
|
17527
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
17528
|
-
* location: 'placeholder-value',
|
|
17529
16102
|
* // Name of the user in the instance.
|
|
17530
16103
|
* name: 'placeholder-value',
|
|
17531
16104
|
* // Project ID of the project that contains the instance.
|
|
@@ -17689,8 +16262,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
17689
16262
|
* host: 'placeholder-value',
|
|
17690
16263
|
* // Database instance ID. This does not include the project ID.
|
|
17691
16264
|
* instance: 'placeholder-value',
|
|
17692
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
17693
|
-
* location: 'placeholder-value',
|
|
17694
16265
|
* // User of the instance.
|
|
17695
16266
|
* name: 'placeholder-value',
|
|
17696
16267
|
* // Project ID of the project that contains the instance.
|
|
@@ -17847,8 +16418,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
17847
16418
|
* const res = await sql.users.insert({
|
|
17848
16419
|
* // Database instance ID. This does not include the project ID.
|
|
17849
16420
|
* instance: 'placeholder-value',
|
|
17850
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
17851
|
-
* location: 'placeholder-value',
|
|
17852
16421
|
* // Project ID of the project that contains the instance.
|
|
17853
16422
|
* project: 'placeholder-value',
|
|
17854
16423
|
*
|
|
@@ -18030,8 +16599,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
18030
16599
|
* const res = await sql.users.list({
|
|
18031
16600
|
* // Database instance ID. This does not include the project ID.
|
|
18032
16601
|
* instance: 'placeholder-value',
|
|
18033
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
18034
|
-
* location: 'placeholder-value',
|
|
18035
16602
|
* // Project ID of the project that contains the instance.
|
|
18036
16603
|
* project: 'placeholder-value',
|
|
18037
16604
|
* });
|
|
@@ -18179,8 +16746,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
18179
16746
|
* host: 'placeholder-value',
|
|
18180
16747
|
* // Database instance ID. This does not include the project ID.
|
|
18181
16748
|
* instance: 'placeholder-value',
|
|
18182
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
18183
|
-
* location: 'placeholder-value',
|
|
18184
16749
|
* // Name of the user in the instance.
|
|
18185
16750
|
* name: 'placeholder-value',
|
|
18186
16751
|
* // Project ID of the project that contains the instance.
|
|
@@ -18344,10 +16909,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
18344
16909
|
* Database instance ID. This does not include the project ID.
|
|
18345
16910
|
*/
|
|
18346
16911
|
instance?: string;
|
|
18347
|
-
/**
|
|
18348
|
-
* Optional. Region of the Cloud SQL instance.
|
|
18349
|
-
*/
|
|
18350
|
-
location?: string;
|
|
18351
16912
|
/**
|
|
18352
16913
|
* Name of the user in the instance.
|
|
18353
16914
|
*/
|
|
@@ -18366,10 +16927,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
18366
16927
|
* Database instance ID. This does not include the project ID.
|
|
18367
16928
|
*/
|
|
18368
16929
|
instance?: string;
|
|
18369
|
-
/**
|
|
18370
|
-
* Optional. Region of the Cloud SQL instance.
|
|
18371
|
-
*/
|
|
18372
|
-
location?: string;
|
|
18373
16930
|
/**
|
|
18374
16931
|
* User of the instance.
|
|
18375
16932
|
*/
|
|
@@ -18384,10 +16941,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
18384
16941
|
* Database instance ID. This does not include the project ID.
|
|
18385
16942
|
*/
|
|
18386
16943
|
instance?: string;
|
|
18387
|
-
/**
|
|
18388
|
-
* Optional. Region of the Cloud SQL instance.
|
|
18389
|
-
*/
|
|
18390
|
-
location?: string;
|
|
18391
16944
|
/**
|
|
18392
16945
|
* Project ID of the project that contains the instance.
|
|
18393
16946
|
*/
|
|
@@ -18403,10 +16956,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
18403
16956
|
* Database instance ID. This does not include the project ID.
|
|
18404
16957
|
*/
|
|
18405
16958
|
instance?: string;
|
|
18406
|
-
/**
|
|
18407
|
-
* Optional. Region of the Cloud SQL instance.
|
|
18408
|
-
*/
|
|
18409
|
-
location?: string;
|
|
18410
16959
|
/**
|
|
18411
16960
|
* Project ID of the project that contains the instance.
|
|
18412
16961
|
*/
|
|
@@ -18425,10 +16974,6 @@ export namespace sqladmin_v1beta4 {
|
|
|
18425
16974
|
* Database instance ID. This does not include the project ID.
|
|
18426
16975
|
*/
|
|
18427
16976
|
instance?: string;
|
|
18428
|
-
/**
|
|
18429
|
-
* Optional. Region of the Cloud SQL instance.
|
|
18430
|
-
*/
|
|
18431
|
-
location?: string;
|
|
18432
16977
|
/**
|
|
18433
16978
|
* Name of the user in the instance.
|
|
18434
16979
|
*/
|