@googleapis/sqladmin 38.0.0 → 38.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,6 +69,7 @@ export declare namespace sqladmin_v1beta4 {
69
69
  context: APIRequestContext;
70
70
  backupRuns: Resource$Backupruns;
71
71
  backups: Resource$Backups;
72
+ blueGreenDeployments: Resource$Bluegreendeployments;
72
73
  connect: Resource$Connect;
73
74
  databases: Resource$Databases;
74
75
  flags: Resource$Flags;
@@ -469,6 +470,80 @@ export declare namespace sqladmin_v1beta4 {
469
470
  */
470
471
  kind?: string | null;
471
472
  }
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
+ }
472
547
  /**
473
548
  * Database instance clone context.
474
549
  */
@@ -535,6 +610,23 @@ export declare namespace sqladmin_v1beta4 {
535
610
  */
536
611
  type?: string | null;
537
612
  }
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
+ }
538
630
  /**
539
631
  * The managed connection pooling configuration.
540
632
  */
@@ -738,6 +830,10 @@ export declare namespace sqladmin_v1beta4 {
738
830
  * The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.
739
831
  */
740
832
  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;
741
837
  /**
742
838
  * Disk encryption configuration specific to an instance.
743
839
  */
@@ -1039,10 +1135,48 @@ export declare namespace sqladmin_v1beta4 {
1039
1135
  */
1040
1136
  time?: string | null;
1041
1137
  }
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
+ }
1042
1172
  /**
1043
1173
  * Disk encryption configuration for an instance.
1044
1174
  */
1045
1175
  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;
1046
1180
  /**
1047
1181
  * This is always `sql#diskEncryptionConfiguration`.
1048
1182
  */
@@ -1649,6 +1783,10 @@ export declare namespace sqladmin_v1beta4 {
1649
1783
  * 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.
1650
1784
  */
1651
1785
  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;
1652
1790
  /**
1653
1791
  * Parameters required to perform the restore backup operation.
1654
1792
  */
@@ -1798,6 +1936,19 @@ export declare namespace sqladmin_v1beta4 {
1798
1936
  */
1799
1937
  warnings?: Schema$ApiWarning[];
1800
1938
  }
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
+ }
1801
1952
  /**
1802
1953
  * 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.
1803
1954
  */
@@ -1920,6 +2071,27 @@ export declare namespace sqladmin_v1beta4 {
1920
2071
  */
1921
2072
  initialSyncFlags?: Schema$SyncFlags[];
1922
2073
  }
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
+ }
1923
2095
  /**
1924
2096
  * On-premises instance configuration.
1925
2097
  */
