@googleapis/sqladmin 37.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.
@@ -57,7 +57,7 @@ export declare namespace sqladmin_v1beta4 {
57
57
  /**
58
58
  * Cloud SQL Admin API
59
59
  *
60
- * API for Cloud SQL database instance management
60
+ * Cloud SQL Admin API
61
61
  *
62
62
  * @example
63
63
  * ```js
@@ -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;
@@ -295,7 +296,7 @@ export declare namespace sqladmin_v1beta4 {
295
296
  */
296
297
  pointInTimeRecoveryEnabled?: boolean | null;
297
298
  /**
298
- * Reserved for future use.
299
+ * Optional. Deprecated: replication_log_archiving_enabled is deprecated and will be removed from a future version of the API. Use point_in_time_recovery_enabled instead.
299
300
  */
300
301
  replicationLogArchivingEnabled?: boolean | null;
301
302
  /**
@@ -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
  */
@@ -490,7 +565,7 @@ export declare namespace sqladmin_v1beta4 {
490
565
  */
491
566
  destinationInstanceName?: string | null;
492
567
  /**
493
- * Optional. The fully qualified URI of the VPC network to which the cloned instance will be connected via Private Services Access for private IP. For example:`projects/my-network-project/global/networks/my-network`. This field is only required for cross-project cloning.
568
+ * Optional. The fully qualified URI of the VPC network to which the cloned instance will be connected via private services access for private IP. For example:`projects/my-network-project/global/networks/my-network`. This field is only required for cross-project cloning.
494
569
  */
495
570
  destinationNetwork?: string | null;
496
571
  /**
@@ -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
  */
@@ -594,6 +686,10 @@ export declare namespace sqladmin_v1beta4 {
594
686
  * `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type.
595
687
  */
596
688
  backendType?: string | null;
689
+ /**
690
+ * Optional. Output only. Connection name of the Cloud SQL instance used in connection strings, in the format project:region:instance.
691
+ */
692
+ connectionName?: string | null;
597
693
  /**
598
694
  * Custom subject alternative names for the server certificate.
599
695
  */
@@ -722,6 +818,10 @@ export declare namespace sqladmin_v1beta4 {
722
818
  * The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see [this announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ) for details.
723
819
  */
724
820
  currentDiskSize?: string | null;
821
+ /**
822
+ * Optional. If true, instance metadata is sent to the Database Center. If false, instance metadata is not sent to the Database Center.
823
+ */
824
+ databaseCenterIntegrationEnabled?: boolean | null;
725
825
  /**
726
826
  * Output only. Stores the current database version running on the instance including minor version such as `MYSQL_8_0_18`.
727
827
  */
@@ -730,6 +830,10 @@ export declare namespace sqladmin_v1beta4 {
730
830
  * The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.
731
831
  */
732
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;
733
837
  /**
734
838
  * Disk encryption configuration specific to an instance.
735
839
  */
@@ -1031,10 +1135,48 @@ export declare namespace sqladmin_v1beta4 {
1031
1135
  */
1032
1136
  time?: string | null;
1033
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
+ }
1034
1172
  /**
1035
1173
  * Disk encryption configuration for an instance.
1036
1174
  */
1037
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;
1038
1180
  /**
1039
1181
  * This is always `sql#diskEncryptionConfiguration`.
1040
1182
  */
@@ -1103,6 +1245,10 @@ export declare namespace sqladmin_v1beta4 {
1103
1245
  * Optional. Controls how the API should respond when the SQL execution result is incomplete due to the size limit or another error. The default mode is to throw an error.
1104
1246
  */
1105
1247
  partialResultMode?: string | null;
1248
+ /**
1249
+ * Optional. The resource name of the Secret Manager secret holding the password for the user to log into the database. The secret should be created using the regional endpoint (for API) or from the Regional Secrets page (for UI), and stored in the same region as the Cloud SQL instance. The expected resource name format is `projects/{project\}/locations/{location\}/secrets/{secret\}/versions/{secret_version\}`. This field is used together with the `user` field. The secret resource name will not be stored.
1250
+ */
1251
+ passwordSecretVersion?: string | null;
1106
1252
  /**
1107
1253
  * Optional. The maximum number of rows returned per SQL statement.
1108
1254
  */
@@ -1637,6 +1783,10 @@ export declare namespace sqladmin_v1beta4 {
1637
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.
1638
1784
  */
1639
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;
1640
1790
  /**
1641
1791
  * Parameters required to perform the restore backup operation.
1642
1792
  */
@@ -1786,6 +1936,19 @@ export declare namespace sqladmin_v1beta4 {
1786
1936
  */
1787
1937
  warnings?: Schema$ApiWarning[];
1788
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
+ }
1789
1952
  /**
1790
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.
1791
1954
  */
@@ -1908,6 +2071,27 @@ export declare namespace sqladmin_v1beta4 {
1908
2071
  */
1909
2072
  initialSyncFlags?: Schema$SyncFlags[];
1910
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
+ }
1911
2095
  /**
1912
2096
  * On-premises instance configuration.
1913
2097
  */
@@ -1924,6 +2108,10 @@ export declare namespace sqladmin_v1beta4 {
1924
2108
  * PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.
1925
2109
  */
1926
2110
  clientKey?: string | null;
2111
+ /**
2112
+ * Output only. Indicates whether the resource is managed by Database Migration Service.
2113
+ */
2114
+ dmsManaged?: boolean | null;
1927
2115
  /**
1928
2116
  * The dump file to create the Cloud SQL replica.
1929
2117
  */
@@ -2169,10 +2357,22 @@ export declare namespace sqladmin_v1beta4 {
2169
2357
  * Performance capture configuration.
2170
2358
  */
2171
2359
  export interface Schema$PerformanceCaptureConfig {
2360
+ /**
2361
+ * Optional. Specifies the minimum percentage of CPU utilization to trigger the performance capture. Valid integers range from `10` to `99`. Enter `0` to disable the check.
2362
+ */
2363
+ cpuUtilizationThresholdPercent?: number | null;
2172
2364
  /**
2173
2365
  * Optional. Enables or disables the performance capture feature.
2174
2366
  */
2175
2367
  enabled?: boolean | null;
2368
+ /**
2369
+ * Optional. Specifies the minimum number of undo log entries in the history list length to trigger the performance capture. Valid integers range from `10000` to `10000000`. Enter `0` to disable the check.
2370
+ */
2371
+ historyListLengthThresholdCount?: number | null;
2372
+ /**
2373
+ * Optional. Specifies the minimum percentage of memory usage to trigger the performance capture. Valid integers range from `10` to `99`. Enter `0` to disable the check.
2374
+ */
2375
+ memoryUsageThresholdPercent?: number | null;
2176
2376
  /**
2177
2377
  * Optional. Specifies the minimum number of consecutive probe threshold that triggers performance capture.
2178
2378
  */
@@ -2189,10 +2389,30 @@ export declare namespace sqladmin_v1beta4 {
2189
2389
  * Optional. Specifies the minimum number of seconds replica must be lagging behind primary instance to trigger the performance capture on replica.
2190
2390
  */
2191
2391
  secondsBehindSourceThreshold?: number | null;
2392
+ /**
2393
+ * Optional. Specifies the minimum allowed number of semaphore waits to trigger the performance capture. Valid integers range from `10` to `10000`. Enter `0` to disable the check.
2394
+ */
2395
+ semaphoreWaitThresholdCount?: number | null;
2192
2396
  /**
2193
2397
  * Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
2194
2398
  */
2195
2399
  transactionDurationThreshold?: number | null;
2400
+ /**
2401
+ * Optional. Specifies a customer-defined list of users to exclude from transaction termination. Entries can be in the format 'user@host' or just 'user'. A standalone 'user' implies 'user@%', excluding the user from any host. Wildcard '%' is allowed in the host part of the 'user@host' format. Example: `["app_user", "db_admin@10.1.2.3", "report_user@%"]`
2402
+ */
2403
+ transactionKillExcludedUserHosts?: string[] | null;
2404
+ /**
2405
+ * Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts terminating it. Valid integers range from `60` to `604800` (7 days). Enter `0` to disable. If enabled (i.e., \> 0), this value must be greater than or equal to `transaction_duration_threshold`. Configurations where `0 < transaction_kill_threshold_seconds < transaction_duration_threshold` will be rejected.
2406
+ */
2407
+ transactionKillThresholdSeconds?: number | null;
2408
+ /**
2409
+ * Optional. Determines which transactions are allowed to be terminated when they exceed `transaction_kill_threshold_seconds`. This allows protecting write-heavy transactions from auto-termination if desired. Defaults to `READ_ONLY_TRANSACTIONS` if unspecified.
2410
+ */
2411
+ transactionKillType?: string | null;
2412
+ /**
2413
+ * Optional. Specifies the minimum allowed number of transactions in lock wait state to trigger the performance capture. Valid integers range from `10` to `10000`. Enter `0` to disable the check.
2414
+ */
2415
+ transactionLockWaitThresholdCount?: number | null;
2196
2416
  }
2197
2417
  /**
2198
2418
  * Perform disk shrink context.
@@ -2335,14 +2555,30 @@ export declare namespace sqladmin_v1beta4 {
2335
2555
  * Optional. This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.
2336
2556
  */
2337
2557
  consumerProject?: string | null;
2558
+ /**
2559
+ * Output only. The status of automated DNS provisioning.
2560
+ */
2561
+ instanceAutoDnsStatus?: string | null;
2338
2562
  /**
2339
2563
  * The IP address of the consumer endpoint.
2340
2564
  */
2341
2565
  ipAddress?: string | null;
2566
+ /**
2567
+ * Output only. The service connection policy created automatically for the consumer network when `psc_auto_connection_policy_enabled` is true. It is in the format of: `projects/{project\}/regions/{region\}/serviceConnectionPolicies/{policy_id\}` The `policy_id` is in format of `$NETWORK-$RANDOM`.
2568
+ */
2569
+ serviceConnectionPolicy?: string | null;
2570
+ /**
2571
+ * Output only. The status of service connection policy creation.
2572
+ */
2573
+ serviceConnectionPolicyCreationResult?: string | null;
2342
2574
  /**
2343
2575
  * The connection status of the consumer endpoint.
2344
2576
  */
2345
2577
  status?: string | null;
2578
+ /**
2579
+ * Output only. The status of automated DNS provisioning for the write endpoint.
2580
+ */
2581
+ writeEndpointAutoDnsStatus?: string | null;
2346
2582
  }
2347
2583
  /**
2348
2584
  * PSC settings for a Cloud SQL instance.
@@ -2353,15 +2589,19 @@ export declare namespace sqladmin_v1beta4 {
2353
2589
  */
2354
2590
  allowedConsumerProjects?: string[] | null;
2355
2591
  /**
2356
- * 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
2357
2593
  */
2358
2594
  networkAttachmentUri?: string | null;
2595
+ /**
2596
+ * Optional. Whether to set up the PSC service connection policy automatically.
2597
+ */
2598
+ pscAutoConnectionPolicyEnabled?: boolean | null;
2359
2599
  /**
2360
2600
  * Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
2361
2601
  */
2362
2602
  pscAutoConnections?: Schema$PscAutoConnectionConfig[];
2363
2603
  /**
2364
- * Optional. Indicates whether PSC DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal DNS record across all networks configured with Private Service Connect (PSC) auto-connections. This will default to true for new instances when Private Service Connect is enabled.
2604
+ * Optional. Indicates whether Private Service Connect DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal DNS record across all networks configured with Private Service Connect auto-connections. This will default to true for new instances when Private Service Connect is enabled.
2365
2605
  */
2366
2606
  pscAutoDnsEnabled?: boolean | null;
2367
2607
  /**
@@ -2369,7 +2609,7 @@ export declare namespace sqladmin_v1beta4 {
2369
2609
  */
2370
2610
  pscEnabled?: boolean | null;
2371
2611
  /**
2372
- * Optional. Indicates whether PSC write endpoint DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal global DNS record across all networks configured with Private Service Connect (PSC) auto-connections that always points to the cluster primary instance. This feature is only supported for Enterprise Plus edition. This will default to true for new enterprise plus instances when `psc_auto_dns_enabled` is enabled.
2612
+ * Optional. Indicates whether Private Service Connect write endpoint DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal global DNS record across all networks configured with Private Service Connect auto-connections that points to the cluster primary instance. This feature is only supported for Enterprise Plus edition. This will default to true for new enterprise plus instances when `psc_auto_dns_enabled` is enabled.
2373
2613
  */
2374
2614
  pscWriteEndpointDnsEnabled?: boolean | null;
2375
2615
  }
@@ -2469,6 +2709,15 @@ export declare namespace sqladmin_v1beta4 {
2469
2709
  */
2470
2710
  psaWriteEndpoint?: string | null;
2471
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
+ }
2472
2721
  export interface Schema$Reschedule {
2473
2722
  /**
2474
2723
  * Required. The type of the reschedule.
@@ -2690,7 +2939,7 @@ export declare namespace sqladmin_v1beta4 {
2690
2939
  */
2691
2940
  maintenanceWindow?: Schema$MaintenanceWindow;
2692
2941
  /**
2693
- * The local user password validation policy of the instance.
2942
+ * The local user password validation policy of the instance for PostgreSQL and MySQL.
2694
2943
  */
2695
2944
  passwordValidationPolicy?: Schema$PasswordValidationPolicy;
2696
2945
  /**
@@ -2748,6 +2997,44 @@ export declare namespace sqladmin_v1beta4 {
2748
2997
  [key: string]: string;
2749
2998
  } | null;
2750
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
+ }
2751
3038
  /**
2752
3039
  * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
2753
3040
  */
@@ -2880,8 +3167,16 @@ export declare namespace sqladmin_v1beta4 {
2880
3167
  * Instance reset replica size request.
2881
3168
  */
2882
3169
  export interface Schema$SqlInstancesResetReplicaSizeRequest {
3170
+ /**
3171
+ * Optional. Region of the Cloud SQL instance.
3172
+ */
3173
+ location?: string | null;
2883
3174
  }
2884
3175
  export interface Schema$SqlInstancesStartExternalSyncRequest {
3176
+ /**
3177
+ * Optional. Region of the Cloud SQL instance.
3178
+ */
3179
+ location?: string | null;
2885
3180
  /**
2886
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.
2887
3182
  */
@@ -2908,6 +3203,10 @@ export declare namespace sqladmin_v1beta4 {
2908
3203
  syncParallelLevel?: string | null;
2909
3204
  }
2910
3205
  export interface Schema$SqlInstancesVerifyExternalSyncSettingsRequest {
3206
+ /**
3207
+ * Optional. Region of the Cloud SQL instance.
3208
+ */
3209
+ location?: string | null;
2911
3210
  /**
2912
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.
2913
3212
  */
@@ -3041,11 +3340,11 @@ export declare namespace sqladmin_v1beta4 {
3041
3340
  */
3042
3341
  export interface Schema$SqlServerUserDetails {
3043
3342
  /**
3044
- * If the user has been disabled
3343
+ * Indicates if the user has been disabled.
3045
3344
  */
3046
3345
  disabled?: boolean | null;
3047
3346
  /**
3048
- * The server roles for this user
3347
+ * Indicates the server roles for this user.
3049
3348
  */
3050
3349
  serverRoles?: string[] | null;
3051
3350
  }
@@ -3187,6 +3486,11 @@ export declare namespace sqladmin_v1beta4 {
3187
3486
  */
3188
3487
  message?: string | null;
3189
3488
  }
3489
+ /**
3490
+ * Request message for switching over a `BlueGreenDeployment` resource.
3491
+ */
3492
+ export interface Schema$SwitchoverBlueGreenDeploymentRequest {
3493
+ }
3190
3494
  /**
3191
3495
  * Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.
3192
3496
  */
@@ -3200,6 +3504,15 @@ export declare namespace sqladmin_v1beta4 {
3200
3504
  */
3201
3505
  value?: string | null;
3202
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
+ }
3203
3516
  /**
3204
3517
  * Target metric for read pool auto scaling.
3205
3518
  */
@@ -3213,6 +3526,15 @@ export declare namespace sqladmin_v1beta4 {
3213
3526
  */
3214
3527
  targetValue?: number | null;
3215
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
+ }
3216
3538
  /**
3217
3539
  * A Google Cloud SQL service tier resource.
3218
3540
  */
@@ -3316,6 +3638,10 @@ export declare namespace sqladmin_v1beta4 {
3316
3638
  * The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for *update* because it is already specified on the URL.
3317
3639
  */
3318
3640
  project?: string | null;
3641
+ /**
3642
+ * Optional. The server roles for the SQL Server login.
3643
+ */
3644
+ serverRoles?: string[] | null;
3319
3645
  sqlserverUserDetails?: Schema$SqlServerUserDetails;
3320
3646
  /**
3321
3647
  * The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.
@@ -4188,31 +4514,512 @@ export declare namespace sqladmin_v1beta4 {
4188
4514
  * // Request body metadata
4189
4515
  * requestBody: {
4190
4516
  * // request body parameters
4191
- * // {
4192
- * // "backupInterval": {},
4193
- * // "backupKind": "my_backupKind",
4194
- * // "backupRun": "my_backupRun",
4195
- * // "databaseVersion": "my_databaseVersion",
4196
- * // "description": "my_description",
4197
- * // "error": {},
4198
- * // "expiryTime": "my_expiryTime",
4199
- * // "instance": "my_instance",
4200
- * // "instanceDeletionTime": "my_instanceDeletionTime",
4201
- * // "instanceSettings": {},
4202
- * // "kind": "my_kind",
4203
- * // "kmsKey": "my_kmsKey",
4204
- * // "kmsKeyVersion": "my_kmsKeyVersion",
4205
- * // "location": "my_location",
4206
- * // "maxChargeableBytes": "my_maxChargeableBytes",
4207
- * // "name": "my_name",
4208
- * // "satisfiesPzi": false,
4209
- * // "satisfiesPzs": false,
4210
- * // "selfLink": "my_selfLink",
4211
- * // "state": "my_state",
4212
- * // "timeZone": "my_timeZone",
4213
- * // "ttlDays": "my_ttlDays",
4214
- * // "type": "my_type"
4215
- * // }
4517
+ * // {
4518
+ * // "backupInterval": {},
4519
+ * // "backupKind": "my_backupKind",
4520
+ * // "backupRun": "my_backupRun",
4521
+ * // "databaseVersion": "my_databaseVersion",
4522
+ * // "description": "my_description",
4523
+ * // "error": {},
4524
+ * // "expiryTime": "my_expiryTime",
4525
+ * // "instance": "my_instance",
4526
+ * // "instanceDeletionTime": "my_instanceDeletionTime",
4527
+ * // "instanceSettings": {},
4528
+ * // "kind": "my_kind",
4529
+ * // "kmsKey": "my_kmsKey",
4530
+ * // "kmsKeyVersion": "my_kmsKeyVersion",
4531
+ * // "location": "my_location",
4532
+ * // "maxChargeableBytes": "my_maxChargeableBytes",
4533
+ * // "name": "my_name",
4534
+ * // "satisfiesPzi": false,
4535
+ * // "satisfiesPzs": false,
4536
+ * // "selfLink": "my_selfLink",
4537
+ * // "state": "my_state",
4538
+ * // "timeZone": "my_timeZone",
4539
+ * // "ttlDays": "my_ttlDays",
4540
+ * // "type": "my_type"
4541
+ * // }
4542
+ * },
4543
+ * });
4544
+ * console.log(res.data);
4545
+ *
4546
+ * // Example response
4547
+ * // {
4548
+ * // "acquireSsrsLeaseContext": {},
4549
+ * // "apiWarning": {},
4550
+ * // "backupContext": {},
4551
+ * // "endTime": "my_endTime",
4552
+ * // "error": {},
4553
+ * // "exportContext": {},
4554
+ * // "importContext": {},
4555
+ * // "insertTime": "my_insertTime",
4556
+ * // "kind": "my_kind",
4557
+ * // "name": "my_name",
4558
+ * // "operationType": "my_operationType",
4559
+ * // "preCheckMajorVersionUpgradeContext": {},
4560
+ * // "selfLink": "my_selfLink",
4561
+ * // "startTime": "my_startTime",
4562
+ * // "status": "my_status",
4563
+ * // "subOperationType": {},
4564
+ * // "targetId": "my_targetId",
4565
+ * // "targetLink": "my_targetLink",
4566
+ * // "targetProject": "my_targetProject",
4567
+ * // "user": "my_user"
4568
+ * // }
4569
+ * }
4570
+ *
4571
+ * main().catch(e => {
4572
+ * console.error(e);
4573
+ * throw e;
4574
+ * });
4575
+ *
4576
+ * ```
4577
+ *
4578
+ * @param params - Parameters for request
4579
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4580
+ * @param callback - Optional callback that handles the response.
4581
+ * @returns A promise if used with async/await, or void if used with a callback.
4582
+ */
4583
+ updateBackup(params: Params$Resource$Backups$Updatebackup, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4584
+ updateBackup(params?: Params$Resource$Backups$Updatebackup, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4585
+ updateBackup(params: Params$Resource$Backups$Updatebackup, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4586
+ updateBackup(params: Params$Resource$Backups$Updatebackup, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4587
+ updateBackup(params: Params$Resource$Backups$Updatebackup, callback: BodyResponseCallback<Schema$Operation>): void;
4588
+ updateBackup(callback: BodyResponseCallback<Schema$Operation>): void;
4589
+ }
4590
+ export interface Params$Resource$Backups$Createbackup extends StandardParameters {
4591
+ /**
4592
+ * Required. The parent resource where this backup is created. Format: projects/{project\}
4593
+ */
4594
+ parent?: string;
4595
+ /**
4596
+ * Request body metadata
4597
+ */
4598
+ requestBody?: Schema$Backup;
4599
+ }
4600
+ export interface Params$Resource$Backups$Deletebackup extends StandardParameters {
4601
+ /**
4602
+ * Required. The name of the backup to delete. Format: projects/{project\}/backups/{backup\}
4603
+ */
4604
+ name?: string;
4605
+ }
4606
+ export interface Params$Resource$Backups$Getbackup extends StandardParameters {
4607
+ /**
4608
+ * Required. The name of the backup to retrieve. Format: projects/{project\}/backups/{backup\}
4609
+ */
4610
+ name?: string;
4611
+ }
4612
+ export interface Params$Resource$Backups$Listbackups extends StandardParameters {
4613
+ /**
4614
+ * Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime\>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
4615
+ */
4616
+ filter?: string;
4617
+ /**
4618
+ * The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.
4619
+ */
4620
+ pageSize?: number;
4621
+ /**
4622
+ * A page token, received from a previous `ListBackups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBackups` must match the call that provided the page token.
4623
+ */
4624
+ pageToken?: string;
4625
+ /**
4626
+ * Required. The parent that owns this collection of backups. Format: projects/{project\}
4627
+ */
4628
+ parent?: string;
4629
+ }
4630
+ export interface Params$Resource$Backups$Updatebackup extends StandardParameters {
4631
+ /**
4632
+ * Output only. The resource name of the backup. Format: projects/{project\}/backups/{backup\}.
4633
+ */
4634
+ name?: string;
4635
+ /**
4636
+ * The list of fields that you can update. You can update only the description and retention period of the final backup.
4637
+ */
4638
+ updateMask?: string;
4639
+ /**
4640
+ * Request body metadata
4641
+ */
4642
+ requestBody?: Schema$Backup;
4643
+ }
4644
+ export class Resource$Bluegreendeployments {
4645
+ context: APIRequestContext;
4646
+ constructor(context: APIRequestContext);
4647
+ /**
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.
4649
+ * @example
4650
+ * ```js
4651
+ * // Before running the sample:
4652
+ * // - Enable the API at:
4653
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
4654
+ * // - Login into gcloud by running:
4655
+ * // ```sh
4656
+ * // $ gcloud auth application-default login
4657
+ * // ```
4658
+ * // - Install the npm module by running:
4659
+ * // ```sh
4660
+ * // $ npm install googleapis
4661
+ * // ```
4662
+ *
4663
+ * const {google} = require('googleapis');
4664
+ * const sqladmin = google.sqladmin('v1beta4');
4665
+ *
4666
+ * async function main() {
4667
+ * const auth = new google.auth.GoogleAuth({
4668
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4669
+ * scopes: [
4670
+ * 'https://www.googleapis.com/auth/cloud-platform',
4671
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
4672
+ * ],
4673
+ * });
4674
+ *
4675
+ * // Acquire an auth client, and bind it to all future calls
4676
+ * const authClient = await auth.getClient();
4677
+ * google.options({auth: authClient});
4678
+ *
4679
+ * // Do the magic
4680
+ * const res = await sql.blueGreenDeployments.create({
4681
+ * // Required. The ID to use for the blue-green deployment, which will become the final component of the deployment's resource name.
4682
+ * blueGreenDeploymentId: 'placeholder-value',
4683
+ * // Required. The parent resource where this blue-green deployment will be created. Format: projects/{project\}/locations/{location\}
4684
+ * parent: 'projects/my-project/locations/my-location',
4685
+ *
4686
+ * // Request body metadata
4687
+ * requestBody: {
4688
+ * // request body parameters
4689
+ * // {
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": {}
4702
+ * // }
4703
+ * },
4704
+ * });
4705
+ * console.log(res.data);
4706
+ *
4707
+ * // Example response
4708
+ * // {
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"
4729
+ * // }
4730
+ * }
4731
+ *
4732
+ * main().catch(e => {
4733
+ * console.error(e);
4734
+ * throw e;
4735
+ * });
4736
+ *
4737
+ * ```
4738
+ *
4739
+ * @param params - Parameters for request
4740
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4741
+ * @param callback - Optional callback that handles the response.
4742
+ * @returns A promise if used with async/await, or void if used with a callback.
4743
+ */
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;
4750
+ /**
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.
4752
+ * @example
4753
+ * ```js
4754
+ * // Before running the sample:
4755
+ * // - Enable the API at:
4756
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
4757
+ * // - Login into gcloud by running:
4758
+ * // ```sh
4759
+ * // $ gcloud auth application-default login
4760
+ * // ```
4761
+ * // - Install the npm module by running:
4762
+ * // ```sh
4763
+ * // $ npm install googleapis
4764
+ * // ```
4765
+ *
4766
+ * const {google} = require('googleapis');
4767
+ * const sqladmin = google.sqladmin('v1beta4');
4768
+ *
4769
+ * async function main() {
4770
+ * const auth = new google.auth.GoogleAuth({
4771
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4772
+ * scopes: [
4773
+ * 'https://www.googleapis.com/auth/cloud-platform',
4774
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
4775
+ * ],
4776
+ * });
4777
+ *
4778
+ * // Acquire an auth client, and bind it to all future calls
4779
+ * const authClient = await auth.getClient();
4780
+ * google.options({auth: authClient});
4781
+ *
4782
+ * // Do the magic
4783
+ * const res = await sql.blueGreenDeployments.delete({
4784
+ * // Optional. If set to true, and the switchover is complete, this deletes the old source instance along with the deployment.
4785
+ * deleteOldSource: 'placeholder-value',
4786
+ * // Required. The name of the blue-green deployment to delete. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
4787
+ * name: 'projects/my-project/locations/my-location/blueGreenDeployments/my-blueGreenDeployment',
4788
+ * });
4789
+ * console.log(res.data);
4790
+ *
4791
+ * // Example response
4792
+ * // {
4793
+ * // "acquireSsrsLeaseContext": {},
4794
+ * // "apiWarning": {},
4795
+ * // "backupContext": {},
4796
+ * // "endTime": "my_endTime",
4797
+ * // "error": {},
4798
+ * // "exportContext": {},
4799
+ * // "importContext": {},
4800
+ * // "insertTime": "my_insertTime",
4801
+ * // "kind": "my_kind",
4802
+ * // "name": "my_name",
4803
+ * // "operationType": "my_operationType",
4804
+ * // "preCheckMajorVersionUpgradeContext": {},
4805
+ * // "selfLink": "my_selfLink",
4806
+ * // "startTime": "my_startTime",
4807
+ * // "status": "my_status",
4808
+ * // "subOperationType": {},
4809
+ * // "targetId": "my_targetId",
4810
+ * // "targetLink": "my_targetLink",
4811
+ * // "targetProject": "my_targetProject",
4812
+ * // "user": "my_user"
4813
+ * // }
4814
+ * }
4815
+ *
4816
+ * main().catch(e => {
4817
+ * console.error(e);
4818
+ * throw e;
4819
+ * });
4820
+ *
4821
+ * ```
4822
+ *
4823
+ * @param params - Parameters for request
4824
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4825
+ * @param callback - Optional callback that handles the response.
4826
+ * @returns A promise if used with async/await, or void if used with a callback.
4827
+ */
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;
4834
+ /**
4835
+ * Retrieves a blue-green deployment resource under a given project and location.
4836
+ * @example
4837
+ * ```js
4838
+ * // Before running the sample:
4839
+ * // - Enable the API at:
4840
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
4841
+ * // - Login into gcloud by running:
4842
+ * // ```sh
4843
+ * // $ gcloud auth application-default login
4844
+ * // ```
4845
+ * // - Install the npm module by running:
4846
+ * // ```sh
4847
+ * // $ npm install googleapis
4848
+ * // ```
4849
+ *
4850
+ * const {google} = require('googleapis');
4851
+ * const sqladmin = google.sqladmin('v1beta4');
4852
+ *
4853
+ * async function main() {
4854
+ * const auth = new google.auth.GoogleAuth({
4855
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4856
+ * scopes: [
4857
+ * 'https://www.googleapis.com/auth/cloud-platform',
4858
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
4859
+ * ],
4860
+ * });
4861
+ *
4862
+ * // Acquire an auth client, and bind it to all future calls
4863
+ * const authClient = await auth.getClient();
4864
+ * google.options({auth: authClient});
4865
+ *
4866
+ * // Do the magic
4867
+ * const res = await sql.blueGreenDeployments.get({
4868
+ * // Required. The name of the blue-green deployment to retrieve. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
4869
+ * name: 'projects/my-project/locations/my-location/blueGreenDeployments/my-blueGreenDeployment',
4870
+ * // Optional. Specifies whether to return the basic or detailed view of the resource in the response.
4871
+ * view: 'placeholder-value',
4872
+ * });
4873
+ * console.log(res.data);
4874
+ *
4875
+ * // Example response
4876
+ * // {
4877
+ * // "createTime": "my_createTime",
4878
+ * // "deploymentMappings": [],
4879
+ * // "deploymentTasks": {},
4880
+ * // "description": "my_description",
4881
+ * // "errorDetail": "my_errorDetail",
4882
+ * // "name": "my_name",
4883
+ * // "pairedNodes": [],
4884
+ * // "requestedConfig": {},
4885
+ * // "sourceInstance": "my_sourceInstance",
4886
+ * // "state": "my_state",
4887
+ * // "switchoverTargetInstance": "my_switchoverTargetInstance",
4888
+ * // "targetConfig": {}
4889
+ * // }
4890
+ * }
4891
+ *
4892
+ * main().catch(e => {
4893
+ * console.error(e);
4894
+ * throw e;
4895
+ * });
4896
+ *
4897
+ * ```
4898
+ *
4899
+ * @param params - Parameters for request
4900
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4901
+ * @param callback - Optional callback that handles the response.
4902
+ * @returns A promise if used with async/await, or void if used with a callback.
4903
+ */
4904
+ get(params: Params$Resource$Bluegreendeployments$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4905
+ get(params?: Params$Resource$Bluegreendeployments$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BlueGreenDeployment>>;
4906
+ get(params: Params$Resource$Bluegreendeployments$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4907
+ get(params: Params$Resource$Bluegreendeployments$Get, options: MethodOptions | BodyResponseCallback<Schema$BlueGreenDeployment>, callback: BodyResponseCallback<Schema$BlueGreenDeployment>): void;
4908
+ get(params: Params$Resource$Bluegreendeployments$Get, callback: BodyResponseCallback<Schema$BlueGreenDeployment>): void;
4909
+ get(callback: BodyResponseCallback<Schema$BlueGreenDeployment>): void;
4910
+ /**
4911
+ * Lists blue-green deployments under a given project.
4912
+ * @example
4913
+ * ```js
4914
+ * // Before running the sample:
4915
+ * // - Enable the API at:
4916
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
4917
+ * // - Login into gcloud by running:
4918
+ * // ```sh
4919
+ * // $ gcloud auth application-default login
4920
+ * // ```
4921
+ * // - Install the npm module by running:
4922
+ * // ```sh
4923
+ * // $ npm install googleapis
4924
+ * // ```
4925
+ *
4926
+ * const {google} = require('googleapis');
4927
+ * const sqladmin = google.sqladmin('v1beta4');
4928
+ *
4929
+ * async function main() {
4930
+ * const auth = new google.auth.GoogleAuth({
4931
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4932
+ * scopes: [
4933
+ * 'https://www.googleapis.com/auth/cloud-platform',
4934
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
4935
+ * ],
4936
+ * });
4937
+ *
4938
+ * // Acquire an auth client, and bind it to all future calls
4939
+ * const authClient = await auth.getClient();
4940
+ * google.options({auth: authClient});
4941
+ *
4942
+ * // Do the magic
4943
+ * const res = await sql.blueGreenDeployments.list({
4944
+ * // Optional. A filter expression that filters the results.
4945
+ * filter: 'placeholder-value',
4946
+ * // Optional. A comma-separated list of fields to order the results by.
4947
+ * orderBy: 'placeholder-value',
4948
+ * // Optional. The maximum number of deployments to return.
4949
+ * pageSize: 'placeholder-value',
4950
+ * // Optional. A page token, received from a previous `ListBlueGreenDeployments` call. Provide this to retrieve the subsequent page.
4951
+ * pageToken: 'placeholder-value',
4952
+ * // Required. The parent resource whose blue-green deployments are to be listed. Format: projects/{project\}/locations/{location\}
4953
+ * parent: 'projects/my-project/locations/my-location',
4954
+ * });
4955
+ * console.log(res.data);
4956
+ *
4957
+ * // Example response
4958
+ * // {
4959
+ * // "blueGreenDeployments": [],
4960
+ * // "nextPageToken": "my_nextPageToken"
4961
+ * // }
4962
+ * }
4963
+ *
4964
+ * main().catch(e => {
4965
+ * console.error(e);
4966
+ * throw e;
4967
+ * });
4968
+ *
4969
+ * ```
4970
+ *
4971
+ * @param params - Parameters for request
4972
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4973
+ * @param callback - Optional callback that handles the response.
4974
+ * @returns A promise if used with async/await, or void if used with a callback.
4975
+ */
4976
+ list(params: Params$Resource$Bluegreendeployments$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4977
+ list(params?: Params$Resource$Bluegreendeployments$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBlueGreenDeploymentsResponse>>;
4978
+ list(params: Params$Resource$Bluegreendeployments$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4979
+ list(params: Params$Resource$Bluegreendeployments$List, options: MethodOptions | BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>, callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>): void;
4980
+ list(params: Params$Resource$Bluegreendeployments$List, callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>): void;
4981
+ list(callback: BodyResponseCallback<Schema$ListBlueGreenDeploymentsResponse>): void;
4982
+ /**
4983
+ * Switches over to green instance for a blue-green deployment.
4984
+ * @example
4985
+ * ```js
4986
+ * // Before running the sample:
4987
+ * // - Enable the API at:
4988
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
4989
+ * // - Login into gcloud by running:
4990
+ * // ```sh
4991
+ * // $ gcloud auth application-default login
4992
+ * // ```
4993
+ * // - Install the npm module by running:
4994
+ * // ```sh
4995
+ * // $ npm install googleapis
4996
+ * // ```
4997
+ *
4998
+ * const {google} = require('googleapis');
4999
+ * const sqladmin = google.sqladmin('v1beta4');
5000
+ *
5001
+ * async function main() {
5002
+ * const auth = new google.auth.GoogleAuth({
5003
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5004
+ * scopes: [
5005
+ * 'https://www.googleapis.com/auth/cloud-platform',
5006
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
5007
+ * ],
5008
+ * });
5009
+ *
5010
+ * // Acquire an auth client, and bind it to all future calls
5011
+ * const authClient = await auth.getClient();
5012
+ * google.options({auth: authClient});
5013
+ *
5014
+ * // Do the magic
5015
+ * const res = await sql.blueGreenDeployments.switchover({
5016
+ * // Required. The name of the blue-green deployment to switch over. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
5017
+ * name: 'projects/my-project/locations/my-location/blueGreenDeployments/my-blueGreenDeployment',
5018
+ *
5019
+ * // Request body metadata
5020
+ * requestBody: {
5021
+ * // request body parameters
5022
+ * // {}
4216
5023
  * },
4217
5024
  * });
4218
5025
  * console.log(res.data);
@@ -4254,66 +5061,78 @@ export declare namespace sqladmin_v1beta4 {
4254
5061
  * @param callback - Optional callback that handles the response.
4255
5062
  * @returns A promise if used with async/await, or void if used with a callback.
4256
5063
  */
4257
- updateBackup(params: Params$Resource$Backups$Updatebackup, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4258
- updateBackup(params?: Params$Resource$Backups$Updatebackup, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4259
- updateBackup(params: Params$Resource$Backups$Updatebackup, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4260
- updateBackup(params: Params$Resource$Backups$Updatebackup, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4261
- updateBackup(params: Params$Resource$Backups$Updatebackup, callback: BodyResponseCallback<Schema$Operation>): void;
4262
- updateBackup(callback: BodyResponseCallback<Schema$Operation>): void;
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;
4263
5070
  }
4264
- export interface Params$Resource$Backups$Createbackup extends StandardParameters {
5071
+ export interface Params$Resource$Bluegreendeployments$Create extends StandardParameters {
4265
5072
  /**
4266
- * Required. The parent resource where this backup is created. Format: projects/{project\}
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\}
4267
5078
  */
4268
5079
  parent?: string;
4269
5080
  /**
4270
5081
  * Request body metadata
4271
5082
  */
4272
- requestBody?: Schema$Backup;
5083
+ requestBody?: Schema$BlueGreenDeployment;
4273
5084
  }
4274
- export interface Params$Resource$Backups$Deletebackup extends StandardParameters {
5085
+ export interface Params$Resource$Bluegreendeployments$Delete extends StandardParameters {
4275
5086
  /**
4276
- * Required. The name of the backup to delete. Format: projects/{project\}/backups/{backup\}
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\}
4277
5092
  */
4278
5093
  name?: string;
4279
5094
  }
4280
- export interface Params$Resource$Backups$Getbackup extends StandardParameters {
5095
+ export interface Params$Resource$Bluegreendeployments$Get extends StandardParameters {
4281
5096
  /**
4282
- * Required. The name of the backup to retrieve. Format: projects/{project\}/backups/{backup\}
5097
+ * Required. The name of the blue-green deployment to retrieve. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
4283
5098
  */
4284
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;
4285
5104
  }
4286
- export interface Params$Resource$Backups$Listbackups extends StandardParameters {
5105
+ export interface Params$Resource$Bluegreendeployments$List extends StandardParameters {
4287
5106
  /**
4288
- * Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime\>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
5107
+ * Optional. A filter expression that filters the results.
4289
5108
  */
4290
5109
  filter?: string;
4291
5110
  /**
4292
- * The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.
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.
4293
5116
  */
4294
5117
  pageSize?: number;
4295
5118
  /**
4296
- * A page token, received from a previous `ListBackups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBackups` must match the call that provided the page token.
5119
+ * Optional. A page token, received from a previous `ListBlueGreenDeployments` call. Provide this to retrieve the subsequent page.
4297
5120
  */
4298
5121
  pageToken?: string;
4299
5122
  /**
4300
- * Required. The parent that owns this collection of backups. Format: projects/{project\}
5123
+ * Required. The parent resource whose blue-green deployments are to be listed. Format: projects/{project\}/locations/{location\}
4301
5124
  */
4302
5125
  parent?: string;
4303
5126
  }
4304
- export interface Params$Resource$Backups$Updatebackup extends StandardParameters {
5127
+ export interface Params$Resource$Bluegreendeployments$Switchover extends StandardParameters {
4305
5128
  /**
4306
- * Output only. The resource name of the backup. Format: projects/{project\}/backups/{backup\}.
5129
+ * Required. The name of the blue-green deployment to switch over. Format: projects/{project\}/locations/{location\}/blueGreenDeployments/{blue_green_deployment\}
4307
5130
  */
4308
5131
  name?: string;
4309
- /**
4310
- * The list of fields that you can update. You can update only the description and retention period of the final backup.
4311
- */
4312
- updateMask?: string;
4313
5132
  /**
4314
5133
  * Request body metadata
4315
5134
  */
4316
- requestBody?: Schema$Backup;
5135
+ requestBody?: Schema$SwitchoverBlueGreenDeploymentRequest;
4317
5136
  }
4318
5137
  export class Resource$Connect {
4319
5138
  context: APIRequestContext;
@@ -4440,6 +5259,7 @@ export declare namespace sqladmin_v1beta4 {
4440
5259
  * // Example response
4441
5260
  * // {
4442
5261
  * // "backendType": "my_backendType",
5262
+ * // "connectionName": "my_connectionName",
4443
5263
  * // "customSubjectAlternativeNames": [],
4444
5264
  * // "databaseVersion": "my_databaseVersion",
4445
5265
  * // "dnsName": "my_dnsName",
@@ -4474,6 +5294,85 @@ export declare namespace sqladmin_v1beta4 {
4474
5294
  get(params: Params$Resource$Connect$Get, options: MethodOptions | BodyResponseCallback<Schema$ConnectSettings>, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
4475
5295
  get(params: Params$Resource$Connect$Get, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
4476
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": [],
5347
+ * // "kind": "my_kind",
5348
+ * // "mdxProtocolSupport": [],
5349
+ * // "nodeCount": 0,
5350
+ * // "nodes": [],
5351
+ * // "pscEnabled": false,
5352
+ * // "region": "my_region",
5353
+ * // "serverCaCert": {},
5354
+ * // "serverCaMode": "my_serverCaMode"
5355
+ * // }
5356
+ * }
5357
+ *
5358
+ * main().catch(e => {
5359
+ * console.error(e);
5360
+ * throw e;
5361
+ * });
5362
+ *
5363
+ * ```
5364
+ *
5365
+ * @param params - Parameters for request
5366
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5367
+ * @param callback - Optional callback that handles the response.
5368
+ * @returns A promise if used with async/await, or void if used with a callback.
5369
+ */
5370
+ resolve(params: Params$Resource$Connect$Resolve, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5371
+ resolve(params?: Params$Resource$Connect$Resolve, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ConnectSettings>>;
5372
+ resolve(params: Params$Resource$Connect$Resolve, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5373
+ resolve(params: Params$Resource$Connect$Resolve, options: MethodOptions | BodyResponseCallback<Schema$ConnectSettings>, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
5374
+ resolve(params: Params$Resource$Connect$Resolve, callback: BodyResponseCallback<Schema$ConnectSettings>): void;
5375
+ resolve(callback: BodyResponseCallback<Schema$ConnectSettings>): void;
4477
5376
  }
4478
5377
  export interface Params$Resource$Connect$Generateephemeralcert extends StandardParameters {
4479
5378
  /**
@@ -4503,6 +5402,16 @@ export declare namespace sqladmin_v1beta4 {
4503
5402
  */
4504
5403
  readTime?: string;
4505
5404
  }
5405
+ export interface Params$Resource$Connect$Resolve extends StandardParameters {
5406
+ /**
5407
+ * Required. Cloud SQL instance ID. This does not include the project ID.
5408
+ */
5409
+ dnsName?: string;
5410
+ /**
5411
+ * Required. The region of the instance.
5412
+ */
5413
+ location?: string;
5414
+ }
4506
5415
  export class Resource$Databases {
4507
5416
  context: APIRequestContext;
4508
5417
  constructor(context: APIRequestContext);
@@ -4544,6 +5453,8 @@ export declare namespace sqladmin_v1beta4 {
4544
5453
  * database: 'placeholder-value',
4545
5454
  * // Database instance ID. This does not include the project ID.
4546
5455
  * instance: 'placeholder-value',
5456
+ * // Optional. Region of the Cloud SQL instance.
5457
+ * location: 'placeholder-value',
4547
5458
  * // Project ID of the project that contains the instance.
4548
5459
  * project: 'placeholder-value',
4549
5460
  * });
@@ -4630,6 +5541,8 @@ export declare namespace sqladmin_v1beta4 {
4630
5541
  * database: 'placeholder-value',
4631
5542
  * // Database instance ID. This does not include the project ID.
4632
5543
  * instance: 'placeholder-value',
5544
+ * // Optional. Region of the Cloud SQL instance.
5545
+ * location: 'placeholder-value',
4633
5546
  * // Project ID of the project that contains the instance.
4634
5547
  * project: 'placeholder-value',
4635
5548
  * });
@@ -4703,6 +5616,8 @@ export declare namespace sqladmin_v1beta4 {
4703
5616
  * const res = await sql.databases.insert({
4704
5617
  * // Database instance ID. This does not include the project ID.
4705
5618
  * instance: 'placeholder-value',
5619
+ * // Optional. Region of the Cloud SQL instance.
5620
+ * location: 'placeholder-value',
4706
5621
  * // Project ID of the project that contains the instance.
4707
5622
  * project: 'placeholder-value',
4708
5623
  *
@@ -4803,6 +5718,8 @@ export declare namespace sqladmin_v1beta4 {
4803
5718
  * const res = await sql.databases.list({
4804
5719
  * // Cloud SQL instance ID. This does not include the project ID.
4805
5720
  * instance: 'placeholder-value',
5721
+ * // Optional. Region of the Cloud SQL instance.
5722
+ * location: 'placeholder-value',
4806
5723
  * // Project ID of the project that contains the instance.
4807
5724
  * project: 'placeholder-value',
4808
5725
  * });
@@ -4871,6 +5788,8 @@ export declare namespace sqladmin_v1beta4 {
4871
5788
  * database: 'placeholder-value',
4872
5789
  * // Database instance ID. This does not include the project ID.
4873
5790
  * instance: 'placeholder-value',
5791
+ * // Optional. Region of the Cloud SQL instance.
5792
+ * location: 'placeholder-value',
4874
5793
  * // Project ID of the project that contains the instance.
4875
5794
  * project: 'placeholder-value',
4876
5795
  *
@@ -4973,6 +5892,8 @@ export declare namespace sqladmin_v1beta4 {
4973
5892
  * database: 'placeholder-value',
4974
5893
  * // Database instance ID. This does not include the project ID.
4975
5894
  * instance: 'placeholder-value',
5895
+ * // Optional. Region of the Cloud SQL instance.
5896
+ * location: 'placeholder-value',
4976
5897
  * // Project ID of the project that contains the instance.
4977
5898
  * project: 'placeholder-value',
4978
5899
  *
@@ -5047,6 +5968,10 @@ export declare namespace sqladmin_v1beta4 {
5047
5968
  * Database instance ID. This does not include the project ID.
5048
5969
  */
5049
5970
  instance?: string;
5971
+ /**
5972
+ * Optional. Region of the Cloud SQL instance.
5973
+ */
5974
+ location?: string;
5050
5975
  /**
5051
5976
  * Project ID of the project that contains the instance.
5052
5977
  */
@@ -5061,6 +5986,10 @@ export declare namespace sqladmin_v1beta4 {
5061
5986
  * Database instance ID. This does not include the project ID.
5062
5987
  */
5063
5988
  instance?: string;
5989
+ /**
5990
+ * Optional. Region of the Cloud SQL instance.
5991
+ */
5992
+ location?: string;
5064
5993
  /**
5065
5994
  * Project ID of the project that contains the instance.
5066
5995
  */
@@ -5071,6 +6000,10 @@ export declare namespace sqladmin_v1beta4 {
5071
6000
  * Database instance ID. This does not include the project ID.
5072
6001
  */
5073
6002
  instance?: string;
6003
+ /**
6004
+ * Optional. Region of the Cloud SQL instance.
6005
+ */
6006
+ location?: string;
5074
6007
  /**
5075
6008
  * Project ID of the project that contains the instance.
5076
6009
  */
@@ -5085,6 +6018,10 @@ export declare namespace sqladmin_v1beta4 {
5085
6018
  * Cloud SQL instance ID. This does not include the project ID.
5086
6019
  */
5087
6020
  instance?: string;
6021
+ /**
6022
+ * Optional. Region of the Cloud SQL instance.
6023
+ */
6024
+ location?: string;
5088
6025
  /**
5089
6026
  * Project ID of the project that contains the instance.
5090
6027
  */
@@ -5099,6 +6036,10 @@ export declare namespace sqladmin_v1beta4 {
5099
6036
  * Database instance ID. This does not include the project ID.
5100
6037
  */
5101
6038
  instance?: string;
6039
+ /**
6040
+ * Optional. Region of the Cloud SQL instance.
6041
+ */
6042
+ location?: string;
5102
6043
  /**
5103
6044
  * Project ID of the project that contains the instance.
5104
6045
  */
@@ -5117,6 +6058,10 @@ export declare namespace sqladmin_v1beta4 {
5117
6058
  * Database instance ID. This does not include the project ID.
5118
6059
  */
5119
6060
  instance?: string;
6061
+ /**
6062
+ * Optional. Region of the Cloud SQL instance.
6063
+ */
6064
+ location?: string;
5120
6065
  /**
5121
6066
  * Project ID of the project that contains the instance.
5122
6067
  */
@@ -5245,6 +6190,8 @@ export declare namespace sqladmin_v1beta4 {
5245
6190
  * const res = await sql.instances.acquireSsrsLease({
5246
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).
5247
6192
  * instance: 'placeholder-value',
6193
+ * // Optional. Region of the Cloud SQL instance.
6194
+ * location: 'placeholder-value',
5248
6195
  * // Required. ID of the project that contains the instance (Example: project-id).
5249
6196
  * project: 'placeholder-value',
5250
6197
  *
@@ -5318,6 +6265,8 @@ export declare namespace sqladmin_v1beta4 {
5318
6265
  * const res = await sql.instances.addEntraIdCertificate({
5319
6266
  * // Required. Cloud SQL instance ID. This does not include the project ID.
5320
6267
  * instance: 'placeholder-value',
6268
+ * // Optional. Region of the Cloud SQL instance.
6269
+ * location: 'placeholder-value',
5321
6270
  * // Required. Project ID of the project that contains the instance.
5322
6271
  * project: 'placeholder-value',
5323
6272
  * });
@@ -5402,6 +6351,8 @@ export declare namespace sqladmin_v1beta4 {
5402
6351
  * const res = await sql.instances.addServerCa({
5403
6352
  * // Cloud SQL instance ID. This does not include the project ID.
5404
6353
  * instance: 'placeholder-value',
6354
+ * // Optional. Region of the Cloud SQL instance.
6355
+ * location: 'placeholder-value',
5405
6356
  * // Project ID of the project that contains the instance.
5406
6357
  * project: 'placeholder-value',
5407
6358
  * });
@@ -5486,6 +6437,8 @@ export declare namespace sqladmin_v1beta4 {
5486
6437
  * const res = await sql.instances.addServerCertificate({
5487
6438
  * // Required. Cloud SQL instance ID. This does not include the project ID.
5488
6439
  * instance: 'placeholder-value',
6440
+ * // Optional. Region of the Cloud SQL instance.
6441
+ * location: 'placeholder-value',
5489
6442
  * // Required. Project ID of the project that contains the instance.
5490
6443
  * project: 'placeholder-value',
5491
6444
  * });
@@ -5570,6 +6523,8 @@ export declare namespace sqladmin_v1beta4 {
5570
6523
  * const res = await sql.instances.clone({
5571
6524
  * // The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
5572
6525
  * instance: 'placeholder-value',
6526
+ * // Optional. Region of the Cloud SQL instance.
6527
+ * location: 'placeholder-value',
5573
6528
  * // Project ID of the source Cloud SQL instance.
5574
6529
  * project: 'placeholder-value',
5575
6530
  *
@@ -5670,6 +6625,8 @@ export declare namespace sqladmin_v1beta4 {
5670
6625
  * finalBackupTtlDays: 'placeholder-value',
5671
6626
  * // Cloud SQL instance ID. This does not include the project ID.
5672
6627
  * instance: 'placeholder-value',
6628
+ * // Optional. Region of the Cloud SQL instance.
6629
+ * location: 'placeholder-value',
5673
6630
  * // Project ID of the project that contains the instance to be deleted.
5674
6631
  * project: 'placeholder-value',
5675
6632
  * });
@@ -5754,6 +6711,8 @@ export declare namespace sqladmin_v1beta4 {
5754
6711
  * const res = await sql.instances.demote({
5755
6712
  * // Required. The name of the Cloud SQL instance.
5756
6713
  * instance: 'placeholder-value',
6714
+ * // Optional. Region of the Cloud SQL instance.
6715
+ * location: 'placeholder-value',
5757
6716
  * // Required. The project ID of the project that contains the instance.
5758
6717
  * project: 'placeholder-value',
5759
6718
  *
@@ -5846,6 +6805,8 @@ export declare namespace sqladmin_v1beta4 {
5846
6805
  * const res = await sql.instances.demoteMaster({
5847
6806
  * // Cloud SQL instance name.
5848
6807
  * instance: 'placeholder-value',
6808
+ * // Optional. Region of the Cloud SQL instance.
6809
+ * location: 'placeholder-value',
5849
6810
  * // ID of the project that contains the instance.
5850
6811
  * project: 'placeholder-value',
5851
6812
  *
@@ -5938,6 +6899,8 @@ export declare namespace sqladmin_v1beta4 {
5938
6899
  * const res = await sql.instances.executeSql({
5939
6900
  * // Required. Database instance ID. This does not include the project ID.
5940
6901
  * instance: 'placeholder-value',
6902
+ * // Optional. Region of the Cloud SQL instance.
6903
+ * location: 'placeholder-value',
5941
6904
  * // Required. Project ID of the project that contains the instance.
5942
6905
  * project: 'placeholder-value',
5943
6906
  *
@@ -5949,6 +6912,7 @@ export declare namespace sqladmin_v1beta4 {
5949
6912
  * // "autoIamAuthn": false,
5950
6913
  * // "database": "my_database",
5951
6914
  * // "partialResultMode": "my_partialResultMode",
6915
+ * // "passwordSecretVersion": "my_passwordSecretVersion",
5952
6916
  * // "rowLimit": "my_rowLimit",
5953
6917
  * // "sqlStatement": "my_sqlStatement",
5954
6918
  * // "user": "my_user"
@@ -6017,6 +6981,8 @@ export declare namespace sqladmin_v1beta4 {
6017
6981
  * const res = await sql.instances.export({
6018
6982
  * // The Cloud SQL instance ID. This doesn't include the project ID.
6019
6983
  * instance: 'placeholder-value',
6984
+ * // Optional. Region of the Cloud SQL instance.
6985
+ * location: 'placeholder-value',
6020
6986
  * // Project ID of the project that contains the instance to be exported.
6021
6987
  * project: 'placeholder-value',
6022
6988
  *
@@ -6109,6 +7075,8 @@ export declare namespace sqladmin_v1beta4 {
6109
7075
  * const res = await sql.instances.failover({
6110
7076
  * // Cloud SQL instance ID. This does not include the project ID.
6111
7077
  * instance: 'placeholder-value',
7078
+ * // Optional. Region of the Cloud SQL instance.
7079
+ * location: 'placeholder-value',
6112
7080
  * // ID of the project that contains the read replica.
6113
7081
  * project: 'placeholder-value',
6114
7082
  *
@@ -6201,6 +7169,8 @@ export declare namespace sqladmin_v1beta4 {
6201
7169
  * const res = await sql.instances.get({
6202
7170
  * // Database instance ID. This does not include the project ID.
6203
7171
  * instance: 'placeholder-value',
7172
+ * // Optional. Region of the Cloud SQL instance.
7173
+ * location: 'placeholder-value',
6204
7174
  * // Project ID of the project that contains the instance.
6205
7175
  * project: 'placeholder-value',
6206
7176
  * });
@@ -6213,8 +7183,10 @@ export declare namespace sqladmin_v1beta4 {
6213
7183
  * // "connectionName": "my_connectionName",
6214
7184
  * // "createTime": "my_createTime",
6215
7185
  * // "currentDiskSize": "my_currentDiskSize",
7186
+ * // "databaseCenterIntegrationEnabled": false,
6216
7187
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
6217
7188
  * // "databaseVersion": "my_databaseVersion",
7189
+ * // "deploymentInfo": {},
6218
7190
  * // "diskEncryptionConfiguration": {},
6219
7191
  * // "diskEncryptionStatus": {},
6220
7192
  * // "dnsName": "my_dnsName",
@@ -6313,6 +7285,8 @@ export declare namespace sqladmin_v1beta4 {
6313
7285
  * const res = await sql.instances.import({
6314
7286
  * // Cloud SQL instance ID. This does not include the project ID.
6315
7287
  * instance: 'placeholder-value',
7288
+ * // Optional. Region of the Cloud SQL instance.
7289
+ * location: 'placeholder-value',
6316
7290
  * // Project ID of the project that contains the instance.
6317
7291
  * project: 'placeholder-value',
6318
7292
  *
@@ -6403,6 +7377,8 @@ export declare namespace sqladmin_v1beta4 {
6403
7377
  *
6404
7378
  * // Do the magic
6405
7379
  * const res = await sql.instances.insert({
7380
+ * // Optional. Region of the Cloud SQL instance.
7381
+ * location: 'placeholder-value',
6406
7382
  * // Project ID of the project to which the newly created Cloud SQL instances should belong.
6407
7383
  * project: 'placeholder-value',
6408
7384
  *
@@ -6415,8 +7391,10 @@ export declare namespace sqladmin_v1beta4 {
6415
7391
  * // "connectionName": "my_connectionName",
6416
7392
  * // "createTime": "my_createTime",
6417
7393
  * // "currentDiskSize": "my_currentDiskSize",
7394
+ * // "databaseCenterIntegrationEnabled": false,
6418
7395
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
6419
7396
  * // "databaseVersion": "my_databaseVersion",
7397
+ * // "deploymentInfo": {},
6420
7398
  * // "diskEncryptionConfiguration": {},
6421
7399
  * // "diskEncryptionStatus": {},
6422
7400
  * // "dnsName": "my_dnsName",
@@ -6545,6 +7523,8 @@ export declare namespace sqladmin_v1beta4 {
6545
7523
  * const res = await sql.instances.list({
6546
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.
6547
7525
  * filter: 'placeholder-value',
7526
+ * // Optional. Region of the Cloud SQL instance.
7527
+ * location: 'placeholder-value',
6548
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.
6549
7529
  * maxResults: 'placeholder-value',
6550
7530
  * // A previously-returned page token representing part of the larger set of results to view.
@@ -6617,6 +7597,8 @@ export declare namespace sqladmin_v1beta4 {
6617
7597
  * const res = await sql.instances.ListEntraIdCertificates({
6618
7598
  * // Required. Cloud SQL instance ID. This does not include the project ID.
6619
7599
  * instance: 'placeholder-value',
7600
+ * // Optional. Region of the Cloud SQL instance.
7601
+ * location: 'placeholder-value',
6620
7602
  * // Required. Project ID of the project that contains the instance.
6621
7603
  * project: 'placeholder-value',
6622
7604
  * });
@@ -6684,6 +7666,8 @@ export declare namespace sqladmin_v1beta4 {
6684
7666
  * const res = await sql.instances.listServerCas({
6685
7667
  * // Cloud SQL instance ID. This does not include the project ID.
6686
7668
  * instance: 'placeholder-value',
7669
+ * // Optional. Region of the Cloud SQL instance.
7670
+ * location: 'placeholder-value',
6687
7671
  * // Project ID of the project that contains the instance.
6688
7672
  * project: 'placeholder-value',
6689
7673
  * });
@@ -6751,6 +7735,8 @@ export declare namespace sqladmin_v1beta4 {
6751
7735
  * const res = await sql.instances.ListServerCertificates({
6752
7736
  * // Required. Cloud SQL instance ID. This does not include the project ID.
6753
7737
  * instance: 'placeholder-value',
7738
+ * // Optional. Region of the Cloud SQL instance.
7739
+ * location: 'placeholder-value',
6754
7740
  * // Required. Project ID of the project that contains the instance.
6755
7741
  * project: 'placeholder-value',
6756
7742
  * });
@@ -6819,8 +7805,14 @@ export declare namespace sqladmin_v1beta4 {
6819
7805
  * const res = await sql.instances.patch({
6820
7806
  * // Cloud SQL instance ID. This does not include the project ID.
6821
7807
  * instance: 'placeholder-value',
7808
+ * // Optional. Region of the Cloud SQL instance.
7809
+ * location: 'placeholder-value',
6822
7810
  * // Project ID of the project that contains the instance.
6823
7811
  * project: 'placeholder-value',
7812
+ * // Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
7813
+ * reconcilePscNetworking: 'placeholder-value',
7814
+ * // Optional. Set PSC config to the same value as the existing config and force reconcile the PSC networking.
7815
+ * reconcilePscNetworkingForce: 'placeholder-value',
6824
7816
  *
6825
7817
  * // Request body metadata
6826
7818
  * requestBody: {
@@ -6831,8 +7823,10 @@ export declare namespace sqladmin_v1beta4 {
6831
7823
  * // "connectionName": "my_connectionName",
6832
7824
  * // "createTime": "my_createTime",
6833
7825
  * // "currentDiskSize": "my_currentDiskSize",
7826
+ * // "databaseCenterIntegrationEnabled": false,
6834
7827
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
6835
7828
  * // "databaseVersion": "my_databaseVersion",
7829
+ * // "deploymentInfo": {},
6836
7830
  * // "diskEncryptionConfiguration": {},
6837
7831
  * // "diskEncryptionStatus": {},
6838
7832
  * // "dnsName": "my_dnsName",
@@ -7060,6 +8054,8 @@ export declare namespace sqladmin_v1beta4 {
7060
8054
  * const res = await sql.instances.preCheckMajorVersionUpgrade({
7061
8055
  * // Required. Cloud SQL instance ID. This does not include the project ID.
7062
8056
  * instance: 'placeholder-value',
8057
+ * // Optional. Region of the Cloud SQL instance.
8058
+ * location: 'placeholder-value',
7063
8059
  * // Required. Project ID of the project that contains the instance.
7064
8060
  * project: 'placeholder-value',
7065
8061
  *
@@ -7154,6 +8150,8 @@ export declare namespace sqladmin_v1beta4 {
7154
8150
  * failover: 'placeholder-value',
7155
8151
  * // Cloud SQL read replica instance name.
7156
8152
  * instance: 'placeholder-value',
8153
+ * // Optional. Region of the Cloud SQL instance.
8154
+ * location: 'placeholder-value',
7157
8155
  * // ID of the project that contains the read replica.
7158
8156
  * project: 'placeholder-value',
7159
8157
  * });
@@ -7238,6 +8236,8 @@ export declare namespace sqladmin_v1beta4 {
7238
8236
  * const res = await sql.instances.reencrypt({
7239
8237
  * // Cloud SQL instance ID. This does not include the project ID.
7240
8238
  * instance: 'placeholder-value',
8239
+ * // Optional. Region of the Cloud SQL instance.
8240
+ * location: 'placeholder-value',
7241
8241
  * // ID of the project that contains the instance.
7242
8242
  * project: 'placeholder-value',
7243
8243
  *
@@ -7330,6 +8330,8 @@ export declare namespace sqladmin_v1beta4 {
7330
8330
  * const res = await sql.instances.releaseSsrsLease({
7331
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).
7332
8332
  * instance: 'placeholder-value',
8333
+ * // Optional. Region of the Cloud SQL instance.
8334
+ * location: 'placeholder-value',
7333
8335
  * // Required. The ID of the project that contains the instance (Example: project-id).
7334
8336
  * project: 'placeholder-value',
7335
8337
  * });
@@ -7395,6 +8397,8 @@ export declare namespace sqladmin_v1beta4 {
7395
8397
  * const res = await sql.instances.resetSslConfig({
7396
8398
  * // Cloud SQL instance ID. This does not include the project ID.
7397
8399
  * instance: 'placeholder-value',
8400
+ * // Optional. Region of the Cloud SQL instance.
8401
+ * location: 'placeholder-value',
7398
8402
  * // Optional. Reset SSL mode to use.
7399
8403
  * mode: 'placeholder-value',
7400
8404
  * // Project ID of the project that contains the instance.
@@ -7481,6 +8485,8 @@ export declare namespace sqladmin_v1beta4 {
7481
8485
  * const res = await sql.instances.restart({
7482
8486
  * // Cloud SQL instance ID. This does not include the project ID.
7483
8487
  * instance: 'placeholder-value',
8488
+ * // Optional. Region of the Cloud SQL instance.
8489
+ * location: 'placeholder-value',
7484
8490
  * // Project ID of the project that contains the instance to be restarted.
7485
8491
  * project: 'placeholder-value',
7486
8492
  * });
@@ -7565,6 +8571,8 @@ export declare namespace sqladmin_v1beta4 {
7565
8571
  * const res = await sql.instances.restoreBackup({
7566
8572
  * // Cloud SQL instance ID. This does not include the project ID.
7567
8573
  * instance: 'placeholder-value',
8574
+ * // Optional. Region of the Cloud SQL instance.
8575
+ * location: 'placeholder-value',
7568
8576
  * // Project ID of the project that contains the instance.
7569
8577
  * project: 'placeholder-value',
7570
8578
  *
@@ -7574,6 +8582,7 @@ export declare namespace sqladmin_v1beta4 {
7574
8582
  * // {
7575
8583
  * // "backup": "my_backup",
7576
8584
  * // "backupdrBackup": "my_backupdrBackup",
8585
+ * // "ignoreMaintenanceVersion": false,
7577
8586
  * // "restoreBackupContext": {},
7578
8587
  * // "restoreInstanceClearOverridesFieldNames": [],
7579
8588
  * // "restoreInstanceSettings": {}
@@ -7661,6 +8670,8 @@ export declare namespace sqladmin_v1beta4 {
7661
8670
  * const res = await sql.instances.RotateEntraIdCertificate({
7662
8671
  * // Required. Cloud SQL instance ID. This does not include the project ID.
7663
8672
  * instance: 'placeholder-value',
8673
+ * // Optional. Region of the Cloud SQL instance.
8674
+ * location: 'placeholder-value',
7664
8675
  * // Required. Project ID of the project that contains the instance.
7665
8676
  * project: 'placeholder-value',
7666
8677
  *
@@ -7753,6 +8764,8 @@ export declare namespace sqladmin_v1beta4 {
7753
8764
  * const res = await sql.instances.rotateServerCa({
7754
8765
  * // Cloud SQL instance ID. This does not include the project ID.
7755
8766
  * instance: 'placeholder-value',
8767
+ * // Optional. Region of the Cloud SQL instance.
8768
+ * location: 'placeholder-value',
7756
8769
  * // Project ID of the project that contains the instance.
7757
8770
  * project: 'placeholder-value',
7758
8771
  *
@@ -7845,6 +8858,8 @@ export declare namespace sqladmin_v1beta4 {
7845
8858
  * const res = await sql.instances.RotateServerCertificate({
7846
8859
  * // Required. Cloud SQL instance ID. This does not include the project ID.
7847
8860
  * instance: 'placeholder-value',
8861
+ * // Optional. Region of the Cloud SQL instance.
8862
+ * location: 'placeholder-value',
7848
8863
  * // Required. Project ID of the project that contains the instance.
7849
8864
  * project: 'placeholder-value',
7850
8865
  *
@@ -7937,6 +8952,8 @@ export declare namespace sqladmin_v1beta4 {
7937
8952
  * const res = await sql.instances.startReplica({
7938
8953
  * // Cloud SQL read replica instance name.
7939
8954
  * instance: 'placeholder-value',
8955
+ * // Optional. Region of the Cloud SQL instance.
8956
+ * location: 'placeholder-value',
7940
8957
  * // ID of the project that contains the read replica.
7941
8958
  * project: 'placeholder-value',
7942
8959
  * });
@@ -8021,6 +9038,8 @@ export declare namespace sqladmin_v1beta4 {
8021
9038
  * const res = await sql.instances.stopReplica({
8022
9039
  * // Cloud SQL read replica instance name.
8023
9040
  * instance: 'placeholder-value',
9041
+ * // Optional. Region of the Cloud SQL instance.
9042
+ * location: 'placeholder-value',
8024
9043
  * // ID of the project that contains the read replica.
8025
9044
  * project: 'placeholder-value',
8026
9045
  * });
@@ -8107,6 +9126,8 @@ export declare namespace sqladmin_v1beta4 {
8107
9126
  * dbTimeout: 'placeholder-value',
8108
9127
  * // Cloud SQL read replica instance name.
8109
9128
  * instance: 'placeholder-value',
9129
+ * // Optional. Region of the Cloud SQL instance.
9130
+ * location: 'placeholder-value',
8110
9131
  * // ID of the project that contains the replica.
8111
9132
  * project: 'placeholder-value',
8112
9133
  * });
@@ -8191,6 +9212,8 @@ export declare namespace sqladmin_v1beta4 {
8191
9212
  * const res = await sql.instances.truncateLog({
8192
9213
  * // Cloud SQL instance ID. This does not include the project ID.
8193
9214
  * instance: 'placeholder-value',
9215
+ * // Optional. Region of the Cloud SQL instance.
9216
+ * location: 'placeholder-value',
8194
9217
  * // Project ID of the Cloud SQL project.
8195
9218
  * project: 'placeholder-value',
8196
9219
  *
@@ -8283,6 +9306,8 @@ export declare namespace sqladmin_v1beta4 {
8283
9306
  * const res = await sql.instances.update({
8284
9307
  * // Cloud SQL instance ID. This does not include the project ID.
8285
9308
  * instance: 'placeholder-value',
9309
+ * // Optional. Region of the Cloud SQL instance.
9310
+ * location: 'placeholder-value',
8286
9311
  * // Project ID of the project that contains the instance.
8287
9312
  * project: 'placeholder-value',
8288
9313
  *
@@ -8295,8 +9320,10 @@ export declare namespace sqladmin_v1beta4 {
8295
9320
  * // "connectionName": "my_connectionName",
8296
9321
  * // "createTime": "my_createTime",
8297
9322
  * // "currentDiskSize": "my_currentDiskSize",
9323
+ * // "databaseCenterIntegrationEnabled": false,
8298
9324
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
8299
9325
  * // "databaseVersion": "my_databaseVersion",
9326
+ * // "deploymentInfo": {},
8300
9327
  * // "diskEncryptionConfiguration": {},
8301
9328
  * // "diskEncryptionStatus": {},
8302
9329
  * // "dnsName": "my_dnsName",
@@ -8395,6 +9422,10 @@ export declare namespace sqladmin_v1beta4 {
8395
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).
8396
9423
  */
8397
9424
  instance?: string;
9425
+ /**
9426
+ * Optional. Region of the Cloud SQL instance.
9427
+ */
9428
+ location?: string;
8398
9429
  /**
8399
9430
  * Required. ID of the project that contains the instance (Example: project-id).
8400
9431
  */
@@ -8409,6 +9440,10 @@ export declare namespace sqladmin_v1beta4 {
8409
9440
  * Required. Cloud SQL instance ID. This does not include the project ID.
8410
9441
  */
8411
9442
  instance?: string;
9443
+ /**
9444
+ * Optional. Region of the Cloud SQL instance.
9445
+ */
9446
+ location?: string;
8412
9447
  /**
8413
9448
  * Required. Project ID of the project that contains the instance.
8414
9449
  */
@@ -8419,6 +9454,10 @@ export declare namespace sqladmin_v1beta4 {
8419
9454
  * Cloud SQL instance ID. This does not include the project ID.
8420
9455
  */
8421
9456
  instance?: string;
9457
+ /**
9458
+ * Optional. Region of the Cloud SQL instance.
9459
+ */
9460
+ location?: string;
8422
9461
  /**
8423
9462
  * Project ID of the project that contains the instance.
8424
9463
  */
@@ -8429,6 +9468,10 @@ export declare namespace sqladmin_v1beta4 {
8429
9468
  * Required. Cloud SQL instance ID. This does not include the project ID.
8430
9469
  */
8431
9470
  instance?: string;
9471
+ /**
9472
+ * Optional. Region of the Cloud SQL instance.
9473
+ */
9474
+ location?: string;
8432
9475
  /**
8433
9476
  * Required. Project ID of the project that contains the instance.
8434
9477
  */
@@ -8439,6 +9482,10 @@ export declare namespace sqladmin_v1beta4 {
8439
9482
  * The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
8440
9483
  */
8441
9484
  instance?: string;
9485
+ /**
9486
+ * Optional. Region of the Cloud SQL instance.
9487
+ */
9488
+ location?: string;
8442
9489
  /**
8443
9490
  * Project ID of the source Cloud SQL instance.
8444
9491
  */
@@ -8469,6 +9516,10 @@ export declare namespace sqladmin_v1beta4 {
8469
9516
  * Cloud SQL instance ID. This does not include the project ID.
8470
9517
  */
8471
9518
  instance?: string;
9519
+ /**
9520
+ * Optional. Region of the Cloud SQL instance.
9521
+ */
9522
+ location?: string;
8472
9523
  /**
8473
9524
  * Project ID of the project that contains the instance to be deleted.
8474
9525
  */
@@ -8479,6 +9530,10 @@ export declare namespace sqladmin_v1beta4 {
8479
9530
  * Required. The name of the Cloud SQL instance.
8480
9531
  */
8481
9532
  instance?: string;
9533
+ /**
9534
+ * Optional. Region of the Cloud SQL instance.
9535
+ */
9536
+ location?: string;
8482
9537
  /**
8483
9538
  * Required. The project ID of the project that contains the instance.
8484
9539
  */
@@ -8493,6 +9548,10 @@ export declare namespace sqladmin_v1beta4 {
8493
9548
  * Cloud SQL instance name.
8494
9549
  */
8495
9550
  instance?: string;
9551
+ /**
9552
+ * Optional. Region of the Cloud SQL instance.
9553
+ */
9554
+ location?: string;
8496
9555
  /**
8497
9556
  * ID of the project that contains the instance.
8498
9557
  */
@@ -8507,6 +9566,10 @@ export declare namespace sqladmin_v1beta4 {
8507
9566
  * Required. Database instance ID. This does not include the project ID.
8508
9567
  */
8509
9568
  instance?: string;
9569
+ /**
9570
+ * Optional. Region of the Cloud SQL instance.
9571
+ */
9572
+ location?: string;
8510
9573
  /**
8511
9574
  * Required. Project ID of the project that contains the instance.
8512
9575
  */
@@ -8521,6 +9584,10 @@ export declare namespace sqladmin_v1beta4 {
8521
9584
  * The Cloud SQL instance ID. This doesn't include the project ID.
8522
9585
  */
8523
9586
  instance?: string;
9587
+ /**
9588
+ * Optional. Region of the Cloud SQL instance.
9589
+ */
9590
+ location?: string;
8524
9591
  /**
8525
9592
  * Project ID of the project that contains the instance to be exported.
8526
9593
  */
@@ -8535,6 +9602,10 @@ export declare namespace sqladmin_v1beta4 {
8535
9602
  * Cloud SQL instance ID. This does not include the project ID.
8536
9603
  */
8537
9604
  instance?: string;
9605
+ /**
9606
+ * Optional. Region of the Cloud SQL instance.
9607
+ */
9608
+ location?: string;
8538
9609
  /**
8539
9610
  * ID of the project that contains the read replica.
8540
9611
  */
@@ -8549,6 +9620,10 @@ export declare namespace sqladmin_v1beta4 {
8549
9620
  * Database instance ID. This does not include the project ID.
8550
9621
  */
8551
9622
  instance?: string;
9623
+ /**
9624
+ * Optional. Region of the Cloud SQL instance.
9625
+ */
9626
+ location?: string;
8552
9627
  /**
8553
9628
  * Project ID of the project that contains the instance.
8554
9629
  */
@@ -8559,6 +9634,10 @@ export declare namespace sqladmin_v1beta4 {
8559
9634
  * Cloud SQL instance ID. This does not include the project ID.
8560
9635
  */
8561
9636
  instance?: string;
9637
+ /**
9638
+ * Optional. Region of the Cloud SQL instance.
9639
+ */
9640
+ location?: string;
8562
9641
  /**
8563
9642
  * Project ID of the project that contains the instance.
8564
9643
  */
@@ -8569,6 +9648,10 @@ export declare namespace sqladmin_v1beta4 {
8569
9648
  requestBody?: Schema$InstancesImportRequest;
8570
9649
  }
8571
9650
  export interface Params$Resource$Instances$Insert extends StandardParameters {
9651
+ /**
9652
+ * Optional. Region of the Cloud SQL instance.
9653
+ */
9654
+ location?: string;
8572
9655
  /**
8573
9656
  * Project ID of the project to which the newly created Cloud SQL instances should belong.
8574
9657
  */
@@ -8583,6 +9666,10 @@ export declare namespace sqladmin_v1beta4 {
8583
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.
8584
9667
  */
8585
9668
  filter?: string;
9669
+ /**
9670
+ * Optional. Region of the Cloud SQL instance.
9671
+ */
9672
+ location?: string;
8586
9673
  /**
8587
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.
8588
9675
  */
@@ -8601,6 +9688,10 @@ export declare namespace sqladmin_v1beta4 {
8601
9688
  * Required. Cloud SQL instance ID. This does not include the project ID.
8602
9689
  */
8603
9690
  instance?: string;
9691
+ /**
9692
+ * Optional. Region of the Cloud SQL instance.
9693
+ */
9694
+ location?: string;
8604
9695
  /**
8605
9696
  * Required. Project ID of the project that contains the instance.
8606
9697
  */
@@ -8611,6 +9702,10 @@ export declare namespace sqladmin_v1beta4 {
8611
9702
  * Cloud SQL instance ID. This does not include the project ID.
8612
9703
  */
8613
9704
  instance?: string;
9705
+ /**
9706
+ * Optional. Region of the Cloud SQL instance.
9707
+ */
9708
+ location?: string;
8614
9709
  /**
8615
9710
  * Project ID of the project that contains the instance.
8616
9711
  */
@@ -8621,6 +9716,10 @@ export declare namespace sqladmin_v1beta4 {
8621
9716
  * Required. Cloud SQL instance ID. This does not include the project ID.
8622
9717
  */
8623
9718
  instance?: string;
9719
+ /**
9720
+ * Optional. Region of the Cloud SQL instance.
9721
+ */
9722
+ location?: string;
8624
9723
  /**
8625
9724
  * Required. Project ID of the project that contains the instance.
8626
9725
  */
@@ -8631,10 +9730,22 @@ export declare namespace sqladmin_v1beta4 {
8631
9730
  * Cloud SQL instance ID. This does not include the project ID.
8632
9731
  */
8633
9732
  instance?: string;
9733
+ /**
9734
+ * Optional. Region of the Cloud SQL instance.
9735
+ */
9736
+ location?: string;
8634
9737
  /**
8635
9738
  * Project ID of the project that contains the instance.
8636
9739
  */
8637
9740
  project?: string;
9741
+ /**
9742
+ * Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
9743
+ */
9744
+ reconcilePscNetworking?: boolean;
9745
+ /**
9746
+ * Optional. Set PSC config to the same value as the existing config and force reconcile the PSC networking.
9747
+ */
9748
+ reconcilePscNetworkingForce?: boolean;
8638
9749
  /**
8639
9750
  * Request body metadata
8640
9751
  */
@@ -8655,6 +9766,10 @@ export declare namespace sqladmin_v1beta4 {
8655
9766
  * Required. Cloud SQL instance ID. This does not include the project ID.
8656
9767
  */
8657
9768
  instance?: string;
9769
+ /**
9770
+ * Optional. Region of the Cloud SQL instance.
9771
+ */
9772
+ location?: string;
8658
9773
  /**
8659
9774
  * Required. Project ID of the project that contains the instance.
8660
9775
  */
@@ -8673,6 +9788,10 @@ export declare namespace sqladmin_v1beta4 {
8673
9788
  * Cloud SQL read replica instance name.
8674
9789
  */
8675
9790
  instance?: string;
9791
+ /**
9792
+ * Optional. Region of the Cloud SQL instance.
9793
+ */
9794
+ location?: string;
8676
9795
  /**
8677
9796
  * ID of the project that contains the read replica.
8678
9797
  */
@@ -8683,6 +9802,10 @@ export declare namespace sqladmin_v1beta4 {
8683
9802
  * Cloud SQL instance ID. This does not include the project ID.
8684
9803
  */
8685
9804
  instance?: string;
9805
+ /**
9806
+ * Optional. Region of the Cloud SQL instance.
9807
+ */
9808
+ location?: string;
8686
9809
  /**
8687
9810
  * ID of the project that contains the instance.
8688
9811
  */
@@ -8697,6 +9820,10 @@ export declare namespace sqladmin_v1beta4 {
8697
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).
8698
9821
  */
8699
9822
  instance?: string;
9823
+ /**
9824
+ * Optional. Region of the Cloud SQL instance.
9825
+ */
9826
+ location?: string;
8700
9827
  /**
8701
9828
  * Required. The ID of the project that contains the instance (Example: project-id).
8702
9829
  */
@@ -8707,6 +9834,10 @@ export declare namespace sqladmin_v1beta4 {
8707
9834
  * Cloud SQL instance ID. This does not include the project ID.
8708
9835
  */
8709
9836
  instance?: string;
9837
+ /**
9838
+ * Optional. Region of the Cloud SQL instance.
9839
+ */
9840
+ location?: string;
8710
9841
  /**
8711
9842
  * Optional. Reset SSL mode to use.
8712
9843
  */
@@ -8721,6 +9852,10 @@ export declare namespace sqladmin_v1beta4 {
8721
9852
  * Cloud SQL instance ID. This does not include the project ID.
8722
9853
  */
8723
9854
  instance?: string;
9855
+ /**
9856
+ * Optional. Region of the Cloud SQL instance.
9857
+ */
9858
+ location?: string;
8724
9859
  /**
8725
9860
  * Project ID of the project that contains the instance to be restarted.
8726
9861
  */
@@ -8731,6 +9866,10 @@ export declare namespace sqladmin_v1beta4 {
8731
9866
  * Cloud SQL instance ID. This does not include the project ID.
8732
9867
  */
8733
9868
  instance?: string;
9869
+ /**
9870
+ * Optional. Region of the Cloud SQL instance.
9871
+ */
9872
+ location?: string;
8734
9873
  /**
8735
9874
  * Project ID of the project that contains the instance.
8736
9875
  */
@@ -8745,6 +9884,10 @@ export declare namespace sqladmin_v1beta4 {
8745
9884
  * Required. Cloud SQL instance ID. This does not include the project ID.
8746
9885
  */
8747
9886
  instance?: string;
9887
+ /**
9888
+ * Optional. Region of the Cloud SQL instance.
9889
+ */
9890
+ location?: string;
8748
9891
  /**
8749
9892
  * Required. Project ID of the project that contains the instance.
8750
9893
  */
@@ -8759,6 +9902,10 @@ export declare namespace sqladmin_v1beta4 {
8759
9902
  * Cloud SQL instance ID. This does not include the project ID.
8760
9903
  */
8761
9904
  instance?: string;
9905
+ /**
9906
+ * Optional. Region of the Cloud SQL instance.
9907
+ */
9908
+ location?: string;
8762
9909
  /**
8763
9910
  * Project ID of the project that contains the instance.
8764
9911
  */
@@ -8773,6 +9920,10 @@ export declare namespace sqladmin_v1beta4 {
8773
9920
  * Required. Cloud SQL instance ID. This does not include the project ID.
8774
9921
  */
8775
9922
  instance?: string;
9923
+ /**
9924
+ * Optional. Region of the Cloud SQL instance.
9925
+ */
9926
+ location?: string;
8776
9927
  /**
8777
9928
  * Required. Project ID of the project that contains the instance.
8778
9929
  */
@@ -8787,6 +9938,10 @@ export declare namespace sqladmin_v1beta4 {
8787
9938
  * Cloud SQL read replica instance name.
8788
9939
  */
8789
9940
  instance?: string;
9941
+ /**
9942
+ * Optional. Region of the Cloud SQL instance.
9943
+ */
9944
+ location?: string;
8790
9945
  /**
8791
9946
  * ID of the project that contains the read replica.
8792
9947
  */
@@ -8797,6 +9952,10 @@ export declare namespace sqladmin_v1beta4 {
8797
9952
  * Cloud SQL read replica instance name.
8798
9953
  */
8799
9954
  instance?: string;
9955
+ /**
9956
+ * Optional. Region of the Cloud SQL instance.
9957
+ */
9958
+ location?: string;
8800
9959
  /**
8801
9960
  * ID of the project that contains the read replica.
8802
9961
  */
@@ -8811,6 +9970,10 @@ export declare namespace sqladmin_v1beta4 {
8811
9970
  * Cloud SQL read replica instance name.
8812
9971
  */
8813
9972
  instance?: string;
9973
+ /**
9974
+ * Optional. Region of the Cloud SQL instance.
9975
+ */
9976
+ location?: string;
8814
9977
  /**
8815
9978
  * ID of the project that contains the replica.
8816
9979
  */
@@ -8821,6 +9984,10 @@ export declare namespace sqladmin_v1beta4 {
8821
9984
  * Cloud SQL instance ID. This does not include the project ID.
8822
9985
  */
8823
9986
  instance?: string;
9987
+ /**
9988
+ * Optional. Region of the Cloud SQL instance.
9989
+ */
9990
+ location?: string;
8824
9991
  /**
8825
9992
  * Project ID of the Cloud SQL project.
8826
9993
  */
@@ -8835,6 +10002,10 @@ export declare namespace sqladmin_v1beta4 {
8835
10002
  * Cloud SQL instance ID. This does not include the project ID.
8836
10003
  */
8837
10004
  instance?: string;
10005
+ /**
10006
+ * Optional. Region of the Cloud SQL instance.
10007
+ */
10008
+ location?: string;
8838
10009
  /**
8839
10010
  * Project ID of the project that contains the instance.
8840
10011
  */
@@ -8881,6 +10052,8 @@ export declare namespace sqladmin_v1beta4 {
8881
10052
  *
8882
10053
  * // Do the magic
8883
10054
  * const res = await sql.operations.cancel({
10055
+ * // Optional. Region of the Cloud SQL instance.
10056
+ * location: 'placeholder-value',
8884
10057
  * // Instance operation ID.
8885
10058
  * operation: 'placeholder-value',
8886
10059
  * // Project ID of the project that contains the instance.
@@ -8944,6 +10117,8 @@ export declare namespace sqladmin_v1beta4 {
8944
10117
  *
8945
10118
  * // Do the magic
8946
10119
  * const res = await sql.operations.get({
10120
+ * // Optional. Region of the Cloud SQL instance.
10121
+ * location: 'placeholder-value',
8947
10122
  * // Instance operation ID.
8948
10123
  * operation: 'placeholder-value',
8949
10124
  * // Project ID of the project that contains the instance.
@@ -9030,6 +10205,8 @@ export declare namespace sqladmin_v1beta4 {
9030
10205
  * const res = await sql.operations.list({
9031
10206
  * // Cloud SQL instance ID. This does not include the project ID.
9032
10207
  * instance: 'placeholder-value',
10208
+ * // Optional. Region of the Cloud SQL instance.
10209
+ * location: 'placeholder-value',
9033
10210
  * // Maximum number of operations per response.
9034
10211
  * maxResults: 'placeholder-value',
9035
10212
  * // A previously-returned page token representing part of the larger set of results to view.
@@ -9067,6 +10244,10 @@ export declare namespace sqladmin_v1beta4 {
9067
10244
  list(callback: BodyResponseCallback<Schema$OperationsListResponse>): void;
9068
10245
  }
9069
10246
  export interface Params$Resource$Operations$Cancel extends StandardParameters {
10247
+ /**
10248
+ * Optional. Region of the Cloud SQL instance.
10249
+ */
10250
+ location?: string;
9070
10251
  /**
9071
10252
  * Instance operation ID.
9072
10253
  */
@@ -9077,6 +10258,10 @@ export declare namespace sqladmin_v1beta4 {
9077
10258
  project?: string;
9078
10259
  }
9079
10260
  export interface Params$Resource$Operations$Get extends StandardParameters {
10261
+ /**
10262
+ * Optional. Region of the Cloud SQL instance.
10263
+ */
10264
+ location?: string;
9080
10265
  /**
9081
10266
  * Instance operation ID.
9082
10267
  */
@@ -9091,6 +10276,10 @@ export declare namespace sqladmin_v1beta4 {
9091
10276
  * Cloud SQL instance ID. This does not include the project ID.
9092
10277
  */
9093
10278
  instance?: string;
10279
+ /**
10280
+ * Optional. Region of the Cloud SQL instance.
10281
+ */
10282
+ location?: string;
9094
10283
  /**
9095
10284
  * Maximum number of operations per response.
9096
10285
  */
@@ -9148,6 +10337,8 @@ export declare namespace sqladmin_v1beta4 {
9148
10337
  * const res = await sql.projects.instances.getDiskShrinkConfig({
9149
10338
  * // Cloud SQL instance ID. This does not include the project ID.
9150
10339
  * instance: 'placeholder-value',
10340
+ * // Optional. Region of the Cloud SQL instance.
10341
+ * location: 'placeholder-value',
9151
10342
  * // Project ID of the project that contains the instance.
9152
10343
  * project: 'placeholder-value',
9153
10344
  * });
@@ -9215,6 +10406,8 @@ export declare namespace sqladmin_v1beta4 {
9215
10406
  * const res = await sql.projects.instances.getLatestRecoveryTime({
9216
10407
  * // Cloud SQL instance ID. This does not include the project ID.
9217
10408
  * instance: 'placeholder-value',
10409
+ * // Optional. Region of the Cloud SQL instance.
10410
+ * location: 'placeholder-value',
9218
10411
  * // Project ID of the project that contains the instance.
9219
10412
  * project: 'placeholder-value',
9220
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.
@@ -9284,6 +10477,8 @@ export declare namespace sqladmin_v1beta4 {
9284
10477
  * const res = await sql.projects.instances.performDiskShrink({
9285
10478
  * // Cloud SQL instance ID. This does not include the project ID.
9286
10479
  * instance: 'placeholder-value',
10480
+ * // Optional. Region of the Cloud SQL instance.
10481
+ * location: 'placeholder-value',
9287
10482
  * // Project ID of the project that contains the instance.
9288
10483
  * project: 'placeholder-value',
9289
10484
  *
@@ -9376,6 +10571,8 @@ export declare namespace sqladmin_v1beta4 {
9376
10571
  * const res = await sql.projects.instances.rescheduleMaintenance({
9377
10572
  * // Cloud SQL instance ID. This does not include the project ID.
9378
10573
  * instance: 'placeholder-value',
10574
+ * // Optional. Region of the Cloud SQL instance.
10575
+ * location: 'placeholder-value',
9379
10576
  * // ID of the project that contains the instance.
9380
10577
  * project: 'placeholder-value',
9381
10578
  *
@@ -9474,7 +10671,9 @@ export declare namespace sqladmin_v1beta4 {
9474
10671
  * // Request body metadata
9475
10672
  * requestBody: {
9476
10673
  * // request body parameters
9477
- * // {}
10674
+ * // {
10675
+ * // "location": "my_location"
10676
+ * // }
9478
10677
  * },
9479
10678
  * });
9480
10679
  * console.log(res.data);
@@ -9565,6 +10764,7 @@ export declare namespace sqladmin_v1beta4 {
9565
10764
  * requestBody: {
9566
10765
  * // request body parameters
9567
10766
  * // {
10767
+ * // "location": "my_location",
9568
10768
  * // "migrationType": "my_migrationType",
9569
10769
  * // "mysqlSyncConfig": {},
9570
10770
  * // "replicaOverwriteEnabled": false,
@@ -9662,6 +10862,7 @@ export declare namespace sqladmin_v1beta4 {
9662
10862
  * requestBody: {
9663
10863
  * // request body parameters
9664
10864
  * // {
10865
+ * // "location": "my_location",
9665
10866
  * // "migrationType": "my_migrationType",
9666
10867
  * // "mysqlSyncConfig": {},
9667
10868
  * // "selectedObjects": [],
@@ -9706,6 +10907,10 @@ export declare namespace sqladmin_v1beta4 {
9706
10907
  * Cloud SQL instance ID. This does not include the project ID.
9707
10908
  */
9708
10909
  instance?: string;
10910
+ /**
10911
+ * Optional. Region of the Cloud SQL instance.
10912
+ */
10913
+ location?: string;
9709
10914
  /**
9710
10915
  * Project ID of the project that contains the instance.
9711
10916
  */
@@ -9716,6 +10921,10 @@ export declare namespace sqladmin_v1beta4 {
9716
10921
  * Cloud SQL instance ID. This does not include the project ID.
9717
10922
  */
9718
10923
  instance?: string;
10924
+ /**
10925
+ * Optional. Region of the Cloud SQL instance.
10926
+ */
10927
+ location?: string;
9719
10928
  /**
9720
10929
  * Project ID of the project that contains the instance.
9721
10930
  */
@@ -9730,6 +10939,10 @@ export declare namespace sqladmin_v1beta4 {
9730
10939
  * Cloud SQL instance ID. This does not include the project ID.
9731
10940
  */
9732
10941
  instance?: string;
10942
+ /**
10943
+ * Optional. Region of the Cloud SQL instance.
10944
+ */
10945
+ location?: string;
9733
10946
  /**
9734
10947
  * Project ID of the project that contains the instance.
9735
10948
  */
@@ -9744,6 +10957,10 @@ export declare namespace sqladmin_v1beta4 {
9744
10957
  * Cloud SQL instance ID. This does not include the project ID.
9745
10958
  */
9746
10959
  instance?: string;
10960
+ /**
10961
+ * Optional. Region of the Cloud SQL instance.
10962
+ */
10963
+ location?: string;
9747
10964
  /**
9748
10965
  * ID of the project that contains the instance.
9749
10966
  */
@@ -9834,6 +11051,8 @@ export declare namespace sqladmin_v1beta4 {
9834
11051
  * const res = await sql.sslCerts.createEphemeral({
9835
11052
  * // Cloud SQL instance ID. This does not include the project ID.
9836
11053
  * instance: 'placeholder-value',
11054
+ * // Optional. Region of the Cloud SQL instance.
11055
+ * location: 'placeholder-value',
9837
11056
  * // Project ID of the Cloud SQL project.
9838
11057
  * project: 'placeholder-value',
9839
11058
  *
@@ -10189,6 +11408,10 @@ export declare namespace sqladmin_v1beta4 {
10189
11408
  * Cloud SQL instance ID. This does not include the project ID.
10190
11409
  */
10191
11410
  instance?: string;
11411
+ /**
11412
+ * Optional. Region of the Cloud SQL instance.
11413
+ */
11414
+ location?: string;
10192
11415
  /**
10193
11416
  * Project ID of the Cloud SQL project.
10194
11417
  */
@@ -10365,6 +11588,8 @@ export declare namespace sqladmin_v1beta4 {
10365
11588
  * host: 'placeholder-value',
10366
11589
  * // Database instance ID. This does not include the project ID.
10367
11590
  * instance: 'placeholder-value',
11591
+ * // Optional. Region of the Cloud SQL instance.
11592
+ * location: 'placeholder-value',
10368
11593
  * // Name of the user in the instance.
10369
11594
  * name: 'placeholder-value',
10370
11595
  * // Project ID of the project that contains the instance.
@@ -10453,6 +11678,8 @@ export declare namespace sqladmin_v1beta4 {
10453
11678
  * host: 'placeholder-value',
10454
11679
  * // Database instance ID. This does not include the project ID.
10455
11680
  * instance: 'placeholder-value',
11681
+ * // Optional. Region of the Cloud SQL instance.
11682
+ * location: 'placeholder-value',
10456
11683
  * // User of the instance.
10457
11684
  * name: 'placeholder-value',
10458
11685
  * // Project ID of the project that contains the instance.
@@ -10474,6 +11701,7 @@ export declare namespace sqladmin_v1beta4 {
10474
11701
  * // "password": "my_password",
10475
11702
  * // "passwordPolicy": {},
10476
11703
  * // "project": "my_project",
11704
+ * // "serverRoles": [],
10477
11705
  * // "sqlserverUserDetails": {},
10478
11706
  * // "type": "my_type"
10479
11707
  * // }
@@ -10533,6 +11761,8 @@ export declare namespace sqladmin_v1beta4 {
10533
11761
  * const res = await sql.users.insert({
10534
11762
  * // Database instance ID. This does not include the project ID.
10535
11763
  * instance: 'placeholder-value',
11764
+ * // Optional. Region of the Cloud SQL instance.
11765
+ * location: 'placeholder-value',
10536
11766
  * // Project ID of the project that contains the instance.
10537
11767
  * project: 'placeholder-value',
10538
11768
  *
@@ -10552,6 +11782,7 @@ export declare namespace sqladmin_v1beta4 {
10552
11782
  * // "password": "my_password",
10553
11783
  * // "passwordPolicy": {},
10554
11784
  * // "project": "my_project",
11785
+ * // "serverRoles": [],
10555
11786
  * // "sqlserverUserDetails": {},
10556
11787
  * // "type": "my_type"
10557
11788
  * // }
@@ -10638,6 +11869,8 @@ export declare namespace sqladmin_v1beta4 {
10638
11869
  * const res = await sql.users.list({
10639
11870
  * // Database instance ID. This does not include the project ID.
10640
11871
  * instance: 'placeholder-value',
11872
+ * // Optional. Region of the Cloud SQL instance.
11873
+ * location: 'placeholder-value',
10641
11874
  * // Project ID of the project that contains the instance.
10642
11875
  * project: 'placeholder-value',
10643
11876
  * });
@@ -10709,12 +11942,18 @@ export declare namespace sqladmin_v1beta4 {
10709
11942
  * host: 'placeholder-value',
10710
11943
  * // Database instance ID. This does not include the project ID.
10711
11944
  * instance: 'placeholder-value',
11945
+ * // Optional. Region of the Cloud SQL instance.
11946
+ * location: 'placeholder-value',
10712
11947
  * // Name of the user in the instance.
10713
11948
  * name: 'placeholder-value',
10714
11949
  * // Project ID of the project that contains the instance.
10715
11950
  * project: 'placeholder-value',
10716
11951
  * // Optional. Specifies whether to revoke existing roles that are not present in the `database_roles` field. If `false` or unset, the database roles specified in `database_roles` are added to the user's existing roles.
10717
11952
  * revokeExistingRoles: 'placeholder-value',
11953
+ * // Optional. Specifies whether to revoke existing roles that are not present in the `server_roles` field. If `false` or unset, the server roles specified in `server_roles` are added to the user's existing server roles.
11954
+ * revokeExistingServerRoles: 'placeholder-value',
11955
+ * // Optional. The server roles to grant to the SQL Server login. Existing server roles will not be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update request.
11956
+ * serverRoles: 'placeholder-value',
10718
11957
  *
10719
11958
  * // Request body metadata
10720
11959
  * requestBody: {
@@ -10732,6 +11971,7 @@ export declare namespace sqladmin_v1beta4 {
10732
11971
  * // "password": "my_password",
10733
11972
  * // "passwordPolicy": {},
10734
11973
  * // "project": "my_project",
11974
+ * // "serverRoles": [],
10735
11975
  * // "sqlserverUserDetails": {},
10736
11976
  * // "type": "my_type"
10737
11977
  * // }
@@ -10792,6 +12032,10 @@ export declare namespace sqladmin_v1beta4 {
10792
12032
  * Database instance ID. This does not include the project ID.
10793
12033
  */
10794
12034
  instance?: string;
12035
+ /**
12036
+ * Optional. Region of the Cloud SQL instance.
12037
+ */
12038
+ location?: string;
10795
12039
  /**
10796
12040
  * Name of the user in the instance.
10797
12041
  */
@@ -10810,6 +12054,10 @@ export declare namespace sqladmin_v1beta4 {
10810
12054
  * Database instance ID. This does not include the project ID.
10811
12055
  */
10812
12056
  instance?: string;
12057
+ /**
12058
+ * Optional. Region of the Cloud SQL instance.
12059
+ */
12060
+ location?: string;
10813
12061
  /**
10814
12062
  * User of the instance.
10815
12063
  */
@@ -10824,6 +12072,10 @@ export declare namespace sqladmin_v1beta4 {
10824
12072
  * Database instance ID. This does not include the project ID.
10825
12073
  */
10826
12074
  instance?: string;
12075
+ /**
12076
+ * Optional. Region of the Cloud SQL instance.
12077
+ */
12078
+ location?: string;
10827
12079
  /**
10828
12080
  * Project ID of the project that contains the instance.
10829
12081
  */
@@ -10838,6 +12090,10 @@ export declare namespace sqladmin_v1beta4 {
10838
12090
  * Database instance ID. This does not include the project ID.
10839
12091
  */
10840
12092
  instance?: string;
12093
+ /**
12094
+ * Optional. Region of the Cloud SQL instance.
12095
+ */
12096
+ location?: string;
10841
12097
  /**
10842
12098
  * Project ID of the project that contains the instance.
10843
12099
  */
@@ -10856,6 +12112,10 @@ export declare namespace sqladmin_v1beta4 {
10856
12112
  * Database instance ID. This does not include the project ID.
10857
12113
  */
10858
12114
  instance?: string;
12115
+ /**
12116
+ * Optional. Region of the Cloud SQL instance.
12117
+ */
12118
+ location?: string;
10859
12119
  /**
10860
12120
  * Name of the user in the instance.
10861
12121
  */
@@ -10868,6 +12128,14 @@ export declare namespace sqladmin_v1beta4 {
10868
12128
  * Optional. Specifies whether to revoke existing roles that are not present in the `database_roles` field. If `false` or unset, the database roles specified in `database_roles` are added to the user's existing roles.
10869
12129
  */
10870
12130
  revokeExistingRoles?: boolean;
12131
+ /**
12132
+ * Optional. Specifies whether to revoke existing roles that are not present in the `server_roles` field. If `false` or unset, the server roles specified in `server_roles` are added to the user's existing server roles.
12133
+ */
12134
+ revokeExistingServerRoles?: boolean;
12135
+ /**
12136
+ * Optional. The server roles to grant to the SQL Server login. Existing server roles will not be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update request.
12137
+ */
12138
+ serverRoles?: string[];
10871
12139
  /**
10872
12140
  * Request body metadata
10873
12141
  */