@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/build/v1.d.ts
CHANGED
|
@@ -69,7 +69,6 @@ export declare namespace sqladmin_v1 {
|
|
|
69
69
|
context: APIRequestContext;
|
|
70
70
|
backupRuns: Resource$Backupruns;
|
|
71
71
|
Backups: Resource$Backups;
|
|
72
|
-
blueGreenDeployments: Resource$Bluegreendeployments;
|
|
73
72
|
connect: Resource$Connect;
|
|
74
73
|
databases: Resource$Databases;
|
|
75
74
|
flags: Resource$Flags;
|
|
@@ -470,72 +469,6 @@ export declare namespace sqladmin_v1 {
|
|
|
470
469
|
*/
|
|
471
470
|
kind?: string | null;
|
|
472
471
|
}
|
|
473
|
-
/**
|
|
474
|
-
* A `BlueGreenDeployment` resource represents a Cloud SQL blue-green deployment setup.
|
|
475
|
-
*/
|
|
476
|
-
export interface Schema$BlueGreenDeployment {
|
|
477
|
-
/**
|
|
478
|
-
* Output only. The time when the deployment was created. Example: `2024-01-01T00:00:00Z`
|
|
479
|
-
*/
|
|
480
|
-
createTime?: string | null;
|
|
481
|
-
/**
|
|
482
|
-
* Output only. A list representing the pairs of source and target instances in the deployment.
|
|
483
|
-
*/
|
|
484
|
-
deploymentMappings?: Schema$SourceTargetPairedNode[];
|
|
485
|
-
/**
|
|
486
|
-
* Output only. Combined list of tasks for all paired nodes.
|
|
487
|
-
*/
|
|
488
|
-
deploymentTasks?: Schema$DeploymentTasks;
|
|
489
|
-
/**
|
|
490
|
-
* Optional. User-provided description for the deployment. The description can be up to 255 characters long.
|
|
491
|
-
*/
|
|
492
|
-
description?: string | null;
|
|
493
|
-
/**
|
|
494
|
-
* Output only. Provides details on why switchover is not possible. This field is empty unless a switchover attempt failed or the state is `SWITCHOVER_NOT_READY`. Example: "The target database version does not match the source instance database version."
|
|
495
|
-
*/
|
|
496
|
-
errorDetail?: string | null;
|
|
497
|
-
/**
|
|
498
|
-
* Output only. Identifier. The full resource name of the deployment. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{deployment_id\}
|
|
499
|
-
*/
|
|
500
|
-
name?: string | null;
|
|
501
|
-
/**
|
|
502
|
-
* Optional. Immutable. Optional on create, and immutable. The configuration intended for the target instance(s) when the deployment was created.
|
|
503
|
-
*/
|
|
504
|
-
requestedConfig?: Schema$RequestedConfig;
|
|
505
|
-
/**
|
|
506
|
-
* Required. Immutable. Required on create, and immutable. The full resource name of the source instance (the "blue" instance). Format: projects/{project\}/instances/{instance\}
|
|
507
|
-
*/
|
|
508
|
-
sourceInstance?: string | null;
|
|
509
|
-
/**
|
|
510
|
-
* Output only. The current state of the blue-green deployment.
|
|
511
|
-
*/
|
|
512
|
-
state?: string | null;
|
|
513
|
-
/**
|
|
514
|
-
* Output only. The full resource name of the primary target instance (the "green" instance) that will be promoted during switchover. This field is always populated once the deployment is created. Format: projects/{project\}/instances/{instance\}
|
|
515
|
-
*/
|
|
516
|
-
switchoverTargetInstance?: string | null;
|
|
517
|
-
}
|
|
518
|
-
/**
|
|
519
|
-
* 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.
|
|
520
|
-
*/
|
|
521
|
-
export interface Schema$BlueGreenDeploymentInfo {
|
|
522
|
-
/**
|
|
523
|
-
* Output only. The resource ID of the blue-green deployment.
|
|
524
|
-
*/
|
|
525
|
-
deploymentId?: string | null;
|
|
526
|
-
/**
|
|
527
|
-
* Output only. The source instance for the Blue-Green deployment.
|
|
528
|
-
*/
|
|
529
|
-
source?: Schema$SourceRole;
|
|
530
|
-
/**
|
|
531
|
-
* Output only. The current state of blue-green-deployment for UI tags
|
|
532
|
-
*/
|
|
533
|
-
state?: string | null;
|
|
534
|
-
/**
|
|
535
|
-
* Output only. The target instance for the Blue-Green deployment.
|
|
536
|
-
*/
|
|
537
|
-
target?: Schema$TargetRole;
|
|
538
|
-
}
|
|
539
472
|
/**
|
|
540
473
|
* Database instance clone context.
|
|
541
474
|
*/
|
|
@@ -602,23 +535,6 @@ export declare namespace sqladmin_v1 {
|
|
|
602
535
|
*/
|
|
603
536
|
type?: string | null;
|
|
604
537
|
}
|
|
605
|
-
/**
|
|
606
|
-
* Represents a specific configuration difference between blue and green instances.
|
|
607
|
-
*/
|
|
608
|
-
export interface Schema$ConfigDiff {
|
|
609
|
-
/**
|
|
610
|
-
* Output only. The name of the field that differs in the blue and green instances, fully-qualified. Example: `settings.tier`
|
|
611
|
-
*/
|
|
612
|
-
field?: string | null;
|
|
613
|
-
/**
|
|
614
|
-
* Output only. The value on the source instance.
|
|
615
|
-
*/
|
|
616
|
-
sourceValue?: string | null;
|
|
617
|
-
/**
|
|
618
|
-
* Output only. The value on the target instance.
|
|
619
|
-
*/
|
|
620
|
-
targetValue?: string | null;
|
|
621
|
-
}
|
|
622
538
|
/**
|
|
623
539
|
* The managed connection pooling configuration.
|
|
624
540
|
*/
|
|
@@ -822,10 +738,6 @@ export declare namespace sqladmin_v1 {
|
|
|
822
738
|
* The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.
|
|
823
739
|
*/
|
|
824
740
|
databaseVersion?: string | null;
|
|
825
|
-
/**
|
|
826
|
-
* Output only. Deployment info for the instance. This is set if the instance is currently part of any blue-green setup.
|
|
827
|
-
*/
|
|
828
|
-
deploymentInfo?: Schema$BlueGreenDeploymentInfo;
|
|
829
741
|
/**
|
|
830
742
|
* Disk encryption configuration specific to an instance.
|
|
831
743
|
*/
|
|
@@ -1124,48 +1036,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1124
1036
|
*/
|
|
1125
1037
|
time?: string | null;
|
|
1126
1038
|
}
|
|
1127
|
-
/**
|
|
1128
|
-
* Represents a task executed as part of the deployment on a target instance.
|
|
1129
|
-
*/
|
|
1130
|
-
export interface Schema$DeploymentTask {
|
|
1131
|
-
/**
|
|
1132
|
-
* Output only. Task end time (if completed).
|
|
1133
|
-
*/
|
|
1134
|
-
endTime?: string | null;
|
|
1135
|
-
/**
|
|
1136
|
-
* Output only. Optional error details if the task state is `FAILED`.
|
|
1137
|
-
*/
|
|
1138
|
-
errorMessage?: string | null;
|
|
1139
|
-
/**
|
|
1140
|
-
* Output only. Task start time.
|
|
1141
|
-
*/
|
|
1142
|
-
startTime?: string | null;
|
|
1143
|
-
/**
|
|
1144
|
-
* Output only. The current state of the task.
|
|
1145
|
-
*/
|
|
1146
|
-
state?: string | null;
|
|
1147
|
-
/**
|
|
1148
|
-
* Output only. The type of the task.
|
|
1149
|
-
*/
|
|
1150
|
-
type?: string | null;
|
|
1151
|
-
}
|
|
1152
|
-
/**
|
|
1153
|
-
* Combined list of tasks for all paired nodes in the deployment.
|
|
1154
|
-
*/
|
|
1155
|
-
export interface Schema$DeploymentTasks {
|
|
1156
|
-
/**
|
|
1157
|
-
* Output only. Tasks performed or being performed on the paired nodes of the deployment at a consolidated level.
|
|
1158
|
-
*/
|
|
1159
|
-
task?: Schema$DeploymentTask[];
|
|
1160
|
-
}
|
|
1161
1039
|
/**
|
|
1162
1040
|
* Disk encryption configuration for an instance.
|
|
1163
1041
|
*/
|
|
1164
1042
|
export interface Schema$DiskEncryptionConfiguration {
|
|
1165
|
-
/**
|
|
1166
|
-
* Optional. If true, enables Confidential Mode for the instance's Hyperdisk Balanced volumes. Only supported for zonal C4A instances currently.
|
|
1167
|
-
*/
|
|
1168
|
-
confidentialMode?: boolean | null;
|
|
1169
1043
|
/**
|
|
1170
1044
|
* This is always `sql#diskEncryptionConfiguration`.
|
|
1171
1045
|
*/
|
|
@@ -1772,10 +1646,6 @@ export declare namespace sqladmin_v1 {
|
|
|
1772
1646
|
* 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.
|
|
1773
1647
|
*/
|
|
1774
1648
|
backupdrBackup?: string | null;
|
|
1775
|
-
/**
|
|
1776
|
-
* Optional. If true, the restore operation proceeds even if the target instance's maintenance version is older than the source instance's maintenance version.
|
|
1777
|
-
*/
|
|
1778
|
-
ignoreMaintenanceVersion?: boolean | null;
|
|
1779
1649
|
/**
|
|
1780
1650
|
* Parameters required to perform the restore backup operation.
|
|
1781
1651
|
*/
|
|
@@ -1925,19 +1795,6 @@ export declare namespace sqladmin_v1 {
|
|
|
1925
1795
|
*/
|
|
1926
1796
|
warnings?: Schema$ApiWarning[];
|
|
1927
1797
|
}
|
|
1928
|
-
/**
|
|
1929
|
-
* The response message for listing blue-green deployment resources.
|
|
1930
|
-
*/
|
|
1931
|
-
export interface Schema$ListBlueGreenDeploymentsResponse {
|
|
1932
|
-
/**
|
|
1933
|
-
* The list of blue-green deployment resources.
|
|
1934
|
-
*/
|
|
1935
|
-
blueGreenDeployments?: Schema$BlueGreenDeployment[];
|
|
1936
|
-
/**
|
|
1937
|
-
* A token to retrieve the next page of results, or empty if there are no more results.
|
|
1938
|
-
*/
|
|
1939
|
-
nextPageToken?: string | null;
|
|
1940
|
-
}
|
|
1941
1798
|
/**
|
|
1942
1799
|
* 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.
|
|
1943
1800
|
*/
|
|
@@ -2060,27 +1917,6 @@ export declare namespace sqladmin_v1 {
|
|
|
2060
1917
|
*/
|
|
2061
1918
|
initialSyncFlags?: Schema$SyncFlags[];
|
|
2062
1919
|
}
|
|
2063
|
-
/**
|
|
2064
|
-
* Details about an instance within the deployment.
|
|
2065
|
-
*/
|
|
2066
|
-
export interface Schema$NodeInfo {
|
|
2067
|
-
/**
|
|
2068
|
-
* Output only. The instance connection name.
|
|
2069
|
-
*/
|
|
2070
|
-
connection?: string | null;
|
|
2071
|
-
/**
|
|
2072
|
-
* Output only. The unique DNS name for this instance.
|
|
2073
|
-
*/
|
|
2074
|
-
dns?: string | null;
|
|
2075
|
-
/**
|
|
2076
|
-
* Output only. The full resource name of the instance. Format: projects/{project\}/instances/{instance\}
|
|
2077
|
-
*/
|
|
2078
|
-
instance?: string | null;
|
|
2079
|
-
/**
|
|
2080
|
-
* Output only. The list of IP addresses for this instance.
|
|
2081
|
-
*/
|
|
2082
|
-
ipMappings?: Schema$IpMapping[];
|
|
2083
|
-
}
|
|
2084
1920
|
/**
|
|
2085
1921
|
* On-premises instance configuration.
|
|
2086
1922
|
*/
|
|
@@ -2578,7 +2414,7 @@ export declare namespace sqladmin_v1 {
|
|
|
2578
2414
|
*/
|
|
2579
2415
|
allowedConsumerProjects?: string[] | null;
|
|
2580
2416
|
/**
|
|
2581
|
-
* Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect
|
|
2417
|
+
* 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
|
|
2582
2418
|
*/
|
|
2583
2419
|
networkAttachmentUri?: string | null;
|
|
2584
2420
|
/**
|
|
@@ -2698,15 +2534,6 @@ export declare namespace sqladmin_v1 {
|
|
|
2698
2534
|
*/
|
|
2699
2535
|
psaWriteEndpoint?: string | null;
|
|
2700
2536
|
}
|
|
2701
|
-
/**
|
|
2702
|
-
* Configuration specified by the user at creation time for the target (green) instance.
|
|
2703
|
-
*/
|
|
2704
|
-
export interface Schema$RequestedConfig {
|
|
2705
|
-
/**
|
|
2706
|
-
* Optional. The target database major version for the upgrade. For example, `MYSQL_8_0` or `POSTGRES_15`.
|
|
2707
|
-
*/
|
|
2708
|
-
databaseVersion?: string | null;
|
|
2709
|
-
}
|
|
2710
2537
|
export interface Schema$Reschedule {
|
|
2711
2538
|
/**
|
|
2712
2539
|
* Required. The type of the reschedule.
|
|
@@ -2928,7 +2755,7 @@ export declare namespace sqladmin_v1 {
|
|
|
2928
2755
|
*/
|
|
2929
2756
|
maintenanceWindow?: Schema$MaintenanceWindow;
|
|
2930
2757
|
/**
|
|
2931
|
-
* The local user password validation policy of the instance
|
|
2758
|
+
* The local user password validation policy of the instance.
|
|
2932
2759
|
*/
|
|
2933
2760
|
passwordValidationPolicy?: Schema$PasswordValidationPolicy;
|
|
2934
2761
|
/**
|
|
@@ -2986,36 +2813,6 @@ export declare namespace sqladmin_v1 {
|
|
|
2986
2813
|
[key: string]: string;
|
|
2987
2814
|
} | null;
|
|
2988
2815
|
}
|
|
2989
|
-
/**
|
|
2990
|
-
* The source instance for the Blue-Green deployment.
|
|
2991
|
-
*/
|
|
2992
|
-
export interface Schema$SourceRole {
|
|
2993
|
-
/**
|
|
2994
|
-
* Output only. The target instance paired with this source instance in a blue-green deployment.
|
|
2995
|
-
*/
|
|
2996
|
-
targetId?: Schema$InstanceReference;
|
|
2997
|
-
}
|
|
2998
|
-
/**
|
|
2999
|
-
* Represents a pairing of a source instance node and a target instance node.
|
|
3000
|
-
*/
|
|
3001
|
-
export interface Schema$SourceTargetPairedNode {
|
|
3002
|
-
/**
|
|
3003
|
-
* Output only. Describes the list of differences for the `SourceTargetPairedNode`.
|
|
3004
|
-
*/
|
|
3005
|
-
diffs?: Schema$ConfigDiff[];
|
|
3006
|
-
/**
|
|
3007
|
-
* Output only. Specifies the resource name of the source instance in this pair.
|
|
3008
|
-
*/
|
|
3009
|
-
source?: Schema$NodeInfo;
|
|
3010
|
-
/**
|
|
3011
|
-
* Output only. Specifies the current state of this specific source-target pair.
|
|
3012
|
-
*/
|
|
3013
|
-
state?: string | null;
|
|
3014
|
-
/**
|
|
3015
|
-
* Output only. Specifies details of the corresponding target instance in this pair.
|
|
3016
|
-
*/
|
|
3017
|
-
target?: Schema$NodeInfo;
|
|
3018
|
-
}
|
|
3019
2816
|
/**
|
|
3020
2817
|
* Active Directory configuration, relevant only for Cloud SQL for SQL Server.
|
|
3021
2818
|
*/
|
|
@@ -3148,19 +2945,11 @@ export declare namespace sqladmin_v1 {
|
|
|
3148
2945
|
* Instance reset replica size request.
|
|
3149
2946
|
*/
|
|
3150
2947
|
export interface Schema$SqlInstancesResetReplicaSizeRequest {
|
|
3151
|
-
/**
|
|
3152
|
-
* Optional. Region of the Cloud SQL instance.
|
|
3153
|
-
*/
|
|
3154
|
-
location?: string | null;
|
|
3155
2948
|
}
|
|
3156
2949
|
/**
|
|
3157
2950
|
* Instance start external sync request.
|
|
3158
2951
|
*/
|
|
3159
2952
|
export interface Schema$SqlInstancesStartExternalSyncRequest {
|
|
3160
|
-
/**
|
|
3161
|
-
* Optional. Region of the Cloud SQL instance.
|
|
3162
|
-
*/
|
|
3163
|
-
location?: string | null;
|
|
3164
2953
|
/**
|
|
3165
2954
|
* 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.
|
|
3166
2955
|
*/
|
|
@@ -3190,10 +2979,6 @@ export declare namespace sqladmin_v1 {
|
|
|
3190
2979
|
* Instance verify external sync settings request.
|
|
3191
2980
|
*/
|
|
3192
2981
|
export interface Schema$SqlInstancesVerifyExternalSyncSettingsRequest {
|
|
3193
|
-
/**
|
|
3194
|
-
* Optional. Region of the Cloud SQL instance.
|
|
3195
|
-
*/
|
|
3196
|
-
location?: string | null;
|
|
3197
2982
|
/**
|
|
3198
2983
|
* 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.
|
|
3199
2984
|
*/
|
|
@@ -3327,11 +3112,11 @@ export declare namespace sqladmin_v1 {
|
|
|
3327
3112
|
*/
|
|
3328
3113
|
export interface Schema$SqlServerUserDetails {
|
|
3329
3114
|
/**
|
|
3330
|
-
*
|
|
3115
|
+
* If the user has been disabled
|
|
3331
3116
|
*/
|
|
3332
3117
|
disabled?: boolean | null;
|
|
3333
3118
|
/**
|
|
3334
|
-
*
|
|
3119
|
+
* The server roles for this user
|
|
3335
3120
|
*/
|
|
3336
3121
|
serverRoles?: string[] | null;
|
|
3337
3122
|
}
|
|
@@ -3473,11 +3258,6 @@ export declare namespace sqladmin_v1 {
|
|
|
3473
3258
|
*/
|
|
3474
3259
|
message?: string | null;
|
|
3475
3260
|
}
|
|
3476
|
-
/**
|
|
3477
|
-
* Request message for switching over a `BlueGreenDeployment` resource.
|
|
3478
|
-
*/
|
|
3479
|
-
export interface Schema$SwitchoverBlueGreenDeploymentRequest {
|
|
3480
|
-
}
|
|
3481
3261
|
/**
|
|
3482
3262
|
* Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.
|
|
3483
3263
|
*/
|
|
@@ -3504,15 +3284,6 @@ export declare namespace sqladmin_v1 {
|
|
|
3504
3284
|
*/
|
|
3505
3285
|
targetValue?: number | null;
|
|
3506
3286
|
}
|
|
3507
|
-
/**
|
|
3508
|
-
* The target instance for the Blue-Green deployment.
|
|
3509
|
-
*/
|
|
3510
|
-
export interface Schema$TargetRole {
|
|
3511
|
-
/**
|
|
3512
|
-
* Output only. The source instance paired with this target instance in a blue-green deployment.
|
|
3513
|
-
*/
|
|
3514
|
-
sourceId?: Schema$InstanceReference;
|
|
3515
|
-
}
|
|
3516
3287
|
/**
|
|
3517
3288
|
* A Google Cloud SQL service tier resource.
|
|
3518
3289
|
*/
|
|
@@ -4619,11 +4390,11 @@ export declare namespace sqladmin_v1 {
|
|
|
4619
4390
|
*/
|
|
4620
4391
|
requestBody?: Schema$Backup;
|
|
4621
4392
|
}
|
|
4622
|
-
export class Resource$
|
|
4393
|
+
export class Resource$Connect {
|
|
4623
4394
|
context: APIRequestContext;
|
|
4624
4395
|
constructor(context: APIRequestContext);
|
|
4625
4396
|
/**
|
|
4626
|
-
*
|
|
4397
|
+
* 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.
|
|
4627
4398
|
* @example
|
|
4628
4399
|
* ```js
|
|
4629
4400
|
* // Before running the sample:
|
|
@@ -4655,26 +4426,20 @@ export declare namespace sqladmin_v1 {
|
|
|
4655
4426
|
* google.options({auth: authClient});
|
|
4656
4427
|
*
|
|
4657
4428
|
* // Do the magic
|
|
4658
|
-
* const res = await sql.
|
|
4659
|
-
* //
|
|
4660
|
-
*
|
|
4661
|
-
* //
|
|
4662
|
-
*
|
|
4429
|
+
* const res = await sql.connect.generateEphemeral({
|
|
4430
|
+
* // Cloud SQL instance ID. This does not include the project ID.
|
|
4431
|
+
* instance: 'placeholder-value',
|
|
4432
|
+
* // Project ID of the project that contains the instance.
|
|
4433
|
+
* project: 'placeholder-value',
|
|
4663
4434
|
*
|
|
4664
4435
|
* // Request body metadata
|
|
4665
4436
|
* requestBody: {
|
|
4666
4437
|
* // request body parameters
|
|
4667
4438
|
* // {
|
|
4668
|
-
* // "
|
|
4669
|
-
* // "
|
|
4670
|
-
* // "
|
|
4671
|
-
* // "
|
|
4672
|
-
* // "errorDetail": "my_errorDetail",
|
|
4673
|
-
* // "name": "my_name",
|
|
4674
|
-
* // "requestedConfig": {},
|
|
4675
|
-
* // "sourceInstance": "my_sourceInstance",
|
|
4676
|
-
* // "state": "my_state",
|
|
4677
|
-
* // "switchoverTargetInstance": "my_switchoverTargetInstance"
|
|
4439
|
+
* // "access_token": "my_access_token",
|
|
4440
|
+
* // "public_key": "my_public_key",
|
|
4441
|
+
* // "readTime": "my_readTime",
|
|
4442
|
+
* // "validDuration": "my_validDuration"
|
|
4678
4443
|
* // }
|
|
4679
4444
|
* },
|
|
4680
4445
|
* });
|
|
@@ -4682,26 +4447,7 @@ export declare namespace sqladmin_v1 {
|
|
|
4682
4447
|
*
|
|
4683
4448
|
* // Example response
|
|
4684
4449
|
* // {
|
|
4685
|
-
* // "
|
|
4686
|
-
* // "apiWarning": {},
|
|
4687
|
-
* // "backupContext": {},
|
|
4688
|
-
* // "endTime": "my_endTime",
|
|
4689
|
-
* // "error": {},
|
|
4690
|
-
* // "exportContext": {},
|
|
4691
|
-
* // "importContext": {},
|
|
4692
|
-
* // "insertTime": "my_insertTime",
|
|
4693
|
-
* // "kind": "my_kind",
|
|
4694
|
-
* // "name": "my_name",
|
|
4695
|
-
* // "operationType": "my_operationType",
|
|
4696
|
-
* // "preCheckMajorVersionUpgradeContext": {},
|
|
4697
|
-
* // "selfLink": "my_selfLink",
|
|
4698
|
-
* // "startTime": "my_startTime",
|
|
4699
|
-
* // "status": "my_status",
|
|
4700
|
-
* // "subOperationType": {},
|
|
4701
|
-
* // "targetId": "my_targetId",
|
|
4702
|
-
* // "targetLink": "my_targetLink",
|
|
4703
|
-
* // "targetProject": "my_targetProject",
|
|
4704
|
-
* // "user": "my_user"
|
|
4450
|
+
* // "ephemeralCert": {}
|
|
4705
4451
|
* // }
|
|
4706
4452
|
* }
|
|
4707
4453
|
*
|
|
@@ -4717,14 +4463,14 @@ export declare namespace sqladmin_v1 {
|
|
|
4717
4463
|
* @param callback - Optional callback that handles the response.
|
|
4718
4464
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4719
4465
|
*/
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4466
|
+
generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4467
|
+
generateEphemeralCert(params?: Params$Resource$Connect$Generateephemeralcert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GenerateEphemeralCertResponse>>;
|
|
4468
|
+
generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4469
|
+
generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: MethodOptions | BodyResponseCallback<Schema$GenerateEphemeralCertResponse>, callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
|
|
4470
|
+
generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
|
|
4471
|
+
generateEphemeralCert(callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
|
|
4726
4472
|
/**
|
|
4727
|
-
*
|
|
4473
|
+
* Retrieves connect settings about a Cloud SQL instance.
|
|
4728
4474
|
* @example
|
|
4729
4475
|
* ```js
|
|
4730
4476
|
* // Before running the sample:
|
|
@@ -4756,36 +4502,33 @@ export declare namespace sqladmin_v1 {
|
|
|
4756
4502
|
* google.options({auth: authClient});
|
|
4757
4503
|
*
|
|
4758
4504
|
* // Do the magic
|
|
4759
|
-
* const res = await sql.
|
|
4760
|
-
* //
|
|
4761
|
-
*
|
|
4762
|
-
* //
|
|
4763
|
-
*
|
|
4505
|
+
* const res = await sql.connect.get({
|
|
4506
|
+
* // Cloud SQL instance ID. This does not include the project ID.
|
|
4507
|
+
* instance: 'placeholder-value',
|
|
4508
|
+
* // Project ID of the project that contains the instance.
|
|
4509
|
+
* project: 'placeholder-value',
|
|
4510
|
+
* // Optional. Optional snapshot read timestamp to trade freshness for performance.
|
|
4511
|
+
* readTime: 'placeholder-value',
|
|
4764
4512
|
* });
|
|
4765
4513
|
* console.log(res.data);
|
|
4766
4514
|
*
|
|
4767
4515
|
* // Example response
|
|
4768
4516
|
* // {
|
|
4769
|
-
* // "
|
|
4770
|
-
* // "
|
|
4771
|
-
* // "
|
|
4772
|
-
* // "
|
|
4773
|
-
* // "
|
|
4774
|
-
* // "
|
|
4775
|
-
* // "
|
|
4776
|
-
* // "insertTime": "my_insertTime",
|
|
4517
|
+
* // "backendType": "my_backendType",
|
|
4518
|
+
* // "connectionName": "my_connectionName",
|
|
4519
|
+
* // "customSubjectAlternativeNames": [],
|
|
4520
|
+
* // "databaseVersion": "my_databaseVersion",
|
|
4521
|
+
* // "dnsName": "my_dnsName",
|
|
4522
|
+
* // "dnsNames": [],
|
|
4523
|
+
* // "ipAddresses": [],
|
|
4777
4524
|
* // "kind": "my_kind",
|
|
4778
|
-
* // "
|
|
4779
|
-
* // "
|
|
4780
|
-
* // "
|
|
4781
|
-
* // "
|
|
4782
|
-
* // "
|
|
4783
|
-
* // "
|
|
4784
|
-
* // "
|
|
4785
|
-
* // "targetId": "my_targetId",
|
|
4786
|
-
* // "targetLink": "my_targetLink",
|
|
4787
|
-
* // "targetProject": "my_targetProject",
|
|
4788
|
-
* // "user": "my_user"
|
|
4525
|
+
* // "mdxProtocolSupport": [],
|
|
4526
|
+
* // "nodeCount": 0,
|
|
4527
|
+
* // "nodes": [],
|
|
4528
|
+
* // "pscEnabled": false,
|
|
4529
|
+
* // "region": "my_region",
|
|
4530
|
+
* // "serverCaCert": {},
|
|
4531
|
+
* // "serverCaMode": "my_serverCaMode"
|
|
4789
4532
|
* // }
|
|
4790
4533
|
* }
|
|
4791
4534
|
*
|
|
@@ -4801,14 +4544,14 @@ export declare namespace sqladmin_v1 {
|
|
|
4801
4544
|
* @param callback - Optional callback that handles the response.
|
|
4802
4545
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4803
4546
|
*/
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4547
|
+
get(params: Params$Resource$Connect$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4548
|
+
get(params?: Params$Resource$Connect$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ConnectSettings>>;
|
|
4549
|
+
get(params: Params$Resource$Connect$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4550
|
+
get(params: Params$Resource$Connect$Get, options: MethodOptions | BodyResponseCallback<Schema$ConnectSettings>, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
|
|
4551
|
+
get(params: Params$Resource$Connect$Get, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
|
|
4552
|
+
get(callback: BodyResponseCallback<Schema$ConnectSettings>): void;
|
|
4810
4553
|
/**
|
|
4811
|
-
* Retrieves a
|
|
4554
|
+
* Retrieves connect settings about a Cloud SQL instance using the instance DNS name.
|
|
4812
4555
|
* @example
|
|
4813
4556
|
* ```js
|
|
4814
4557
|
* // Before running the sample:
|
|
@@ -4840,492 +4583,31 @@ export declare namespace sqladmin_v1 {
|
|
|
4840
4583
|
* google.options({auth: authClient});
|
|
4841
4584
|
*
|
|
4842
4585
|
* // Do the magic
|
|
4843
|
-
* const res = await sql.
|
|
4844
|
-
* // Required.
|
|
4845
|
-
*
|
|
4846
|
-
* //
|
|
4847
|
-
*
|
|
4586
|
+
* const res = await sql.connect.resolve({
|
|
4587
|
+
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
4588
|
+
* dnsName: 'placeholder-value',
|
|
4589
|
+
* // Required. The region of the instance.
|
|
4590
|
+
* location: 'placeholder-value',
|
|
4848
4591
|
* });
|
|
4849
4592
|
* console.log(res.data);
|
|
4850
4593
|
*
|
|
4851
4594
|
* // Example response
|
|
4852
4595
|
* // {
|
|
4853
|
-
* // "
|
|
4854
|
-
* // "
|
|
4855
|
-
* // "
|
|
4856
|
-
* // "
|
|
4857
|
-
* // "
|
|
4858
|
-
* // "
|
|
4859
|
-
* // "
|
|
4860
|
-
* // "
|
|
4861
|
-
* // "
|
|
4862
|
-
* // "
|
|
4863
|
-
* //
|
|
4864
|
-
*
|
|
4865
|
-
*
|
|
4866
|
-
*
|
|
4867
|
-
*
|
|
4868
|
-
* throw e;
|
|
4869
|
-
* });
|
|
4870
|
-
*
|
|
4871
|
-
* ```
|
|
4872
|
-
*
|
|
4873
|
-
* @param params - Parameters for request
|
|
4874
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4875
|
-
* @param callback - Optional callback that handles the response.
|
|
4876
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4877
|
-
*/
|
|
4878
|
-
get(params: Params$Resource$Bluegreendeployments$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4879
|
-
get(params?: Params$Resource$Bluegreendeployments$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BlueGreenDeployment>>;
|
|
4880
|
-
get(params: Params$Resource$Bluegreendeployments$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4881
|
-
get(params: Params$Resource$Bluegreendeployments$Get, options: MethodOptions | BodyResponseCallback<Schema$BlueGreenDeployment>, callback: BodyResponseCallback<Schema$BlueGreenDeployment>): void;
|
|
4882
|
-
get(params: Params$Resource$Bluegreendeployments$Get, callback: BodyResponseCallback<Schema$BlueGreenDeployment>): void;
|
|
4883
|
-
get(callback: BodyResponseCallback<Schema$BlueGreenDeployment>): void;
|
|
4884
|
-
/**
|
|
4885
|
-
* Lists blue-green deployments under a given project.
|
|
4886
|
-
* @example
|
|
4887
|
-
* ```js
|
|
4888
|
-
* // Before running the sample:
|
|
4889
|
-
* // - Enable the API at:
|
|
4890
|
-
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
4891
|
-
* // - Login into gcloud by running:
|
|
4892
|
-
* // ```sh
|
|
4893
|
-
* // $ gcloud auth application-default login
|
|
4894
|
-
* // ```
|
|
4895
|
-
* // - Install the npm module by running:
|
|
4896
|
-
* // ```sh
|
|
4897
|
-
* // $ npm install googleapis
|
|
4898
|
-
* // ```
|
|
4899
|
-
*
|
|
4900
|
-
* const {google} = require('googleapis');
|
|
4901
|
-
* const sqladmin = google.sqladmin('v1');
|
|
4902
|
-
*
|
|
4903
|
-
* async function main() {
|
|
4904
|
-
* const auth = new google.auth.GoogleAuth({
|
|
4905
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4906
|
-
* scopes: [
|
|
4907
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
4908
|
-
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
4909
|
-
* ],
|
|
4910
|
-
* });
|
|
4911
|
-
*
|
|
4912
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
4913
|
-
* const authClient = await auth.getClient();
|
|
4914
|
-
* google.options({auth: authClient});
|
|
4915
|
-
*
|
|
4916
|
-
* // Do the magic
|
|
4917
|
-
* const res = await sql.blueGreenDeployments.list({
|
|
4918
|
-
* // Optional. A filter expression that filters the results.
|
|
4919
|
-
* filter: 'placeholder-value',
|
|
4920
|
-
* // Optional. A comma-separated list of fields to order the results by.
|
|
4921
|
-
* orderBy: 'placeholder-value',
|
|
4922
|
-
* // Optional. The maximum number of deployments to return. The service may return fewer deployments than this value. If unspecified, at most 500 deployments are returned. The maximum value is 1000; values above 1000 are treated as 1000.
|
|
4923
|
-
* pageSize: 'placeholder-value',
|
|
4924
|
-
* // Optional. A page token, received from a previous `ListBlueGreenDeployments` call. Provide this to retrieve the subsequent page.
|
|
4925
|
-
* pageToken: 'placeholder-value',
|
|
4926
|
-
* // Required. The parent resource whose blue-green deployments are to be listed. Format: projects/{project\}/locations/{location\}
|
|
4927
|
-
* parent: 'projects/my-project/locations/my-location',
|
|
4928
|
-
* });
|
|
4929
|
-
* console.log(res.data);
|
|
4930
|
-
*
|
|
4931
|
-
* // Example response
|
|
4932
|
-
* // {
|
|
4933
|
-
* // "blueGreenDeployments": [],
|
|
4934
|
-
* // "nextPageToken": "my_nextPageToken"
|
|
4935
|
-
* // }
|
|
4936
|
-
* }
|
|
4937
|
-
*
|
|
4938
|
-
* main().catch(e => {
|
|
4939
|
-
* console.error(e);
|
|
4940
|
-
* throw e;
|
|
4941
|
-
* });
|
|
4942
|
-
*
|
|
4943
|
-
* ```
|
|
4944
|
-
*
|
|
4945
|
-
* @param params - Parameters for request
|
|
4946
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4947
|
-
* @param callback - Optional callback that handles the response.
|
|
4948
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4949
|
-
*/
|
|
4950
|
-
list(params: Params$Resource$Bluegreendeployments$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4951
|
-
list(params?: Params$Resource$Bluegreendeployments$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBlueGreenDeploymentsResponse>>;
|
|
4952
|
-
list(params: Params$Resource$Bluegreendeployments$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4953
|
-
list(params: Params$Resource$Bluegreendeployments$List, options: MethodOptions | BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>, callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>): void;
|
|
4954
|
-
list(params: Params$Resource$Bluegreendeployments$List, callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>): void;
|
|
4955
|
-
list(callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>): void;
|
|
4956
|
-
/**
|
|
4957
|
-
* Switches over to green instance for a blue-green deployment.
|
|
4958
|
-
* @example
|
|
4959
|
-
* ```js
|
|
4960
|
-
* // Before running the sample:
|
|
4961
|
-
* // - Enable the API at:
|
|
4962
|
-
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
4963
|
-
* // - Login into gcloud by running:
|
|
4964
|
-
* // ```sh
|
|
4965
|
-
* // $ gcloud auth application-default login
|
|
4966
|
-
* // ```
|
|
4967
|
-
* // - Install the npm module by running:
|
|
4968
|
-
* // ```sh
|
|
4969
|
-
* // $ npm install googleapis
|
|
4970
|
-
* // ```
|
|
4971
|
-
*
|
|
4972
|
-
* const {google} = require('googleapis');
|
|
4973
|
-
* const sqladmin = google.sqladmin('v1');
|
|
4974
|
-
*
|
|
4975
|
-
* async function main() {
|
|
4976
|
-
* const auth = new google.auth.GoogleAuth({
|
|
4977
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4978
|
-
* scopes: [
|
|
4979
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
4980
|
-
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
4981
|
-
* ],
|
|
4982
|
-
* });
|
|
4983
|
-
*
|
|
4984
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
4985
|
-
* const authClient = await auth.getClient();
|
|
4986
|
-
* google.options({auth: authClient});
|
|
4987
|
-
*
|
|
4988
|
-
* // Do the magic
|
|
4989
|
-
* const res = await sql.blueGreenDeployments.switchover({
|
|
4990
|
-
* // Required. The name of the blue-green deployment to switch over. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
|
|
4991
|
-
* name: 'projects/my-project/locations/my-location/blueGreenDeployments/my-blueGreenDeployment',
|
|
4992
|
-
*
|
|
4993
|
-
* // Request body metadata
|
|
4994
|
-
* requestBody: {
|
|
4995
|
-
* // request body parameters
|
|
4996
|
-
* // {}
|
|
4997
|
-
* },
|
|
4998
|
-
* });
|
|
4999
|
-
* console.log(res.data);
|
|
5000
|
-
*
|
|
5001
|
-
* // Example response
|
|
5002
|
-
* // {
|
|
5003
|
-
* // "acquireSsrsLeaseContext": {},
|
|
5004
|
-
* // "apiWarning": {},
|
|
5005
|
-
* // "backupContext": {},
|
|
5006
|
-
* // "endTime": "my_endTime",
|
|
5007
|
-
* // "error": {},
|
|
5008
|
-
* // "exportContext": {},
|
|
5009
|
-
* // "importContext": {},
|
|
5010
|
-
* // "insertTime": "my_insertTime",
|
|
5011
|
-
* // "kind": "my_kind",
|
|
5012
|
-
* // "name": "my_name",
|
|
5013
|
-
* // "operationType": "my_operationType",
|
|
5014
|
-
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5015
|
-
* // "selfLink": "my_selfLink",
|
|
5016
|
-
* // "startTime": "my_startTime",
|
|
5017
|
-
* // "status": "my_status",
|
|
5018
|
-
* // "subOperationType": {},
|
|
5019
|
-
* // "targetId": "my_targetId",
|
|
5020
|
-
* // "targetLink": "my_targetLink",
|
|
5021
|
-
* // "targetProject": "my_targetProject",
|
|
5022
|
-
* // "user": "my_user"
|
|
5023
|
-
* // }
|
|
5024
|
-
* }
|
|
5025
|
-
*
|
|
5026
|
-
* main().catch(e => {
|
|
5027
|
-
* console.error(e);
|
|
5028
|
-
* throw e;
|
|
5029
|
-
* });
|
|
5030
|
-
*
|
|
5031
|
-
* ```
|
|
5032
|
-
*
|
|
5033
|
-
* @param params - Parameters for request
|
|
5034
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5035
|
-
* @param callback - Optional callback that handles the response.
|
|
5036
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5037
|
-
*/
|
|
5038
|
-
switchover(params: Params$Resource$Bluegreendeployments$Switchover, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5039
|
-
switchover(params?: Params$Resource$Bluegreendeployments$Switchover, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5040
|
-
switchover(params: Params$Resource$Bluegreendeployments$Switchover, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5041
|
-
switchover(params: Params$Resource$Bluegreendeployments$Switchover, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5042
|
-
switchover(params: Params$Resource$Bluegreendeployments$Switchover, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5043
|
-
switchover(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5044
|
-
}
|
|
5045
|
-
export interface Params$Resource$Bluegreendeployments$Create extends StandardParameters {
|
|
5046
|
-
/**
|
|
5047
|
-
* Required. The ID to use for the blue-green deployment, which will become the final component of the deployment's resource name. The ID must be unique within the given project and location and between 2-63 characters.
|
|
5048
|
-
*/
|
|
5049
|
-
blueGreenDeploymentId?: string;
|
|
5050
|
-
/**
|
|
5051
|
-
* Required. The parent resource where this blue-green deployment will be created. Format: projects/{project\}/locations/{location\}
|
|
5052
|
-
*/
|
|
5053
|
-
parent?: string;
|
|
5054
|
-
/**
|
|
5055
|
-
* Request body metadata
|
|
5056
|
-
*/
|
|
5057
|
-
requestBody?: Schema$BlueGreenDeployment;
|
|
5058
|
-
}
|
|
5059
|
-
export interface Params$Resource$Bluegreendeployments$Delete extends StandardParameters {
|
|
5060
|
-
/**
|
|
5061
|
-
* Optional. If set to true, and the switchover is complete, this deletes the old source instance along with the deployment.
|
|
5062
|
-
*/
|
|
5063
|
-
deleteOldSource?: boolean;
|
|
5064
|
-
/**
|
|
5065
|
-
* Required. The name of the blue-green deployment to delete. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
|
|
5066
|
-
*/
|
|
5067
|
-
name?: string;
|
|
5068
|
-
}
|
|
5069
|
-
export interface Params$Resource$Bluegreendeployments$Get extends StandardParameters {
|
|
5070
|
-
/**
|
|
5071
|
-
* Required. The name of the blue-green deployment to retrieve. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
|
|
5072
|
-
*/
|
|
5073
|
-
name?: string;
|
|
5074
|
-
/**
|
|
5075
|
-
* Optional. Specifies whether to return the basic or detailed view of the resource in the response.
|
|
5076
|
-
*/
|
|
5077
|
-
view?: string;
|
|
5078
|
-
}
|
|
5079
|
-
export interface Params$Resource$Bluegreendeployments$List extends StandardParameters {
|
|
5080
|
-
/**
|
|
5081
|
-
* Optional. A filter expression that filters the results.
|
|
5082
|
-
*/
|
|
5083
|
-
filter?: string;
|
|
5084
|
-
/**
|
|
5085
|
-
* Optional. A comma-separated list of fields to order the results by.
|
|
5086
|
-
*/
|
|
5087
|
-
orderBy?: string;
|
|
5088
|
-
/**
|
|
5089
|
-
* Optional. The maximum number of deployments to return. The service may return fewer deployments than this value. If unspecified, at most 500 deployments are returned. The maximum value is 1000; values above 1000 are treated as 1000.
|
|
5090
|
-
*/
|
|
5091
|
-
pageSize?: number;
|
|
5092
|
-
/**
|
|
5093
|
-
* Optional. A page token, received from a previous `ListBlueGreenDeployments` call. Provide this to retrieve the subsequent page.
|
|
5094
|
-
*/
|
|
5095
|
-
pageToken?: string;
|
|
5096
|
-
/**
|
|
5097
|
-
* Required. The parent resource whose blue-green deployments are to be listed. Format: projects/{project\}/locations/{location\}
|
|
5098
|
-
*/
|
|
5099
|
-
parent?: string;
|
|
5100
|
-
}
|
|
5101
|
-
export interface Params$Resource$Bluegreendeployments$Switchover extends StandardParameters {
|
|
5102
|
-
/**
|
|
5103
|
-
* Required. The name of the blue-green deployment to switch over. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
|
|
5104
|
-
*/
|
|
5105
|
-
name?: string;
|
|
5106
|
-
/**
|
|
5107
|
-
* Request body metadata
|
|
5108
|
-
*/
|
|
5109
|
-
requestBody?: Schema$SwitchoverBlueGreenDeploymentRequest;
|
|
5110
|
-
}
|
|
5111
|
-
export class Resource$Connect {
|
|
5112
|
-
context: APIRequestContext;
|
|
5113
|
-
constructor(context: APIRequestContext);
|
|
5114
|
-
/**
|
|
5115
|
-
* 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.
|
|
5116
|
-
* @example
|
|
5117
|
-
* ```js
|
|
5118
|
-
* // Before running the sample:
|
|
5119
|
-
* // - Enable the API at:
|
|
5120
|
-
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
5121
|
-
* // - Login into gcloud by running:
|
|
5122
|
-
* // ```sh
|
|
5123
|
-
* // $ gcloud auth application-default login
|
|
5124
|
-
* // ```
|
|
5125
|
-
* // - Install the npm module by running:
|
|
5126
|
-
* // ```sh
|
|
5127
|
-
* // $ npm install googleapis
|
|
5128
|
-
* // ```
|
|
5129
|
-
*
|
|
5130
|
-
* const {google} = require('googleapis');
|
|
5131
|
-
* const sqladmin = google.sqladmin('v1');
|
|
5132
|
-
*
|
|
5133
|
-
* async function main() {
|
|
5134
|
-
* const auth = new google.auth.GoogleAuth({
|
|
5135
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5136
|
-
* scopes: [
|
|
5137
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
5138
|
-
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
5139
|
-
* ],
|
|
5140
|
-
* });
|
|
5141
|
-
*
|
|
5142
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
5143
|
-
* const authClient = await auth.getClient();
|
|
5144
|
-
* google.options({auth: authClient});
|
|
5145
|
-
*
|
|
5146
|
-
* // Do the magic
|
|
5147
|
-
* const res = await sql.connect.generateEphemeral({
|
|
5148
|
-
* // Cloud SQL instance ID. This does not include the project ID.
|
|
5149
|
-
* instance: 'placeholder-value',
|
|
5150
|
-
* // Project ID of the project that contains the instance.
|
|
5151
|
-
* project: 'placeholder-value',
|
|
5152
|
-
*
|
|
5153
|
-
* // Request body metadata
|
|
5154
|
-
* requestBody: {
|
|
5155
|
-
* // request body parameters
|
|
5156
|
-
* // {
|
|
5157
|
-
* // "access_token": "my_access_token",
|
|
5158
|
-
* // "public_key": "my_public_key",
|
|
5159
|
-
* // "readTime": "my_readTime",
|
|
5160
|
-
* // "validDuration": "my_validDuration"
|
|
5161
|
-
* // }
|
|
5162
|
-
* },
|
|
5163
|
-
* });
|
|
5164
|
-
* console.log(res.data);
|
|
5165
|
-
*
|
|
5166
|
-
* // Example response
|
|
5167
|
-
* // {
|
|
5168
|
-
* // "ephemeralCert": {}
|
|
5169
|
-
* // }
|
|
5170
|
-
* }
|
|
5171
|
-
*
|
|
5172
|
-
* main().catch(e => {
|
|
5173
|
-
* console.error(e);
|
|
5174
|
-
* throw e;
|
|
5175
|
-
* });
|
|
5176
|
-
*
|
|
5177
|
-
* ```
|
|
5178
|
-
*
|
|
5179
|
-
* @param params - Parameters for request
|
|
5180
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5181
|
-
* @param callback - Optional callback that handles the response.
|
|
5182
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5183
|
-
*/
|
|
5184
|
-
generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5185
|
-
generateEphemeralCert(params?: Params$Resource$Connect$Generateephemeralcert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GenerateEphemeralCertResponse>>;
|
|
5186
|
-
generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5187
|
-
generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: MethodOptions | BodyResponseCallback<Schema$GenerateEphemeralCertResponse>, callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
|
|
5188
|
-
generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
|
|
5189
|
-
generateEphemeralCert(callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
|
|
5190
|
-
/**
|
|
5191
|
-
* Retrieves connect settings about a Cloud SQL instance.
|
|
5192
|
-
* @example
|
|
5193
|
-
* ```js
|
|
5194
|
-
* // Before running the sample:
|
|
5195
|
-
* // - Enable the API at:
|
|
5196
|
-
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
5197
|
-
* // - Login into gcloud by running:
|
|
5198
|
-
* // ```sh
|
|
5199
|
-
* // $ gcloud auth application-default login
|
|
5200
|
-
* // ```
|
|
5201
|
-
* // - Install the npm module by running:
|
|
5202
|
-
* // ```sh
|
|
5203
|
-
* // $ npm install googleapis
|
|
5204
|
-
* // ```
|
|
5205
|
-
*
|
|
5206
|
-
* const {google} = require('googleapis');
|
|
5207
|
-
* const sqladmin = google.sqladmin('v1');
|
|
5208
|
-
*
|
|
5209
|
-
* async function main() {
|
|
5210
|
-
* const auth = new google.auth.GoogleAuth({
|
|
5211
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5212
|
-
* scopes: [
|
|
5213
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
5214
|
-
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
5215
|
-
* ],
|
|
5216
|
-
* });
|
|
5217
|
-
*
|
|
5218
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
5219
|
-
* const authClient = await auth.getClient();
|
|
5220
|
-
* google.options({auth: authClient});
|
|
5221
|
-
*
|
|
5222
|
-
* // Do the magic
|
|
5223
|
-
* const res = await sql.connect.get({
|
|
5224
|
-
* // Cloud SQL instance ID. This does not include the project ID.
|
|
5225
|
-
* instance: 'placeholder-value',
|
|
5226
|
-
* // Project ID of the project that contains the instance.
|
|
5227
|
-
* project: 'placeholder-value',
|
|
5228
|
-
* // Optional. Optional snapshot read timestamp to trade freshness for performance.
|
|
5229
|
-
* readTime: 'placeholder-value',
|
|
5230
|
-
* });
|
|
5231
|
-
* console.log(res.data);
|
|
5232
|
-
*
|
|
5233
|
-
* // Example response
|
|
5234
|
-
* // {
|
|
5235
|
-
* // "backendType": "my_backendType",
|
|
5236
|
-
* // "connectionName": "my_connectionName",
|
|
5237
|
-
* // "customSubjectAlternativeNames": [],
|
|
5238
|
-
* // "databaseVersion": "my_databaseVersion",
|
|
5239
|
-
* // "dnsName": "my_dnsName",
|
|
5240
|
-
* // "dnsNames": [],
|
|
5241
|
-
* // "ipAddresses": [],
|
|
5242
|
-
* // "kind": "my_kind",
|
|
5243
|
-
* // "mdxProtocolSupport": [],
|
|
5244
|
-
* // "nodeCount": 0,
|
|
5245
|
-
* // "nodes": [],
|
|
5246
|
-
* // "pscEnabled": false,
|
|
5247
|
-
* // "region": "my_region",
|
|
5248
|
-
* // "serverCaCert": {},
|
|
5249
|
-
* // "serverCaMode": "my_serverCaMode"
|
|
5250
|
-
* // }
|
|
5251
|
-
* }
|
|
5252
|
-
*
|
|
5253
|
-
* main().catch(e => {
|
|
5254
|
-
* console.error(e);
|
|
5255
|
-
* throw e;
|
|
5256
|
-
* });
|
|
5257
|
-
*
|
|
5258
|
-
* ```
|
|
5259
|
-
*
|
|
5260
|
-
* @param params - Parameters for request
|
|
5261
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5262
|
-
* @param callback - Optional callback that handles the response.
|
|
5263
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5264
|
-
*/
|
|
5265
|
-
get(params: Params$Resource$Connect$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5266
|
-
get(params?: Params$Resource$Connect$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ConnectSettings>>;
|
|
5267
|
-
get(params: Params$Resource$Connect$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5268
|
-
get(params: Params$Resource$Connect$Get, options: MethodOptions | BodyResponseCallback<Schema$ConnectSettings>, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
|
|
5269
|
-
get(params: Params$Resource$Connect$Get, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
|
|
5270
|
-
get(callback: BodyResponseCallback<Schema$ConnectSettings>): void;
|
|
5271
|
-
/**
|
|
5272
|
-
* Retrieves connect settings about a Cloud SQL instance using the instance DNS name.
|
|
5273
|
-
* @example
|
|
5274
|
-
* ```js
|
|
5275
|
-
* // Before running the sample:
|
|
5276
|
-
* // - Enable the API at:
|
|
5277
|
-
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
5278
|
-
* // - Login into gcloud by running:
|
|
5279
|
-
* // ```sh
|
|
5280
|
-
* // $ gcloud auth application-default login
|
|
5281
|
-
* // ```
|
|
5282
|
-
* // - Install the npm module by running:
|
|
5283
|
-
* // ```sh
|
|
5284
|
-
* // $ npm install googleapis
|
|
5285
|
-
* // ```
|
|
5286
|
-
*
|
|
5287
|
-
* const {google} = require('googleapis');
|
|
5288
|
-
* const sqladmin = google.sqladmin('v1');
|
|
5289
|
-
*
|
|
5290
|
-
* async function main() {
|
|
5291
|
-
* const auth = new google.auth.GoogleAuth({
|
|
5292
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5293
|
-
* scopes: [
|
|
5294
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
5295
|
-
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
5296
|
-
* ],
|
|
5297
|
-
* });
|
|
5298
|
-
*
|
|
5299
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
5300
|
-
* const authClient = await auth.getClient();
|
|
5301
|
-
* google.options({auth: authClient});
|
|
5302
|
-
*
|
|
5303
|
-
* // Do the magic
|
|
5304
|
-
* const res = await sql.connect.resolve({
|
|
5305
|
-
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
5306
|
-
* dnsName: 'placeholder-value',
|
|
5307
|
-
* // Required. The region of the instance.
|
|
5308
|
-
* location: 'placeholder-value',
|
|
5309
|
-
* });
|
|
5310
|
-
* console.log(res.data);
|
|
5311
|
-
*
|
|
5312
|
-
* // Example response
|
|
5313
|
-
* // {
|
|
5314
|
-
* // "backendType": "my_backendType",
|
|
5315
|
-
* // "connectionName": "my_connectionName",
|
|
5316
|
-
* // "customSubjectAlternativeNames": [],
|
|
5317
|
-
* // "databaseVersion": "my_databaseVersion",
|
|
5318
|
-
* // "dnsName": "my_dnsName",
|
|
5319
|
-
* // "dnsNames": [],
|
|
5320
|
-
* // "ipAddresses": [],
|
|
5321
|
-
* // "kind": "my_kind",
|
|
5322
|
-
* // "mdxProtocolSupport": [],
|
|
5323
|
-
* // "nodeCount": 0,
|
|
5324
|
-
* // "nodes": [],
|
|
5325
|
-
* // "pscEnabled": false,
|
|
5326
|
-
* // "region": "my_region",
|
|
5327
|
-
* // "serverCaCert": {},
|
|
5328
|
-
* // "serverCaMode": "my_serverCaMode"
|
|
4596
|
+
* // "backendType": "my_backendType",
|
|
4597
|
+
* // "connectionName": "my_connectionName",
|
|
4598
|
+
* // "customSubjectAlternativeNames": [],
|
|
4599
|
+
* // "databaseVersion": "my_databaseVersion",
|
|
4600
|
+
* // "dnsName": "my_dnsName",
|
|
4601
|
+
* // "dnsNames": [],
|
|
4602
|
+
* // "ipAddresses": [],
|
|
4603
|
+
* // "kind": "my_kind",
|
|
4604
|
+
* // "mdxProtocolSupport": [],
|
|
4605
|
+
* // "nodeCount": 0,
|
|
4606
|
+
* // "nodes": [],
|
|
4607
|
+
* // "pscEnabled": false,
|
|
4608
|
+
* // "region": "my_region",
|
|
4609
|
+
* // "serverCaCert": {},
|
|
4610
|
+
* // "serverCaMode": "my_serverCaMode"
|
|
5329
4611
|
* // }
|
|
5330
4612
|
* }
|
|
5331
4613
|
*
|
|
@@ -5427,8 +4709,6 @@ export declare namespace sqladmin_v1 {
|
|
|
5427
4709
|
* database: 'placeholder-value',
|
|
5428
4710
|
* // Database instance ID. This does not include the project ID.
|
|
5429
4711
|
* instance: 'placeholder-value',
|
|
5430
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
5431
|
-
* location: 'placeholder-value',
|
|
5432
4712
|
* // Project ID of the project that contains the instance.
|
|
5433
4713
|
* project: 'placeholder-value',
|
|
5434
4714
|
* });
|
|
@@ -5515,8 +4795,6 @@ export declare namespace sqladmin_v1 {
|
|
|
5515
4795
|
* database: 'placeholder-value',
|
|
5516
4796
|
* // Database instance ID. This does not include the project ID.
|
|
5517
4797
|
* instance: 'placeholder-value',
|
|
5518
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
5519
|
-
* location: 'placeholder-value',
|
|
5520
4798
|
* // Project ID of the project that contains the instance.
|
|
5521
4799
|
* project: 'placeholder-value',
|
|
5522
4800
|
* });
|
|
@@ -5590,8 +4868,6 @@ export declare namespace sqladmin_v1 {
|
|
|
5590
4868
|
* const res = await sql.databases.insert({
|
|
5591
4869
|
* // Database instance ID. This does not include the project ID.
|
|
5592
4870
|
* instance: 'placeholder-value',
|
|
5593
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
5594
|
-
* location: 'placeholder-value',
|
|
5595
4871
|
* // Project ID of the project that contains the instance.
|
|
5596
4872
|
* project: 'placeholder-value',
|
|
5597
4873
|
*
|
|
@@ -5692,8 +4968,6 @@ export declare namespace sqladmin_v1 {
|
|
|
5692
4968
|
* const res = await sql.databases.list({
|
|
5693
4969
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
5694
4970
|
* instance: 'placeholder-value',
|
|
5695
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
5696
|
-
* location: 'placeholder-value',
|
|
5697
4971
|
* // Project ID of the project that contains the instance.
|
|
5698
4972
|
* project: 'placeholder-value',
|
|
5699
4973
|
* });
|
|
@@ -5762,8 +5036,6 @@ export declare namespace sqladmin_v1 {
|
|
|
5762
5036
|
* database: 'placeholder-value',
|
|
5763
5037
|
* // Database instance ID. This does not include the project ID.
|
|
5764
5038
|
* instance: 'placeholder-value',
|
|
5765
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
5766
|
-
* location: 'placeholder-value',
|
|
5767
5039
|
* // Project ID of the project that contains the instance.
|
|
5768
5040
|
* project: 'placeholder-value',
|
|
5769
5041
|
*
|
|
@@ -5866,8 +5138,6 @@ export declare namespace sqladmin_v1 {
|
|
|
5866
5138
|
* database: 'placeholder-value',
|
|
5867
5139
|
* // Database instance ID. This does not include the project ID.
|
|
5868
5140
|
* instance: 'placeholder-value',
|
|
5869
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
5870
|
-
* location: 'placeholder-value',
|
|
5871
5141
|
* // Project ID of the project that contains the instance.
|
|
5872
5142
|
* project: 'placeholder-value',
|
|
5873
5143
|
*
|
|
@@ -5942,10 +5212,6 @@ export declare namespace sqladmin_v1 {
|
|
|
5942
5212
|
* Database instance ID. This does not include the project ID.
|
|
5943
5213
|
*/
|
|
5944
5214
|
instance?: string;
|
|
5945
|
-
/**
|
|
5946
|
-
* Optional. Region of the Cloud SQL instance.
|
|
5947
|
-
*/
|
|
5948
|
-
location?: string;
|
|
5949
5215
|
/**
|
|
5950
5216
|
* Project ID of the project that contains the instance.
|
|
5951
5217
|
*/
|
|
@@ -5960,10 +5226,6 @@ export declare namespace sqladmin_v1 {
|
|
|
5960
5226
|
* Database instance ID. This does not include the project ID.
|
|
5961
5227
|
*/
|
|
5962
5228
|
instance?: string;
|
|
5963
|
-
/**
|
|
5964
|
-
* Optional. Region of the Cloud SQL instance.
|
|
5965
|
-
*/
|
|
5966
|
-
location?: string;
|
|
5967
5229
|
/**
|
|
5968
5230
|
* Project ID of the project that contains the instance.
|
|
5969
5231
|
*/
|
|
@@ -5974,10 +5236,6 @@ export declare namespace sqladmin_v1 {
|
|
|
5974
5236
|
* Database instance ID. This does not include the project ID.
|
|
5975
5237
|
*/
|
|
5976
5238
|
instance?: string;
|
|
5977
|
-
/**
|
|
5978
|
-
* Optional. Region of the Cloud SQL instance.
|
|
5979
|
-
*/
|
|
5980
|
-
location?: string;
|
|
5981
5239
|
/**
|
|
5982
5240
|
* Project ID of the project that contains the instance.
|
|
5983
5241
|
*/
|
|
@@ -5992,10 +5250,6 @@ export declare namespace sqladmin_v1 {
|
|
|
5992
5250
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
5993
5251
|
*/
|
|
5994
5252
|
instance?: string;
|
|
5995
|
-
/**
|
|
5996
|
-
* Optional. Region of the Cloud SQL instance.
|
|
5997
|
-
*/
|
|
5998
|
-
location?: string;
|
|
5999
5253
|
/**
|
|
6000
5254
|
* Project ID of the project that contains the instance.
|
|
6001
5255
|
*/
|
|
@@ -6010,10 +5264,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6010
5264
|
* Database instance ID. This does not include the project ID.
|
|
6011
5265
|
*/
|
|
6012
5266
|
instance?: string;
|
|
6013
|
-
/**
|
|
6014
|
-
* Optional. Region of the Cloud SQL instance.
|
|
6015
|
-
*/
|
|
6016
|
-
location?: string;
|
|
6017
5267
|
/**
|
|
6018
5268
|
* Project ID of the project that contains the instance.
|
|
6019
5269
|
*/
|
|
@@ -6032,10 +5282,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6032
5282
|
* Database instance ID. This does not include the project ID.
|
|
6033
5283
|
*/
|
|
6034
5284
|
instance?: string;
|
|
6035
|
-
/**
|
|
6036
|
-
* Optional. Region of the Cloud SQL instance.
|
|
6037
|
-
*/
|
|
6038
|
-
location?: string;
|
|
6039
5285
|
/**
|
|
6040
5286
|
* Project ID of the project that contains the instance.
|
|
6041
5287
|
*/
|
|
@@ -6164,8 +5410,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6164
5410
|
* const res = await sql.instances.acquireSsrsLease({
|
|
6165
5411
|
* // 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).
|
|
6166
5412
|
* instance: 'placeholder-value',
|
|
6167
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6168
|
-
* location: 'placeholder-value',
|
|
6169
5413
|
* // Required. Project ID of the project that contains the instance (Example: project-id).
|
|
6170
5414
|
* project: 'placeholder-value',
|
|
6171
5415
|
*
|
|
@@ -6239,8 +5483,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6239
5483
|
* const res = await sql.instances.addEntraIdCertificate({
|
|
6240
5484
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
6241
5485
|
* instance: 'placeholder-value',
|
|
6242
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6243
|
-
* location: 'placeholder-value',
|
|
6244
5486
|
* // Required. Project ID of the project that contains the instance.
|
|
6245
5487
|
* project: 'placeholder-value',
|
|
6246
5488
|
* });
|
|
@@ -6325,8 +5567,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6325
5567
|
* const res = await sql.instances.addServerCa({
|
|
6326
5568
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
6327
5569
|
* instance: 'placeholder-value',
|
|
6328
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6329
|
-
* location: 'placeholder-value',
|
|
6330
5570
|
* // Project ID of the project that contains the instance.
|
|
6331
5571
|
* project: 'placeholder-value',
|
|
6332
5572
|
* });
|
|
@@ -6411,8 +5651,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6411
5651
|
* const res = await sql.instances.addServerCertificate({
|
|
6412
5652
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
6413
5653
|
* instance: 'placeholder-value',
|
|
6414
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6415
|
-
* location: 'placeholder-value',
|
|
6416
5654
|
* // Project ID of the project that contains the instance.
|
|
6417
5655
|
* project: 'placeholder-value',
|
|
6418
5656
|
* });
|
|
@@ -6497,8 +5735,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6497
5735
|
* const res = await sql.instances.clone({
|
|
6498
5736
|
* // Required. The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
|
|
6499
5737
|
* instance: 'placeholder-value',
|
|
6500
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6501
|
-
* location: 'placeholder-value',
|
|
6502
5738
|
* // Required. Project ID of the source Cloud SQL instance.
|
|
6503
5739
|
* project: 'placeholder-value',
|
|
6504
5740
|
*
|
|
@@ -6599,8 +5835,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6599
5835
|
* finalBackupTtlDays: 'placeholder-value',
|
|
6600
5836
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
6601
5837
|
* instance: 'placeholder-value',
|
|
6602
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6603
|
-
* location: 'placeholder-value',
|
|
6604
5838
|
* // Project ID of the project that contains the instance to be deleted.
|
|
6605
5839
|
* project: 'placeholder-value',
|
|
6606
5840
|
* });
|
|
@@ -6684,9 +5918,7 @@ export declare namespace sqladmin_v1 {
|
|
|
6684
5918
|
* // Do the magic
|
|
6685
5919
|
* const res = await sql.instances.demote({
|
|
6686
5920
|
* // Required. Cloud SQL instance name.
|
|
6687
|
-
* instance: 'placeholder-value',
|
|
6688
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6689
|
-
* location: 'placeholder-value',
|
|
5921
|
+
* instance: 'placeholder-value',
|
|
6690
5922
|
* // Required. ID of the project that contains the instance.
|
|
6691
5923
|
* project: 'placeholder-value',
|
|
6692
5924
|
*
|
|
@@ -6779,8 +6011,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6779
6011
|
* const res = await sql.instances.demoteMaster({
|
|
6780
6012
|
* // Cloud SQL instance name.
|
|
6781
6013
|
* instance: 'placeholder-value',
|
|
6782
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6783
|
-
* location: 'placeholder-value',
|
|
6784
6014
|
* // ID of the project that contains the instance.
|
|
6785
6015
|
* project: 'placeholder-value',
|
|
6786
6016
|
*
|
|
@@ -6873,8 +6103,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6873
6103
|
* const res = await sql.instances.executeSql({
|
|
6874
6104
|
* // Required. Database instance ID. This does not include the project ID.
|
|
6875
6105
|
* instance: 'placeholder-value',
|
|
6876
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6877
|
-
* location: 'placeholder-value',
|
|
6878
6106
|
* // Required. Project ID of the project that contains the instance.
|
|
6879
6107
|
* project: 'placeholder-value',
|
|
6880
6108
|
*
|
|
@@ -6955,8 +6183,6 @@ export declare namespace sqladmin_v1 {
|
|
|
6955
6183
|
* const res = await sql.instances.export({
|
|
6956
6184
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
6957
6185
|
* instance: 'placeholder-value',
|
|
6958
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
6959
|
-
* location: 'placeholder-value',
|
|
6960
6186
|
* // Project ID of the project that contains the instance to be exported.
|
|
6961
6187
|
* project: 'placeholder-value',
|
|
6962
6188
|
*
|
|
@@ -7049,8 +6275,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7049
6275
|
* const res = await sql.instances.failover({
|
|
7050
6276
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
7051
6277
|
* instance: 'placeholder-value',
|
|
7052
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7053
|
-
* location: 'placeholder-value',
|
|
7054
6278
|
* // ID of the project that contains the read replica.
|
|
7055
6279
|
* project: 'placeholder-value',
|
|
7056
6280
|
*
|
|
@@ -7143,8 +6367,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7143
6367
|
* const res = await sql.instances.get({
|
|
7144
6368
|
* // Required. Database instance ID. This does not include the project ID.
|
|
7145
6369
|
* instance: 'placeholder-value',
|
|
7146
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7147
|
-
* location: 'placeholder-value',
|
|
7148
6370
|
* // Required. Project ID of the project that contains the instance.
|
|
7149
6371
|
* project: 'placeholder-value',
|
|
7150
6372
|
* });
|
|
@@ -7160,7 +6382,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7160
6382
|
* // "databaseCenterIntegrationEnabled": false,
|
|
7161
6383
|
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
7162
6384
|
* // "databaseVersion": "my_databaseVersion",
|
|
7163
|
-
* // "deploymentInfo": {},
|
|
7164
6385
|
* // "diskEncryptionConfiguration": {},
|
|
7165
6386
|
* // "diskEncryptionStatus": {},
|
|
7166
6387
|
* // "dnsName": "my_dnsName",
|
|
@@ -7259,8 +6480,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7259
6480
|
* const res = await sql.instances.import({
|
|
7260
6481
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
7261
6482
|
* instance: 'placeholder-value',
|
|
7262
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7263
|
-
* location: 'placeholder-value',
|
|
7264
6483
|
* // Project ID of the project that contains the instance.
|
|
7265
6484
|
* project: 'placeholder-value',
|
|
7266
6485
|
*
|
|
@@ -7351,8 +6570,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7351
6570
|
*
|
|
7352
6571
|
* // Do the magic
|
|
7353
6572
|
* const res = await sql.instances.insert({
|
|
7354
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7355
|
-
* location: 'placeholder-value',
|
|
7356
6573
|
* // Project ID of the project to which the newly created Cloud SQL instances should belong.
|
|
7357
6574
|
* project: 'placeholder-value',
|
|
7358
6575
|
*
|
|
@@ -7368,7 +6585,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7368
6585
|
* // "databaseCenterIntegrationEnabled": false,
|
|
7369
6586
|
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
7370
6587
|
* // "databaseVersion": "my_databaseVersion",
|
|
7371
|
-
* // "deploymentInfo": {},
|
|
7372
6588
|
* // "diskEncryptionConfiguration": {},
|
|
7373
6589
|
* // "diskEncryptionStatus": {},
|
|
7374
6590
|
* // "dnsName": "my_dnsName",
|
|
@@ -7497,8 +6713,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7497
6713
|
* const res = await sql.instances.list({
|
|
7498
6714
|
* // 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.
|
|
7499
6715
|
* filter: 'placeholder-value',
|
|
7500
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7501
|
-
* location: 'placeholder-value',
|
|
7502
6716
|
* // 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.
|
|
7503
6717
|
* maxResults: 'placeholder-value',
|
|
7504
6718
|
* // A previously-returned page token representing part of the larger set of results to view.
|
|
@@ -7571,8 +6785,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7571
6785
|
* const res = await sql.instances.ListEntraIdCertificates({
|
|
7572
6786
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
7573
6787
|
* instance: 'placeholder-value',
|
|
7574
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7575
|
-
* location: 'placeholder-value',
|
|
7576
6788
|
* // Required. Project ID of the project that contains the instance.
|
|
7577
6789
|
* project: 'placeholder-value',
|
|
7578
6790
|
* });
|
|
@@ -7640,8 +6852,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7640
6852
|
* const res = await sql.instances.listServerCas({
|
|
7641
6853
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
7642
6854
|
* instance: 'placeholder-value',
|
|
7643
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7644
|
-
* location: 'placeholder-value',
|
|
7645
6855
|
* // Project ID of the project that contains the instance.
|
|
7646
6856
|
* project: 'placeholder-value',
|
|
7647
6857
|
* });
|
|
@@ -7709,8 +6919,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7709
6919
|
* const res = await sql.instances.ListServerCertificates({
|
|
7710
6920
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
7711
6921
|
* instance: 'placeholder-value',
|
|
7712
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7713
|
-
* location: 'placeholder-value',
|
|
7714
6922
|
* // Required. Project ID of the project that contains the instance.
|
|
7715
6923
|
* project: 'placeholder-value',
|
|
7716
6924
|
* });
|
|
@@ -7779,8 +6987,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7779
6987
|
* const res = await sql.instances.patch({
|
|
7780
6988
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
7781
6989
|
* instance: 'placeholder-value',
|
|
7782
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
7783
|
-
* location: 'placeholder-value',
|
|
7784
6990
|
* // Project ID of the project that contains the instance.
|
|
7785
6991
|
* project: 'placeholder-value',
|
|
7786
6992
|
* // Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
|
|
@@ -7800,7 +7006,6 @@ export declare namespace sqladmin_v1 {
|
|
|
7800
7006
|
* // "databaseCenterIntegrationEnabled": false,
|
|
7801
7007
|
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
7802
7008
|
* // "databaseVersion": "my_databaseVersion",
|
|
7803
|
-
* // "deploymentInfo": {},
|
|
7804
7009
|
* // "diskEncryptionConfiguration": {},
|
|
7805
7010
|
* // "diskEncryptionStatus": {},
|
|
7806
7011
|
* // "dnsName": "my_dnsName",
|
|
@@ -8028,8 +7233,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8028
7233
|
* const res = await sql.instances.preCheckMajorVersionUpgrade({
|
|
8029
7234
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
8030
7235
|
* instance: 'placeholder-value',
|
|
8031
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8032
|
-
* location: 'placeholder-value',
|
|
8033
7236
|
* // Required. Project ID of the project that contains the instance.
|
|
8034
7237
|
* project: 'placeholder-value',
|
|
8035
7238
|
*
|
|
@@ -8124,8 +7327,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8124
7327
|
* failover: 'placeholder-value',
|
|
8125
7328
|
* // Cloud SQL read replica instance name.
|
|
8126
7329
|
* instance: 'placeholder-value',
|
|
8127
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8128
|
-
* location: 'placeholder-value',
|
|
8129
7330
|
* // ID of the project that contains the read replica.
|
|
8130
7331
|
* project: 'placeholder-value',
|
|
8131
7332
|
* });
|
|
@@ -8210,8 +7411,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8210
7411
|
* const res = await sql.instances.reencrypt({
|
|
8211
7412
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
8212
7413
|
* instance: 'placeholder-value',
|
|
8213
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8214
|
-
* location: 'placeholder-value',
|
|
8215
7414
|
* // ID of the project that contains the instance.
|
|
8216
7415
|
* project: 'placeholder-value',
|
|
8217
7416
|
*
|
|
@@ -8304,8 +7503,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8304
7503
|
* const res = await sql.instances.releaseSsrsLease({
|
|
8305
7504
|
* // Required. The Cloud SQL instance ID. This doesn't include the project ID. The instance ID contains lowercase letters, numbers, and hyphens, and it must start with a letter. This ID can have a maximum length of 98 characters.
|
|
8306
7505
|
* instance: 'placeholder-value',
|
|
8307
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8308
|
-
* location: 'placeholder-value',
|
|
8309
7506
|
* // Required. The project ID that contains the instance.
|
|
8310
7507
|
* project: 'placeholder-value',
|
|
8311
7508
|
* });
|
|
@@ -8371,8 +7568,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8371
7568
|
* const res = await sql.instances.resetSslConfig({
|
|
8372
7569
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
8373
7570
|
* instance: 'placeholder-value',
|
|
8374
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8375
|
-
* location: 'placeholder-value',
|
|
8376
7571
|
* // Optional. Reset SSL mode to use.
|
|
8377
7572
|
* mode: 'placeholder-value',
|
|
8378
7573
|
* // Project ID of the project that contains the instance.
|
|
@@ -8459,8 +7654,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8459
7654
|
* const res = await sql.instances.restart({
|
|
8460
7655
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
8461
7656
|
* instance: 'placeholder-value',
|
|
8462
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8463
|
-
* location: 'placeholder-value',
|
|
8464
7657
|
* // Project ID of the project that contains the instance to be restarted.
|
|
8465
7658
|
* project: 'placeholder-value',
|
|
8466
7659
|
* });
|
|
@@ -8545,8 +7738,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8545
7738
|
* const res = await sql.instances.restoreBackup({
|
|
8546
7739
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
8547
7740
|
* instance: 'placeholder-value',
|
|
8548
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8549
|
-
* location: 'placeholder-value',
|
|
8550
7741
|
* // Project ID of the project that contains the instance.
|
|
8551
7742
|
* project: 'placeholder-value',
|
|
8552
7743
|
*
|
|
@@ -8556,7 +7747,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8556
7747
|
* // {
|
|
8557
7748
|
* // "backup": "my_backup",
|
|
8558
7749
|
* // "backupdrBackup": "my_backupdrBackup",
|
|
8559
|
-
* // "ignoreMaintenanceVersion": false,
|
|
8560
7750
|
* // "restoreBackupContext": {},
|
|
8561
7751
|
* // "restoreInstanceClearOverridesFieldNames": [],
|
|
8562
7752
|
* // "restoreInstanceSettings": {}
|
|
@@ -8644,8 +7834,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8644
7834
|
* const res = await sql.instances.RotateEntraIdCertificate({
|
|
8645
7835
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
8646
7836
|
* instance: 'placeholder-value',
|
|
8647
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8648
|
-
* location: 'placeholder-value',
|
|
8649
7837
|
* // Required. Project ID of the project that contains the instance.
|
|
8650
7838
|
* project: 'placeholder-value',
|
|
8651
7839
|
*
|
|
@@ -8738,8 +7926,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8738
7926
|
* const res = await sql.instances.rotateServerCa({
|
|
8739
7927
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
8740
7928
|
* instance: 'placeholder-value',
|
|
8741
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8742
|
-
* location: 'placeholder-value',
|
|
8743
7929
|
* // Project ID of the project that contains the instance.
|
|
8744
7930
|
* project: 'placeholder-value',
|
|
8745
7931
|
*
|
|
@@ -8832,8 +8018,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8832
8018
|
* const res = await sql.instances.RotateServerCertificate({
|
|
8833
8019
|
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
8834
8020
|
* instance: 'placeholder-value',
|
|
8835
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8836
|
-
* location: 'placeholder-value',
|
|
8837
8021
|
* // Required. Project ID of the project that contains the instance.
|
|
8838
8022
|
* project: 'placeholder-value',
|
|
8839
8023
|
*
|
|
@@ -8926,8 +8110,6 @@ export declare namespace sqladmin_v1 {
|
|
|
8926
8110
|
* const res = await sql.instances.startReplica({
|
|
8927
8111
|
* // Cloud SQL read replica instance name.
|
|
8928
8112
|
* instance: 'placeholder-value',
|
|
8929
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
8930
|
-
* location: 'placeholder-value',
|
|
8931
8113
|
* // ID of the project that contains the read replica.
|
|
8932
8114
|
* project: 'placeholder-value',
|
|
8933
8115
|
* });
|
|
@@ -9012,8 +8194,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9012
8194
|
* const res = await sql.instances.stopReplica({
|
|
9013
8195
|
* // Cloud SQL read replica instance name.
|
|
9014
8196
|
* instance: 'placeholder-value',
|
|
9015
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
9016
|
-
* location: 'placeholder-value',
|
|
9017
8197
|
* // ID of the project that contains the read replica.
|
|
9018
8198
|
* project: 'placeholder-value',
|
|
9019
8199
|
* });
|
|
@@ -9100,8 +8280,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9100
8280
|
* dbTimeout: 'placeholder-value',
|
|
9101
8281
|
* // Cloud SQL read replica instance name.
|
|
9102
8282
|
* instance: 'placeholder-value',
|
|
9103
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
9104
|
-
* location: 'placeholder-value',
|
|
9105
8283
|
* // ID of the project that contains the replica.
|
|
9106
8284
|
* project: 'placeholder-value',
|
|
9107
8285
|
* });
|
|
@@ -9186,8 +8364,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9186
8364
|
* const res = await sql.instances.truncateLog({
|
|
9187
8365
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
9188
8366
|
* instance: 'placeholder-value',
|
|
9189
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
9190
|
-
* location: 'placeholder-value',
|
|
9191
8367
|
* // Project ID of the Cloud SQL project.
|
|
9192
8368
|
* project: 'placeholder-value',
|
|
9193
8369
|
*
|
|
@@ -9280,8 +8456,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9280
8456
|
* const res = await sql.instances.update({
|
|
9281
8457
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
9282
8458
|
* instance: 'placeholder-value',
|
|
9283
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
9284
|
-
* location: 'placeholder-value',
|
|
9285
8459
|
* // Project ID of the project that contains the instance.
|
|
9286
8460
|
* project: 'placeholder-value',
|
|
9287
8461
|
*
|
|
@@ -9297,7 +8471,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9297
8471
|
* // "databaseCenterIntegrationEnabled": false,
|
|
9298
8472
|
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
9299
8473
|
* // "databaseVersion": "my_databaseVersion",
|
|
9300
|
-
* // "deploymentInfo": {},
|
|
9301
8474
|
* // "diskEncryptionConfiguration": {},
|
|
9302
8475
|
* // "diskEncryptionStatus": {},
|
|
9303
8476
|
* // "dnsName": "my_dnsName",
|
|
@@ -9396,10 +8569,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9396
8569
|
* 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).
|
|
9397
8570
|
*/
|
|
9398
8571
|
instance?: string;
|
|
9399
|
-
/**
|
|
9400
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9401
|
-
*/
|
|
9402
|
-
location?: string;
|
|
9403
8572
|
/**
|
|
9404
8573
|
* Required. Project ID of the project that contains the instance (Example: project-id).
|
|
9405
8574
|
*/
|
|
@@ -9414,10 +8583,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9414
8583
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
9415
8584
|
*/
|
|
9416
8585
|
instance?: string;
|
|
9417
|
-
/**
|
|
9418
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9419
|
-
*/
|
|
9420
|
-
location?: string;
|
|
9421
8586
|
/**
|
|
9422
8587
|
* Required. Project ID of the project that contains the instance.
|
|
9423
8588
|
*/
|
|
@@ -9428,10 +8593,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9428
8593
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9429
8594
|
*/
|
|
9430
8595
|
instance?: string;
|
|
9431
|
-
/**
|
|
9432
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9433
|
-
*/
|
|
9434
|
-
location?: string;
|
|
9435
8596
|
/**
|
|
9436
8597
|
* Project ID of the project that contains the instance.
|
|
9437
8598
|
*/
|
|
@@ -9442,10 +8603,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9442
8603
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9443
8604
|
*/
|
|
9444
8605
|
instance?: string;
|
|
9445
|
-
/**
|
|
9446
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9447
|
-
*/
|
|
9448
|
-
location?: string;
|
|
9449
8606
|
/**
|
|
9450
8607
|
* Project ID of the project that contains the instance.
|
|
9451
8608
|
*/
|
|
@@ -9456,10 +8613,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9456
8613
|
* Required. The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
|
|
9457
8614
|
*/
|
|
9458
8615
|
instance?: string;
|
|
9459
|
-
/**
|
|
9460
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9461
|
-
*/
|
|
9462
|
-
location?: string;
|
|
9463
8616
|
/**
|
|
9464
8617
|
* Required. Project ID of the source Cloud SQL instance.
|
|
9465
8618
|
*/
|
|
@@ -9490,10 +8643,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9490
8643
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9491
8644
|
*/
|
|
9492
8645
|
instance?: string;
|
|
9493
|
-
/**
|
|
9494
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9495
|
-
*/
|
|
9496
|
-
location?: string;
|
|
9497
8646
|
/**
|
|
9498
8647
|
* Project ID of the project that contains the instance to be deleted.
|
|
9499
8648
|
*/
|
|
@@ -9504,10 +8653,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9504
8653
|
* Required. Cloud SQL instance name.
|
|
9505
8654
|
*/
|
|
9506
8655
|
instance?: string;
|
|
9507
|
-
/**
|
|
9508
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9509
|
-
*/
|
|
9510
|
-
location?: string;
|
|
9511
8656
|
/**
|
|
9512
8657
|
* Required. ID of the project that contains the instance.
|
|
9513
8658
|
*/
|
|
@@ -9522,10 +8667,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9522
8667
|
* Cloud SQL instance name.
|
|
9523
8668
|
*/
|
|
9524
8669
|
instance?: string;
|
|
9525
|
-
/**
|
|
9526
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9527
|
-
*/
|
|
9528
|
-
location?: string;
|
|
9529
8670
|
/**
|
|
9530
8671
|
* ID of the project that contains the instance.
|
|
9531
8672
|
*/
|
|
@@ -9540,10 +8681,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9540
8681
|
* Required. Database instance ID. This does not include the project ID.
|
|
9541
8682
|
*/
|
|
9542
8683
|
instance?: string;
|
|
9543
|
-
/**
|
|
9544
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9545
|
-
*/
|
|
9546
|
-
location?: string;
|
|
9547
8684
|
/**
|
|
9548
8685
|
* Required. Project ID of the project that contains the instance.
|
|
9549
8686
|
*/
|
|
@@ -9558,10 +8695,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9558
8695
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9559
8696
|
*/
|
|
9560
8697
|
instance?: string;
|
|
9561
|
-
/**
|
|
9562
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9563
|
-
*/
|
|
9564
|
-
location?: string;
|
|
9565
8698
|
/**
|
|
9566
8699
|
* Project ID of the project that contains the instance to be exported.
|
|
9567
8700
|
*/
|
|
@@ -9576,10 +8709,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9576
8709
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9577
8710
|
*/
|
|
9578
8711
|
instance?: string;
|
|
9579
|
-
/**
|
|
9580
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9581
|
-
*/
|
|
9582
|
-
location?: string;
|
|
9583
8712
|
/**
|
|
9584
8713
|
* ID of the project that contains the read replica.
|
|
9585
8714
|
*/
|
|
@@ -9594,10 +8723,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9594
8723
|
* Required. Database instance ID. This does not include the project ID.
|
|
9595
8724
|
*/
|
|
9596
8725
|
instance?: string;
|
|
9597
|
-
/**
|
|
9598
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9599
|
-
*/
|
|
9600
|
-
location?: string;
|
|
9601
8726
|
/**
|
|
9602
8727
|
* Required. Project ID of the project that contains the instance.
|
|
9603
8728
|
*/
|
|
@@ -9608,10 +8733,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9608
8733
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9609
8734
|
*/
|
|
9610
8735
|
instance?: string;
|
|
9611
|
-
/**
|
|
9612
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9613
|
-
*/
|
|
9614
|
-
location?: string;
|
|
9615
8736
|
/**
|
|
9616
8737
|
* Project ID of the project that contains the instance.
|
|
9617
8738
|
*/
|
|
@@ -9622,10 +8743,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9622
8743
|
requestBody?: Schema$InstancesImportRequest;
|
|
9623
8744
|
}
|
|
9624
8745
|
export interface Params$Resource$Instances$Insert extends StandardParameters {
|
|
9625
|
-
/**
|
|
9626
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9627
|
-
*/
|
|
9628
|
-
location?: string;
|
|
9629
8746
|
/**
|
|
9630
8747
|
* Project ID of the project to which the newly created Cloud SQL instances should belong.
|
|
9631
8748
|
*/
|
|
@@ -9640,10 +8757,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9640
8757
|
* 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.
|
|
9641
8758
|
*/
|
|
9642
8759
|
filter?: string;
|
|
9643
|
-
/**
|
|
9644
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9645
|
-
*/
|
|
9646
|
-
location?: string;
|
|
9647
8760
|
/**
|
|
9648
8761
|
* 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.
|
|
9649
8762
|
*/
|
|
@@ -9662,10 +8775,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9662
8775
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
9663
8776
|
*/
|
|
9664
8777
|
instance?: string;
|
|
9665
|
-
/**
|
|
9666
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9667
|
-
*/
|
|
9668
|
-
location?: string;
|
|
9669
8778
|
/**
|
|
9670
8779
|
* Required. Project ID of the project that contains the instance.
|
|
9671
8780
|
*/
|
|
@@ -9676,10 +8785,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9676
8785
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9677
8786
|
*/
|
|
9678
8787
|
instance?: string;
|
|
9679
|
-
/**
|
|
9680
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9681
|
-
*/
|
|
9682
|
-
location?: string;
|
|
9683
8788
|
/**
|
|
9684
8789
|
* Project ID of the project that contains the instance.
|
|
9685
8790
|
*/
|
|
@@ -9690,10 +8795,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9690
8795
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
9691
8796
|
*/
|
|
9692
8797
|
instance?: string;
|
|
9693
|
-
/**
|
|
9694
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9695
|
-
*/
|
|
9696
|
-
location?: string;
|
|
9697
8798
|
/**
|
|
9698
8799
|
* Required. Project ID of the project that contains the instance.
|
|
9699
8800
|
*/
|
|
@@ -9704,10 +8805,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9704
8805
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9705
8806
|
*/
|
|
9706
8807
|
instance?: string;
|
|
9707
|
-
/**
|
|
9708
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9709
|
-
*/
|
|
9710
|
-
location?: string;
|
|
9711
8808
|
/**
|
|
9712
8809
|
* Project ID of the project that contains the instance.
|
|
9713
8810
|
*/
|
|
@@ -9740,10 +8837,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9740
8837
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
9741
8838
|
*/
|
|
9742
8839
|
instance?: string;
|
|
9743
|
-
/**
|
|
9744
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9745
|
-
*/
|
|
9746
|
-
location?: string;
|
|
9747
8840
|
/**
|
|
9748
8841
|
* Required. Project ID of the project that contains the instance.
|
|
9749
8842
|
*/
|
|
@@ -9762,10 +8855,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9762
8855
|
* Cloud SQL read replica instance name.
|
|
9763
8856
|
*/
|
|
9764
8857
|
instance?: string;
|
|
9765
|
-
/**
|
|
9766
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9767
|
-
*/
|
|
9768
|
-
location?: string;
|
|
9769
8858
|
/**
|
|
9770
8859
|
* ID of the project that contains the read replica.
|
|
9771
8860
|
*/
|
|
@@ -9776,10 +8865,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9776
8865
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9777
8866
|
*/
|
|
9778
8867
|
instance?: string;
|
|
9779
|
-
/**
|
|
9780
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9781
|
-
*/
|
|
9782
|
-
location?: string;
|
|
9783
8868
|
/**
|
|
9784
8869
|
* ID of the project that contains the instance.
|
|
9785
8870
|
*/
|
|
@@ -9794,10 +8879,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9794
8879
|
* Required. The Cloud SQL instance ID. This doesn't include the project ID. The instance ID contains lowercase letters, numbers, and hyphens, and it must start with a letter. This ID can have a maximum length of 98 characters.
|
|
9795
8880
|
*/
|
|
9796
8881
|
instance?: string;
|
|
9797
|
-
/**
|
|
9798
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9799
|
-
*/
|
|
9800
|
-
location?: string;
|
|
9801
8882
|
/**
|
|
9802
8883
|
* Required. The project ID that contains the instance.
|
|
9803
8884
|
*/
|
|
@@ -9808,10 +8889,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9808
8889
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9809
8890
|
*/
|
|
9810
8891
|
instance?: string;
|
|
9811
|
-
/**
|
|
9812
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9813
|
-
*/
|
|
9814
|
-
location?: string;
|
|
9815
8892
|
/**
|
|
9816
8893
|
* Optional. Reset SSL mode to use.
|
|
9817
8894
|
*/
|
|
@@ -9826,10 +8903,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9826
8903
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9827
8904
|
*/
|
|
9828
8905
|
instance?: string;
|
|
9829
|
-
/**
|
|
9830
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9831
|
-
*/
|
|
9832
|
-
location?: string;
|
|
9833
8906
|
/**
|
|
9834
8907
|
* Project ID of the project that contains the instance to be restarted.
|
|
9835
8908
|
*/
|
|
@@ -9840,10 +8913,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9840
8913
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9841
8914
|
*/
|
|
9842
8915
|
instance?: string;
|
|
9843
|
-
/**
|
|
9844
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9845
|
-
*/
|
|
9846
|
-
location?: string;
|
|
9847
8916
|
/**
|
|
9848
8917
|
* Project ID of the project that contains the instance.
|
|
9849
8918
|
*/
|
|
@@ -9858,10 +8927,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9858
8927
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
9859
8928
|
*/
|
|
9860
8929
|
instance?: string;
|
|
9861
|
-
/**
|
|
9862
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9863
|
-
*/
|
|
9864
|
-
location?: string;
|
|
9865
8930
|
/**
|
|
9866
8931
|
* Required. Project ID of the project that contains the instance.
|
|
9867
8932
|
*/
|
|
@@ -9876,10 +8941,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9876
8941
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9877
8942
|
*/
|
|
9878
8943
|
instance?: string;
|
|
9879
|
-
/**
|
|
9880
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9881
|
-
*/
|
|
9882
|
-
location?: string;
|
|
9883
8944
|
/**
|
|
9884
8945
|
* Project ID of the project that contains the instance.
|
|
9885
8946
|
*/
|
|
@@ -9894,10 +8955,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9894
8955
|
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
9895
8956
|
*/
|
|
9896
8957
|
instance?: string;
|
|
9897
|
-
/**
|
|
9898
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9899
|
-
*/
|
|
9900
|
-
location?: string;
|
|
9901
8958
|
/**
|
|
9902
8959
|
* Required. Project ID of the project that contains the instance.
|
|
9903
8960
|
*/
|
|
@@ -9912,10 +8969,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9912
8969
|
* Cloud SQL read replica instance name.
|
|
9913
8970
|
*/
|
|
9914
8971
|
instance?: string;
|
|
9915
|
-
/**
|
|
9916
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9917
|
-
*/
|
|
9918
|
-
location?: string;
|
|
9919
8972
|
/**
|
|
9920
8973
|
* ID of the project that contains the read replica.
|
|
9921
8974
|
*/
|
|
@@ -9926,10 +8979,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9926
8979
|
* Cloud SQL read replica instance name.
|
|
9927
8980
|
*/
|
|
9928
8981
|
instance?: string;
|
|
9929
|
-
/**
|
|
9930
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9931
|
-
*/
|
|
9932
|
-
location?: string;
|
|
9933
8982
|
/**
|
|
9934
8983
|
* ID of the project that contains the read replica.
|
|
9935
8984
|
*/
|
|
@@ -9944,10 +8993,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9944
8993
|
* Cloud SQL read replica instance name.
|
|
9945
8994
|
*/
|
|
9946
8995
|
instance?: string;
|
|
9947
|
-
/**
|
|
9948
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9949
|
-
*/
|
|
9950
|
-
location?: string;
|
|
9951
8996
|
/**
|
|
9952
8997
|
* ID of the project that contains the replica.
|
|
9953
8998
|
*/
|
|
@@ -9958,10 +9003,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9958
9003
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9959
9004
|
*/
|
|
9960
9005
|
instance?: string;
|
|
9961
|
-
/**
|
|
9962
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9963
|
-
*/
|
|
9964
|
-
location?: string;
|
|
9965
9006
|
/**
|
|
9966
9007
|
* Project ID of the Cloud SQL project.
|
|
9967
9008
|
*/
|
|
@@ -9976,10 +9017,6 @@ export declare namespace sqladmin_v1 {
|
|
|
9976
9017
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
9977
9018
|
*/
|
|
9978
9019
|
instance?: string;
|
|
9979
|
-
/**
|
|
9980
|
-
* Optional. Region of the Cloud SQL instance.
|
|
9981
|
-
*/
|
|
9982
|
-
location?: string;
|
|
9983
9020
|
/**
|
|
9984
9021
|
* Project ID of the project that contains the instance.
|
|
9985
9022
|
*/
|
|
@@ -10311,8 +9348,6 @@ export declare namespace sqladmin_v1 {
|
|
|
10311
9348
|
* const res = await sql.projects.instances.getDiskShrinkConfig({
|
|
10312
9349
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
10313
9350
|
* instance: 'placeholder-value',
|
|
10314
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
10315
|
-
* location: 'placeholder-value',
|
|
10316
9351
|
* // Project ID of the project that contains the instance.
|
|
10317
9352
|
* project: 'placeholder-value',
|
|
10318
9353
|
* });
|
|
@@ -10380,8 +9415,6 @@ export declare namespace sqladmin_v1 {
|
|
|
10380
9415
|
* const res = await sql.projects.instances.getLatestRecoveryTime({
|
|
10381
9416
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
10382
9417
|
* instance: 'placeholder-value',
|
|
10383
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
10384
|
-
* location: 'placeholder-value',
|
|
10385
9418
|
* // Project ID of the project that contains the instance.
|
|
10386
9419
|
* project: 'placeholder-value',
|
|
10387
9420
|
* // The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp.
|
|
@@ -10451,8 +9484,6 @@ export declare namespace sqladmin_v1 {
|
|
|
10451
9484
|
* const res = await sql.projects.instances.performDiskShrink({
|
|
10452
9485
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
10453
9486
|
* instance: 'placeholder-value',
|
|
10454
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
10455
|
-
* location: 'placeholder-value',
|
|
10456
9487
|
* // Project ID of the project that contains the instance.
|
|
10457
9488
|
* project: 'placeholder-value',
|
|
10458
9489
|
*
|
|
@@ -10545,8 +9576,6 @@ export declare namespace sqladmin_v1 {
|
|
|
10545
9576
|
* const res = await sql.projects.instances.rescheduleMaintenance({
|
|
10546
9577
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
10547
9578
|
* instance: 'placeholder-value',
|
|
10548
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
10549
|
-
* location: 'placeholder-value',
|
|
10550
9579
|
* // ID of the project that contains the instance.
|
|
10551
9580
|
* project: 'placeholder-value',
|
|
10552
9581
|
*
|
|
@@ -10645,9 +9674,7 @@ export declare namespace sqladmin_v1 {
|
|
|
10645
9674
|
* // Request body metadata
|
|
10646
9675
|
* requestBody: {
|
|
10647
9676
|
* // request body parameters
|
|
10648
|
-
* // {
|
|
10649
|
-
* // "location": "my_location"
|
|
10650
|
-
* // }
|
|
9677
|
+
* // {}
|
|
10651
9678
|
* },
|
|
10652
9679
|
* });
|
|
10653
9680
|
* console.log(res.data);
|
|
@@ -10738,7 +9765,6 @@ export declare namespace sqladmin_v1 {
|
|
|
10738
9765
|
* requestBody: {
|
|
10739
9766
|
* // request body parameters
|
|
10740
9767
|
* // {
|
|
10741
|
-
* // "location": "my_location",
|
|
10742
9768
|
* // "migrationType": "my_migrationType",
|
|
10743
9769
|
* // "mysqlSyncConfig": {},
|
|
10744
9770
|
* // "replicaOverwriteEnabled": false,
|
|
@@ -10836,7 +9862,6 @@ export declare namespace sqladmin_v1 {
|
|
|
10836
9862
|
* requestBody: {
|
|
10837
9863
|
* // request body parameters
|
|
10838
9864
|
* // {
|
|
10839
|
-
* // "location": "my_location",
|
|
10840
9865
|
* // "migrationType": "my_migrationType",
|
|
10841
9866
|
* // "mysqlSyncConfig": {},
|
|
10842
9867
|
* // "selectedObjects": [],
|
|
@@ -10881,10 +9906,6 @@ export declare namespace sqladmin_v1 {
|
|
|
10881
9906
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
10882
9907
|
*/
|
|
10883
9908
|
instance?: string;
|
|
10884
|
-
/**
|
|
10885
|
-
* Optional. Region of the Cloud SQL instance.
|
|
10886
|
-
*/
|
|
10887
|
-
location?: string;
|
|
10888
9909
|
/**
|
|
10889
9910
|
* Project ID of the project that contains the instance.
|
|
10890
9911
|
*/
|
|
@@ -10895,10 +9916,6 @@ export declare namespace sqladmin_v1 {
|
|
|
10895
9916
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
10896
9917
|
*/
|
|
10897
9918
|
instance?: string;
|
|
10898
|
-
/**
|
|
10899
|
-
* Optional. Region of the Cloud SQL instance.
|
|
10900
|
-
*/
|
|
10901
|
-
location?: string;
|
|
10902
9919
|
/**
|
|
10903
9920
|
* Project ID of the project that contains the instance.
|
|
10904
9921
|
*/
|
|
@@ -10913,10 +9930,6 @@ export declare namespace sqladmin_v1 {
|
|
|
10913
9930
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
10914
9931
|
*/
|
|
10915
9932
|
instance?: string;
|
|
10916
|
-
/**
|
|
10917
|
-
* Optional. Region of the Cloud SQL instance.
|
|
10918
|
-
*/
|
|
10919
|
-
location?: string;
|
|
10920
9933
|
/**
|
|
10921
9934
|
* Project ID of the project that contains the instance.
|
|
10922
9935
|
*/
|
|
@@ -10931,10 +9944,6 @@ export declare namespace sqladmin_v1 {
|
|
|
10931
9944
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
10932
9945
|
*/
|
|
10933
9946
|
instance?: string;
|
|
10934
|
-
/**
|
|
10935
|
-
* Optional. Region of the Cloud SQL instance.
|
|
10936
|
-
*/
|
|
10937
|
-
location?: string;
|
|
10938
9947
|
/**
|
|
10939
9948
|
* ID of the project that contains the instance.
|
|
10940
9949
|
*/
|
|
@@ -11025,8 +10034,6 @@ export declare namespace sqladmin_v1 {
|
|
|
11025
10034
|
* const res = await sql.sslCerts.createEphemeral({
|
|
11026
10035
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
11027
10036
|
* instance: 'placeholder-value',
|
|
11028
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
11029
|
-
* location: 'placeholder-value',
|
|
11030
10037
|
* // Project ID of the Cloud SQL project.
|
|
11031
10038
|
* project: 'placeholder-value',
|
|
11032
10039
|
*
|
|
@@ -11382,10 +10389,6 @@ export declare namespace sqladmin_v1 {
|
|
|
11382
10389
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
11383
10390
|
*/
|
|
11384
10391
|
instance?: string;
|
|
11385
|
-
/**
|
|
11386
|
-
* Optional. Region of the Cloud SQL instance.
|
|
11387
|
-
*/
|
|
11388
|
-
location?: string;
|
|
11389
10392
|
/**
|
|
11390
10393
|
* Project ID of the Cloud SQL project.
|
|
11391
10394
|
*/
|
|
@@ -11562,8 +10565,6 @@ export declare namespace sqladmin_v1 {
|
|
|
11562
10565
|
* host: 'placeholder-value',
|
|
11563
10566
|
* // Database instance ID. This does not include the project ID.
|
|
11564
10567
|
* instance: 'placeholder-value',
|
|
11565
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
11566
|
-
* location: 'placeholder-value',
|
|
11567
10568
|
* // Name of the user in the instance.
|
|
11568
10569
|
* name: 'placeholder-value',
|
|
11569
10570
|
* // Project ID of the project that contains the instance.
|
|
@@ -11652,8 +10653,6 @@ export declare namespace sqladmin_v1 {
|
|
|
11652
10653
|
* host: 'placeholder-value',
|
|
11653
10654
|
* // Database instance ID. This does not include the project ID.
|
|
11654
10655
|
* instance: 'placeholder-value',
|
|
11655
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
11656
|
-
* location: 'placeholder-value',
|
|
11657
10656
|
* // User of the instance.
|
|
11658
10657
|
* name: 'placeholder-value',
|
|
11659
10658
|
* // Project ID of the project that contains the instance.
|
|
@@ -11735,8 +10734,6 @@ export declare namespace sqladmin_v1 {
|
|
|
11735
10734
|
* const res = await sql.users.insert({
|
|
11736
10735
|
* // Database instance ID. This does not include the project ID.
|
|
11737
10736
|
* instance: 'placeholder-value',
|
|
11738
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
11739
|
-
* location: 'placeholder-value',
|
|
11740
10737
|
* // Project ID of the project that contains the instance.
|
|
11741
10738
|
* project: 'placeholder-value',
|
|
11742
10739
|
*
|
|
@@ -11843,8 +10840,6 @@ export declare namespace sqladmin_v1 {
|
|
|
11843
10840
|
* const res = await sql.users.list({
|
|
11844
10841
|
* // Database instance ID. This does not include the project ID.
|
|
11845
10842
|
* instance: 'placeholder-value',
|
|
11846
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
11847
|
-
* location: 'placeholder-value',
|
|
11848
10843
|
* // Project ID of the project that contains the instance.
|
|
11849
10844
|
* project: 'placeholder-value',
|
|
11850
10845
|
* });
|
|
@@ -11916,8 +10911,6 @@ export declare namespace sqladmin_v1 {
|
|
|
11916
10911
|
* host: 'placeholder-value',
|
|
11917
10912
|
* // Database instance ID. This does not include the project ID.
|
|
11918
10913
|
* instance: 'placeholder-value',
|
|
11919
|
-
* // Optional. Region of the Cloud SQL instance.
|
|
11920
|
-
* location: 'placeholder-value',
|
|
11921
10914
|
* // Name of the user in the instance.
|
|
11922
10915
|
* name: 'placeholder-value',
|
|
11923
10916
|
* // Project ID of the project that contains the instance.
|
|
@@ -12006,10 +10999,6 @@ export declare namespace sqladmin_v1 {
|
|
|
12006
10999
|
* Database instance ID. This does not include the project ID.
|
|
12007
11000
|
*/
|
|
12008
11001
|
instance?: string;
|
|
12009
|
-
/**
|
|
12010
|
-
* Optional. Region of the Cloud SQL instance.
|
|
12011
|
-
*/
|
|
12012
|
-
location?: string;
|
|
12013
11002
|
/**
|
|
12014
11003
|
* Name of the user in the instance.
|
|
12015
11004
|
*/
|
|
@@ -12028,10 +11017,6 @@ export declare namespace sqladmin_v1 {
|
|
|
12028
11017
|
* Database instance ID. This does not include the project ID.
|
|
12029
11018
|
*/
|
|
12030
11019
|
instance?: string;
|
|
12031
|
-
/**
|
|
12032
|
-
* Optional. Region of the Cloud SQL instance.
|
|
12033
|
-
*/
|
|
12034
|
-
location?: string;
|
|
12035
11020
|
/**
|
|
12036
11021
|
* User of the instance.
|
|
12037
11022
|
*/
|
|
@@ -12046,10 +11031,6 @@ export declare namespace sqladmin_v1 {
|
|
|
12046
11031
|
* Database instance ID. This does not include the project ID.
|
|
12047
11032
|
*/
|
|
12048
11033
|
instance?: string;
|
|
12049
|
-
/**
|
|
12050
|
-
* Optional. Region of the Cloud SQL instance.
|
|
12051
|
-
*/
|
|
12052
|
-
location?: string;
|
|
12053
11034
|
/**
|
|
12054
11035
|
* Project ID of the project that contains the instance.
|
|
12055
11036
|
*/
|
|
@@ -12064,10 +11045,6 @@ export declare namespace sqladmin_v1 {
|
|
|
12064
11045
|
* Database instance ID. This does not include the project ID.
|
|
12065
11046
|
*/
|
|
12066
11047
|
instance?: string;
|
|
12067
|
-
/**
|
|
12068
|
-
* Optional. Region of the Cloud SQL instance.
|
|
12069
|
-
*/
|
|
12070
|
-
location?: string;
|
|
12071
11048
|
/**
|
|
12072
11049
|
* Project ID of the project that contains the instance.
|
|
12073
11050
|
*/
|
|
@@ -12086,10 +11063,6 @@ export declare namespace sqladmin_v1 {
|
|
|
12086
11063
|
* Database instance ID. This does not include the project ID.
|
|
12087
11064
|
*/
|
|
12088
11065
|
instance?: string;
|
|
12089
|
-
/**
|
|
12090
|
-
* Optional. Region of the Cloud SQL instance.
|
|
12091
|
-
*/
|
|
12092
|
-
location?: string;
|
|
12093
11066
|
/**
|
|
12094
11067
|
* Name of the user in the instance.
|
|
12095
11068
|
*/
|