@@ -2417,7 +2589,7 @@ export declare namespace sqladmin_v1beta4 {
2417
2589
  */
2418
2590
  allowedConsumerProjects?: string[] | null;
2419
2591
  /**
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
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
2421
2593
  */
2422
2594
  networkAttachmentUri?: string | null;
2423
2595
  /**
@@ -2537,6 +2709,15 @@ export declare namespace sqladmin_v1beta4 {
2537
2709
  */
2538
2710
  psaWriteEndpoint?: string | null;
2539
2711
  }
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
+ }
2540
2721
  export interface Schema$Reschedule {
2541
2722
  /**
2542
2723
  * Required. The type of the reschedule.
@@ -2758,7 +2939,7 @@ export declare namespace sqladmin_v1beta4 {
2758
2939
  */
2759
2940
  maintenanceWindow?: Schema$MaintenanceWindow;
2760
2941
  /**
2761
- * The local user password validation policy of the instance.
2942
+ * The local user password validation policy of the instance for PostgreSQL and MySQL.
2762
2943
  */
2763
2944
  passwordValidationPolicy?: Schema$PasswordValidationPolicy;
2764
2945
  /**
@@ -2816,6 +2997,44 @@ export declare namespace sqladmin_v1beta4 {
2816
2997
  [key: string]: string;
2817
2998
  } | null;
2818
2999
  }
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
+ }
2819
3038
  /**
2820
3039
  * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
2821
3040
  */
@@ -2948,8 +3167,16 @@ export declare namespace sqladmin_v1beta4 {
2948
3167
  * Instance reset replica size request.
2949
3168
  */
2950
3169
  export interface Schema$SqlInstancesResetReplicaSizeRequest {
3170
+ /**
3171
+ * Optional. Region of the Cloud SQL instance.
3172
+ */
3173
+ location?: string | null;
2951
3174
  }
2952
3175
  export interface Schema$SqlInstancesStartExternalSyncRequest {
3176
+ /**
3177
+ * Optional. Region of the Cloud SQL instance.
3178
+ */
3179
+ location?: string | null;
2953
3180
  /**
2954
3181
  * 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.
2955
3182
  */
@@ -2976,6 +3203,10 @@ export declare namespace sqladmin_v1beta4 {
2976
3203
  syncParallelLevel?: string | null;
2977
3204
  }
2978
3205
  export interface Schema$SqlInstancesVerifyExternalSyncSettingsRequest {
3206
+ /**
3207
+ * Optional. Region of the Cloud SQL instance.
3208
+ */
3209
+ location?: string | null;
2979
3210
  /**
2980
3211
  * 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.
2981
3212
  */
@@ -3109,11 +3340,11 @@ export declare namespace sqladmin_v1beta4 {
3109
3340
  */
3110
3341
  export interface Schema$SqlServerUserDetails {
3111
3342
  /**
3112
- * If the user has been disabled
3343
+ * Indicates if the user has been disabled.
3113
3344
  */
3114
3345
  disabled?: boolean | null;
3115
3346
  /**
3116
- * The server roles for this user
3347
+ * Indicates the server roles for this user.
3117
3348
  */
3118
3349
  serverRoles?: string[] | null;
3119
3350
  }
@@ -3255,6 +3486,11 @@ export declare namespace sqladmin_v1beta4 {
3255
3486
  */
3256
3487
  message?: string | null;
3257
3488
  }
3489
+ /**
3490
+ * Request message for switching over a `BlueGreenDeployment` resource.
3491
+ */
3492
+ export interface Schema$SwitchoverBlueGreenDeploymentRequest {
3493
+ }
3258
3494
  /**
3259
3495
  * Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.
3260
3496
  */
@@ -3268,6 +3504,15 @@ export declare namespace sqladmin_v1beta4 {
3268
3504
  */
3269
3505
  value?: string | null;
3270
3506
  }
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
+ }
3271
3516
  /**
3272
3517
  * Target metric for read pool auto scaling.
3273
3518
  */
@@ -3281,6 +3526,15 @@ export declare namespace sqladmin_v1beta4 {
3281
3526
  */
3282
3527
  targetValue?: number | null;
3283
3528
  }
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
+ }
3284
3538
  /**
3285
3539
  * A Google Cloud SQL service tier resource.
3286
3540
  */
@@ -4387,11 +4641,11 @@ export declare namespace sqladmin_v1beta4 {
4387
4641
  */
4388
4642
  requestBody?: Schema$Backup;
4389
4643
  }
4390
- export class Resource$Connect {
4644
+ export class Resource$Bluegreendeployments {
4391
4645
  context: APIRequestContext;
4392
4646
  constructor(context: APIRequestContext);
4393
4647
  /**
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.
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.
4395
4649
  * @example
4396
4650
  * ```js
4397
4651
  * // Before running the sample:
@@ -4423,20 +4677,28 @@ export declare namespace sqladmin_v1beta4 {
4423
4677
  * google.options({auth: authClient});
4424
4678
  *
4425
4679
  * // Do the magic
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',
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',
4431
4685
  *
4432
4686
  * // Request body metadata
4433
4687
  * requestBody: {
4434
4688
  * // request body parameters
4435
4689
  * // {
4436
- * // "access_token": "my_access_token",
4437
- * // "public_key": "my_public_key",
4438
- * // "readTime": "my_readTime",
4439
- * // "validDuration": "my_validDuration"
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": {}
4440
4702
  * // }
4441
4703
  * },
4442
4704
  * });
@@ -4444,7 +4706,26 @@ export declare namespace sqladmin_v1beta4 {
4444
4706
  *
4445
4707
  * // Example response
4446
4708
  * // {
4447
- * // "ephemeralCert": {}
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"
4448
4729
  * // }
4449
4730
  * }
4450
4731
  *
@@ -4460,14 +4741,14 @@ export declare namespace sqladmin_v1beta4 {
4460
4741
  * @param callback - Optional callback that handles the response.
4461
4742
  * @returns A promise if used with async/await, or void if used with a callback.
4462
4743
  */
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;
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;
4469
4750
  /**
4470
- * Retrieves connect settings about a Cloud SQL instance.
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.
4471
4752
  * @example
4472
4753
  * ```js
4473
4754
  * // Before running the sample:
@@ -4499,33 +4780,36 @@ export declare namespace sqladmin_v1beta4 {
4499
4780
  * google.options({auth: authClient});
4500
4781
  *
4501
4782
  * // Do the magic
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',
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',
4509
4788
  * });
4510
4789
  * console.log(res.data);
4511
4790
  *
4512
4791
  * // Example response
4513
4792
  * // {
4514
- * // "backendType": "my_backendType",
4515
- * // "connectionName": "my_connectionName",
4516
- * // "customSubjectAlternativeNames": [],
4517
- * // "databaseVersion": "my_databaseVersion",
4518
- * // "dnsName": "my_dnsName",
4519
- * // "dnsNames": [],
4520
- * // "ipAddresses": [],
4793
+ * // "acquireSsrsLeaseContext": {},
4794
+ * // "apiWarning": {},
4795
+ * // "backupContext": {},
4796
+ * // "endTime": "my_endTime",
4797
+ * // "error": {},
4798
+ * // "exportContext": {},
4799
+ * // "importContext": {},
4800
+ * // "insertTime": "my_insertTime",
4521
4801
  * // "kind": "my_kind",
4522
- * // "mdxProtocolSupport": [],
4523
- * // "nodeCount": 0,
4524
- * // "nodes": [],
4525
- * // "pscEnabled": false,
4526
- * // "region": "my_region",
4527
- * // "serverCaCert": {},
4528
- * // "serverCaMode": "my_serverCaMode"
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"
4529
4813
  * // }
4530
4814
  * }
4531
4815
  *
@@ -4541,14 +4825,14 @@ export declare namespace sqladmin_v1beta4 {
4541
4825
  * @param callback - Optional callback that handles the response.
4542
4826
  * @returns A promise if used with async/await, or void if used with a callback.
4543
4827
  */
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;
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;
4550
4834
  /**
4551
- * Retrieves connect settings about a Cloud SQL instance using the instance DNS name.
4835
+ * Retrieves a blue-green deployment resource under a given project and location.
4552
4836
  * @example
4553
4837
  * ```js
4554
4838
  * // Before running the sample:
@@ -4580,23 +4864,486 @@ export declare namespace sqladmin_v1beta4 {
4580
4864
  * google.options({auth: authClient});
4581
4865
  *
4582
4866
  * // Do the magic
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',
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',
4588
4872
  * });
4589
4873
  * console.log(res.data);
4590
4874
  *
4591
4875
  * // Example response
4592
4876
  * // {
4593
- * // "backendType": "my_backendType",
4594
- * // "connectionName": "my_connectionName",
4595
- * // "customSubjectAlternativeNames": [],
4596
- * // "databaseVersion": "my_databaseVersion",
4597
- * // "dnsName": "my_dnsName",
4598
- * // "dnsNames": [],
4599
- * // "ipAddresses": [],
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',
5335
+ * });
5336
+ * console.log(res.data);
5337
+ *
5338
+ * // Example response
5339
+ * // {
5340
+ * // "backendType": "my_backendType",
5341
+ * // "connectionName": "my_connectionName",
5342
+ * // "customSubjectAlternativeNames": [],
5343
+ * // "databaseVersion": "my_databaseVersion",
5344
+ * // "dnsName": "my_dnsName",
5345
+ * // "dnsNames": [],
5346
+ * // "ipAddresses": [],
4600
5347
  * // "kind": "my_kind",
4601
5348
  * // "mdxProtocolSupport": [],
4602
5349
  * // "nodeCount": 0,
@@ -4706,6 +5453,8 @@ export declare namespace sqladmin_v1beta4 {
4706
5453
  * database: 'placeholder-value',
4707
5454
  * // Database instance ID. This does not include the project ID.
4708
5455
  * instance: 'placeholder-value',
5456
+ * // Optional. Region of the Cloud SQL instance.
5457
+ * location: 'placeholder-value',
4709
5458
  * // Project ID of the project that contains the instance.
4710
5459
  * project: 'placeholder-value',
4711
5460
  * });
@@ -4792,6 +5541,8 @@ export declare namespace sqladmin_v1beta4 {
4792
5541
  * database: 'placeholder-value',
4793
5542
  * // Database instance ID. This does not include the project ID.
4794
5543
  * instance: 'placeholder-value',
5544
+ * // Optional. Region of the Cloud SQL instance.
5545
+ * location: 'placeholder-value',
4795
5546
  * // Project ID of the project that contains the instance.
4796
5547
  * project: 'placeholder-value',
4797
5548
  * });
@@ -4865,6 +5616,8 @@ export declare namespace sqladmin_v1beta4 {
4865
5616
  * const res = await sql.databases.insert({
4866
5617
  * // Database instance ID. This does not include the project ID.
4867
5618
  * instance: 'placeholder-value',
5619
+ * // Optional. Region of the Cloud SQL instance.
5620
+ * location: 'placeholder-value',
4868
5621
  * // Project ID of the project that contains the instance.
4869
5622
  * project: 'placeholder-value',
4870
5623
  *
@@ -4965,6 +5718,8 @@ export declare namespace sqladmin_v1beta4 {
4965
5718
  * const res = await sql.databases.list({
4966
5719
  * // Cloud SQL instance ID. This does not include the project ID.
4967
5720
  * instance: 'placeholder-value',
5721
+ * // Optional. Region of the Cloud SQL instance.
5722
+ * location: 'placeholder-value',
4968
5723
  * // Project ID of the project that contains the instance.
4969
5724
  * project: 'placeholder-value',
4970
5725
  * });
@@ -5033,6 +5788,8 @@ export declare namespace sqladmin_v1beta4 {
5033
5788
  * database: 'placeholder-value',
5034
5789
  * // Database instance ID. This does not include the project ID.
5035
5790
  * instance: 'placeholder-value',
5791
+ * // Optional. Region of the Cloud SQL instance.
5792
+ * location: 'placeholder-value',
5036
5793
  * // Project ID of the project that contains the instance.
5037
5794
  * project: 'placeholder-value',
5038
5795
  *
@@ -5135,6 +5892,8 @@ export declare namespace sqladmin_v1beta4 {
5135
5892
  * database: 'placeholder-value',
5136
5893
  * // Database instance ID. This does not include the project ID.
5137
5894
  * instance: 'placeholder-value',
5895
+ * // Optional. Region of the Cloud SQL instance.
5896
+ * location: 'placeholder-value',
5138
5897
  * // Project ID of the project that contains the instance.
5139
5898
  * project: 'placeholder-value',
5140
5899
  *
@@ -5209,6 +5968,10 @@ export declare namespace sqladmin_v1beta4 {
5209
5968
  * Database instance ID. This does not include the project ID.
5210
5969
  */
5211
5970
  instance?: string;
5971
+ /**
5972
+ * Optional. Region of the Cloud SQL instance.
5973
+ */
5974
+ location?: string;
5212
5975
  /**
5213
5976
  * Project ID of the project that contains the instance.
5214
5977
  */
@@ -5223,6 +5986,10 @@ export declare namespace sqladmin_v1beta4 {
5223
5986
  * Database instance ID. This does not include the project ID.
5224
5987
  */
5225
5988
  instance?: string;
5989
+ /**
5990
+ * Optional. Region of the Cloud SQL instance.
5991
+ */
5992
+ location?: string;
5226
5993
  /**
5227
5994
  * Project ID of the project that contains the instance.
5228
5995
  */
@@ -5233,6 +6000,10 @@ export declare namespace sqladmin_v1beta4 {
5233
6000
  * Database instance ID. This does not include the project ID.
5234
6001
  */
5235
6002
  instance?: string;
6003
+ /**
6004
+ * Optional. Region of the Cloud SQL instance.
6005
+ */
6006
+ location?: string;
5236
6007
  /**
5237
6008
  * Project ID of the project that contains the instance.
5238
6009
  */
@@ -5247,6 +6018,10 @@ export declare namespace sqladmin_v1beta4 {
5247
6018
  * Cloud SQL instance ID. This does not include the project ID.
5248
6019
  */
5249
6020
  instance?: string;
6021
+ /**
6022
+ * Optional. Region of the Cloud SQL instance.
6023
+ */
6024
+ location?: string;
5250
6025
  /**
5251
6026
  * Project ID of the project that contains the instance.
5252
6027
  */
@@ -5261,6 +6036,10 @@ export declare namespace sqladmin_v1beta4 {
5261
6036
  * Database instance ID. This does not include the project ID.
5262
6037
  */
5263
6038
  instance?: string;
6039
+ /**
6040
+ * Optional. Region of the Cloud SQL instance.
6041
+ */
6042
+ location?: string;
5264
6043
  /**
5265
6044
  * Project ID of the project that contains the instance.
5266
6045
  */
@@ -5279,6 +6058,10 @@ export declare namespace sqladmin_v1beta4 {
5279
6058
  * Database instance ID. This does not include the project ID.
5280
6059
  */
5281
6060
  instance?: string;
6061
+ /**
6062
+ * Optional. Region of the Cloud SQL instance.
6063
+ */
6064
+ location?: string;
5282
6065
  /**
5283
6066
  * Project ID of the project that contains the instance.
5284
6067
  */
@@ -5407,6 +6190,8 @@ export declare namespace sqladmin_v1beta4 {
5407
6190
  * const res = await sql.instances.acquireSsrsLease({
5408
6191
  * // 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).
5409
6192
  * instance: 'placeholder-value',
6193
+ * // Optional. Region of the Cloud SQL instance.
6194
+ * location: 'placeholder-value',
5410
6195
  * // Required. ID of the project that contains the instance (Example: project-id).
5411
6196
  * project: 'placeholder-value',
5412
6197
  *
@@ -5480,6 +6265,8 @@ export declare namespace sqladmin_v1beta4 {
5480
6265
  * const res = await sql.instances.addEntraIdCertificate({
5481
6266
  * // Required. Cloud SQL instance ID. This does not include the project ID.
5482
6267
  * instance: 'placeholder-value',
6268
+ * // Optional. Region of the Cloud SQL instance.
6269
+ * location: 'placeholder-value',
5483
6270
  * // Required. Project ID of the project that contains the instance.
5484
6271
  * project: 'placeholder-value',
5485
6272
  * });
@@ -5564,6 +6351,8 @@ export declare namespace sqladmin_v1beta4 {
5564
6351
  * const res = await sql.instances.addServerCa({
5565
6352
  * // Cloud SQL instance ID. This does not include the project ID.
5566
6353
  * instance: 'placeholder-value',
6354
+ * // Optional. Region of the Cloud SQL instance.
6355
+ * location: 'placeholder-value',
5567
6356
  * // Project ID of the project that contains the instance.
5568
6357
  * project: 'placeholder-value',
5569
6358
  * });
@@ -5648,6 +6437,8 @@ export declare namespace sqladmin_v1beta4 {
5648
6437
  * const res = await sql.instances.addServerCertificate({
5649
6438
  * // Required. Cloud SQL instance ID. This does not include the project ID.
5650
6439
  * instance: 'placeholder-value',
6440
+ * // Optional. Region of the Cloud SQL instance.
6441
+ * location: 'placeholder-value',
5651
6442
  * // Required. Project ID of the project that contains the instance.
5652
6443
  * project: 'placeholder-value',
5653
6444
  * });
@@ -5732,6 +6523,8 @@ export declare namespace sqladmin_v1beta4 {
5732
6523
  * const res = await sql.instances.clone({
5733
6524
  * // The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
5734
6525
  * instance: 'placeholder-value',
6526
+ * // Optional. Region of the Cloud SQL instance.
6527
+ * location: 'placeholder-value',
5735
6528
  * // Project ID of the source Cloud SQL instance.
5736
6529
  * project: 'placeholder-value',
5737
6530
  *
@@ -5832,6 +6625,8 @@ export declare namespace sqladmin_v1beta4 {
5832
6625
  * finalBackupTtlDays: 'placeholder-value',
5833
6626
  * // Cloud SQL instance ID. This does not include the project ID.
5834
6627
  * instance: 'placeholder-value',
6628
+ * // Optional. Region of the Cloud SQL instance.
6629
+ * location: 'placeholder-value',
5835
6630
  * // Project ID of the project that contains the instance to be deleted.
5836
6631
  * project: 'placeholder-value',
5837
6632
  * });
@@ -5916,6 +6711,8 @@ export declare namespace sqladmin_v1beta4 {
5916
6711
  * const res = await sql.instances.demote({
5917
6712
  * // Required. The name of the Cloud SQL instance.
5918
6713
  * instance: 'placeholder-value',
6714
+ * // Optional. Region of the Cloud SQL instance.
6715
+ * location: 'placeholder-value',
5919
6716
  * // Required. The project ID of the project that contains the instance.
5920
6717
  * project: 'placeholder-value',
5921
6718
  *
@@ -6008,6 +6805,8 @@ export declare namespace sqladmin_v1beta4 {
6008
6805
  * const res = await sql.instances.demoteMaster({
6009
6806
  * // Cloud SQL instance name.
6010
6807
  * instance: 'placeholder-value',
6808
+ * // Optional. Region of the Cloud SQL instance.
6809
+ * location: 'placeholder-value',
6011
6810
  * // ID of the project that contains the instance.
6012
6811
  * project: 'placeholder-value',
6013
6812
  *
@@ -6100,6 +6899,8 @@ export declare namespace sqladmin_v1beta4 {
6100
6899
  * const res = await sql.instances.executeSql({
6101
6900
  * // Required. Database instance ID. This does not include the project ID.
6102
6901
  * instance: 'placeholder-value',
6902
+ * // Optional. Region of the Cloud SQL instance.
6903
+ * location: 'placeholder-value',
6103
6904
  * // Required. Project ID of the project that contains the instance.
6104
6905
  * project: 'placeholder-value',
6105
6906
  *
@@ -6180,6 +6981,8 @@ export declare namespace sqladmin_v1beta4 {
6180
6981
  * const res = await sql.instances.export({
6181
6982
  * // The Cloud SQL instance ID. This doesn't include the project ID.
6182
6983
  * instance: 'placeholder-value',
6984
+ * // Optional. Region of the Cloud SQL instance.
6985
+ * location: 'placeholder-value',
6183
6986
  * // Project ID of the project that contains the instance to be exported.
6184
6987
  * project: 'placeholder-value',
6185
6988
  *
@@ -6272,6 +7075,8 @@ export declare namespace sqladmin_v1beta4 {
6272
7075
  * const res = await sql.instances.failover({
6273
7076
  * // Cloud SQL instance ID. This does not include the project ID.
6274
7077
  * instance: 'placeholder-value',
7078
+ * // Optional. Region of the Cloud SQL instance.
7079
+ * location: 'placeholder-value',
6275
7080
  * // ID of the project that contains the read replica.
6276
7081
  * project: 'placeholder-value',
6277
7082
  *
@@ -6364,6 +7169,8 @@ export declare namespace sqladmin_v1beta4 {
6364
7169
  * const res = await sql.instances.get({
6365
7170
  * // Database instance ID. This does not include the project ID.
6366
7171
  * instance: 'placeholder-value',
7172
+ * // Optional. Region of the Cloud SQL instance.
7173
+ * location: 'placeholder-value',
6367
7174
  * // Project ID of the project that contains the instance.
6368
7175
  * project: 'placeholder-value',
6369
7176
  * });
@@ -6379,6 +7186,7 @@ export declare namespace sqladmin_v1beta4 {
6379
7186
  * // "databaseCenterIntegrationEnabled": false,
6380
7187
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
6381
7188
  * // "databaseVersion": "my_databaseVersion",
7189
+ * // "deploymentInfo": {},
6382
7190
  * // "diskEncryptionConfiguration": {},
6383
7191
  * // "diskEncryptionStatus": {},
6384
7192
  * // "dnsName": "my_dnsName",
@@ -6477,6 +7285,8 @@ export declare namespace sqladmin_v1beta4 {
6477
7285
  * const res = await sql.instances.import({
6478
7286
  * // Cloud SQL instance ID. This does not include the project ID.
6479
7287
  * instance: 'placeholder-value',
7288
+ * // Optional. Region of the Cloud SQL instance.
7289
+ * location: 'placeholder-value',
6480
7290
  * // Project ID of the project that contains the instance.
6481
7291
  * project: 'placeholder-value',
6482
7292
  *
@@ -6567,6 +7377,8 @@ export declare namespace sqladmin_v1beta4 {
6567
7377
  *
6568
7378
  * // Do the magic
6569
7379
  * const res = await sql.instances.insert({
7380
+ * // Optional. Region of the Cloud SQL instance.
7381
+ * location: 'placeholder-value',
6570
7382
  * // Project ID of the project to which the newly created Cloud SQL instances should belong.
6571
7383
  * project: 'placeholder-value',
6572
7384
  *
@@ -6582,6 +7394,7 @@ export declare namespace sqladmin_v1beta4 {
6582
7394
  * // "databaseCenterIntegrationEnabled": false,
6583
7395
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
6584
7396
  * // "databaseVersion": "my_databaseVersion",
7397
+ * // "deploymentInfo": {},
6585
7398
  * // "diskEncryptionConfiguration": {},
6586
7399
  * // "diskEncryptionStatus": {},
6587
7400
  * // "dnsName": "my_dnsName",
@@ -6710,6 +7523,8 @@ export declare namespace sqladmin_v1beta4 {
6710
7523
  * const res = await sql.instances.list({
6711
7524
  * // 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.
6712
7525
  * filter: 'placeholder-value',
7526
+ * // Optional. Region of the Cloud SQL instance.
7527
+ * location: 'placeholder-value',
6713
7528
  * // 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.
6714
7529
  * maxResults: 'placeholder-value',
6715
7530
  * // A previously-returned page token representing part of the larger set of results to view.
@@ -6782,6 +7597,8 @@ export declare namespace sqladmin_v1beta4 {
6782
7597
  * const res = await sql.instances.ListEntraIdCertificates({
6783
7598
  * // Required. Cloud SQL instance ID. This does not include the project ID.
6784
7599
  * instance: 'placeholder-value',
7600
+ * // Optional. Region of the Cloud SQL instance.
7601
+ * location: 'placeholder-value',
6785
7602
  * // Required. Project ID of the project that contains the instance.
6786
7603
  * project: 'placeholder-value',
6787
7604
  * });
@@ -6849,6 +7666,8 @@ export declare namespace sqladmin_v1beta4 {
6849
7666
  * const res = await sql.instances.listServerCas({
6850
7667
  * // Cloud SQL instance ID. This does not include the project ID.
6851
7668
  * instance: 'placeholder-value',
7669
+ * // Optional. Region of the Cloud SQL instance.
7670
+ * location: 'placeholder-value',
6852
7671
  * // Project ID of the project that contains the instance.
6853
7672
  * project: 'placeholder-value',
6854
7673
  * });
@@ -6916,6 +7735,8 @@ export declare namespace sqladmin_v1beta4 {
6916
7735
  * const res = await sql.instances.ListServerCertificates({
6917
7736
  * // Required. Cloud SQL instance ID. This does not include the project ID.
6918
7737
  * instance: 'placeholder-value',
7738
+ * // Optional. Region of the Cloud SQL instance.
7739
+ * location: 'placeholder-value',
6919
7740
  * // Required. Project ID of the project that contains the instance.
6920
7741
  * project: 'placeholder-value',
6921
7742
  * });
@@ -6984,6 +7805,8 @@ export declare namespace sqladmin_v1beta4 {
6984
7805
  * const res = await sql.instances.patch({
6985
7806
  * // Cloud SQL instance ID. This does not include the project ID.
6986
7807
  * instance: 'placeholder-value',
7808
+ * // Optional. Region of the Cloud SQL instance.
7809
+ * location: 'placeholder-value',
6987
7810
  * // Project ID of the project that contains the instance.
6988
7811
  * project: 'placeholder-value',
6989
7812
  * // Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
@@ -7003,6 +7826,7 @@ export declare namespace sqladmin_v1beta4 {
7003
7826
  * // "databaseCenterIntegrationEnabled": false,
7004
7827
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
7005
7828
  * // "databaseVersion": "my_databaseVersion",
7829
+ * // "deploymentInfo": {},
7006
7830
  * // "diskEncryptionConfiguration": {},
7007
7831
  * // "diskEncryptionStatus": {},
7008
7832
  * // "dnsName": "my_dnsName",
@@ -7230,6 +8054,8 @@ export declare namespace sqladmin_v1beta4 {
7230
8054
  * const res = await sql.instances.preCheckMajorVersionUpgrade({
7231
8055
  * // Required. Cloud SQL instance ID. This does not include the project ID.
7232
8056
  * instance: 'placeholder-value',
8057
+ * // Optional. Region of the Cloud SQL instance.
8058
+ * location: 'placeholder-value',
7233
8059
  * // Required. Project ID of the project that contains the instance.
7234
8060
  * project: 'placeholder-value',
7235
8061
  *
@@ -7324,6 +8150,8 @@ export declare namespace sqladmin_v1beta4 {
7324
8150
  * failover: 'placeholder-value',
7325
8151
  * // Cloud SQL read replica instance name.
7326
8152
  * instance: 'placeholder-value',
8153
+ * // Optional. Region of the Cloud SQL instance.
8154
+ * location: 'placeholder-value',
7327
8155
  * // ID of the project that contains the read replica.
7328
8156
  * project: 'placeholder-value',
7329
8157
  * });
@@ -7408,6 +8236,8 @@ export declare namespace sqladmin_v1beta4 {
7408
8236
  * const res = await sql.instances.reencrypt({
7409
8237
  * // Cloud SQL instance ID. This does not include the project ID.
7410
8238
  * instance: 'placeholder-value',
8239
+ * // Optional. Region of the Cloud SQL instance.
8240
+ * location: 'placeholder-value',
7411
8241
  * // ID of the project that contains the instance.
7412
8242
  * project: 'placeholder-value',
7413
8243
  *
@@ -7500,6 +8330,8 @@ export declare namespace sqladmin_v1beta4 {
7500
8330
  * const res = await sql.instances.releaseSsrsLease({
7501
8331
  * // 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).
7502
8332
  * instance: 'placeholder-value',
8333
+ * // Optional. Region of the Cloud SQL instance.
8334
+ * location: 'placeholder-value',
7503
8335
  * // Required. The ID of the project that contains the instance (Example: project-id).
7504
8336
  * project: 'placeholder-value',
7505
8337
  * });
@@ -7565,6 +8397,8 @@ export declare namespace sqladmin_v1beta4 {
7565
8397
  * const res = await sql.instances.resetSslConfig({
7566
8398
  * // Cloud SQL instance ID. This does not include the project ID.
7567
8399
  * instance: 'placeholder-value',
8400
+ * // Optional. Region of the Cloud SQL instance.
8401
+ * location: 'placeholder-value',
7568
8402
  * // Optional. Reset SSL mode to use.
7569
8403
  * mode: 'placeholder-value',
7570
8404
  * // Project ID of the project that contains the instance.
@@ -7651,6 +8485,8 @@ export declare namespace sqladmin_v1beta4 {
7651
8485
  * const res = await sql.instances.restart({
7652
8486
  * // Cloud SQL instance ID. This does not include the project ID.
7653
8487
  * instance: 'placeholder-value',
8488
+ * // Optional. Region of the Cloud SQL instance.
8489
+ * location: 'placeholder-value',
7654
8490
  * // Project ID of the project that contains the instance to be restarted.
7655
8491
  * project: 'placeholder-value',
7656
8492
  * });
@@ -7735,6 +8571,8 @@ export declare namespace sqladmin_v1beta4 {
7735
8571
  * const res = await sql.instances.restoreBackup({
7736
8572
  * // Cloud SQL instance ID. This does not include the project ID.
7737
8573
  * instance: 'placeholder-value',
8574
+ * // Optional. Region of the Cloud SQL instance.
8575
+ * location: 'placeholder-value',
7738
8576
  * // Project ID of the project that contains the instance.
7739
8577
  * project: 'placeholder-value',
7740
8578
  *
@@ -7744,6 +8582,7 @@ export declare namespace sqladmin_v1beta4 {
7744
8582
  * // {
7745
8583
  * // "backup": "my_backup",
7746
8584
  * // "backupdrBackup": "my_backupdrBackup",
8585
+ * // "ignoreMaintenanceVersion": false,
7747
8586
  * // "restoreBackupContext": {},
7748
8587
  * // "restoreInstanceClearOverridesFieldNames": [],
7749
8588
  * // "restoreInstanceSettings": {}
@@ -7831,6 +8670,8 @@ export declare namespace sqladmin_v1beta4 {
7831
8670
  * const res = await sql.instances.RotateEntraIdCertificate({
7832
8671
  * // Required. Cloud SQL instance ID. This does not include the project ID.
7833
8672
  * instance: 'placeholder-value',
8673
+ * // Optional. Region of the Cloud SQL instance.
8674
+ * location: 'placeholder-value',
7834
8675
  * // Required. Project ID of the project that contains the instance.
7835
8676
  * project: 'placeholder-value',
7836
8677
  *
@@ -7923,6 +8764,8 @@ export declare namespace sqladmin_v1beta4 {
7923
8764
  * const res = await sql.instances.rotateServerCa({
7924
8765
  * // Cloud SQL instance ID. This does not include the project ID.
7925
8766
  * instance: 'placeholder-value',
8767
+ * // Optional. Region of the Cloud SQL instance.
8768
+ * location: 'placeholder-value',
7926
8769
  * // Project ID of the project that contains the instance.
7927
8770
  * project: 'placeholder-value',
7928
8771
  *
@@ -8015,6 +8858,8 @@ export declare namespace sqladmin_v1beta4 {
8015
8858
  * const res = await sql.instances.RotateServerCertificate({
8016
8859
  * // Required. Cloud SQL instance ID. This does not include the project ID.
8017
8860
  * instance: 'placeholder-value',
8861
+ * // Optional. Region of the Cloud SQL instance.
8862
+ * location: 'placeholder-value',
8018
8863
  * // Required. Project ID of the project that contains the instance.
8019
8864
  * project: 'placeholder-value',
8020
8865
  *
@@ -8107,6 +8952,8 @@ export declare namespace sqladmin_v1beta4 {
8107
8952
  * const res = await sql.instances.startReplica({
8108
8953
  * // Cloud SQL read replica instance name.
8109
8954
  * instance: 'placeholder-value',
8955
+ * // Optional. Region of the Cloud SQL instance.
8956
+ * location: 'placeholder-value',
8110
8957
  * // ID of the project that contains the read replica.
8111
8958
  * project: 'placeholder-value',
8112
8959
  * });
@@ -8191,6 +9038,8 @@ export declare namespace sqladmin_v1beta4 {
8191
9038
  * const res = await sql.instances.stopReplica({
8192
9039
  * // Cloud SQL read replica instance name.
8193
9040
  * instance: 'placeholder-value',
9041
+ * // Optional. Region of the Cloud SQL instance.
9042
+ * location: 'placeholder-value',
8194
9043
  * // ID of the project that contains the read replica.
8195
9044
  * project: 'placeholder-value',
8196
9045
  * });
@@ -8277,6 +9126,8 @@ export declare namespace sqladmin_v1beta4 {
8277
9126
  * dbTimeout: 'placeholder-value',
8278
9127
  * // Cloud SQL read replica instance name.
8279
9128
  * instance: 'placeholder-value',
9129
+ * // Optional. Region of the Cloud SQL instance.
9130
+ * location: 'placeholder-value',
8280
9131
  * // ID of the project that contains the replica.
8281
9132
  * project: 'placeholder-value',
8282
9133
  * });
@@ -8361,6 +9212,8 @@ export declare namespace sqladmin_v1beta4 {
8361
9212
  * const res = await sql.instances.truncateLog({
8362
9213
  * // Cloud SQL instance ID. This does not include the project ID.
8363
9214
  * instance: 'placeholder-value',
9215
+ * // Optional. Region of the Cloud SQL instance.
9216
+ * location: 'placeholder-value',
8364
9217
  * // Project ID of the Cloud SQL project.
8365
9218
  * project: 'placeholder-value',
8366
9219
  *
@@ -8453,6 +9306,8 @@ export declare namespace sqladmin_v1beta4 {
8453
9306
  * const res = await sql.instances.update({
8454
9307
  * // Cloud SQL instance ID. This does not include the project ID.
8455
9308
  * instance: 'placeholder-value',
9309
+ * // Optional. Region of the Cloud SQL instance.
9310
+ * location: 'placeholder-value',
8456
9311
  * // Project ID of the project that contains the instance.
8457
9312
  * project: 'placeholder-value',
8458
9313
  *
@@ -8468,6 +9323,7 @@ export declare namespace sqladmin_v1beta4 {
8468
9323
  * // "databaseCenterIntegrationEnabled": false,
8469
9324
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
8470
9325
  * // "databaseVersion": "my_databaseVersion",
9326
+ * // "deploymentInfo": {},
8471
9327
  * // "diskEncryptionConfiguration": {},
8472
9328
  * // "diskEncryptionStatus": {},
8473
9329
  * // "dnsName": "my_dnsName",
@@ -8566,6 +9422,10 @@ export declare namespace sqladmin_v1beta4 {
8566
9422
  * 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).
8567
9423
  */
8568
9424
  instance?: string;
9425
+ /**
9426
+ * Optional. Region of the Cloud SQL instance.
9427
+ */
9428
+ location?: string;
8569
9429
  /**
8570
9430
  * Required. ID of the project that contains the instance (Example: project-id).
8571
9431
  */
@@ -8580,6 +9440,10 @@ export declare namespace sqladmin_v1beta4 {
8580
9440
  * Required. Cloud SQL instance ID. This does not include the project ID.
8581
9441
  */
8582
9442
  instance?: string;
9443
+ /**
9444
+ * Optional. Region of the Cloud SQL instance.
9445
+ */
9446
+ location?: string;
8583
9447
  /**
8584
9448
  * Required. Project ID of the project that contains the instance.
8585
9449
  */
@@ -8590,6 +9454,10 @@ export declare namespace sqladmin_v1beta4 {
8590
9454
  * Cloud SQL instance ID. This does not include the project ID.
8591
9455
  */
8592
9456
  instance?: string;
9457
+ /**
9458
+ * Optional. Region of the Cloud SQL instance.
9459
+ */
9460
+ location?: string;
8593
9461
  /**
8594
9462
  * Project ID of the project that contains the instance.
8595
9463
  */
@@ -8600,6 +9468,10 @@ export declare namespace sqladmin_v1beta4 {
8600
9468
  * Required. Cloud SQL instance ID. This does not include the project ID.
8601
9469
  */
8602
9470
  instance?: string;
9471
+ /**
9472
+ * Optional. Region of the Cloud SQL instance.
9473
+ */
9474
+ location?: string;
8603
9475
  /**
8604
9476
  * Required. Project ID of the project that contains the instance.
8605
9477
  */
@@ -8610,6 +9482,10 @@ export declare namespace sqladmin_v1beta4 {
8610
9482
  * The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
8611
9483
  */
8612
9484
  instance?: string;
9485
+ /**
9486
+ * Optional. Region of the Cloud SQL instance.
9487
+ */
9488
+ location?: string;
8613
9489
  /**
8614
9490
  * Project ID of the source Cloud SQL instance.
8615
9491
  */
@@ -8640,6 +9516,10 @@ export declare namespace sqladmin_v1beta4 {
8640
9516
  * Cloud SQL instance ID. This does not include the project ID.
8641
9517
  */
8642
9518
  instance?: string;
9519
+ /**
9520
+ * Optional. Region of the Cloud SQL instance.
9521
+ */
9522
+ location?: string;
8643
9523
  /**
8644
9524
  * Project ID of the project that contains the instance to be deleted.
8645
9525
  */
@@ -8650,6 +9530,10 @@ export declare namespace sqladmin_v1beta4 {
8650
9530
  * Required. The name of the Cloud SQL instance.
8651
9531
  */
8652
9532
  instance?: string;
9533
+ /**
9534
+ * Optional. Region of the Cloud SQL instance.
9535
+ */
9536
+ location?: string;
8653
9537
  /**
8654
9538
  * Required. The project ID of the project that contains the instance.
8655
9539
  */
@@ -8664,6 +9548,10 @@ export declare namespace sqladmin_v1beta4 {
8664
9548
  * Cloud SQL instance name.
8665
9549
  */
8666
9550
  instance?: string;
9551
+ /**
9552
+ * Optional. Region of the Cloud SQL instance.
9553
+ */
9554
+ location?: string;
8667
9555
  /**
8668
9556
  * ID of the project that contains the instance.
8669
9557
  */
@@ -8678,6 +9566,10 @@ export declare namespace sqladmin_v1beta4 {
8678
9566
  * Required. Database instance ID. This does not include the project ID.
8679
9567
  */
8680
9568
  instance?: string;
9569
+ /**
9570
+ * Optional. Region of the Cloud SQL instance.
9571
+ */
9572
+ location?: string;
8681
9573
  /**
8682
9574
  * Required. Project ID of the project that contains the instance.
8683
9575
  */
@@ -8692,6 +9584,10 @@ export declare namespace sqladmin_v1beta4 {
8692
9584
  * The Cloud SQL instance ID. This doesn't include the project ID.
8693
9585
  */
8694
9586
  instance?: string;
9587
+ /**
9588
+ * Optional. Region of the Cloud SQL instance.
9589
+ */
9590
+ location?: string;
8695
9591
  /**
8696
9592
  * Project ID of the project that contains the instance to be exported.
8697
9593
  */
@@ -8706,6 +9602,10 @@ export declare namespace sqladmin_v1beta4 {
8706
9602
  * Cloud SQL instance ID. This does not include the project ID.
8707
9603
  */
8708
9604
  instance?: string;
9605
+ /**
9606
+ * Optional. Region of the Cloud SQL instance.
9607
+ */
9608
+ location?: string;
8709
9609
  /**
8710
9610
  * ID of the project that contains the read replica.
8711
9611
  */
@@ -8720,6 +9620,10 @@ export declare namespace sqladmin_v1beta4 {
8720
9620
  * Database instance ID. This does not include the project ID.
8721
9621
  */
8722
9622
  instance?: string;
9623
+ /**
9624
+ * Optional. Region of the Cloud SQL instance.
9625
+ */
9626
+ location?: string;
8723
9627
  /**
8724
9628
  * Project ID of the project that contains the instance.
8725
9629
  */
@@ -8730,6 +9634,10 @@ export declare namespace sqladmin_v1beta4 {
8730
9634
  * Cloud SQL instance ID. This does not include the project ID.
8731
9635
  */
8732
9636
  instance?: string;
9637
+ /**
9638
+ * Optional. Region of the Cloud SQL instance.
9639
+ */
9640
+ location?: string;
8733
9641
  /**
8734
9642
  * Project ID of the project that contains the instance.
8735
9643
  */
@@ -8740,6 +9648,10 @@ export declare namespace sqladmin_v1beta4 {
8740
9648
  requestBody?: Schema$InstancesImportRequest;
8741
9649
  }
8742
9650
  export interface Params$Resource$Instances$Insert extends StandardParameters {
9651
+ /**
9652
+ * Optional. Region of the Cloud SQL instance.
9653
+ */
9654
+ location?: string;
8743
9655
  /**
8744
9656
  * Project ID of the project to which the newly created Cloud SQL instances should belong.
8745
9657
  */
@@ -8754,6 +9666,10 @@ export declare namespace sqladmin_v1beta4 {
8754
9666
  * 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.
8755
9667
  */
8756
9668
  filter?: string;
9669
+ /**
9670
+ * Optional. Region of the Cloud SQL instance.
9671
+ */
9672
+ location?: string;
8757
9673
  /**
8758
9674
  * 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.
8759
9675
  */
@@ -8772,6 +9688,10 @@ export declare namespace sqladmin_v1beta4 {
8772
9688
  * Required. Cloud SQL instance ID. This does not include the project ID.
8773
9689
  */
8774
9690
  instance?: string;
9691
+ /**
9692
+ * Optional. Region of the Cloud SQL instance.
9693
+ */
9694
+ location?: string;
8775
9695
  /**
8776
9696
  * Required. Project ID of the project that contains the instance.
8777
9697
  */
@@ -8782,6 +9702,10 @@ export declare namespace sqladmin_v1beta4 {
8782
9702
  * Cloud SQL instance ID. This does not include the project ID.
8783
9703
  */
8784
9704
  instance?: string;
9705
+ /**
9706
+ * Optional. Region of the Cloud SQL instance.
9707
+ */
9708
+ location?: string;
8785
9709
  /**
8786
9710
  * Project ID of the project that contains the instance.
8787
9711
  */
@@ -8792,6 +9716,10 @@ export declare namespace sqladmin_v1beta4 {
8792
9716
  * Required. Cloud SQL instance ID. This does not include the project ID.
8793
9717
  */
8794
9718
  instance?: string;
9719
+ /**
9720
+ * Optional. Region of the Cloud SQL instance.
9721
+ */
9722
+ location?: string;
8795
9723
  /**
8796
9724
  * Required. Project ID of the project that contains the instance.
8797
9725
  */
@@ -8802,6 +9730,10 @@ export declare namespace sqladmin_v1beta4 {
8802
9730
  * Cloud SQL instance ID. This does not include the project ID.
8803
9731
  */
8804
9732
  instance?: string;
9733
+ /**
9734
+ * Optional. Region of the Cloud SQL instance.
9735
+ */
9736
+ location?: string;
8805
9737
  /**
8806
9738
  * Project ID of the project that contains the instance.
8807
9739
  */
@@ -8834,6 +9766,10 @@ export declare namespace sqladmin_v1beta4 {
8834
9766
  * Required. Cloud SQL instance ID. This does not include the project ID.
8835
9767
  */
8836
9768
  instance?: string;
9769
+ /**
9770
+ * Optional. Region of the Cloud SQL instance.
9771
+ */
9772
+ location?: string;
8837
9773
  /**
8838
9774
  * Required. Project ID of the project that contains the instance.
8839
9775
  */
@@ -8852,6 +9788,10 @@ export declare namespace sqladmin_v1beta4 {
8852
9788
  * Cloud SQL read replica instance name.
8853
9789
  */
8854
9790
  instance?: string;
9791
+ /**
9792
+ * Optional. Region of the Cloud SQL instance.
9793
+ */
9794
+ location?: string;
8855
9795
  /**
8856
9796
  * ID of the project that contains the read replica.
8857
9797
  */
@@ -8862,6 +9802,10 @@ export declare namespace sqladmin_v1beta4 {
8862
9802
  * Cloud SQL instance ID. This does not include the project ID.
8863
9803
  */
8864
9804
  instance?: string;
9805
+ /**
9806
+ * Optional. Region of the Cloud SQL instance.
9807
+ */
9808
+ location?: string;
8865
9809
  /**
8866
9810
  * ID of the project that contains the instance.
8867
9811
  */
@@ -8876,6 +9820,10 @@ export declare namespace sqladmin_v1beta4 {
8876
9820
  * 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).
8877
9821
  */
8878
9822
  instance?: string;
9823
+ /**
9824
+ * Optional. Region of the Cloud SQL instance.
9825
+ */
9826
+ location?: string;
8879
9827
  /**
8880
9828
  * Required. The ID of the project that contains the instance (Example: project-id).
8881
9829
  */
@@ -8886,6 +9834,10 @@ export declare namespace sqladmin_v1beta4 {
8886
9834
  * Cloud SQL instance ID. This does not include the project ID.
8887
9835
  */
8888
9836
  instance?: string;
9837
+ /**
9838
+ * Optional. Region of the Cloud SQL instance.
9839
+ */
9840
+ location?: string;
8889
9841
  /**
8890
9842
  * Optional. Reset SSL mode to use.
8891
9843
  */
@@ -8900,6 +9852,10 @@ export declare namespace sqladmin_v1beta4 {
8900
9852
  * Cloud SQL instance ID. This does not include the project ID.
8901
9853
  */
8902
9854
  instance?: string;
9855
+ /**
9856
+ * Optional. Region of the Cloud SQL instance.
9857
+ */
9858
+ location?: string;
8903
9859
  /**
8904
9860
  * Project ID of the project that contains the instance to be restarted.
8905
9861
  */
@@ -8910,6 +9866,10 @@ export declare namespace sqladmin_v1beta4 {
8910
9866
  * Cloud SQL instance ID. This does not include the project ID.
8911
9867
  */
8912
9868
  instance?: string;
9869
+ /**
9870
+ * Optional. Region of the Cloud SQL instance.
9871
+ */
9872
+ location?: string;
8913
9873
  /**
8914
9874
  * Project ID of the project that contains the instance.
8915
9875
  */
@@ -8924,6 +9884,10 @@ export declare namespace sqladmin_v1beta4 {
8924
9884
  * Required. Cloud SQL instance ID. This does not include the project ID.
8925
9885
  */
8926
9886
  instance?: string;
9887
+ /**
9888
+ * Optional. Region of the Cloud SQL instance.
9889
+ */
9890
+ location?: string;
8927
9891
  /**
8928
9892
  * Required. Project ID of the project that contains the instance.
8929
9893
  */
@@ -8938,6 +9902,10 @@ export declare namespace sqladmin_v1beta4 {
8938
9902
  * Cloud SQL instance ID. This does not include the project ID.
8939
9903
  */
8940
9904
  instance?: string;
9905
+ /**
9906
+ * Optional. Region of the Cloud SQL instance.
9907
+ */
9908
+ location?: string;
8941
9909
  /**
8942
9910
  * Project ID of the project that contains the instance.
8943
9911
  */
@@ -8952,6 +9920,10 @@ export declare namespace sqladmin_v1beta4 {
8952
9920
  * Required. Cloud SQL instance ID. This does not include the project ID.
8953
9921
  */
8954
9922
  instance?: string;
9923
+ /**
9924
+ * Optional. Region of the Cloud SQL instance.
9925
+ */
9926
+ location?: string;
8955
9927
  /**
8956
9928
  * Required. Project ID of the project that contains the instance.
8957
9929
  */
@@ -8966,6 +9938,10 @@ export declare namespace sqladmin_v1beta4 {
8966
9938
  * Cloud SQL read replica instance name.
8967
9939
  */
8968
9940
  instance?: string;
9941
+ /**
9942
+ * Optional. Region of the Cloud SQL instance.
9943
+ */
9944
+ location?: string;
8969
9945
  /**
8970
9946
  * ID of the project that contains the read replica.
8971
9947
  */
@@ -8976,6 +9952,10 @@ export declare namespace sqladmin_v1beta4 {
8976
9952
  * Cloud SQL read replica instance name.
8977
9953
  */
8978
9954
  instance?: string;
9955
+ /**
9956
+ * Optional. Region of the Cloud SQL instance.
9957
+ */
9958
+ location?: string;
8979
9959
  /**
8980
9960
  * ID of the project that contains the read replica.
8981
9961
  */
@@ -8990,6 +9970,10 @@ export declare namespace sqladmin_v1beta4 {
8990
9970
  * Cloud SQL read replica instance name.
8991
9971
  */
8992
9972
  instance?: string;
9973
+ /**
9974
+ * Optional. Region of the Cloud SQL instance.
9975
+ */
9976
+ location?: string;
8993
9977
  /**
8994
9978
  * ID of the project that contains the replica.
8995
9979
  */
@@ -9000,6 +9984,10 @@ export declare namespace sqladmin_v1beta4 {
9000
9984
  * Cloud SQL instance ID. This does not include the project ID.
9001
9985
  */
9002
9986
  instance?: string;
9987
+ /**
9988
+ * Optional. Region of the Cloud SQL instance.
9989
+ */
9990
+ location?: string;
9003
9991
  /**
9004
9992
  * Project ID of the Cloud SQL project.
9005
9993
  */
@@ -9014,6 +10002,10 @@ export declare namespace sqladmin_v1beta4 {
9014
10002
  * Cloud SQL instance ID. This does not include the project ID.
9015
10003
  */
9016
10004
  instance?: string;
10005
+ /**
10006
+ * Optional. Region of the Cloud SQL instance.
10007
+ */
10008
+ location?: string;
9017
10009
  /**
9018
10010
  * Project ID of the project that contains the instance.
9019
10011
  */
@@ -9345,6 +10337,8 @@ export declare namespace sqladmin_v1beta4 {
9345
10337
  * const res = await sql.projects.instances.getDiskShrinkConfig({
9346
10338
  * // Cloud SQL instance ID. This does not include the project ID.
9347
10339
  * instance: 'placeholder-value',
10340
+ * // Optional. Region of the Cloud SQL instance.
10341
+ * location: 'placeholder-value',
9348
10342
  * // Project ID of the project that contains the instance.
9349
10343
  * project: 'placeholder-value',
9350
10344
  * });
@@ -9412,6 +10406,8 @@ export declare namespace sqladmin_v1beta4 {
9412
10406
  * const res = await sql.projects.instances.getLatestRecoveryTime({
9413
10407
  * // Cloud SQL instance ID. This does not include the project ID.
9414
10408
  * instance: 'placeholder-value',
10409
+ * // Optional. Region of the Cloud SQL instance.
10410
+ * location: 'placeholder-value',
9415
10411
  * // Project ID of the project that contains the instance.
9416
10412
  * project: 'placeholder-value',
9417
10413
  * // The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp.
@@ -9481,6 +10477,8 @@ export declare namespace sqladmin_v1beta4 {
9481
10477
  * const res = await sql.projects.instances.performDiskShrink({
9482
10478
  * // Cloud SQL instance ID. This does not include the project ID.
9483
10479
  * instance: 'placeholder-value',
10480
+ * // Optional. Region of the Cloud SQL instance.
10481
+ * location: 'placeholder-value',
9484
10482
  * // Project ID of the project that contains the instance.
9485
10483
  * project: 'placeholder-value',
9486
10484
  *
@@ -9573,6 +10571,8 @@ export declare namespace sqladmin_v1beta4 {
9573
10571
  * const res = await sql.projects.instances.rescheduleMaintenance({
9574
10572
  * // Cloud SQL instance ID. This does not include the project ID.
9575
10573
  * instance: 'placeholder-value',
10574
+ * // Optional. Region of the Cloud SQL instance.
10575
+ * location: 'placeholder-value',
9576
10576
  * // ID of the project that contains the instance.
9577
10577
  * project: 'placeholder-value',
9578
10578
  *
@@ -9671,7 +10671,9 @@ export declare namespace sqladmin_v1beta4 {
9671
10671
  * // Request body metadata
9672
10672
  * requestBody: {
9673
10673
  * // request body parameters
9674
- * // {}
10674
+ * // {
10675
+ * // "location": "my_location"
10676
+ * // }
9675
10677
  * },
9676
10678
  * });
9677
10679
  * console.log(res.data);
@@ -9762,6 +10764,7 @@ export declare namespace sqladmin_v1beta4 {
9762
10764
  * requestBody: {
9763
10765
  * // request body parameters
9764
10766
  * // {
10767
+ * // "location": "my_location",
9765
10768
  * // "migrationType": "my_migrationType",
9766
10769
  * // "mysqlSyncConfig": {},
9767
10770
  * // "replicaOverwriteEnabled": false,
@@ -9859,6 +10862,7 @@ export declare namespace sqladmin_v1beta4 {
9859
10862
  * requestBody: {
9860
10863
  * // request body parameters
9861
10864
  * // {
10865
+ * // "location": "my_location",
9862
10866
  * // "migrationType": "my_migrationType",
9863
10867
  * // "mysqlSyncConfig": {},
9864
10868
  * // "selectedObjects": [],
@@ -9903,6 +10907,10 @@ export declare namespace sqladmin_v1beta4 {
9903
10907
  * Cloud SQL instance ID. This does not include the project ID.
9904
10908
  */
9905
10909
  instance?: string;
10910
+ /**
10911
+ * Optional. Region of the Cloud SQL instance.
10912
+ */
10913
+ location?: string;
9906
10914
  /**
9907
10915
  * Project ID of the project that contains the instance.
9908
10916
  */
@@ -9913,6 +10921,10 @@ export declare namespace sqladmin_v1beta4 {
9913
10921
  * Cloud SQL instance ID. This does not include the project ID.
9914
10922
  */
9915
10923
  instance?: string;
10924
+ /**
10925
+ * Optional. Region of the Cloud SQL instance.
10926
+ */
10927
+ location?: string;
9916
10928
  /**
9917
10929
  * Project ID of the project that contains the instance.
9918
10930
  */
@@ -9927,6 +10939,10 @@ export declare namespace sqladmin_v1beta4 {
9927
10939
  * Cloud SQL instance ID. This does not include the project ID.
9928
10940
  */
9929
10941
  instance?: string;
10942
+ /**
10943
+ * Optional. Region of the Cloud SQL instance.
10944
+ */
10945
+ location?: string;
9930
10946
  /**
9931
10947
  * Project ID of the project that contains the instance.
9932
10948
  */
@@ -9941,6 +10957,10 @@ export declare namespace sqladmin_v1beta4 {
9941
10957
  * Cloud SQL instance ID. This does not include the project ID.
9942
10958
  */
9943
10959
  instance?: string;
10960
+ /**
10961
+ * Optional. Region of the Cloud SQL instance.
10962
+ */
10963
+ location?: string;
9944
10964
  /**
9945
10965
  * ID of the project that contains the instance.
9946
10966
  */
@@ -10031,6 +11051,8 @@ export declare namespace sqladmin_v1beta4 {
10031
11051
  * const res = await sql.sslCerts.createEphemeral({
10032
11052
  * // Cloud SQL instance ID. This does not include the project ID.
10033
11053
  * instance: 'placeholder-value',
11054
+ * // Optional. Region of the Cloud SQL instance.
11055
+ * location: 'placeholder-value',
10034
11056
  * // Project ID of the Cloud SQL project.
10035
11057
  * project: 'placeholder-value',
10036
11058
  *
@@ -10386,6 +11408,10 @@ export declare namespace sqladmin_v1beta4 {
10386
11408
  * Cloud SQL instance ID. This does not include the project ID.
10387
11409
  */
10388
11410
  instance?: string;
11411
+ /**
11412
+ * Optional. Region of the Cloud SQL instance.
11413
+ */
11414
+ location?: string;
10389
11415
  /**
10390
11416
  * Project ID of the Cloud SQL project.
10391
11417
  */
@@ -10562,6 +11588,8 @@ export declare namespace sqladmin_v1beta4 {
10562
11588
  * host: 'placeholder-value',
10563
11589
  * // Database instance ID. This does not include the project ID.
10564
11590
  * instance: 'placeholder-value',
11591
+ * // Optional. Region of the Cloud SQL instance.
11592
+ * location: 'placeholder-value',
10565
11593
  * // Name of the user in the instance.
10566
11594
  * name: 'placeholder-value',
10567
11595
  * // Project ID of the project that contains the instance.
@@ -10650,6 +11678,8 @@ export declare namespace sqladmin_v1beta4 {
10650
11678
  * host: 'placeholder-value',
10651
11679
  * // Database instance ID. This does not include the project ID.
10652
11680
  * instance: 'placeholder-value',
11681
+ * // Optional. Region of the Cloud SQL instance.
11682
+ * location: 'placeholder-value',
10653
11683
  * // User of the instance.
10654
11684
  * name: 'placeholder-value',
10655
11685
  * // Project ID of the project that contains the instance.
@@ -10731,6 +11761,8 @@ export declare namespace sqladmin_v1beta4 {
10731
11761
  * const res = await sql.users.insert({
10732
11762
  * // Database instance ID. This does not include the project ID.
10733
11763
  * instance: 'placeholder-value',
11764
+ * // Optional. Region of the Cloud SQL instance.
11765
+ * location: 'placeholder-value',
10734
11766
  * // Project ID of the project that contains the instance.
10735
11767
  * project: 'placeholder-value',
10736
11768
  *
@@ -10837,6 +11869,8 @@ export declare namespace sqladmin_v1beta4 {
10837
11869
  * const res = await sql.users.list({
10838
11870
  * // Database instance ID. This does not include the project ID.
10839
11871
  * instance: 'placeholder-value',
11872
+ * // Optional. Region of the Cloud SQL instance.
11873
+ * location: 'placeholder-value',
10840
11874
  * // Project ID of the project that contains the instance.
10841
11875
  * project: 'placeholder-value',
10842
11876
  * });
@@ -10908,6 +11942,8 @@ export declare namespace sqladmin_v1beta4 {
10908
11942
  * host: 'placeholder-value',
10909
11943
  * // Database instance ID. This does not include the project ID.
10910
11944
  * instance: 'placeholder-value',
11945
+ * // Optional. Region of the Cloud SQL instance.
11946
+ * location: 'placeholder-value',
10911
11947
  * // Name of the user in the instance.
10912
11948
  * name: 'placeholder-value',
10913
11949
  * // Project ID of the project that contains the instance.
@@ -10996,6 +12032,10 @@ export declare namespace sqladmin_v1beta4 {
10996
12032
  * Database instance ID. This does not include the project ID.
10997
12033
  */
10998
12034
  instance?: string;
12035
+ /**
12036
+ * Optional. Region of the Cloud SQL instance.
12037
+ */
12038
+ location?: string;
10999
12039
  /**
11000
12040
  * Name of the user in the instance.
11001
12041
  */
@@ -11014,6 +12054,10 @@ export declare namespace sqladmin_v1beta4 {
11014
12054
  * Database instance ID. This does not include the project ID.
11015
12055
  */
11016
12056
  instance?: string;
12057
+ /**
12058
+ * Optional. Region of the Cloud SQL instance.
12059
+ */
12060
+ location?: string;
11017
12061
  /**
11018
12062
  * User of the instance.
11019
12063
  */
@@ -11028,6 +12072,10 @@ export declare namespace sqladmin_v1beta4 {
11028
12072
  * Database instance ID. This does not include the project ID.
11029
12073
  */
11030
12074
  instance?: string;
12075
+ /**
12076
+ * Optional. Region of the Cloud SQL instance.
12077
+ */
12078
+ location?: string;
11031
12079
  /**
11032
12080
  * Project ID of the project that contains the instance.
11033
12081
  */
@@ -11042,6 +12090,10 @@ export declare namespace sqladmin_v1beta4 {
11042
12090
  * Database instance ID. This does not include the project ID.
11043
12091
  */
11044
12092
  instance?: string;
12093
+ /**
12094
+ * Optional. Region of the Cloud SQL instance.
12095
+ */
12096
+ location?: string;
11045
12097
  /**
11046
12098
  * Project ID of the project that contains the instance.
11047
12099
  */
@@ -11060,6 +12112,10 @@ export declare namespace sqladmin_v1beta4 {
11060
12112
  * Database instance ID. This does not include the project ID.
11061
12113
  */
11062
12114
  instance?: string;
12115
+ /**
12116
+ * Optional. Region of the Cloud SQL instance.
12117
+ */
12118
+ location?: string;
11063
12119
  /**
11064
12120
  * Name of the user in the instance.
11065
12121
  */