@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.
@@ -69,7 +69,6 @@ export declare namespace sqladmin_v1beta4 {
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,80 +469,6 @@ export declare namespace sqladmin_v1beta4 {
470
469
  */
471
470
  kind?: string | null;
472
471
  }
473
- /**
474
- * A `BlueGreenDeployment` resource represents a Cloud SQL blue-green deployment setup. It orchestrates the lifecycle of creating a synchronized "green" environment from a "blue" production environment, performing updates, and managing the switchover process to minimize downtime.
475
- */
476
- export interface Schema$BlueGreenDeployment {
477
- /**
478
- * Output only. The time when the deployment was created.
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.
491
- */
492
- description?: string | null;
493
- /**
494
- * Output only. Provides an error message with details on why switchover is not possible.
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
- * Output only. Deprecated: Use deployment_mappings instead. Output only. A list representing the pairs of source and target instances in the deployment.
503
- */
504
- pairedNodes?: Schema$SourceTargetPairedNode[];
505
- /**
506
- * Optional. Immutable. Optional on create, and immutable. The configuration intended for the target instance(s) when the deployment was created.
507
- */
508
- requestedConfig?: Schema$RequestedConfig;
509
- /**
510
- * Required. Immutable. The instance ID of the source instance (the "blue" instance). The value for this field does not include the project ID, for example, `my-instance-id`. This field is immutable.
511
- */
512
- sourceInstance?: string | null;
513
- /**
514
- * Output only. The current state of the blue-green deployment.
515
- */
516
- state?: string | null;
517
- /**
518
- * Output only. Details about the primary target instance (the "Green" instance) that will be promoted during switchover.
519
- */
520
- switchoverTargetInstance?: string | null;
521
- /**
522
- * Optional. Immutable. Deprecated: Use requested_config instead. The configuration intended for the target instance(s) when the deployment was created. This field is immutable.
523
- */
524
- targetConfig?: Schema$TargetConfig;
525
- }
526
- /**
527
- * 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.
528
- */
529
- export interface Schema$BlueGreenDeploymentInfo {
530
- /**
531
- * Output only. The resource ID of the blue-green deployment.
532
- */
533
- deploymentId?: string | null;
534
- /**
535
- * Output only. The source instance for the Blue-Green deployment.
536
- */
537
- source?: Schema$SourceRole;
538
- /**
539
- * Output only. The current state of blue-green-deployment for UI tags
540
- */
541
- state?: string | null;
542
- /**
543
- * Output only. The target instance for the Blue-Green deployment.
544
- */
545
- target?: Schema$TargetRole;
546
- }
547
472
  /**
548
473
  * Database instance clone context.
549
474
  */
@@ -610,23 +535,6 @@ export declare namespace sqladmin_v1beta4 {
610
535
  */
611
536
  type?: string | null;
612
537
  }
613
- /**
614
- * Represents a specific configuration difference between Blue and Green instances.
615
- */
616
- export interface Schema$ConfigDiff {
617
- /**
618
- * Output only. The name of the field that differs, fully-qualified. Example: settings.tier
619
- */
620
- field?: string | null;
621
- /**
622
- * Output only. The value on the source instance.
623
- */
624
- sourceValue?: string | null;
625
- /**
626
- * Output only. The value on the target instance.
627
- */
628
- targetValue?: string | null;
629
- }
630
538
  /**
631
539
  * The managed connection pooling configuration.
632
540
  */
@@ -830,10 +738,6 @@ export declare namespace sqladmin_v1beta4 {
830
738
  * The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.
831
739
  */
832
740
  databaseVersion?: string | null;
833
- /**
834
- * Output only. Deployment info for the instance. This is set if the instance is currently part of any blue-green setup.
835
- */
836
- deploymentInfo?: Schema$BlueGreenDeploymentInfo;
837
741
  /**
838
742
  * Disk encryption configuration specific to an instance.
839
743
  */
@@ -1135,48 +1039,10 @@ export declare namespace sqladmin_v1beta4 {
1135
1039
  */
1136
1040
  time?: string | null;
1137
1041
  }
1138
- /**
1139
- * Represents a task executed as part of the deployment on a target instance.
1140
- */
1141
- export interface Schema$DeploymentTask {
1142
- /**
1143
- * Output only. Task end time (if completed).
1144
- */
1145
- endTime?: string | null;
1146
- /**
1147
- * Output only. Optional Error details if the task state is FAILED.
1148
- */
1149
- errorMessage?: string | null;
1150
- /**
1151
- * Output only. Task start time.
1152
- */
1153
- startTime?: string | null;
1154
- /**
1155
- * Output only. The current state of the task.
1156
- */
1157
- state?: string | null;
1158
- /**
1159
- * Output only. The type of the task.
1160
- */
1161
- type?: string | null;
1162
- }
1163
- /**
1164
- * Combined list of tasks for all paired nodes in the deployment.
1165
- */
1166
- export interface Schema$DeploymentTasks {
1167
- /**
1168
- * Output only. Tasks performed or being performed on the paired nodes of the deployment at a consolidated level.
1169
- */
1170
- task?: Schema$DeploymentTask[];
1171
- }
1172
1042
  /**
1173
1043
  * Disk encryption configuration for an instance.
1174
1044
  */
1175
1045
  export interface Schema$DiskEncryptionConfiguration {
1176
- /**
1177
- * Optional. If true, enables Confidential Mode for the instance's Hyperdisk Balanced volumes. Only supported for zonal C4A instances currently.
1178
- */
1179
- confidentialMode?: boolean | null;
1180
1046
  /**
1181
1047
  * This is always `sql#diskEncryptionConfiguration`.
1182
1048
  */
@@ -1783,10 +1649,6 @@ export declare namespace sqladmin_v1beta4 {
1783
1649
  * 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.
1784
1650
  */
1785
1651
  backupdrBackup?: string | null;
1786
- /**
1787
- * Optional. If true, the restore operation proceeds even if the target instance's maintenance version is older than the source instance's maintenance version.
1788
- */
1789
- ignoreMaintenanceVersion?: boolean | null;
1790
1652
  /**
1791
1653
  * Parameters required to perform the restore backup operation.
1792
1654
  */
@@ -1936,19 +1798,6 @@ export declare namespace sqladmin_v1beta4 {
1936
1798
  */
1937
1799
  warnings?: Schema$ApiWarning[];
1938
1800
  }
1939
- /**
1940
- * The response message for listing blue-green deployment resources.
1941
- */
1942
- export interface Schema$ListBlueGreenDeploymentsResponse {
1943
- /**
1944
- * The list of blue-green deployment resources.
1945
- */
1946
- blueGreenDeployments?: Schema$BlueGreenDeployment[];
1947
- /**
1948
- * A token to retrieve the next page of results, or empty if there are no more results.
1949
- */
1950
- nextPageToken?: string | null;
1951
- }
1952
1801
  /**
1953
1802
  * 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.
1954
1803
  */
@@ -2071,27 +1920,6 @@ export declare namespace sqladmin_v1beta4 {
2071
1920
  */
2072
1921
  initialSyncFlags?: Schema$SyncFlags[];
2073
1922
  }
2074
- /**
2075
- * Details about an instance within the deployment.
2076
- */
2077
- export interface Schema$NodeInfo {
2078
- /**
2079
- * Output only. The instance connection name.
2080
- */
2081
- connection?: string | null;
2082
- /**
2083
- * Output only. The unique DNS name for this instance.
2084
- */
2085
- dns?: string | null;
2086
- /**
2087
- * Output only. The full resource name of the instance. Format: projects/{project\}/instances/{instance\}
2088
- */
2089
- instance?: string | null;
2090
- /**
2091
- * Output only. The list of IP addresses for this instance.
2092
- */
2093
- ipMappings?: Schema$IpMapping[];
2094
- }
2095
1923
  /**
2096
1924
  * On-premises instance configuration.
2097
1925
  */
@@ -2589,7 +2417,7 @@ export declare namespace sqladmin_v1beta4 {
2589
2417
  */
2590
2418
  allowedConsumerProjects?: string[] | null;
2591
2419
  /**
2592
- * Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect using the PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID
2420
+ * 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
2593
2421
  */
2594
2422
  networkAttachmentUri?: string | null;
2595
2423
  /**
@@ -2709,15 +2537,6 @@ export declare namespace sqladmin_v1beta4 {
2709
2537
  */
2710
2538
  psaWriteEndpoint?: string | null;
2711
2539
  }
2712
- /**
2713
- * Configuration specified by the user at creation time for the target (Green) instance.
2714
- */
2715
- export interface Schema$RequestedConfig {
2716
- /**
2717
- * Optional. The target database major version for the upgrade.
2718
- */
2719
- databaseVersion?: string | null;
2720
- }
2721
2540
  export interface Schema$Reschedule {
2722
2541
  /**
2723
2542
  * Required. The type of the reschedule.
@@ -2939,7 +2758,7 @@ export declare namespace sqladmin_v1beta4 {
2939
2758
  */
2940
2759
  maintenanceWindow?: Schema$MaintenanceWindow;
2941
2760
  /**
2942
- * The local user password validation policy of the instance for PostgreSQL and MySQL.
2761
+ * The local user password validation policy of the instance.
2943
2762
  */
2944
2763
  passwordValidationPolicy?: Schema$PasswordValidationPolicy;
2945
2764
  /**
@@ -2997,44 +2816,6 @@ export declare namespace sqladmin_v1beta4 {
2997
2816
  [key: string]: string;
2998
2817
  } | null;
2999
2818
  }
3000
- /**
3001
- * The source instance for the Blue-Green deployment.
3002
- */
3003
- export interface Schema$SourceRole {
3004
- /**
3005
- * Output only. The target instance paired with this source instance in a blue-green deployment.
3006
- */
3007
- targetId?: Schema$InstanceReference;
3008
- }
3009
- /**
3010
- * Represents a pairing of a source instance node and a target instance node.
3011
- */
3012
- export interface Schema$SourceTargetPairedNode {
3013
- /**
3014
- * Output only. Deprecated: Indicates which instance (SOURCE or TARGET) in the pair is currently live. Used for internal implementation and deprecated for external use.
3015
- */
3016
- currentlyServingTraffic?: string | null;
3017
- /**
3018
- * Output only. Describes the list of differences for this pair.
3019
- */
3020
- diffs?: Schema$ConfigDiff[];
3021
- /**
3022
- * Output only. Resource name of the source instance in this pair.
3023
- */
3024
- source?: Schema$NodeInfo;
3025
- /**
3026
- * Output only. The current state of this specific source-target pair.
3027
- */
3028
- state?: string | null;
3029
- /**
3030
- * Output only. Details of the corresponding target instance in this pair.
3031
- */
3032
- target?: Schema$NodeInfo;
3033
- /**
3034
- * Output only. Tasks performed or being performed on the target instance of this pair.
3035
- */
3036
- tasks?: Schema$DeploymentTask[];
3037
- }
3038
2819
  /**
3039
2820
  * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
3040
2821
  */
@@ -3167,16 +2948,8 @@ export declare namespace sqladmin_v1beta4 {
3167
2948
  * Instance reset replica size request.
3168
2949
  */
3169
2950
  export interface Schema$SqlInstancesResetReplicaSizeRequest {
3170
- /**
3171
- * Optional. Region of the Cloud SQL instance.
3172
- */
3173
- location?: string | null;
3174
2951
  }
3175
2952
  export interface Schema$SqlInstancesStartExternalSyncRequest {
3176
- /**
3177
- * Optional. Region of the Cloud SQL instance.
3178
- */
3179
- location?: string | null;
3180
2953
  /**
3181
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.
3182
2955
  */
@@ -3203,10 +2976,6 @@ export declare namespace sqladmin_v1beta4 {
3203
2976
  syncParallelLevel?: string | null;
3204
2977
  }
3205
2978
  export interface Schema$SqlInstancesVerifyExternalSyncSettingsRequest {
3206
- /**
3207
- * Optional. Region of the Cloud SQL instance.
3208
- */
3209
- location?: string | null;
3210
2979
  /**
3211
2980
  * 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.
3212
2981
  */
@@ -3340,11 +3109,11 @@ export declare namespace sqladmin_v1beta4 {
3340
3109
  */
3341
3110
  export interface Schema$SqlServerUserDetails {
3342
3111
  /**
3343
- * Indicates if the user has been disabled.
3112
+ * If the user has been disabled
3344
3113
  */
3345
3114
  disabled?: boolean | null;
3346
3115
  /**
3347
- * Indicates the server roles for this user.
3116
+ * The server roles for this user
3348
3117
  */
3349
3118
  serverRoles?: string[] | null;
3350
3119
  }
@@ -3486,11 +3255,6 @@ export declare namespace sqladmin_v1beta4 {
3486
3255
  */
3487
3256
  message?: string | null;
3488
3257
  }
3489
- /**
3490
- * Request message for switching over a `BlueGreenDeployment` resource.
3491
- */
3492
- export interface Schema$SwitchoverBlueGreenDeploymentRequest {
3493
- }
3494
3258
  /**
3495
3259
  * Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.
3496
3260
  */
@@ -3504,15 +3268,6 @@ export declare namespace sqladmin_v1beta4 {
3504
3268
  */
3505
3269
  value?: string | null;
3506
3270
  }
3507
- /**
3508
- * Deprecated: Use RequestedConfig instead. Configuration specified by the user at creation time for the target (Green) instance.
3509
- */
3510
- export interface Schema$TargetConfig {
3511
- /**
3512
- * Optional. The target database major version for the upgrade.
3513
- */
3514
- databaseVersion?: string | null;
3515
- }
3516
3271
  /**
3517
3272
  * Target metric for read pool auto scaling.
3518
3273
  */
@@ -3526,15 +3281,6 @@ export declare namespace sqladmin_v1beta4 {
3526
3281
  */
3527
3282
  targetValue?: number | null;
3528
3283
  }
3529
- /**
3530
- * The target instance for the Blue-Green deployment.
3531
- */
3532
- export interface Schema$TargetRole {
3533
- /**
3534
- * Output only. The source instance paired with this target instance in a blue-green deployment.
3535
- */
3536
- sourceId?: Schema$InstanceReference;
3537
- }
3538
3284
  /**
3539
3285
  * A Google Cloud SQL service tier resource.
3540
3286
  */
@@ -4641,11 +4387,11 @@ export declare namespace sqladmin_v1beta4 {
4641
4387
  */
4642
4388
  requestBody?: Schema$Backup;
4643
4389
  }
4644
- export class Resource$Bluegreendeployments {
4390
+ export class Resource$Connect {
4645
4391
  context: APIRequestContext;
4646
4392
  constructor(context: APIRequestContext);
4647
4393
  /**
4648
- * Creates a blue-green deployment under a given project and location. This deployment provisions a synchronized green environment (target instance) from a blue production environment (source instance), facilitating updates like major version upgrades on the green instance without impacting the blue instance.
4394
+ * 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.
4649
4395
  * @example
4650
4396
  * ```js
4651
4397
  * // Before running the sample:
@@ -4677,28 +4423,20 @@ export declare namespace sqladmin_v1beta4 {
4677
4423
  * google.options({auth: authClient});
4678
4424
  *
4679
4425
  * // Do the magic
4680
- * const res = await sql.blueGreenDeployments.create({
4681
- * // Required. The ID to use for the blue-green deployment, which will become the final component of the deployment's resource name.
4682
- * blueGreenDeploymentId: 'placeholder-value',
4683
- * // Required. The parent resource where this blue-green deployment will be created. Format: projects/{project\}/locations/{location\}
4684
- * parent: 'projects/my-project/locations/my-location',
4426
+ * const res = await sql.connect.generateEphemeral({
4427
+ * // Cloud SQL instance ID. This does not include the project ID.
4428
+ * instance: 'placeholder-value',
4429
+ * // Project ID of the project that contains the instance.
4430
+ * project: 'placeholder-value',
4685
4431
  *
4686
4432
  * // Request body metadata
4687
4433
  * requestBody: {
4688
4434
  * // request body parameters
4689
4435
  * // {
4690
- * // "createTime": "my_createTime",
4691
- * // "deploymentMappings": [],
4692
- * // "deploymentTasks": {},
4693
- * // "description": "my_description",
4694
- * // "errorDetail": "my_errorDetail",
4695
- * // "name": "my_name",
4696
- * // "pairedNodes": [],
4697
- * // "requestedConfig": {},
4698
- * // "sourceInstance": "my_sourceInstance",
4699
- * // "state": "my_state",
4700
- * // "switchoverTargetInstance": "my_switchoverTargetInstance",
4701
- * // "targetConfig": {}
4436
+ * // "access_token": "my_access_token",
4437
+ * // "public_key": "my_public_key",
4438
+ * // "readTime": "my_readTime",
4439
+ * // "validDuration": "my_validDuration"
4702
4440
  * // }
4703
4441
  * },
4704
4442
  * });
@@ -4706,26 +4444,7 @@ export declare namespace sqladmin_v1beta4 {
4706
4444
  *
4707
4445
  * // Example response
4708
4446
  * // {
4709
- * // "acquireSsrsLeaseContext": {},
4710
- * // "apiWarning": {},
4711
- * // "backupContext": {},
4712
- * // "endTime": "my_endTime",
4713
- * // "error": {},
4714
- * // "exportContext": {},
4715
- * // "importContext": {},
4716
- * // "insertTime": "my_insertTime",
4717
- * // "kind": "my_kind",
4718
- * // "name": "my_name",
4719
- * // "operationType": "my_operationType",
4720
- * // "preCheckMajorVersionUpgradeContext": {},
4721
- * // "selfLink": "my_selfLink",
4722
- * // "startTime": "my_startTime",
4723
- * // "status": "my_status",
4724
- * // "subOperationType": {},
4725
- * // "targetId": "my_targetId",
4726
- * // "targetLink": "my_targetLink",
4727
- * // "targetProject": "my_targetProject",
4728
- * // "user": "my_user"
4447
+ * // "ephemeralCert": {}
4729
4448
  * // }
4730
4449
  * }
4731
4450
  *
@@ -4741,14 +4460,14 @@ export declare namespace sqladmin_v1beta4 {
4741
4460
  * @param callback - Optional callback that handles the response.
4742
4461
  * @returns A promise if used with async/await, or void if used with a callback.
4743
4462
  */
4744
- create(params: Params$Resource$Bluegreendeployments$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4745
- create(params?: Params$Resource$Bluegreendeployments$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4746
- create(params: Params$Resource$Bluegreendeployments$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4747
- create(params: Params$Resource$Bluegreendeployments$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4748
- create(params: Params$Resource$Bluegreendeployments$Create, callback: BodyResponseCallback<Schema$Operation>): void;
4749
- create(callback: BodyResponseCallback<Schema$Operation>): void;
4463
+ generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4464
+ generateEphemeralCert(params?: Params$Resource$Connect$Generateephemeralcert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GenerateEphemeralCertResponse>>;
4465
+ generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4466
+ generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: MethodOptions | BodyResponseCallback<Schema$GenerateEphemeralCertResponse>, callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
4467
+ generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
4468
+ generateEphemeralCert(callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
4750
4469
  /**
4751
- * Deletes a blue-green deployment, including metadata and underlying resources based on the deployment state. If issued before switchover, this deletes the green instance. If issued after switchover, this deletes the old blue instance (source instance) if the `delete_old_source` field in the request is set to true. All blue-green deployment metadata is permanently deleted. Resources deleted as a result of this operation are no longer accessible and can't be restored.
4470
+ * Retrieves connect settings about a Cloud SQL instance.
4752
4471
  * @example
4753
4472
  * ```js
4754
4473
  * // Before running the sample:
@@ -4780,36 +4499,33 @@ export declare namespace sqladmin_v1beta4 {
4780
4499
  * google.options({auth: authClient});
4781
4500
  *
4782
4501
  * // Do the magic
4783
- * const res = await sql.blueGreenDeployments.delete({
4784
- * // Optional. If set to true, and the switchover is complete, this deletes the old source instance along with the deployment.
4785
- * deleteOldSource: 'placeholder-value',
4786
- * // Required. The name of the blue-green deployment to delete. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
4787
- * name: 'projects/my-project/locations/my-location/blueGreenDeployments/my-blueGreenDeployment',
4502
+ * const res = await sql.connect.get({
4503
+ * // Cloud SQL instance ID. This does not include the project ID.
4504
+ * instance: 'placeholder-value',
4505
+ * // Project ID of the project that contains the instance.
4506
+ * project: 'placeholder-value',
4507
+ * // Optional. Optional snapshot read timestamp to trade freshness for performance.
4508
+ * readTime: 'placeholder-value',
4788
4509
  * });
4789
4510
  * console.log(res.data);
4790
4511
  *
4791
4512
  * // Example response
4792
4513
  * // {
4793
- * // "acquireSsrsLeaseContext": {},
4794
- * // "apiWarning": {},
4795
- * // "backupContext": {},
4796
- * // "endTime": "my_endTime",
4797
- * // "error": {},
4798
- * // "exportContext": {},
4799
- * // "importContext": {},
4800
- * // "insertTime": "my_insertTime",
4514
+ * // "backendType": "my_backendType",
4515
+ * // "connectionName": "my_connectionName",
4516
+ * // "customSubjectAlternativeNames": [],
4517
+ * // "databaseVersion": "my_databaseVersion",
4518
+ * // "dnsName": "my_dnsName",
4519
+ * // "dnsNames": [],
4520
+ * // "ipAddresses": [],
4801
4521
  * // "kind": "my_kind",
4802
- * // "name": "my_name",
4803
- * // "operationType": "my_operationType",
4804
- * // "preCheckMajorVersionUpgradeContext": {},
4805
- * // "selfLink": "my_selfLink",
4806
- * // "startTime": "my_startTime",
4807
- * // "status": "my_status",
4808
- * // "subOperationType": {},
4809
- * // "targetId": "my_targetId",
4810
- * // "targetLink": "my_targetLink",
4811
- * // "targetProject": "my_targetProject",
4812
- * // "user": "my_user"
4522
+ * // "mdxProtocolSupport": [],
4523
+ * // "nodeCount": 0,
4524
+ * // "nodes": [],
4525
+ * // "pscEnabled": false,
4526
+ * // "region": "my_region",
4527
+ * // "serverCaCert": {},
4528
+ * // "serverCaMode": "my_serverCaMode"
4813
4529
  * // }
4814
4530
  * }
4815
4531
  *
@@ -4825,14 +4541,14 @@ export declare namespace sqladmin_v1beta4 {
4825
4541
  * @param callback - Optional callback that handles the response.
4826
4542
  * @returns A promise if used with async/await, or void if used with a callback.
4827
4543
  */
4828
- delete(params: Params$Resource$Bluegreendeployments$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4829
- delete(params?: Params$Resource$Bluegreendeployments$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4830
- delete(params: Params$Resource$Bluegreendeployments$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4831
- delete(params: Params$Resource$Bluegreendeployments$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4832
- delete(params: Params$Resource$Bluegreendeployments$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
4833
- delete(callback: BodyResponseCallback<Schema$Operation>): void;
4544
+ get(params: Params$Resource$Connect$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4545
+ get(params?: Params$Resource$Connect$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ConnectSettings>>;
4546
+ get(params: Params$Resource$Connect$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4547
+ get(params: Params$Resource$Connect$Get, options: MethodOptions | BodyResponseCallback<Schema$ConnectSettings>, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
4548
+ get(params: Params$Resource$Connect$Get, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
4549
+ get(callback: BodyResponseCallback<Schema$ConnectSettings>): void;
4834
4550
  /**
4835
- * Retrieves a blue-green deployment resource under a given project and location.
4551
+ * Retrieves connect settings about a Cloud SQL instance using the instance DNS name.
4836
4552
  * @example
4837
4553
  * ```js
4838
4554
  * // Before running the sample:
@@ -4864,474 +4580,11 @@ export declare namespace sqladmin_v1beta4 {
4864
4580
  * google.options({auth: authClient});
4865
4581
  *
4866
4582
  * // Do the magic
4867
- * const res = await sql.blueGreenDeployments.get({
4868
- * // Required. The name of the blue-green deployment to retrieve. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
4869
- * name: 'projects/my-project/locations/my-location/blueGreenDeployments/my-blueGreenDeployment',
4870
- * // Optional. Specifies whether to return the basic or detailed view of the resource in the response.
4871
- * view: 'placeholder-value',
4872
- * });
4873
- * console.log(res.data);
4874
- *
4875
- * // Example response
4876
- * // {
4877
- * // "createTime": "my_createTime",
4878
- * // "deploymentMappings": [],
4879
- * // "deploymentTasks": {},
4880
- * // "description": "my_description",
4881
- * // "errorDetail": "my_errorDetail",
4882
- * // "name": "my_name",
4883
- * // "pairedNodes": [],
4884
- * // "requestedConfig": {},
4885
- * // "sourceInstance": "my_sourceInstance",
4886
- * // "state": "my_state",
4887
- * // "switchoverTargetInstance": "my_switchoverTargetInstance",
4888
- * // "targetConfig": {}
4889
- * // }
4890
- * }
4891
- *
4892
- * main().catch(e => {
4893
- * console.error(e);
4894
- * throw e;
4895
- * });
4896
- *
4897
- * ```
4898
- *
4899
- * @param params - Parameters for request
4900
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4901
- * @param callback - Optional callback that handles the response.
4902
- * @returns A promise if used with async/await, or void if used with a callback.
4903
- */
4904
- get(params: Params$Resource$Bluegreendeployments$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4905
- get(params?: Params$Resource$Bluegreendeployments$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BlueGreenDeployment>>;
4906
- get(params: Params$Resource$Bluegreendeployments$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4907
- get(params: Params$Resource$Bluegreendeployments$Get, options: MethodOptions | BodyResponseCallback<Schema$BlueGreenDeployment>, callback: BodyResponseCallback<Schema$BlueGreenDeployment>): void;
4908
- get(params: Params$Resource$Bluegreendeployments$Get, callback: BodyResponseCallback<Schema$BlueGreenDeployment>): void;
4909
- get(callback: BodyResponseCallback<Schema$BlueGreenDeployment>): void;
4910
- /**
4911
- * Lists blue-green deployments under a given project.
4912
- * @example
4913
- * ```js
4914
- * // Before running the sample:
4915
- * // - Enable the API at:
4916
- * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
4917
- * // - Login into gcloud by running:
4918
- * // ```sh
4919
- * // $ gcloud auth application-default login
4920
- * // ```
4921
- * // - Install the npm module by running:
4922
- * // ```sh
4923
- * // $ npm install googleapis
4924
- * // ```
4925
- *
4926
- * const {google} = require('googleapis');
4927
- * const sqladmin = google.sqladmin('v1beta4');
4928
- *
4929
- * async function main() {
4930
- * const auth = new google.auth.GoogleAuth({
4931
- * // Scopes can be specified either as an array or as a single, space-delimited string.
4932
- * scopes: [
4933
- * 'https://www.googleapis.com/auth/cloud-platform',
4934
- * 'https://www.googleapis.com/auth/sqlservice.admin',
4935
- * ],
4936
- * });
4937
- *
4938
- * // Acquire an auth client, and bind it to all future calls
4939
- * const authClient = await auth.getClient();
4940
- * google.options({auth: authClient});
4941
- *
4942
- * // Do the magic
4943
- * const res = await sql.blueGreenDeployments.list({
4944
- * // Optional. A filter expression that filters the results.
4945
- * filter: 'placeholder-value',
4946
- * // Optional. A comma-separated list of fields to order the results by.
4947
- * orderBy: 'placeholder-value',
4948
- * // Optional. The maximum number of deployments to return.
4949
- * pageSize: 'placeholder-value',
4950
- * // Optional. A page token, received from a previous `ListBlueGreenDeployments` call. Provide this to retrieve the subsequent page.
4951
- * pageToken: 'placeholder-value',
4952
- * // Required. The parent resource whose blue-green deployments are to be listed. Format: projects/{project\}/locations/{location\}
4953
- * parent: 'projects/my-project/locations/my-location',
4954
- * });
4955
- * console.log(res.data);
4956
- *
4957
- * // Example response
4958
- * // {
4959
- * // "blueGreenDeployments": [],
4960
- * // "nextPageToken": "my_nextPageToken"
4961
- * // }
4962
- * }
4963
- *
4964
- * main().catch(e => {
4965
- * console.error(e);
4966
- * throw e;
4967
- * });
4968
- *
4969
- * ```
4970
- *
4971
- * @param params - Parameters for request
4972
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4973
- * @param callback - Optional callback that handles the response.
4974
- * @returns A promise if used with async/await, or void if used with a callback.
4975
- */
4976
- list(params: Params$Resource$Bluegreendeployments$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4977
- list(params?: Params$Resource$Bluegreendeployments$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBlueGreenDeploymentsResponse>>;
4978
- list(params: Params$Resource$Bluegreendeployments$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4979
- list(params: Params$Resource$Bluegreendeployments$List, options: MethodOptions | BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>, callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>): void;
4980
- list(params: Params$Resource$Bluegreendeployments$List, callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>): void;
4981
- list(callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>): void;
4982
- /**
4983
- * Switches over to green instance for a blue-green deployment.
4984
- * @example
4985
- * ```js
4986
- * // Before running the sample:
4987
- * // - Enable the API at:
4988
- * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
4989
- * // - Login into gcloud by running:
4990
- * // ```sh
4991
- * // $ gcloud auth application-default login
4992
- * // ```
4993
- * // - Install the npm module by running:
4994
- * // ```sh
4995
- * // $ npm install googleapis
4996
- * // ```
4997
- *
4998
- * const {google} = require('googleapis');
4999
- * const sqladmin = google.sqladmin('v1beta4');
5000
- *
5001
- * async function main() {
5002
- * const auth = new google.auth.GoogleAuth({
5003
- * // Scopes can be specified either as an array or as a single, space-delimited string.
5004
- * scopes: [
5005
- * 'https://www.googleapis.com/auth/cloud-platform',
5006
- * 'https://www.googleapis.com/auth/sqlservice.admin',
5007
- * ],
5008
- * });
5009
- *
5010
- * // Acquire an auth client, and bind it to all future calls
5011
- * const authClient = await auth.getClient();
5012
- * google.options({auth: authClient});
5013
- *
5014
- * // Do the magic
5015
- * const res = await sql.blueGreenDeployments.switchover({
5016
- * // Required. The name of the blue-green deployment to switch over. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
5017
- * name: 'projects/my-project/locations/my-location/blueGreenDeployments/my-blueGreenDeployment',
5018
- *
5019
- * // Request body metadata
5020
- * requestBody: {
5021
- * // request body parameters
5022
- * // {}
5023
- * },
5024
- * });
5025
- * console.log(res.data);
5026
- *
5027
- * // Example response
5028
- * // {
5029
- * // "acquireSsrsLeaseContext": {},
5030
- * // "apiWarning": {},
5031
- * // "backupContext": {},
5032
- * // "endTime": "my_endTime",
5033
- * // "error": {},
5034
- * // "exportContext": {},
5035
- * // "importContext": {},
5036
- * // "insertTime": "my_insertTime",
5037
- * // "kind": "my_kind",
5038
- * // "name": "my_name",
5039
- * // "operationType": "my_operationType",
5040
- * // "preCheckMajorVersionUpgradeContext": {},
5041
- * // "selfLink": "my_selfLink",
5042
- * // "startTime": "my_startTime",
5043
- * // "status": "my_status",
5044
- * // "subOperationType": {},
5045
- * // "targetId": "my_targetId",
5046
- * // "targetLink": "my_targetLink",
5047
- * // "targetProject": "my_targetProject",
5048
- * // "user": "my_user"
5049
- * // }
5050
- * }
5051
- *
5052
- * main().catch(e => {
5053
- * console.error(e);
5054
- * throw e;
5055
- * });
5056
- *
5057
- * ```
5058
- *
5059
- * @param params - Parameters for request
5060
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5061
- * @param callback - Optional callback that handles the response.
5062
- * @returns A promise if used with async/await, or void if used with a callback.
5063
- */
5064
- switchover(params: Params$Resource$Bluegreendeployments$Switchover, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5065
- switchover(params?: Params$Resource$Bluegreendeployments$Switchover, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5066
- switchover(params: Params$Resource$Bluegreendeployments$Switchover, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5067
- switchover(params: Params$Resource$Bluegreendeployments$Switchover, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5068
- switchover(params: Params$Resource$Bluegreendeployments$Switchover, callback: BodyResponseCallback<Schema$Operation>): void;
5069
- switchover(callback: BodyResponseCallback<Schema$Operation>): void;
5070
- }
5071
- export interface Params$Resource$Bluegreendeployments$Create extends StandardParameters {
5072
- /**
5073
- * Required. The ID to use for the blue-green deployment, which will become the final component of the deployment's resource name.
5074
- */
5075
- blueGreenDeploymentId?: string;
5076
- /**
5077
- * Required. The parent resource where this blue-green deployment will be created. Format: projects/{project\}/locations/{location\}
5078
- */
5079
- parent?: string;
5080
- /**
5081
- * Request body metadata
5082
- */
5083
- requestBody?: Schema$BlueGreenDeployment;
5084
- }
5085
- export interface Params$Resource$Bluegreendeployments$Delete extends StandardParameters {
5086
- /**
5087
- * Optional. If set to true, and the switchover is complete, this deletes the old source instance along with the deployment.
5088
- */
5089
- deleteOldSource?: boolean;
5090
- /**
5091
- * Required. The name of the blue-green deployment to delete. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
5092
- */
5093
- name?: string;
5094
- }
5095
- export interface Params$Resource$Bluegreendeployments$Get extends StandardParameters {
5096
- /**
5097
- * Required. The name of the blue-green deployment to retrieve. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
5098
- */
5099
- name?: string;
5100
- /**
5101
- * Optional. Specifies whether to return the basic or detailed view of the resource in the response.
5102
- */
5103
- view?: string;
5104
- }
5105
- export interface Params$Resource$Bluegreendeployments$List extends StandardParameters {
5106
- /**
5107
- * Optional. A filter expression that filters the results.
5108
- */
5109
- filter?: string;
5110
- /**
5111
- * Optional. A comma-separated list of fields to order the results by.
5112
- */
5113
- orderBy?: string;
5114
- /**
5115
- * Optional. The maximum number of deployments to return.
5116
- */
5117
- pageSize?: number;
5118
- /**
5119
- * Optional. A page token, received from a previous `ListBlueGreenDeployments` call. Provide this to retrieve the subsequent page.
5120
- */
5121
- pageToken?: string;
5122
- /**
5123
- * Required. The parent resource whose blue-green deployments are to be listed. Format: projects/{project\}/locations/{location\}
5124
- */
5125
- parent?: string;
5126
- }
5127
- export interface Params$Resource$Bluegreendeployments$Switchover extends StandardParameters {
5128
- /**
5129
- * Required. The name of the blue-green deployment to switch over. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
5130
- */
5131
- name?: string;
5132
- /**
5133
- * Request body metadata
5134
- */
5135
- requestBody?: Schema$SwitchoverBlueGreenDeploymentRequest;
5136
- }
5137
- export class Resource$Connect {
5138
- context: APIRequestContext;
5139
- constructor(context: APIRequestContext);
5140
- /**
5141
- * Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.
5142
- * @example
5143
- * ```js
5144
- * // Before running the sample:
5145
- * // - Enable the API at:
5146
- * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
5147
- * // - Login into gcloud by running:
5148
- * // ```sh
5149
- * // $ gcloud auth application-default login
5150
- * // ```
5151
- * // - Install the npm module by running:
5152
- * // ```sh
5153
- * // $ npm install googleapis
5154
- * // ```
5155
- *
5156
- * const {google} = require('googleapis');
5157
- * const sqladmin = google.sqladmin('v1beta4');
5158
- *
5159
- * async function main() {
5160
- * const auth = new google.auth.GoogleAuth({
5161
- * // Scopes can be specified either as an array or as a single, space-delimited string.
5162
- * scopes: [
5163
- * 'https://www.googleapis.com/auth/cloud-platform',
5164
- * 'https://www.googleapis.com/auth/sqlservice.admin',
5165
- * ],
5166
- * });
5167
- *
5168
- * // Acquire an auth client, and bind it to all future calls
5169
- * const authClient = await auth.getClient();
5170
- * google.options({auth: authClient});
5171
- *
5172
- * // Do the magic
5173
- * const res = await sql.connect.generateEphemeral({
5174
- * // Cloud SQL instance ID. This does not include the project ID.
5175
- * instance: 'placeholder-value',
5176
- * // Project ID of the project that contains the instance.
5177
- * project: 'placeholder-value',
5178
- *
5179
- * // Request body metadata
5180
- * requestBody: {
5181
- * // request body parameters
5182
- * // {
5183
- * // "access_token": "my_access_token",
5184
- * // "public_key": "my_public_key",
5185
- * // "readTime": "my_readTime",
5186
- * // "validDuration": "my_validDuration"
5187
- * // }
5188
- * },
5189
- * });
5190
- * console.log(res.data);
5191
- *
5192
- * // Example response
5193
- * // {
5194
- * // "ephemeralCert": {}
5195
- * // }
5196
- * }
5197
- *
5198
- * main().catch(e => {
5199
- * console.error(e);
5200
- * throw e;
5201
- * });
5202
- *
5203
- * ```
5204
- *
5205
- * @param params - Parameters for request
5206
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5207
- * @param callback - Optional callback that handles the response.
5208
- * @returns A promise if used with async/await, or void if used with a callback.
5209
- */
5210
- generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5211
- generateEphemeralCert(params?: Params$Resource$Connect$Generateephemeralcert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GenerateEphemeralCertResponse>>;
5212
- generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5213
- generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, options: MethodOptions | BodyResponseCallback<Schema$GenerateEphemeralCertResponse>, callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
5214
- generateEphemeralCert(params: Params$Resource$Connect$Generateephemeralcert, callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
5215
- generateEphemeralCert(callback: BodyResponseCallback<Schema$GenerateEphemeralCertResponse>): void;
5216
- /**
5217
- * Retrieves connect settings about a Cloud SQL instance.
5218
- * @example
5219
- * ```js
5220
- * // Before running the sample:
5221
- * // - Enable the API at:
5222
- * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
5223
- * // - Login into gcloud by running:
5224
- * // ```sh
5225
- * // $ gcloud auth application-default login
5226
- * // ```
5227
- * // - Install the npm module by running:
5228
- * // ```sh
5229
- * // $ npm install googleapis
5230
- * // ```
5231
- *
5232
- * const {google} = require('googleapis');
5233
- * const sqladmin = google.sqladmin('v1beta4');
5234
- *
5235
- * async function main() {
5236
- * const auth = new google.auth.GoogleAuth({
5237
- * // Scopes can be specified either as an array or as a single, space-delimited string.
5238
- * scopes: [
5239
- * 'https://www.googleapis.com/auth/cloud-platform',
5240
- * 'https://www.googleapis.com/auth/sqlservice.admin',
5241
- * ],
5242
- * });
5243
- *
5244
- * // Acquire an auth client, and bind it to all future calls
5245
- * const authClient = await auth.getClient();
5246
- * google.options({auth: authClient});
5247
- *
5248
- * // Do the magic
5249
- * const res = await sql.connect.get({
5250
- * // Cloud SQL instance ID. This does not include the project ID.
5251
- * instance: 'placeholder-value',
5252
- * // Project ID of the project that contains the instance.
5253
- * project: 'placeholder-value',
5254
- * // Optional. Optional snapshot read timestamp to trade freshness for performance.
5255
- * readTime: 'placeholder-value',
5256
- * });
5257
- * console.log(res.data);
5258
- *
5259
- * // Example response
5260
- * // {
5261
- * // "backendType": "my_backendType",
5262
- * // "connectionName": "my_connectionName",
5263
- * // "customSubjectAlternativeNames": [],
5264
- * // "databaseVersion": "my_databaseVersion",
5265
- * // "dnsName": "my_dnsName",
5266
- * // "dnsNames": [],
5267
- * // "ipAddresses": [],
5268
- * // "kind": "my_kind",
5269
- * // "mdxProtocolSupport": [],
5270
- * // "nodeCount": 0,
5271
- * // "nodes": [],
5272
- * // "pscEnabled": false,
5273
- * // "region": "my_region",
5274
- * // "serverCaCert": {},
5275
- * // "serverCaMode": "my_serverCaMode"
5276
- * // }
5277
- * }
5278
- *
5279
- * main().catch(e => {
5280
- * console.error(e);
5281
- * throw e;
5282
- * });
5283
- *
5284
- * ```
5285
- *
5286
- * @param params - Parameters for request
5287
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5288
- * @param callback - Optional callback that handles the response.
5289
- * @returns A promise if used with async/await, or void if used with a callback.
5290
- */
5291
- get(params: Params$Resource$Connect$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5292
- get(params?: Params$Resource$Connect$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ConnectSettings>>;
5293
- get(params: Params$Resource$Connect$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5294
- get(params: Params$Resource$Connect$Get, options: MethodOptions | BodyResponseCallback<Schema$ConnectSettings>, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
5295
- get(params: Params$Resource$Connect$Get, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
5296
- get(callback: BodyResponseCallback<Schema$ConnectSettings>): void;
5297
- /**
5298
- * Retrieves connect settings about a Cloud SQL instance using the instance DNS name.
5299
- * @example
5300
- * ```js
5301
- * // Before running the sample:
5302
- * // - Enable the API at:
5303
- * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
5304
- * // - Login into gcloud by running:
5305
- * // ```sh
5306
- * // $ gcloud auth application-default login
5307
- * // ```
5308
- * // - Install the npm module by running:
5309
- * // ```sh
5310
- * // $ npm install googleapis
5311
- * // ```
5312
- *
5313
- * const {google} = require('googleapis');
5314
- * const sqladmin = google.sqladmin('v1beta4');
5315
- *
5316
- * async function main() {
5317
- * const auth = new google.auth.GoogleAuth({
5318
- * // Scopes can be specified either as an array or as a single, space-delimited string.
5319
- * scopes: [
5320
- * 'https://www.googleapis.com/auth/cloud-platform',
5321
- * 'https://www.googleapis.com/auth/sqlservice.admin',
5322
- * ],
5323
- * });
5324
- *
5325
- * // Acquire an auth client, and bind it to all future calls
5326
- * const authClient = await auth.getClient();
5327
- * google.options({auth: authClient});
5328
- *
5329
- * // Do the magic
5330
- * const res = await sql.connect.resolve({
5331
- * // Required. Cloud SQL instance ID. This does not include the project ID.
5332
- * dnsName: 'placeholder-value',
5333
- * // Required. The region of the instance.
5334
- * location: 'placeholder-value',
4583
+ * const res = await sql.connect.resolve({
4584
+ * // Required. Cloud SQL instance ID. This does not include the project ID.
4585
+ * dnsName: 'placeholder-value',
4586
+ * // Required. The region of the instance.
4587
+ * location: 'placeholder-value',
5335
4588
  * });
5336
4589
  * console.log(res.data);
5337
4590
  *
@@ -5453,8 +4706,6 @@ export declare namespace sqladmin_v1beta4 {
5453
4706
  * database: 'placeholder-value',
5454
4707
  * // Database instance ID. This does not include the project ID.
5455
4708
  * instance: 'placeholder-value',
5456
- * // Optional. Region of the Cloud SQL instance.
5457
- * location: 'placeholder-value',
5458
4709
  * // Project ID of the project that contains the instance.
5459
4710
  * project: 'placeholder-value',
5460
4711
  * });
@@ -5541,8 +4792,6 @@ export declare namespace sqladmin_v1beta4 {
5541
4792
  * database: 'placeholder-value',
5542
4793
  * // Database instance ID. This does not include the project ID.
5543
4794
  * instance: 'placeholder-value',
5544
- * // Optional. Region of the Cloud SQL instance.
5545
- * location: 'placeholder-value',
5546
4795
  * // Project ID of the project that contains the instance.
5547
4796
  * project: 'placeholder-value',
5548
4797
  * });
@@ -5616,8 +4865,6 @@ export declare namespace sqladmin_v1beta4 {
5616
4865
  * const res = await sql.databases.insert({
5617
4866
  * // Database instance ID. This does not include the project ID.
5618
4867
  * instance: 'placeholder-value',
5619
- * // Optional. Region of the Cloud SQL instance.
5620
- * location: 'placeholder-value',
5621
4868
  * // Project ID of the project that contains the instance.
5622
4869
  * project: 'placeholder-value',
5623
4870
  *
@@ -5718,8 +4965,6 @@ export declare namespace sqladmin_v1beta4 {
5718
4965
  * const res = await sql.databases.list({
5719
4966
  * // Cloud SQL instance ID. This does not include the project ID.
5720
4967
  * instance: 'placeholder-value',
5721
- * // Optional. Region of the Cloud SQL instance.
5722
- * location: 'placeholder-value',
5723
4968
  * // Project ID of the project that contains the instance.
5724
4969
  * project: 'placeholder-value',
5725
4970
  * });
@@ -5788,8 +5033,6 @@ export declare namespace sqladmin_v1beta4 {
5788
5033
  * database: 'placeholder-value',
5789
5034
  * // Database instance ID. This does not include the project ID.
5790
5035
  * instance: 'placeholder-value',
5791
- * // Optional. Region of the Cloud SQL instance.
5792
- * location: 'placeholder-value',
5793
5036
  * // Project ID of the project that contains the instance.
5794
5037
  * project: 'placeholder-value',
5795
5038
  *
@@ -5892,8 +5135,6 @@ export declare namespace sqladmin_v1beta4 {
5892
5135
  * database: 'placeholder-value',
5893
5136
  * // Database instance ID. This does not include the project ID.
5894
5137
  * instance: 'placeholder-value',
5895
- * // Optional. Region of the Cloud SQL instance.
5896
- * location: 'placeholder-value',
5897
5138
  * // Project ID of the project that contains the instance.
5898
5139
  * project: 'placeholder-value',
5899
5140
  *
@@ -5968,10 +5209,6 @@ export declare namespace sqladmin_v1beta4 {
5968
5209
  * Database instance ID. This does not include the project ID.
5969
5210
  */
5970
5211
  instance?: string;
5971
- /**
5972
- * Optional. Region of the Cloud SQL instance.
5973
- */
5974
- location?: string;
5975
5212
  /**
5976
5213
  * Project ID of the project that contains the instance.
5977
5214
  */
@@ -5986,10 +5223,6 @@ export declare namespace sqladmin_v1beta4 {
5986
5223
  * Database instance ID. This does not include the project ID.
5987
5224
  */
5988
5225
  instance?: string;
5989
- /**
5990
- * Optional. Region of the Cloud SQL instance.
5991
- */
5992
- location?: string;
5993
5226
  /**
5994
5227
  * Project ID of the project that contains the instance.
5995
5228
  */
@@ -6000,10 +5233,6 @@ export declare namespace sqladmin_v1beta4 {
6000
5233
  * Database instance ID. This does not include the project ID.
6001
5234
  */
6002
5235
  instance?: string;
6003
- /**
6004
- * Optional. Region of the Cloud SQL instance.
6005
- */
6006
- location?: string;
6007
5236
  /**
6008
5237
  * Project ID of the project that contains the instance.
6009
5238
  */
@@ -6018,10 +5247,6 @@ export declare namespace sqladmin_v1beta4 {
6018
5247
  * Cloud SQL instance ID. This does not include the project ID.
6019
5248
  */
6020
5249
  instance?: string;
6021
- /**
6022
- * Optional. Region of the Cloud SQL instance.
6023
- */
6024
- location?: string;
6025
5250
  /**
6026
5251
  * Project ID of the project that contains the instance.
6027
5252
  */
@@ -6036,10 +5261,6 @@ export declare namespace sqladmin_v1beta4 {
6036
5261
  * Database instance ID. This does not include the project ID.
6037
5262
  */
6038
5263
  instance?: string;
6039
- /**
6040
- * Optional. Region of the Cloud SQL instance.
6041
- */
6042
- location?: string;
6043
5264
  /**
6044
5265
  * Project ID of the project that contains the instance.
6045
5266
  */
@@ -6058,10 +5279,6 @@ export declare namespace sqladmin_v1beta4 {
6058
5279
  * Database instance ID. This does not include the project ID.
6059
5280
  */
6060
5281
  instance?: string;
6061
- /**
6062
- * Optional. Region of the Cloud SQL instance.
6063
- */
6064
- location?: string;
6065
5282
  /**
6066
5283
  * Project ID of the project that contains the instance.
6067
5284
  */
@@ -6190,8 +5407,6 @@ export declare namespace sqladmin_v1beta4 {
6190
5407
  * const res = await sql.instances.acquireSsrsLease({
6191
5408
  * // 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).
6192
5409
  * instance: 'placeholder-value',
6193
- * // Optional. Region of the Cloud SQL instance.
6194
- * location: 'placeholder-value',
6195
5410
  * // Required. ID of the project that contains the instance (Example: project-id).
6196
5411
  * project: 'placeholder-value',
6197
5412
  *
@@ -6265,8 +5480,6 @@ export declare namespace sqladmin_v1beta4 {
6265
5480
  * const res = await sql.instances.addEntraIdCertificate({
6266
5481
  * // Required. Cloud SQL instance ID. This does not include the project ID.
6267
5482
  * instance: 'placeholder-value',
6268
- * // Optional. Region of the Cloud SQL instance.
6269
- * location: 'placeholder-value',
6270
5483
  * // Required. Project ID of the project that contains the instance.
6271
5484
  * project: 'placeholder-value',
6272
5485
  * });
@@ -6351,8 +5564,6 @@ export declare namespace sqladmin_v1beta4 {
6351
5564
  * const res = await sql.instances.addServerCa({
6352
5565
  * // Cloud SQL instance ID. This does not include the project ID.
6353
5566
  * instance: 'placeholder-value',
6354
- * // Optional. Region of the Cloud SQL instance.
6355
- * location: 'placeholder-value',
6356
5567
  * // Project ID of the project that contains the instance.
6357
5568
  * project: 'placeholder-value',
6358
5569
  * });
@@ -6437,8 +5648,6 @@ export declare namespace sqladmin_v1beta4 {
6437
5648
  * const res = await sql.instances.addServerCertificate({
6438
5649
  * // Required. Cloud SQL instance ID. This does not include the project ID.
6439
5650
  * instance: 'placeholder-value',
6440
- * // Optional. Region of the Cloud SQL instance.
6441
- * location: 'placeholder-value',
6442
5651
  * // Required. Project ID of the project that contains the instance.
6443
5652
  * project: 'placeholder-value',
6444
5653
  * });
@@ -6523,8 +5732,6 @@ export declare namespace sqladmin_v1beta4 {
6523
5732
  * const res = await sql.instances.clone({
6524
5733
  * // The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
6525
5734
  * instance: 'placeholder-value',
6526
- * // Optional. Region of the Cloud SQL instance.
6527
- * location: 'placeholder-value',
6528
5735
  * // Project ID of the source Cloud SQL instance.
6529
5736
  * project: 'placeholder-value',
6530
5737
  *
@@ -6625,8 +5832,6 @@ export declare namespace sqladmin_v1beta4 {
6625
5832
  * finalBackupTtlDays: 'placeholder-value',
6626
5833
  * // Cloud SQL instance ID. This does not include the project ID.
6627
5834
  * instance: 'placeholder-value',
6628
- * // Optional. Region of the Cloud SQL instance.
6629
- * location: 'placeholder-value',
6630
5835
  * // Project ID of the project that contains the instance to be deleted.
6631
5836
  * project: 'placeholder-value',
6632
5837
  * });
@@ -6710,9 +5915,7 @@ export declare namespace sqladmin_v1beta4 {
6710
5915
  * // Do the magic
6711
5916
  * const res = await sql.instances.demote({
6712
5917
  * // Required. The name of the Cloud SQL instance.
6713
- * instance: 'placeholder-value',
6714
- * // Optional. Region of the Cloud SQL instance.
6715
- * location: 'placeholder-value',
5918
+ * instance: 'placeholder-value',
6716
5919
  * // Required. The project ID of the project that contains the instance.
6717
5920
  * project: 'placeholder-value',
6718
5921
  *
@@ -6805,8 +6008,6 @@ export declare namespace sqladmin_v1beta4 {
6805
6008
  * const res = await sql.instances.demoteMaster({
6806
6009
  * // Cloud SQL instance name.
6807
6010
  * instance: 'placeholder-value',
6808
- * // Optional. Region of the Cloud SQL instance.
6809
- * location: 'placeholder-value',
6810
6011
  * // ID of the project that contains the instance.
6811
6012
  * project: 'placeholder-value',
6812
6013
  *
@@ -6899,8 +6100,6 @@ export declare namespace sqladmin_v1beta4 {
6899
6100
  * const res = await sql.instances.executeSql({
6900
6101
  * // Required. Database instance ID. This does not include the project ID.
6901
6102
  * instance: 'placeholder-value',
6902
- * // Optional. Region of the Cloud SQL instance.
6903
- * location: 'placeholder-value',
6904
6103
  * // Required. Project ID of the project that contains the instance.
6905
6104
  * project: 'placeholder-value',
6906
6105
  *
@@ -6981,8 +6180,6 @@ export declare namespace sqladmin_v1beta4 {
6981
6180
  * const res = await sql.instances.export({
6982
6181
  * // The Cloud SQL instance ID. This doesn't include the project ID.
6983
6182
  * instance: 'placeholder-value',
6984
- * // Optional. Region of the Cloud SQL instance.
6985
- * location: 'placeholder-value',
6986
6183
  * // Project ID of the project that contains the instance to be exported.
6987
6184
  * project: 'placeholder-value',
6988
6185
  *
@@ -7075,8 +6272,6 @@ export declare namespace sqladmin_v1beta4 {
7075
6272
  * const res = await sql.instances.failover({
7076
6273
  * // Cloud SQL instance ID. This does not include the project ID.
7077
6274
  * instance: 'placeholder-value',
7078
- * // Optional. Region of the Cloud SQL instance.
7079
- * location: 'placeholder-value',
7080
6275
  * // ID of the project that contains the read replica.
7081
6276
  * project: 'placeholder-value',
7082
6277
  *
@@ -7169,8 +6364,6 @@ export declare namespace sqladmin_v1beta4 {
7169
6364
  * const res = await sql.instances.get({
7170
6365
  * // Database instance ID. This does not include the project ID.
7171
6366
  * instance: 'placeholder-value',
7172
- * // Optional. Region of the Cloud SQL instance.
7173
- * location: 'placeholder-value',
7174
6367
  * // Project ID of the project that contains the instance.
7175
6368
  * project: 'placeholder-value',
7176
6369
  * });
@@ -7186,7 +6379,6 @@ export declare namespace sqladmin_v1beta4 {
7186
6379
  * // "databaseCenterIntegrationEnabled": false,
7187
6380
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
7188
6381
  * // "databaseVersion": "my_databaseVersion",
7189
- * // "deploymentInfo": {},
7190
6382
  * // "diskEncryptionConfiguration": {},
7191
6383
  * // "diskEncryptionStatus": {},
7192
6384
  * // "dnsName": "my_dnsName",
@@ -7285,8 +6477,6 @@ export declare namespace sqladmin_v1beta4 {
7285
6477
  * const res = await sql.instances.import({
7286
6478
  * // Cloud SQL instance ID. This does not include the project ID.
7287
6479
  * instance: 'placeholder-value',
7288
- * // Optional. Region of the Cloud SQL instance.
7289
- * location: 'placeholder-value',
7290
6480
  * // Project ID of the project that contains the instance.
7291
6481
  * project: 'placeholder-value',
7292
6482
  *
@@ -7377,8 +6567,6 @@ export declare namespace sqladmin_v1beta4 {
7377
6567
  *
7378
6568
  * // Do the magic
7379
6569
  * const res = await sql.instances.insert({
7380
- * // Optional. Region of the Cloud SQL instance.
7381
- * location: 'placeholder-value',
7382
6570
  * // Project ID of the project to which the newly created Cloud SQL instances should belong.
7383
6571
  * project: 'placeholder-value',
7384
6572
  *
@@ -7394,7 +6582,6 @@ export declare namespace sqladmin_v1beta4 {
7394
6582
  * // "databaseCenterIntegrationEnabled": false,
7395
6583
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
7396
6584
  * // "databaseVersion": "my_databaseVersion",
7397
- * // "deploymentInfo": {},
7398
6585
  * // "diskEncryptionConfiguration": {},
7399
6586
  * // "diskEncryptionStatus": {},
7400
6587
  * // "dnsName": "my_dnsName",
@@ -7523,8 +6710,6 @@ export declare namespace sqladmin_v1beta4 {
7523
6710
  * const res = await sql.instances.list({
7524
6711
  * // 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.
7525
6712
  * filter: 'placeholder-value',
7526
- * // Optional. Region of the Cloud SQL instance.
7527
- * location: 'placeholder-value',
7528
6713
  * // 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.
7529
6714
  * maxResults: 'placeholder-value',
7530
6715
  * // A previously-returned page token representing part of the larger set of results to view.
@@ -7597,8 +6782,6 @@ export declare namespace sqladmin_v1beta4 {
7597
6782
  * const res = await sql.instances.ListEntraIdCertificates({
7598
6783
  * // Required. Cloud SQL instance ID. This does not include the project ID.
7599
6784
  * instance: 'placeholder-value',
7600
- * // Optional. Region of the Cloud SQL instance.
7601
- * location: 'placeholder-value',
7602
6785
  * // Required. Project ID of the project that contains the instance.
7603
6786
  * project: 'placeholder-value',
7604
6787
  * });
@@ -7666,8 +6849,6 @@ export declare namespace sqladmin_v1beta4 {
7666
6849
  * const res = await sql.instances.listServerCas({
7667
6850
  * // Cloud SQL instance ID. This does not include the project ID.
7668
6851
  * instance: 'placeholder-value',
7669
- * // Optional. Region of the Cloud SQL instance.
7670
- * location: 'placeholder-value',
7671
6852
  * // Project ID of the project that contains the instance.
7672
6853
  * project: 'placeholder-value',
7673
6854
  * });
@@ -7735,8 +6916,6 @@ export declare namespace sqladmin_v1beta4 {
7735
6916
  * const res = await sql.instances.ListServerCertificates({
7736
6917
  * // Required. Cloud SQL instance ID. This does not include the project ID.
7737
6918
  * instance: 'placeholder-value',
7738
- * // Optional. Region of the Cloud SQL instance.
7739
- * location: 'placeholder-value',
7740
6919
  * // Required. Project ID of the project that contains the instance.
7741
6920
  * project: 'placeholder-value',
7742
6921
  * });
@@ -7805,8 +6984,6 @@ export declare namespace sqladmin_v1beta4 {
7805
6984
  * const res = await sql.instances.patch({
7806
6985
  * // Cloud SQL instance ID. This does not include the project ID.
7807
6986
  * instance: 'placeholder-value',
7808
- * // Optional. Region of the Cloud SQL instance.
7809
- * location: 'placeholder-value',
7810
6987
  * // Project ID of the project that contains the instance.
7811
6988
  * project: 'placeholder-value',
7812
6989
  * // Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
@@ -7826,7 +7003,6 @@ export declare namespace sqladmin_v1beta4 {
7826
7003
  * // "databaseCenterIntegrationEnabled": false,
7827
7004
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
7828
7005
  * // "databaseVersion": "my_databaseVersion",
7829
- * // "deploymentInfo": {},
7830
7006
  * // "diskEncryptionConfiguration": {},
7831
7007
  * // "diskEncryptionStatus": {},
7832
7008
  * // "dnsName": "my_dnsName",
@@ -8054,8 +7230,6 @@ export declare namespace sqladmin_v1beta4 {
8054
7230
  * const res = await sql.instances.preCheckMajorVersionUpgrade({
8055
7231
  * // Required. Cloud SQL instance ID. This does not include the project ID.
8056
7232
  * instance: 'placeholder-value',
8057
- * // Optional. Region of the Cloud SQL instance.
8058
- * location: 'placeholder-value',
8059
7233
  * // Required. Project ID of the project that contains the instance.
8060
7234
  * project: 'placeholder-value',
8061
7235
  *
@@ -8150,8 +7324,6 @@ export declare namespace sqladmin_v1beta4 {
8150
7324
  * failover: 'placeholder-value',
8151
7325
  * // Cloud SQL read replica instance name.
8152
7326
  * instance: 'placeholder-value',
8153
- * // Optional. Region of the Cloud SQL instance.
8154
- * location: 'placeholder-value',
8155
7327
  * // ID of the project that contains the read replica.
8156
7328
  * project: 'placeholder-value',
8157
7329
  * });
@@ -8236,8 +7408,6 @@ export declare namespace sqladmin_v1beta4 {
8236
7408
  * const res = await sql.instances.reencrypt({
8237
7409
  * // Cloud SQL instance ID. This does not include the project ID.
8238
7410
  * instance: 'placeholder-value',
8239
- * // Optional. Region of the Cloud SQL instance.
8240
- * location: 'placeholder-value',
8241
7411
  * // ID of the project that contains the instance.
8242
7412
  * project: 'placeholder-value',
8243
7413
  *
@@ -8330,8 +7500,6 @@ export declare namespace sqladmin_v1beta4 {
8330
7500
  * const res = await sql.instances.releaseSsrsLease({
8331
7501
  * // Required. The Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).
8332
7502
  * instance: 'placeholder-value',
8333
- * // Optional. Region of the Cloud SQL instance.
8334
- * location: 'placeholder-value',
8335
7503
  * // Required. The ID of the project that contains the instance (Example: project-id).
8336
7504
  * project: 'placeholder-value',
8337
7505
  * });
@@ -8397,8 +7565,6 @@ export declare namespace sqladmin_v1beta4 {
8397
7565
  * const res = await sql.instances.resetSslConfig({
8398
7566
  * // Cloud SQL instance ID. This does not include the project ID.
8399
7567
  * instance: 'placeholder-value',
8400
- * // Optional. Region of the Cloud SQL instance.
8401
- * location: 'placeholder-value',
8402
7568
  * // Optional. Reset SSL mode to use.
8403
7569
  * mode: 'placeholder-value',
8404
7570
  * // Project ID of the project that contains the instance.
@@ -8485,8 +7651,6 @@ export declare namespace sqladmin_v1beta4 {
8485
7651
  * const res = await sql.instances.restart({
8486
7652
  * // Cloud SQL instance ID. This does not include the project ID.
8487
7653
  * instance: 'placeholder-value',
8488
- * // Optional. Region of the Cloud SQL instance.
8489
- * location: 'placeholder-value',
8490
7654
  * // Project ID of the project that contains the instance to be restarted.
8491
7655
  * project: 'placeholder-value',
8492
7656
  * });
@@ -8571,8 +7735,6 @@ export declare namespace sqladmin_v1beta4 {
8571
7735
  * const res = await sql.instances.restoreBackup({
8572
7736
  * // Cloud SQL instance ID. This does not include the project ID.
8573
7737
  * instance: 'placeholder-value',
8574
- * // Optional. Region of the Cloud SQL instance.
8575
- * location: 'placeholder-value',
8576
7738
  * // Project ID of the project that contains the instance.
8577
7739
  * project: 'placeholder-value',
8578
7740
  *
@@ -8582,7 +7744,6 @@ export declare namespace sqladmin_v1beta4 {
8582
7744
  * // {
8583
7745
  * // "backup": "my_backup",
8584
7746
  * // "backupdrBackup": "my_backupdrBackup",
8585
- * // "ignoreMaintenanceVersion": false,
8586
7747
  * // "restoreBackupContext": {},
8587
7748
  * // "restoreInstanceClearOverridesFieldNames": [],
8588
7749
  * // "restoreInstanceSettings": {}
@@ -8670,8 +7831,6 @@ export declare namespace sqladmin_v1beta4 {
8670
7831
  * const res = await sql.instances.RotateEntraIdCertificate({
8671
7832
  * // Required. Cloud SQL instance ID. This does not include the project ID.
8672
7833
  * instance: 'placeholder-value',
8673
- * // Optional. Region of the Cloud SQL instance.
8674
- * location: 'placeholder-value',
8675
7834
  * // Required. Project ID of the project that contains the instance.
8676
7835
  * project: 'placeholder-value',
8677
7836
  *
@@ -8764,8 +7923,6 @@ export declare namespace sqladmin_v1beta4 {
8764
7923
  * const res = await sql.instances.rotateServerCa({
8765
7924
  * // Cloud SQL instance ID. This does not include the project ID.
8766
7925
  * instance: 'placeholder-value',
8767
- * // Optional. Region of the Cloud SQL instance.
8768
- * location: 'placeholder-value',
8769
7926
  * // Project ID of the project that contains the instance.
8770
7927
  * project: 'placeholder-value',
8771
7928
  *
@@ -8858,8 +8015,6 @@ export declare namespace sqladmin_v1beta4 {
8858
8015
  * const res = await sql.instances.RotateServerCertificate({
8859
8016
  * // Required. Cloud SQL instance ID. This does not include the project ID.
8860
8017
  * instance: 'placeholder-value',
8861
- * // Optional. Region of the Cloud SQL instance.
8862
- * location: 'placeholder-value',
8863
8018
  * // Required. Project ID of the project that contains the instance.
8864
8019
  * project: 'placeholder-value',
8865
8020
  *
@@ -8952,8 +8107,6 @@ export declare namespace sqladmin_v1beta4 {
8952
8107
  * const res = await sql.instances.startReplica({
8953
8108
  * // Cloud SQL read replica instance name.
8954
8109
  * instance: 'placeholder-value',
8955
- * // Optional. Region of the Cloud SQL instance.
8956
- * location: 'placeholder-value',
8957
8110
  * // ID of the project that contains the read replica.
8958
8111
  * project: 'placeholder-value',
8959
8112
  * });
@@ -9038,8 +8191,6 @@ export declare namespace sqladmin_v1beta4 {
9038
8191
  * const res = await sql.instances.stopReplica({
9039
8192
  * // Cloud SQL read replica instance name.
9040
8193
  * instance: 'placeholder-value',
9041
- * // Optional. Region of the Cloud SQL instance.
9042
- * location: 'placeholder-value',
9043
8194
  * // ID of the project that contains the read replica.
9044
8195
  * project: 'placeholder-value',
9045
8196
  * });
@@ -9126,8 +8277,6 @@ export declare namespace sqladmin_v1beta4 {
9126
8277
  * dbTimeout: 'placeholder-value',
9127
8278
  * // Cloud SQL read replica instance name.
9128
8279
  * instance: 'placeholder-value',
9129
- * // Optional. Region of the Cloud SQL instance.
9130
- * location: 'placeholder-value',
9131
8280
  * // ID of the project that contains the replica.
9132
8281
  * project: 'placeholder-value',
9133
8282
  * });
@@ -9212,8 +8361,6 @@ export declare namespace sqladmin_v1beta4 {
9212
8361
  * const res = await sql.instances.truncateLog({
9213
8362
  * // Cloud SQL instance ID. This does not include the project ID.
9214
8363
  * instance: 'placeholder-value',
9215
- * // Optional. Region of the Cloud SQL instance.
9216
- * location: 'placeholder-value',
9217
8364
  * // Project ID of the Cloud SQL project.
9218
8365
  * project: 'placeholder-value',
9219
8366
  *
@@ -9306,8 +8453,6 @@ export declare namespace sqladmin_v1beta4 {
9306
8453
  * const res = await sql.instances.update({
9307
8454
  * // Cloud SQL instance ID. This does not include the project ID.
9308
8455
  * instance: 'placeholder-value',
9309
- * // Optional. Region of the Cloud SQL instance.
9310
- * location: 'placeholder-value',
9311
8456
  * // Project ID of the project that contains the instance.
9312
8457
  * project: 'placeholder-value',
9313
8458
  *
@@ -9323,7 +8468,6 @@ export declare namespace sqladmin_v1beta4 {
9323
8468
  * // "databaseCenterIntegrationEnabled": false,
9324
8469
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
9325
8470
  * // "databaseVersion": "my_databaseVersion",
9326
- * // "deploymentInfo": {},
9327
8471
  * // "diskEncryptionConfiguration": {},
9328
8472
  * // "diskEncryptionStatus": {},
9329
8473
  * // "dnsName": "my_dnsName",
@@ -9422,10 +8566,6 @@ export declare namespace sqladmin_v1beta4 {
9422
8566
  * 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).
9423
8567
  */
9424
8568
  instance?: string;
9425
- /**
9426
- * Optional. Region of the Cloud SQL instance.
9427
- */
9428
- location?: string;
9429
8569
  /**
9430
8570
  * Required. ID of the project that contains the instance (Example: project-id).
9431
8571
  */
@@ -9440,10 +8580,6 @@ export declare namespace sqladmin_v1beta4 {
9440
8580
  * Required. Cloud SQL instance ID. This does not include the project ID.
9441
8581
  */
9442
8582
  instance?: string;
9443
- /**
9444
- * Optional. Region of the Cloud SQL instance.
9445
- */
9446
- location?: string;
9447
8583
  /**
9448
8584
  * Required. Project ID of the project that contains the instance.
9449
8585
  */
@@ -9454,10 +8590,6 @@ export declare namespace sqladmin_v1beta4 {
9454
8590
  * Cloud SQL instance ID. This does not include the project ID.
9455
8591
  */
9456
8592
  instance?: string;
9457
- /**
9458
- * Optional. Region of the Cloud SQL instance.
9459
- */
9460
- location?: string;
9461
8593
  /**
9462
8594
  * Project ID of the project that contains the instance.
9463
8595
  */
@@ -9468,10 +8600,6 @@ export declare namespace sqladmin_v1beta4 {
9468
8600
  * Required. Cloud SQL instance ID. This does not include the project ID.
9469
8601
  */
9470
8602
  instance?: string;
9471
- /**
9472
- * Optional. Region of the Cloud SQL instance.
9473
- */
9474
- location?: string;
9475
8603
  /**
9476
8604
  * Required. Project ID of the project that contains the instance.
9477
8605
  */
@@ -9482,10 +8610,6 @@ export declare namespace sqladmin_v1beta4 {
9482
8610
  * The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
9483
8611
  */
9484
8612
  instance?: string;
9485
- /**
9486
- * Optional. Region of the Cloud SQL instance.
9487
- */
9488
- location?: string;
9489
8613
  /**
9490
8614
  * Project ID of the source Cloud SQL instance.
9491
8615
  */
@@ -9516,10 +8640,6 @@ export declare namespace sqladmin_v1beta4 {
9516
8640
  * Cloud SQL instance ID. This does not include the project ID.
9517
8641
  */
9518
8642
  instance?: string;
9519
- /**
9520
- * Optional. Region of the Cloud SQL instance.
9521
- */
9522
- location?: string;
9523
8643
  /**
9524
8644
  * Project ID of the project that contains the instance to be deleted.
9525
8645
  */
@@ -9530,10 +8650,6 @@ export declare namespace sqladmin_v1beta4 {
9530
8650
  * Required. The name of the Cloud SQL instance.
9531
8651
  */
9532
8652
  instance?: string;
9533
- /**
9534
- * Optional. Region of the Cloud SQL instance.
9535
- */
9536
- location?: string;
9537
8653
  /**
9538
8654
  * Required. The project ID of the project that contains the instance.
9539
8655
  */
@@ -9548,10 +8664,6 @@ export declare namespace sqladmin_v1beta4 {
9548
8664
  * Cloud SQL instance name.
9549
8665
  */
9550
8666
  instance?: string;
9551
- /**
9552
- * Optional. Region of the Cloud SQL instance.
9553
- */
9554
- location?: string;
9555
8667
  /**
9556
8668
  * ID of the project that contains the instance.
9557
8669
  */
@@ -9566,10 +8678,6 @@ export declare namespace sqladmin_v1beta4 {
9566
8678
  * Required. Database instance ID. This does not include the project ID.
9567
8679
  */
9568
8680
  instance?: string;
9569
- /**
9570
- * Optional. Region of the Cloud SQL instance.
9571
- */
9572
- location?: string;
9573
8681
  /**
9574
8682
  * Required. Project ID of the project that contains the instance.
9575
8683
  */
@@ -9584,10 +8692,6 @@ export declare namespace sqladmin_v1beta4 {
9584
8692
  * The Cloud SQL instance ID. This doesn't include the project ID.
9585
8693
  */
9586
8694
  instance?: string;
9587
- /**
9588
- * Optional. Region of the Cloud SQL instance.
9589
- */
9590
- location?: string;
9591
8695
  /**
9592
8696
  * Project ID of the project that contains the instance to be exported.
9593
8697
  */
@@ -9602,10 +8706,6 @@ export declare namespace sqladmin_v1beta4 {
9602
8706
  * Cloud SQL instance ID. This does not include the project ID.
9603
8707
  */
9604
8708
  instance?: string;
9605
- /**
9606
- * Optional. Region of the Cloud SQL instance.
9607
- */
9608
- location?: string;
9609
8709
  /**
9610
8710
  * ID of the project that contains the read replica.
9611
8711
  */
@@ -9620,10 +8720,6 @@ export declare namespace sqladmin_v1beta4 {
9620
8720
  * Database instance ID. This does not include the project ID.
9621
8721
  */
9622
8722
  instance?: string;
9623
- /**
9624
- * Optional. Region of the Cloud SQL instance.
9625
- */
9626
- location?: string;
9627
8723
  /**
9628
8724
  * Project ID of the project that contains the instance.
9629
8725
  */
@@ -9634,10 +8730,6 @@ export declare namespace sqladmin_v1beta4 {
9634
8730
  * Cloud SQL instance ID. This does not include the project ID.
9635
8731
  */
9636
8732
  instance?: string;
9637
- /**
9638
- * Optional. Region of the Cloud SQL instance.
9639
- */
9640
- location?: string;
9641
8733
  /**
9642
8734
  * Project ID of the project that contains the instance.
9643
8735
  */
@@ -9648,10 +8740,6 @@ export declare namespace sqladmin_v1beta4 {
9648
8740
  requestBody?: Schema$InstancesImportRequest;
9649
8741
  }
9650
8742
  export interface Params$Resource$Instances$Insert extends StandardParameters {
9651
- /**
9652
- * Optional. Region of the Cloud SQL instance.
9653
- */
9654
- location?: string;
9655
8743
  /**
9656
8744
  * Project ID of the project to which the newly created Cloud SQL instances should belong.
9657
8745
  */
@@ -9666,10 +8754,6 @@ export declare namespace sqladmin_v1beta4 {
9666
8754
  * 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.
9667
8755
  */
9668
8756
  filter?: string;
9669
- /**
9670
- * Optional. Region of the Cloud SQL instance.
9671
- */
9672
- location?: string;
9673
8757
  /**
9674
8758
  * 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.
9675
8759
  */
@@ -9688,10 +8772,6 @@ export declare namespace sqladmin_v1beta4 {
9688
8772
  * Required. Cloud SQL instance ID. This does not include the project ID.
9689
8773
  */
9690
8774
  instance?: string;
9691
- /**
9692
- * Optional. Region of the Cloud SQL instance.
9693
- */
9694
- location?: string;
9695
8775
  /**
9696
8776
  * Required. Project ID of the project that contains the instance.
9697
8777
  */
@@ -9702,10 +8782,6 @@ export declare namespace sqladmin_v1beta4 {
9702
8782
  * Cloud SQL instance ID. This does not include the project ID.
9703
8783
  */
9704
8784
  instance?: string;
9705
- /**
9706
- * Optional. Region of the Cloud SQL instance.
9707
- */
9708
- location?: string;
9709
8785
  /**
9710
8786
  * Project ID of the project that contains the instance.
9711
8787
  */
@@ -9716,10 +8792,6 @@ export declare namespace sqladmin_v1beta4 {
9716
8792
  * Required. Cloud SQL instance ID. This does not include the project ID.
9717
8793
  */
9718
8794
  instance?: string;
9719
- /**
9720
- * Optional. Region of the Cloud SQL instance.
9721
- */
9722
- location?: string;
9723
8795
  /**
9724
8796
  * Required. Project ID of the project that contains the instance.
9725
8797
  */
@@ -9730,10 +8802,6 @@ export declare namespace sqladmin_v1beta4 {
9730
8802
  * Cloud SQL instance ID. This does not include the project ID.
9731
8803
  */
9732
8804
  instance?: string;
9733
- /**
9734
- * Optional. Region of the Cloud SQL instance.
9735
- */
9736
- location?: string;
9737
8805
  /**
9738
8806
  * Project ID of the project that contains the instance.
9739
8807
  */
@@ -9766,10 +8834,6 @@ export declare namespace sqladmin_v1beta4 {
9766
8834
  * Required. Cloud SQL instance ID. This does not include the project ID.
9767
8835
  */
9768
8836
  instance?: string;
9769
- /**
9770
- * Optional. Region of the Cloud SQL instance.
9771
- */
9772
- location?: string;
9773
8837
  /**
9774
8838
  * Required. Project ID of the project that contains the instance.
9775
8839
  */
@@ -9788,10 +8852,6 @@ export declare namespace sqladmin_v1beta4 {
9788
8852
  * Cloud SQL read replica instance name.
9789
8853
  */
9790
8854
  instance?: string;
9791
- /**
9792
- * Optional. Region of the Cloud SQL instance.
9793
- */
9794
- location?: string;
9795
8855
  /**
9796
8856
  * ID of the project that contains the read replica.
9797
8857
  */
@@ -9802,10 +8862,6 @@ export declare namespace sqladmin_v1beta4 {
9802
8862
  * Cloud SQL instance ID. This does not include the project ID.
9803
8863
  */
9804
8864
  instance?: string;
9805
- /**
9806
- * Optional. Region of the Cloud SQL instance.
9807
- */
9808
- location?: string;
9809
8865
  /**
9810
8866
  * ID of the project that contains the instance.
9811
8867
  */
@@ -9820,10 +8876,6 @@ export declare namespace sqladmin_v1beta4 {
9820
8876
  * Required. The Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).
9821
8877
  */
9822
8878
  instance?: string;
9823
- /**
9824
- * Optional. Region of the Cloud SQL instance.
9825
- */
9826
- location?: string;
9827
8879
  /**
9828
8880
  * Required. The ID of the project that contains the instance (Example: project-id).
9829
8881
  */
@@ -9834,10 +8886,6 @@ export declare namespace sqladmin_v1beta4 {
9834
8886
  * Cloud SQL instance ID. This does not include the project ID.
9835
8887
  */
9836
8888
  instance?: string;
9837
- /**
9838
- * Optional. Region of the Cloud SQL instance.
9839
- */
9840
- location?: string;
9841
8889
  /**
9842
8890
  * Optional. Reset SSL mode to use.
9843
8891
  */
@@ -9852,10 +8900,6 @@ export declare namespace sqladmin_v1beta4 {
9852
8900
  * Cloud SQL instance ID. This does not include the project ID.
9853
8901
  */
9854
8902
  instance?: string;
9855
- /**
9856
- * Optional. Region of the Cloud SQL instance.
9857
- */
9858
- location?: string;
9859
8903
  /**
9860
8904
  * Project ID of the project that contains the instance to be restarted.
9861
8905
  */
@@ -9866,10 +8910,6 @@ export declare namespace sqladmin_v1beta4 {
9866
8910
  * Cloud SQL instance ID. This does not include the project ID.
9867
8911
  */
9868
8912
  instance?: string;
9869
- /**
9870
- * Optional. Region of the Cloud SQL instance.
9871
- */
9872
- location?: string;
9873
8913
  /**
9874
8914
  * Project ID of the project that contains the instance.
9875
8915
  */
@@ -9884,10 +8924,6 @@ export declare namespace sqladmin_v1beta4 {
9884
8924
  * Required. Cloud SQL instance ID. This does not include the project ID.
9885
8925
  */
9886
8926
  instance?: string;
9887
- /**
9888
- * Optional. Region of the Cloud SQL instance.
9889
- */
9890
- location?: string;
9891
8927
  /**
9892
8928
  * Required. Project ID of the project that contains the instance.
9893
8929
  */
@@ -9902,10 +8938,6 @@ export declare namespace sqladmin_v1beta4 {
9902
8938
  * Cloud SQL instance ID. This does not include the project ID.
9903
8939
  */
9904
8940
  instance?: string;
9905
- /**
9906
- * Optional. Region of the Cloud SQL instance.
9907
- */
9908
- location?: string;
9909
8941
  /**
9910
8942
  * Project ID of the project that contains the instance.
9911
8943
  */
@@ -9920,10 +8952,6 @@ export declare namespace sqladmin_v1beta4 {
9920
8952
  * Required. Cloud SQL instance ID. This does not include the project ID.
9921
8953
  */
9922
8954
  instance?: string;
9923
- /**
9924
- * Optional. Region of the Cloud SQL instance.
9925
- */
9926
- location?: string;
9927
8955
  /**
9928
8956
  * Required. Project ID of the project that contains the instance.
9929
8957
  */
@@ -9938,10 +8966,6 @@ export declare namespace sqladmin_v1beta4 {
9938
8966
  * Cloud SQL read replica instance name.
9939
8967
  */
9940
8968
  instance?: string;
9941
- /**
9942
- * Optional. Region of the Cloud SQL instance.
9943
- */
9944
- location?: string;
9945
8969
  /**
9946
8970
  * ID of the project that contains the read replica.
9947
8971
  */
@@ -9952,10 +8976,6 @@ export declare namespace sqladmin_v1beta4 {
9952
8976
  * Cloud SQL read replica instance name.
9953
8977
  */
9954
8978
  instance?: string;
9955
- /**
9956
- * Optional. Region of the Cloud SQL instance.
9957
- */
9958
- location?: string;
9959
8979
  /**
9960
8980
  * ID of the project that contains the read replica.
9961
8981
  */
@@ -9970,10 +8990,6 @@ export declare namespace sqladmin_v1beta4 {
9970
8990
  * Cloud SQL read replica instance name.
9971
8991
  */
9972
8992
  instance?: string;
9973
- /**
9974
- * Optional. Region of the Cloud SQL instance.
9975
- */
9976
- location?: string;
9977
8993
  /**
9978
8994
  * ID of the project that contains the replica.
9979
8995
  */
@@ -9984,10 +9000,6 @@ export declare namespace sqladmin_v1beta4 {
9984
9000
  * Cloud SQL instance ID. This does not include the project ID.
9985
9001
  */
9986
9002
  instance?: string;
9987
- /**
9988
- * Optional. Region of the Cloud SQL instance.
9989
- */
9990
- location?: string;
9991
9003
  /**
9992
9004
  * Project ID of the Cloud SQL project.
9993
9005
  */
@@ -10002,10 +9014,6 @@ export declare namespace sqladmin_v1beta4 {
10002
9014
  * Cloud SQL instance ID. This does not include the project ID.
10003
9015
  */
10004
9016
  instance?: string;
10005
- /**
10006
- * Optional. Region of the Cloud SQL instance.
10007
- */
10008
- location?: string;
10009
9017
  /**
10010
9018
  * Project ID of the project that contains the instance.
10011
9019
  */
@@ -10337,8 +9345,6 @@ export declare namespace sqladmin_v1beta4 {
10337
9345
  * const res = await sql.projects.instances.getDiskShrinkConfig({
10338
9346
  * // Cloud SQL instance ID. This does not include the project ID.
10339
9347
  * instance: 'placeholder-value',
10340
- * // Optional. Region of the Cloud SQL instance.
10341
- * location: 'placeholder-value',
10342
9348
  * // Project ID of the project that contains the instance.
10343
9349
  * project: 'placeholder-value',
10344
9350
  * });
@@ -10406,8 +9412,6 @@ export declare namespace sqladmin_v1beta4 {
10406
9412
  * const res = await sql.projects.instances.getLatestRecoveryTime({
10407
9413
  * // Cloud SQL instance ID. This does not include the project ID.
10408
9414
  * instance: 'placeholder-value',
10409
- * // Optional. Region of the Cloud SQL instance.
10410
- * location: 'placeholder-value',
10411
9415
  * // Project ID of the project that contains the instance.
10412
9416
  * project: 'placeholder-value',
10413
9417
  * // The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp.
@@ -10477,8 +9481,6 @@ export declare namespace sqladmin_v1beta4 {
10477
9481
  * const res = await sql.projects.instances.performDiskShrink({
10478
9482
  * // Cloud SQL instance ID. This does not include the project ID.
10479
9483
  * instance: 'placeholder-value',
10480
- * // Optional. Region of the Cloud SQL instance.
10481
- * location: 'placeholder-value',
10482
9484
  * // Project ID of the project that contains the instance.
10483
9485
  * project: 'placeholder-value',
10484
9486
  *
@@ -10571,8 +9573,6 @@ export declare namespace sqladmin_v1beta4 {
10571
9573
  * const res = await sql.projects.instances.rescheduleMaintenance({
10572
9574
  * // Cloud SQL instance ID. This does not include the project ID.
10573
9575
  * instance: 'placeholder-value',
10574
- * // Optional. Region of the Cloud SQL instance.
10575
- * location: 'placeholder-value',
10576
9576
  * // ID of the project that contains the instance.
10577
9577
  * project: 'placeholder-value',
10578
9578
  *
@@ -10671,9 +9671,7 @@ export declare namespace sqladmin_v1beta4 {
10671
9671
  * // Request body metadata
10672
9672
  * requestBody: {
10673
9673
  * // request body parameters
10674
- * // {
10675
- * // "location": "my_location"
10676
- * // }
9674
+ * // {}
10677
9675
  * },
10678
9676
  * });
10679
9677
  * console.log(res.data);
@@ -10764,7 +9762,6 @@ export declare namespace sqladmin_v1beta4 {
10764
9762
  * requestBody: {
10765
9763
  * // request body parameters
10766
9764
  * // {
10767
- * // "location": "my_location",
10768
9765
  * // "migrationType": "my_migrationType",
10769
9766
  * // "mysqlSyncConfig": {},
10770
9767
  * // "replicaOverwriteEnabled": false,
@@ -10862,7 +9859,6 @@ export declare namespace sqladmin_v1beta4 {
10862
9859
  * requestBody: {
10863
9860
  * // request body parameters
10864
9861
  * // {
10865
- * // "location": "my_location",
10866
9862
  * // "migrationType": "my_migrationType",
10867
9863
  * // "mysqlSyncConfig": {},
10868
9864
  * // "selectedObjects": [],
@@ -10907,10 +9903,6 @@ export declare namespace sqladmin_v1beta4 {
10907
9903
  * Cloud SQL instance ID. This does not include the project ID.
10908
9904
  */
10909
9905
  instance?: string;
10910
- /**
10911
- * Optional. Region of the Cloud SQL instance.
10912
- */
10913
- location?: string;
10914
9906
  /**
10915
9907
  * Project ID of the project that contains the instance.
10916
9908
  */
@@ -10921,10 +9913,6 @@ export declare namespace sqladmin_v1beta4 {
10921
9913
  * Cloud SQL instance ID. This does not include the project ID.
10922
9914
  */
10923
9915
  instance?: string;
10924
- /**
10925
- * Optional. Region of the Cloud SQL instance.
10926
- */
10927
- location?: string;
10928
9916
  /**
10929
9917
  * Project ID of the project that contains the instance.
10930
9918
  */
@@ -10939,10 +9927,6 @@ export declare namespace sqladmin_v1beta4 {
10939
9927
  * Cloud SQL instance ID. This does not include the project ID.
10940
9928
  */
10941
9929
  instance?: string;
10942
- /**
10943
- * Optional. Region of the Cloud SQL instance.
10944
- */
10945
- location?: string;
10946
9930
  /**
10947
9931
  * Project ID of the project that contains the instance.
10948
9932
  */
@@ -10957,10 +9941,6 @@ export declare namespace sqladmin_v1beta4 {
10957
9941
  * Cloud SQL instance ID. This does not include the project ID.
10958
9942
  */
10959
9943
  instance?: string;
10960
- /**
10961
- * Optional. Region of the Cloud SQL instance.
10962
- */
10963
- location?: string;
10964
9944
  /**
10965
9945
  * ID of the project that contains the instance.
10966
9946
  */
@@ -11051,8 +10031,6 @@ export declare namespace sqladmin_v1beta4 {
11051
10031
  * const res = await sql.sslCerts.createEphemeral({
11052
10032
  * // Cloud SQL instance ID. This does not include the project ID.
11053
10033
  * instance: 'placeholder-value',
11054
- * // Optional. Region of the Cloud SQL instance.
11055
- * location: 'placeholder-value',
11056
10034
  * // Project ID of the Cloud SQL project.
11057
10035
  * project: 'placeholder-value',
11058
10036
  *
@@ -11408,10 +10386,6 @@ export declare namespace sqladmin_v1beta4 {
11408
10386
  * Cloud SQL instance ID. This does not include the project ID.
11409
10387
  */
11410
10388
  instance?: string;
11411
- /**
11412
- * Optional. Region of the Cloud SQL instance.
11413
- */
11414
- location?: string;
11415
10389
  /**
11416
10390
  * Project ID of the Cloud SQL project.
11417
10391
  */
@@ -11588,8 +10562,6 @@ export declare namespace sqladmin_v1beta4 {
11588
10562
  * host: 'placeholder-value',
11589
10563
  * // Database instance ID. This does not include the project ID.
11590
10564
  * instance: 'placeholder-value',
11591
- * // Optional. Region of the Cloud SQL instance.
11592
- * location: 'placeholder-value',
11593
10565
  * // Name of the user in the instance.
11594
10566
  * name: 'placeholder-value',
11595
10567
  * // Project ID of the project that contains the instance.
@@ -11678,8 +10650,6 @@ export declare namespace sqladmin_v1beta4 {
11678
10650
  * host: 'placeholder-value',
11679
10651
  * // Database instance ID. This does not include the project ID.
11680
10652
  * instance: 'placeholder-value',
11681
- * // Optional. Region of the Cloud SQL instance.
11682
- * location: 'placeholder-value',
11683
10653
  * // User of the instance.
11684
10654
  * name: 'placeholder-value',
11685
10655
  * // Project ID of the project that contains the instance.
@@ -11761,8 +10731,6 @@ export declare namespace sqladmin_v1beta4 {
11761
10731
  * const res = await sql.users.insert({
11762
10732
  * // Database instance ID. This does not include the project ID.
11763
10733
  * instance: 'placeholder-value',
11764
- * // Optional. Region of the Cloud SQL instance.
11765
- * location: 'placeholder-value',
11766
10734
  * // Project ID of the project that contains the instance.
11767
10735
  * project: 'placeholder-value',
11768
10736
  *
@@ -11869,8 +10837,6 @@ export declare namespace sqladmin_v1beta4 {
11869
10837
  * const res = await sql.users.list({
11870
10838
  * // Database instance ID. This does not include the project ID.
11871
10839
  * instance: 'placeholder-value',
11872
- * // Optional. Region of the Cloud SQL instance.
11873
- * location: 'placeholder-value',
11874
10840
  * // Project ID of the project that contains the instance.
11875
10841
  * project: 'placeholder-value',
11876
10842
  * });
@@ -11942,8 +10908,6 @@ export declare namespace sqladmin_v1beta4 {
11942
10908
  * host: 'placeholder-value',
11943
10909
  * // Database instance ID. This does not include the project ID.
11944
10910
  * instance: 'placeholder-value',
11945
- * // Optional. Region of the Cloud SQL instance.
11946
- * location: 'placeholder-value',
11947
10911
  * // Name of the user in the instance.
11948
10912
  * name: 'placeholder-value',
11949
10913
  * // Project ID of the project that contains the instance.
@@ -12032,10 +10996,6 @@ export declare namespace sqladmin_v1beta4 {
12032
10996
  * Database instance ID. This does not include the project ID.
12033
10997
  */
12034
10998
  instance?: string;
12035
- /**
12036
- * Optional. Region of the Cloud SQL instance.
12037
- */
12038
- location?: string;
12039
10999
  /**
12040
11000
  * Name of the user in the instance.
12041
11001
  */
@@ -12054,10 +11014,6 @@ export declare namespace sqladmin_v1beta4 {
12054
11014
  * Database instance ID. This does not include the project ID.
12055
11015
  */
12056
11016
  instance?: string;
12057
- /**
12058
- * Optional. Region of the Cloud SQL instance.
12059
- */
12060
- location?: string;
12061
11017
  /**
12062
11018
  * User of the instance.
12063
11019
  */
@@ -12072,10 +11028,6 @@ export declare namespace sqladmin_v1beta4 {
12072
11028
  * Database instance ID. This does not include the project ID.
12073
11029
  */
12074
11030
  instance?: string;
12075
- /**
12076
- * Optional. Region of the Cloud SQL instance.
12077
- */
12078
- location?: string;
12079
11031
  /**
12080
11032
  * Project ID of the project that contains the instance.
12081
11033
  */
@@ -12090,10 +11042,6 @@ export declare namespace sqladmin_v1beta4 {
12090
11042
  * Database instance ID. This does not include the project ID.
12091
11043
  */
12092
11044
  instance?: string;
12093
- /**
12094
- * Optional. Region of the Cloud SQL instance.
12095
- */
12096
- location?: string;
12097
11045
  /**
12098
11046
  * Project ID of the project that contains the instance.
12099
11047
  */
@@ -12112,10 +11060,6 @@ export declare namespace sqladmin_v1beta4 {
12112
11060
  * Database instance ID. This does not include the project ID.
12113
11061
  */
12114
11062
  instance?: string;
12115
- /**
12116
- * Optional. Region of the Cloud SQL instance.
12117
- */
12118
- location?: string;
12119
11063
  /**
12120
11064
  * Name of the user in the instance.
12121
11065
  */