google-cloud-sql-v1 0.1.0 → 0.4.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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +9 -2
  4. data/lib/google/cloud/sql/v1/cloud_sql_connect_pb.rb +2 -1
  5. data/lib/google/cloud/sql/v1/cloud_sql_connect_services_pb.rb +3 -0
  6. data/lib/google/cloud/sql/v1/cloud_sql_databases_pb.rb +2 -1
  7. data/lib/google/cloud/sql/v1/cloud_sql_instances_pb.rb +3 -1
  8. data/lib/google/cloud/sql/v1/cloud_sql_operations_pb.rb +1 -1
  9. data/lib/google/cloud/sql/v1/cloud_sql_resources_pb.rb +3 -1
  10. data/lib/google/cloud/sql/v1/cloud_sql_ssl_certs_pb.rb +2 -1
  11. data/lib/google/cloud/sql/v1/cloud_sql_users_pb.rb +1 -1
  12. data/lib/google/cloud/sql/v1/sql_backups_service/paths.rb +19 -0
  13. data/lib/google/cloud/sql/v1/sql_connect_service/client.rb +98 -0
  14. data/lib/google/cloud/sql/v1/sql_connect_service/rest/client.rb +88 -0
  15. data/lib/google/cloud/sql/v1/sql_connect_service/rest/service_stub.rb +62 -0
  16. data/lib/google/cloud/sql/v1/sql_databases_service/client.rb +18 -6
  17. data/lib/google/cloud/sql/v1/sql_databases_service/rest/client.rb +18 -6
  18. data/lib/google/cloud/sql/v1/sql_instances_service/client.rb +137 -44
  19. data/lib/google/cloud/sql/v1/sql_instances_service/paths.rb +64 -0
  20. data/lib/google/cloud/sql/v1/sql_instances_service/rest/client.rb +132 -42
  21. data/lib/google/cloud/sql/v1/sql_operations_service/client.rb +9 -3
  22. data/lib/google/cloud/sql/v1/sql_operations_service/rest/client.rb +9 -3
  23. data/lib/google/cloud/sql/v1/sql_users_service/client.rb +23 -5
  24. data/lib/google/cloud/sql/v1/sql_users_service/rest/client.rb +23 -5
  25. data/lib/google/cloud/sql/v1/version.rb +1 -1
  26. data/lib/google/cloud/sql/v1.rb +0 -6
  27. data/proto_docs/google/api/routing.rb +463 -0
  28. data/proto_docs/google/cloud/sql/v1/cloud_sql_connect.rb +16 -0
  29. data/proto_docs/google/cloud/sql/v1/cloud_sql_databases.rb +15 -0
  30. data/proto_docs/google/cloud/sql/v1/cloud_sql_instances.rb +174 -1
  31. data/proto_docs/google/cloud/sql/v1/cloud_sql_operations.rb +9 -0
  32. data/proto_docs/google/cloud/sql/v1/cloud_sql_resources.rb +126 -14
  33. data/proto_docs/google/cloud/sql/v1/cloud_sql_users.rb +32 -0
  34. data/proto_docs/google/protobuf/timestamp.rb +7 -6
  35. metadata +6 -5
@@ -211,7 +211,7 @@ module Google
211
211
  # @param options [::Gapic::CallOptions, ::Hash]
212
212
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
213
213
  #
214
- # @overload add_server_ca(instance: nil, project: nil)
214
+ # @overload add_server_ca(instance: nil, project: nil, location: nil)
215
215
  # Pass arguments to `add_server_ca` via keyword arguments. Note that at
216
216
  # least one keyword argument is required. To specify no parameters, or to keep all
217
217
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -220,6 +220,8 @@ module Google
220
220
  # Cloud SQL instance ID. This does not include the project ID.
221
221
  # @param project [::String]
222
222
  # Project ID of the project that contains the instance.
223
+ # @param location [::String]
224
+ # Optional. Region of the Cloud SQL instance.
223
225
  # @yield [result, operation] Access the result along with the TransportOperation object
224
226
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
225
227
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -297,7 +299,7 @@ module Google
297
299
  # @param options [::Gapic::CallOptions, ::Hash]
298
300
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
299
301
  #
300
- # @overload add_server_certificate(instance: nil, project: nil)
302
+ # @overload add_server_certificate(instance: nil, project: nil, location: nil)
301
303
  # Pass arguments to `add_server_certificate` via keyword arguments. Note that at
302
304
  # least one keyword argument is required. To specify no parameters, or to keep all
303
305
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -306,6 +308,8 @@ module Google
306
308
  # Cloud SQL instance ID. This does not include the project ID.
307
309
  # @param project [::String]
308
310
  # Project ID of the project that contains the instance.
311
+ # @param location [::String]
312
+ # Optional. Region of the Cloud SQL instance.
309
313
  # @yield [result, operation] Access the result along with the TransportOperation object
310
314
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
311
315
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -379,7 +383,7 @@ module Google
379
383
  # @param options [::Gapic::CallOptions, ::Hash]
380
384
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
381
385
  #
382
- # @overload add_entra_id_certificate(instance: nil, project: nil)
386
+ # @overload add_entra_id_certificate(instance: nil, project: nil, location: nil)
383
387
  # Pass arguments to `add_entra_id_certificate` via keyword arguments. Note that at
384
388
  # least one keyword argument is required. To specify no parameters, or to keep all
385
389
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -388,6 +392,8 @@ module Google
388
392
  # Required. Cloud SQL instance ID. This does not include the project ID.
389
393
  # @param project [::String]
390
394
  # Required. Project ID of the project that contains the instance.
395
+ # @param location [::String]
396
+ # Optional. Region of the Cloud SQL instance.
391
397
  # @yield [result, operation] Access the result along with the TransportOperation object
392
398
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
393
399
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -460,7 +466,7 @@ module Google
460
466
  # @param options [::Gapic::CallOptions, ::Hash]
461
467
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
462
468
  #
463
- # @overload call_clone(instance: nil, project: nil, body: nil)
469
+ # @overload call_clone(instance: nil, project: nil, body: nil, location: nil)
464
470
  # Pass arguments to `call_clone` via keyword arguments. Note that at
465
471
  # least one keyword argument is required. To specify no parameters, or to keep all
466
472
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -471,6 +477,8 @@ module Google
471
477
  # @param project [::String]
472
478
  # Required. Project ID of the source Cloud SQL instance.
473
479
  # @param body [::Google::Cloud::Sql::V1::InstancesCloneRequest, ::Hash]
480
+ # @param location [::String]
481
+ # Optional. Region of the Cloud SQL instance.
474
482
  # @yield [result, operation] Access the result along with the TransportOperation object
475
483
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
476
484
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -542,7 +550,7 @@ module Google
542
550
  # @param options [::Gapic::CallOptions, ::Hash]
543
551
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
544
552
  #
545
- # @overload delete(instance: nil, project: nil, enable_final_backup: nil, final_backup_ttl_days: nil, final_backup_expiry_time: nil, final_backup_description: nil)
553
+ # @overload delete(instance: nil, project: nil, enable_final_backup: nil, final_backup_ttl_days: nil, final_backup_expiry_time: nil, final_backup_description: nil, location: nil)
546
554
  # Pass arguments to `delete` via keyword arguments. Note that at
547
555
  # least one keyword argument is required. To specify no parameters, or to keep all
548
556
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -564,6 +572,8 @@ module Google
564
572
  # Note: The following parameters are mutually exclusive: `final_backup_expiry_time`, `final_backup_ttl_days`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
565
573
  # @param final_backup_description [::String]
566
574
  # Optional. The description of the final backup.
575
+ # @param location [::String]
576
+ # Optional. Region of the Cloud SQL instance.
567
577
  # @yield [result, operation] Access the result along with the TransportOperation object
568
578
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
569
579
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -636,7 +646,7 @@ module Google
636
646
  # @param options [::Gapic::CallOptions, ::Hash]
637
647
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
638
648
  #
639
- # @overload demote_master(instance: nil, project: nil, body: nil)
649
+ # @overload demote_master(instance: nil, project: nil, body: nil, location: nil)
640
650
  # Pass arguments to `demote_master` via keyword arguments. Note that at
641
651
  # least one keyword argument is required. To specify no parameters, or to keep all
642
652
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -646,6 +656,8 @@ module Google
646
656
  # @param project [::String]
647
657
  # ID of the project that contains the instance.
648
658
  # @param body [::Google::Cloud::Sql::V1::InstancesDemoteMasterRequest, ::Hash]
659
+ # @param location [::String]
660
+ # Optional. Region of the Cloud SQL instance.
649
661
  # @yield [result, operation] Access the result along with the TransportOperation object
650
662
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
651
663
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -718,7 +730,7 @@ module Google
718
730
  # @param options [::Gapic::CallOptions, ::Hash]
719
731
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
720
732
  #
721
- # @overload demote(instance: nil, project: nil, body: nil)
733
+ # @overload demote(instance: nil, project: nil, body: nil, location: nil)
722
734
  # Pass arguments to `demote` via keyword arguments. Note that at
723
735
  # least one keyword argument is required. To specify no parameters, or to keep all
724
736
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -729,6 +741,8 @@ module Google
729
741
  # Required. ID of the project that contains the instance.
730
742
  # @param body [::Google::Cloud::Sql::V1::InstancesDemoteRequest, ::Hash]
731
743
  # Required. The request body.
744
+ # @param location [::String]
745
+ # Optional. Region of the Cloud SQL instance.
732
746
  # @yield [result, operation] Access the result along with the TransportOperation object
733
747
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
734
748
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -801,7 +815,7 @@ module Google
801
815
  # @param options [::Gapic::CallOptions, ::Hash]
802
816
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
803
817
  #
804
- # @overload export(instance: nil, project: nil, body: nil)
818
+ # @overload export(instance: nil, project: nil, body: nil, location: nil)
805
819
  # Pass arguments to `export` via keyword arguments. Note that at
806
820
  # least one keyword argument is required. To specify no parameters, or to keep all
807
821
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -811,6 +825,8 @@ module Google
811
825
  # @param project [::String]
812
826
  # Project ID of the project that contains the instance to be exported.
813
827
  # @param body [::Google::Cloud::Sql::V1::InstancesExportRequest, ::Hash]
828
+ # @param location [::String]
829
+ # Optional. Region of the Cloud SQL instance.
814
830
  # @yield [result, operation] Access the result along with the TransportOperation object
815
831
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
816
832
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -889,7 +905,7 @@ module Google
889
905
  # @param options [::Gapic::CallOptions, ::Hash]
890
906
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
891
907
  #
892
- # @overload failover(instance: nil, project: nil, body: nil)
908
+ # @overload failover(instance: nil, project: nil, body: nil, location: nil)
893
909
  # Pass arguments to `failover` via keyword arguments. Note that at
894
910
  # least one keyword argument is required. To specify no parameters, or to keep all
895
911
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -899,6 +915,8 @@ module Google
899
915
  # @param project [::String]
900
916
  # ID of the project that contains the read replica.
901
917
  # @param body [::Google::Cloud::Sql::V1::InstancesFailoverRequest, ::Hash]
918
+ # @param location [::String]
919
+ # Optional. Region of the Cloud SQL instance.
902
920
  # @yield [result, operation] Access the result along with the TransportOperation object
903
921
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
904
922
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -970,7 +988,7 @@ module Google
970
988
  # @param options [::Gapic::CallOptions, ::Hash]
971
989
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
972
990
  #
973
- # @overload reencrypt(instance: nil, project: nil, body: nil)
991
+ # @overload reencrypt(instance: nil, project: nil, body: nil, location: nil)
974
992
  # Pass arguments to `reencrypt` via keyword arguments. Note that at
975
993
  # least one keyword argument is required. To specify no parameters, or to keep all
976
994
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -981,6 +999,8 @@ module Google
981
999
  # ID of the project that contains the instance.
982
1000
  # @param body [::Google::Cloud::Sql::V1::InstancesReencryptRequest, ::Hash]
983
1001
  # Reencrypt body that users request
1002
+ # @param location [::String]
1003
+ # Optional. Region of the Cloud SQL instance.
984
1004
  # @yield [result, operation] Access the result along with the TransportOperation object
985
1005
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
986
1006
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1052,7 +1072,7 @@ module Google
1052
1072
  # @param options [::Gapic::CallOptions, ::Hash]
1053
1073
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1054
1074
  #
1055
- # @overload get(instance: nil, project: nil)
1075
+ # @overload get(instance: nil, project: nil, location: nil)
1056
1076
  # Pass arguments to `get` via keyword arguments. Note that at
1057
1077
  # least one keyword argument is required. To specify no parameters, or to keep all
1058
1078
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1061,6 +1081,8 @@ module Google
1061
1081
  # Required. Database instance ID. This does not include the project ID.
1062
1082
  # @param project [::String]
1063
1083
  # Required. Project ID of the project that contains the instance.
1084
+ # @param location [::String]
1085
+ # Optional. Region of the Cloud SQL instance.
1064
1086
  # @yield [result, operation] Access the result along with the TransportOperation object
1065
1087
  # @yieldparam result [::Google::Cloud::Sql::V1::DatabaseInstance]
1066
1088
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1133,7 +1155,7 @@ module Google
1133
1155
  # @param options [::Gapic::CallOptions, ::Hash]
1134
1156
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1135
1157
  #
1136
- # @overload import(instance: nil, project: nil, body: nil)
1158
+ # @overload import(instance: nil, project: nil, body: nil, location: nil)
1137
1159
  # Pass arguments to `import` via keyword arguments. Note that at
1138
1160
  # least one keyword argument is required. To specify no parameters, or to keep all
1139
1161
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1143,6 +1165,8 @@ module Google
1143
1165
  # @param project [::String]
1144
1166
  # Project ID of the project that contains the instance.
1145
1167
  # @param body [::Google::Cloud::Sql::V1::InstancesImportRequest, ::Hash]
1168
+ # @param location [::String]
1169
+ # Optional. Region of the Cloud SQL instance.
1146
1170
  # @yield [result, operation] Access the result along with the TransportOperation object
1147
1171
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
1148
1172
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1214,7 +1238,7 @@ module Google
1214
1238
  # @param options [::Gapic::CallOptions, ::Hash]
1215
1239
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1216
1240
  #
1217
- # @overload insert(project: nil, body: nil)
1241
+ # @overload insert(project: nil, body: nil, location: nil)
1218
1242
  # Pass arguments to `insert` via keyword arguments. Note that at
1219
1243
  # least one keyword argument is required. To specify no parameters, or to keep all
1220
1244
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1223,6 +1247,8 @@ module Google
1223
1247
  # Project ID of the project to which the newly created Cloud SQL instances
1224
1248
  # should belong.
1225
1249
  # @param body [::Google::Cloud::Sql::V1::DatabaseInstance, ::Hash]
1250
+ # @param location [::String]
1251
+ # Optional. Region of the Cloud SQL instance.
1226
1252
  # @yield [result, operation] Access the result along with the TransportOperation object
1227
1253
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
1228
1254
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1294,7 +1320,7 @@ module Google
1294
1320
  # @param options [::Gapic::CallOptions, ::Hash]
1295
1321
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1296
1322
  #
1297
- # @overload list(filter: nil, max_results: nil, page_token: nil, project: nil)
1323
+ # @overload list(filter: nil, max_results: nil, page_token: nil, project: nil, location: nil)
1298
1324
  # Pass arguments to `list` via keyword arguments. Note that at
1299
1325
  # least one keyword argument is required. To specify no parameters, or to keep all
1300
1326
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1319,6 +1345,8 @@ module Google
1319
1345
  # results to view.
1320
1346
  # @param project [::String]
1321
1347
  # Project ID of the project for which to list Cloud SQL instances.
1348
+ # @param location [::String]
1349
+ # Optional. Region of the Cloud SQL instance.
1322
1350
  # @yield [result, operation] Access the result along with the TransportOperation object
1323
1351
  # @yieldparam result [::Google::Cloud::Sql::V1::InstancesListResponse]
1324
1352
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1394,7 +1422,7 @@ module Google
1394
1422
  # @param options [::Gapic::CallOptions, ::Hash]
1395
1423
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1396
1424
  #
1397
- # @overload list_server_cas(instance: nil, project: nil)
1425
+ # @overload list_server_cas(instance: nil, project: nil, location: nil)
1398
1426
  # Pass arguments to `list_server_cas` via keyword arguments. Note that at
1399
1427
  # least one keyword argument is required. To specify no parameters, or to keep all
1400
1428
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1403,6 +1431,8 @@ module Google
1403
1431
  # Cloud SQL instance ID. This does not include the project ID.
1404
1432
  # @param project [::String]
1405
1433
  # Project ID of the project that contains the instance.
1434
+ # @param location [::String]
1435
+ # Optional. Region of the Cloud SQL instance.
1406
1436
  # @yield [result, operation] Access the result along with the TransportOperation object
1407
1437
  # @yieldparam result [::Google::Cloud::Sql::V1::InstancesListServerCasResponse]
1408
1438
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1479,7 +1509,7 @@ module Google
1479
1509
  # @param options [::Gapic::CallOptions, ::Hash]
1480
1510
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1481
1511
  #
1482
- # @overload list_server_certificates(instance: nil, project: nil)
1512
+ # @overload list_server_certificates(instance: nil, project: nil, location: nil)
1483
1513
  # Pass arguments to `list_server_certificates` via keyword arguments. Note that at
1484
1514
  # least one keyword argument is required. To specify no parameters, or to keep all
1485
1515
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1488,6 +1518,8 @@ module Google
1488
1518
  # Required. Cloud SQL instance ID. This does not include the project ID.
1489
1519
  # @param project [::String]
1490
1520
  # Required. Project ID of the project that contains the instance.
1521
+ # @param location [::String]
1522
+ # Optional. Region of the Cloud SQL instance.
1491
1523
  # @yield [result, operation] Access the result along with the TransportOperation object
1492
1524
  # @yieldparam result [::Google::Cloud::Sql::V1::InstancesListServerCertificatesResponse]
1493
1525
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1562,7 +1594,7 @@ module Google
1562
1594
  # @param options [::Gapic::CallOptions, ::Hash]
1563
1595
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1564
1596
  #
1565
- # @overload list_entra_id_certificates(instance: nil, project: nil)
1597
+ # @overload list_entra_id_certificates(instance: nil, project: nil, location: nil)
1566
1598
  # Pass arguments to `list_entra_id_certificates` via keyword arguments. Note that at
1567
1599
  # least one keyword argument is required. To specify no parameters, or to keep all
1568
1600
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1571,6 +1603,8 @@ module Google
1571
1603
  # Required. Cloud SQL instance ID. This does not include the project ID.
1572
1604
  # @param project [::String]
1573
1605
  # Required. Project ID of the project that contains the instance.
1606
+ # @param location [::String]
1607
+ # Optional. Region of the Cloud SQL instance.
1574
1608
  # @yield [result, operation] Access the result along with the TransportOperation object
1575
1609
  # @yieldparam result [::Google::Cloud::Sql::V1::InstancesListEntraIdCertificatesResponse]
1576
1610
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1643,7 +1677,7 @@ module Google
1643
1677
  # @param options [::Gapic::CallOptions, ::Hash]
1644
1678
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1645
1679
  #
1646
- # @overload patch(instance: nil, project: nil, body: nil)
1680
+ # @overload patch(instance: nil, project: nil, reconcile_psc_networking: nil, reconcile_psc_networking_force: nil, body: nil, location: nil)
1647
1681
  # Pass arguments to `patch` via keyword arguments. Note that at
1648
1682
  # least one keyword argument is required. To specify no parameters, or to keep all
1649
1683
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1652,7 +1686,15 @@ module Google
1652
1686
  # Cloud SQL instance ID. This does not include the project ID.
1653
1687
  # @param project [::String]
1654
1688
  # Project ID of the project that contains the instance.
1689
+ # @param reconcile_psc_networking [::Boolean]
1690
+ # Optional. Set PSC config to the same value as the existing config to
1691
+ # reconcile the PSC networking.
1692
+ # @param reconcile_psc_networking_force [::Boolean]
1693
+ # Optional. Set PSC config to the same value as the existing config and force
1694
+ # reconcile the PSC networking.
1655
1695
  # @param body [::Google::Cloud::Sql::V1::DatabaseInstance, ::Hash]
1696
+ # @param location [::String]
1697
+ # Optional. Region of the Cloud SQL instance.
1656
1698
  # @yield [result, operation] Access the result along with the TransportOperation object
1657
1699
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
1658
1700
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1726,7 +1768,7 @@ module Google
1726
1768
  # @param options [::Gapic::CallOptions, ::Hash]
1727
1769
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1728
1770
  #
1729
- # @overload promote_replica(instance: nil, project: nil, failover: nil)
1771
+ # @overload promote_replica(instance: nil, project: nil, failover: nil, location: nil)
1730
1772
  # Pass arguments to `promote_replica` via keyword arguments. Note that at
1731
1773
  # least one keyword argument is required. To specify no parameters, or to keep all
1732
1774
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1742,6 +1784,8 @@ module Google
1742
1784
  # DR replica when the original primary instance comes back online.
1743
1785
  # If set to false or not specified, then the original primary
1744
1786
  # instance becomes an independent Cloud SQL primary instance.
1787
+ # @param location [::String]
1788
+ # Optional. Region of the Cloud SQL instance.
1745
1789
  # @yield [result, operation] Access the result along with the TransportOperation object
1746
1790
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
1747
1791
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1814,7 +1858,7 @@ module Google
1814
1858
  # @param options [::Gapic::CallOptions, ::Hash]
1815
1859
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1816
1860
  #
1817
- # @overload switchover(instance: nil, project: nil, db_timeout: nil)
1861
+ # @overload switchover(instance: nil, project: nil, db_timeout: nil, location: nil)
1818
1862
  # Pass arguments to `switchover` via keyword arguments. Note that at
1819
1863
  # least one keyword argument is required. To specify no parameters, or to keep all
1820
1864
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1827,6 +1871,8 @@ module Google
1827
1871
  # Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations
1828
1872
  # timeout, which is a sum of all database operations. Default value is 10
1829
1873
  # minutes and can be modified to a maximum value of 24 hours.
1874
+ # @param location [::String]
1875
+ # Optional. Region of the Cloud SQL instance.
1830
1876
  # @yield [result, operation] Access the result along with the TransportOperation object
1831
1877
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
1832
1878
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1899,7 +1945,7 @@ module Google
1899
1945
  # @param options [::Gapic::CallOptions, ::Hash]
1900
1946
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1901
1947
  #
1902
- # @overload reset_ssl_config(instance: nil, project: nil, mode: nil)
1948
+ # @overload reset_ssl_config(instance: nil, project: nil, mode: nil, location: nil)
1903
1949
  # Pass arguments to `reset_ssl_config` via keyword arguments. Note that at
1904
1950
  # least one keyword argument is required. To specify no parameters, or to keep all
1905
1951
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1910,6 +1956,8 @@ module Google
1910
1956
  # Project ID of the project that contains the instance.
1911
1957
  # @param mode [::Google::Cloud::Sql::V1::SqlInstancesResetSslConfigRequest::ResetSslMode]
1912
1958
  # Optional. Reset SSL mode to use.
1959
+ # @param location [::String]
1960
+ # Optional. Region of the Cloud SQL instance.
1913
1961
  # @yield [result, operation] Access the result along with the TransportOperation object
1914
1962
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
1915
1963
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1981,7 +2029,7 @@ module Google
1981
2029
  # @param options [::Gapic::CallOptions, ::Hash]
1982
2030
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1983
2031
  #
1984
- # @overload restart(instance: nil, project: nil)
2032
+ # @overload restart(instance: nil, project: nil, location: nil)
1985
2033
  # Pass arguments to `restart` via keyword arguments. Note that at
1986
2034
  # least one keyword argument is required. To specify no parameters, or to keep all
1987
2035
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1990,6 +2038,8 @@ module Google
1990
2038
  # Cloud SQL instance ID. This does not include the project ID.
1991
2039
  # @param project [::String]
1992
2040
  # Project ID of the project that contains the instance to be restarted.
2041
+ # @param location [::String]
2042
+ # Optional. Region of the Cloud SQL instance.
1993
2043
  # @yield [result, operation] Access the result along with the TransportOperation object
1994
2044
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
1995
2045
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2062,7 +2112,7 @@ module Google
2062
2112
  # @param options [::Gapic::CallOptions, ::Hash]
2063
2113
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2064
2114
  #
2065
- # @overload restore_backup(instance: nil, project: nil, body: nil)
2115
+ # @overload restore_backup(instance: nil, project: nil, body: nil, location: nil)
2066
2116
  # Pass arguments to `restore_backup` via keyword arguments. Note that at
2067
2117
  # least one keyword argument is required. To specify no parameters, or to keep all
2068
2118
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2072,6 +2122,8 @@ module Google
2072
2122
  # @param project [::String]
2073
2123
  # Project ID of the project that contains the instance.
2074
2124
  # @param body [::Google::Cloud::Sql::V1::InstancesRestoreBackupRequest, ::Hash]
2125
+ # @param location [::String]
2126
+ # Optional. Region of the Cloud SQL instance.
2075
2127
  # @yield [result, operation] Access the result along with the TransportOperation object
2076
2128
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
2077
2129
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2146,7 +2198,7 @@ module Google
2146
2198
  # @param options [::Gapic::CallOptions, ::Hash]
2147
2199
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2148
2200
  #
2149
- # @overload rotate_server_ca(instance: nil, project: nil, body: nil)
2201
+ # @overload rotate_server_ca(instance: nil, project: nil, body: nil, location: nil)
2150
2202
  # Pass arguments to `rotate_server_ca` via keyword arguments. Note that at
2151
2203
  # least one keyword argument is required. To specify no parameters, or to keep all
2152
2204
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2156,6 +2208,8 @@ module Google
2156
2208
  # @param project [::String]
2157
2209
  # Project ID of the project that contains the instance.
2158
2210
  # @param body [::Google::Cloud::Sql::V1::InstancesRotateServerCaRequest, ::Hash]
2211
+ # @param location [::String]
2212
+ # Optional. Region of the Cloud SQL instance.
2159
2213
  # @yield [result, operation] Access the result along with the TransportOperation object
2160
2214
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
2161
2215
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2229,7 +2283,7 @@ module Google
2229
2283
  # @param options [::Gapic::CallOptions, ::Hash]
2230
2284
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2231
2285
  #
2232
- # @overload rotate_server_certificate(instance: nil, project: nil, body: nil)
2286
+ # @overload rotate_server_certificate(instance: nil, project: nil, body: nil, location: nil)
2233
2287
  # Pass arguments to `rotate_server_certificate` via keyword arguments. Note that at
2234
2288
  # least one keyword argument is required. To specify no parameters, or to keep all
2235
2289
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2240,6 +2294,8 @@ module Google
2240
2294
  # Required. Project ID of the project that contains the instance.
2241
2295
  # @param body [::Google::Cloud::Sql::V1::InstancesRotateServerCertificateRequest, ::Hash]
2242
2296
  # Optional. Rotate server certificate request body.
2297
+ # @param location [::String]
2298
+ # Optional. Region of the Cloud SQL instance.
2243
2299
  # @yield [result, operation] Access the result along with the TransportOperation object
2244
2300
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
2245
2301
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2312,7 +2368,7 @@ module Google
2312
2368
  # @param options [::Gapic::CallOptions, ::Hash]
2313
2369
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2314
2370
  #
2315
- # @overload rotate_entra_id_certificate(instance: nil, project: nil, body: nil)
2371
+ # @overload rotate_entra_id_certificate(instance: nil, project: nil, body: nil, location: nil)
2316
2372
  # Pass arguments to `rotate_entra_id_certificate` via keyword arguments. Note that at
2317
2373
  # least one keyword argument is required. To specify no parameters, or to keep all
2318
2374
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2323,6 +2379,8 @@ module Google
2323
2379
  # Required. Project ID of the project that contains the instance.
2324
2380
  # @param body [::Google::Cloud::Sql::V1::InstancesRotateEntraIdCertificateRequest, ::Hash]
2325
2381
  # Optional. Rotate Entra ID certificate request body.
2382
+ # @param location [::String]
2383
+ # Optional. Region of the Cloud SQL instance.
2326
2384
  # @yield [result, operation] Access the result along with the TransportOperation object
2327
2385
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
2328
2386
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2394,7 +2452,7 @@ module Google
2394
2452
  # @param options [::Gapic::CallOptions, ::Hash]
2395
2453
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2396
2454
  #
2397
- # @overload start_replica(instance: nil, project: nil)
2455
+ # @overload start_replica(instance: nil, project: nil, location: nil)
2398
2456
  # Pass arguments to `start_replica` via keyword arguments. Note that at
2399
2457
  # least one keyword argument is required. To specify no parameters, or to keep all
2400
2458
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2403,6 +2461,8 @@ module Google
2403
2461
  # Cloud SQL read replica instance name.
2404
2462
  # @param project [::String]
2405
2463
  # ID of the project that contains the read replica.
2464
+ # @param location [::String]
2465
+ # Optional. Region of the Cloud SQL instance.
2406
2466
  # @yield [result, operation] Access the result along with the TransportOperation object
2407
2467
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
2408
2468
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2474,7 +2534,7 @@ module Google
2474
2534
  # @param options [::Gapic::CallOptions, ::Hash]
2475
2535
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2476
2536
  #
2477
- # @overload stop_replica(instance: nil, project: nil)
2537
+ # @overload stop_replica(instance: nil, project: nil, location: nil)
2478
2538
  # Pass arguments to `stop_replica` via keyword arguments. Note that at
2479
2539
  # least one keyword argument is required. To specify no parameters, or to keep all
2480
2540
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2483,6 +2543,8 @@ module Google
2483
2543
  # Cloud SQL read replica instance name.
2484
2544
  # @param project [::String]
2485
2545
  # ID of the project that contains the read replica.
2546
+ # @param location [::String]
2547
+ # Optional. Region of the Cloud SQL instance.
2486
2548
  # @yield [result, operation] Access the result along with the TransportOperation object
2487
2549
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
2488
2550
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2555,7 +2617,7 @@ module Google
2555
2617
  # @param options [::Gapic::CallOptions, ::Hash]
2556
2618
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2557
2619
  #
2558
- # @overload truncate_log(instance: nil, project: nil, body: nil)
2620
+ # @overload truncate_log(instance: nil, project: nil, body: nil, location: nil)
2559
2621
  # Pass arguments to `truncate_log` via keyword arguments. Note that at
2560
2622
  # least one keyword argument is required. To specify no parameters, or to keep all
2561
2623
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2565,6 +2627,8 @@ module Google
2565
2627
  # @param project [::String]
2566
2628
  # Project ID of the Cloud SQL project.
2567
2629
  # @param body [::Google::Cloud::Sql::V1::InstancesTruncateLogRequest, ::Hash]
2630
+ # @param location [::String]
2631
+ # Optional. Region of the Cloud SQL instance.
2568
2632
  # @yield [result, operation] Access the result along with the TransportOperation object
2569
2633
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
2570
2634
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2637,7 +2701,7 @@ module Google
2637
2701
  # @param options [::Gapic::CallOptions, ::Hash]
2638
2702
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2639
2703
  #
2640
- # @overload update(instance: nil, project: nil, body: nil)
2704
+ # @overload update(instance: nil, project: nil, body: nil, location: nil)
2641
2705
  # Pass arguments to `update` via keyword arguments. Note that at
2642
2706
  # least one keyword argument is required. To specify no parameters, or to keep all
2643
2707
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2647,6 +2711,8 @@ module Google
2647
2711
  # @param project [::String]
2648
2712
  # Project ID of the project that contains the instance.
2649
2713
  # @param body [::Google::Cloud::Sql::V1::DatabaseInstance, ::Hash]
2714
+ # @param location [::String]
2715
+ # Optional. Region of the Cloud SQL instance.
2650
2716
  # @yield [result, operation] Access the result along with the TransportOperation object
2651
2717
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
2652
2718
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2721,7 +2787,7 @@ module Google
2721
2787
  # @param options [::Gapic::CallOptions, ::Hash]
2722
2788
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2723
2789
  #
2724
- # @overload create_ephemeral(instance: nil, project: nil, body: nil)
2790
+ # @overload create_ephemeral(instance: nil, project: nil, body: nil, location: nil)
2725
2791
  # Pass arguments to `create_ephemeral` via keyword arguments. Note that at
2726
2792
  # least one keyword argument is required. To specify no parameters, or to keep all
2727
2793
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2731,6 +2797,8 @@ module Google
2731
2797
  # @param project [::String]
2732
2798
  # Project ID of the Cloud SQL project.
2733
2799
  # @param body [::Google::Cloud::Sql::V1::SslCertsCreateEphemeralRequest, ::Hash]
2800
+ # @param location [::String]
2801
+ # Optional. Region of the Cloud SQL instance.
2734
2802
  # @yield [result, operation] Access the result along with the TransportOperation object
2735
2803
  # @yieldparam result [::Google::Cloud::Sql::V1::SslCert]
2736
2804
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2802,7 +2870,7 @@ module Google
2802
2870
  # @param options [::Gapic::CallOptions, ::Hash]
2803
2871
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2804
2872
  #
2805
- # @overload reschedule_maintenance(instance: nil, project: nil, body: nil)
2873
+ # @overload reschedule_maintenance(instance: nil, project: nil, body: nil, location: nil)
2806
2874
  # Pass arguments to `reschedule_maintenance` via keyword arguments. Note that at
2807
2875
  # least one keyword argument is required. To specify no parameters, or to keep all
2808
2876
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2812,6 +2880,8 @@ module Google
2812
2880
  # @param project [::String]
2813
2881
  # ID of the project that contains the instance.
2814
2882
  # @param body [::Google::Cloud::Sql::V1::SqlInstancesRescheduleMaintenanceRequestBody, ::Hash]
2883
+ # @param location [::String]
2884
+ # Optional. Region of the Cloud SQL instance.
2815
2885
  # @yield [result, operation] Access the result along with the TransportOperation object
2816
2886
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
2817
2887
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2883,7 +2953,7 @@ module Google
2883
2953
  # @param options [::Gapic::CallOptions, ::Hash]
2884
2954
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2885
2955
  #
2886
- # @overload verify_external_sync_settings(instance: nil, project: nil, verify_connection_only: nil, sync_mode: nil, verify_replication_only: nil, mysql_sync_config: nil, migration_type: nil, sync_parallel_level: nil, selected_objects: nil)
2956
+ # @overload verify_external_sync_settings(instance: nil, project: nil, verify_connection_only: nil, sync_mode: nil, verify_replication_only: nil, mysql_sync_config: nil, migration_type: nil, sync_parallel_level: nil, selected_objects: nil, location: nil)
2887
2957
  # Pass arguments to `verify_external_sync_settings` via keyword arguments. Note that at
2888
2958
  # least one keyword argument is required. To specify no parameters, or to keep all
2889
2959
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2910,6 +2980,8 @@ module Google
2910
2980
  # @param selected_objects [::Array<::Google::Cloud::Sql::V1::ExternalSyncSelectedObject, ::Hash>]
2911
2981
  # Optional. Migrate only the specified objects from the source instance. If
2912
2982
  # this field is empty, then migrate all objects.
2983
+ # @param location [::String]
2984
+ # Optional. Region of the Cloud SQL instance.
2913
2985
  # @yield [result, operation] Access the result along with the TransportOperation object
2914
2986
  # @yieldparam result [::Google::Cloud::Sql::V1::SqlInstancesVerifyExternalSyncSettingsResponse]
2915
2987
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2981,7 +3053,7 @@ module Google
2981
3053
  # @param options [::Gapic::CallOptions, ::Hash]
2982
3054
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2983
3055
  #
2984
- # @overload start_external_sync(instance: nil, project: nil, sync_mode: nil, skip_verification: nil, mysql_sync_config: nil, sync_parallel_level: nil, migration_type: nil, replica_overwrite_enabled: nil)
3056
+ # @overload start_external_sync(instance: nil, project: nil, sync_mode: nil, skip_verification: nil, mysql_sync_config: nil, sync_parallel_level: nil, migration_type: nil, replica_overwrite_enabled: nil, location: nil)
2985
3057
  # Pass arguments to `start_external_sync` via keyword arguments. Note that at
2986
3058
  # least one keyword argument is required. To specify no parameters, or to keep all
2987
3059
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3008,6 +3080,8 @@ module Google
3008
3080
  # will wipe replica databases overlapping with the proposed selected_objects.
3009
3081
  # If this field is not set and there are both overlapping and additional
3010
3082
  # databases proposed, an error will be returned.
3083
+ # @param location [::String]
3084
+ # Optional. Region of the Cloud SQL instance.
3011
3085
  # @yield [result, operation] Access the result along with the TransportOperation object
3012
3086
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
3013
3087
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -3079,7 +3153,7 @@ module Google
3079
3153
  # @param options [::Gapic::CallOptions, ::Hash]
3080
3154
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3081
3155
  #
3082
- # @overload perform_disk_shrink(instance: nil, project: nil, body: nil)
3156
+ # @overload perform_disk_shrink(instance: nil, project: nil, body: nil, location: nil)
3083
3157
  # Pass arguments to `perform_disk_shrink` via keyword arguments. Note that at
3084
3158
  # least one keyword argument is required. To specify no parameters, or to keep all
3085
3159
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3090,6 +3164,8 @@ module Google
3090
3164
  # Project ID of the project that contains the instance.
3091
3165
  # @param body [::Google::Cloud::Sql::V1::PerformDiskShrinkContext, ::Hash]
3092
3166
  # Perform disk shrink context.
3167
+ # @param location [::String]
3168
+ # Optional. Region of the Cloud SQL instance.
3093
3169
  # @yield [result, operation] Access the result along with the TransportOperation object
3094
3170
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
3095
3171
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -3161,7 +3237,7 @@ module Google
3161
3237
  # @param options [::Gapic::CallOptions, ::Hash]
3162
3238
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3163
3239
  #
3164
- # @overload get_disk_shrink_config(instance: nil, project: nil)
3240
+ # @overload get_disk_shrink_config(instance: nil, project: nil, location: nil)
3165
3241
  # Pass arguments to `get_disk_shrink_config` via keyword arguments. Note that at
3166
3242
  # least one keyword argument is required. To specify no parameters, or to keep all
3167
3243
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3170,6 +3246,8 @@ module Google
3170
3246
  # Cloud SQL instance ID. This does not include the project ID.
3171
3247
  # @param project [::String]
3172
3248
  # Project ID of the project that contains the instance.
3249
+ # @param location [::String]
3250
+ # Optional. Region of the Cloud SQL instance.
3173
3251
  # @yield [result, operation] Access the result along with the TransportOperation object
3174
3252
  # @yieldparam result [::Google::Cloud::Sql::V1::SqlInstancesGetDiskShrinkConfigResponse]
3175
3253
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -3241,7 +3319,7 @@ module Google
3241
3319
  # @param options [::Gapic::CallOptions, ::Hash]
3242
3320
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3243
3321
  #
3244
- # @overload reset_replica_size(instance: nil, project: nil)
3322
+ # @overload reset_replica_size(instance: nil, project: nil, location: nil)
3245
3323
  # Pass arguments to `reset_replica_size` via keyword arguments. Note that at
3246
3324
  # least one keyword argument is required. To specify no parameters, or to keep all
3247
3325
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3250,6 +3328,8 @@ module Google
3250
3328
  # Cloud SQL read replica instance name.
3251
3329
  # @param project [::String]
3252
3330
  # ID of the project that contains the read replica.
3331
+ # @param location [::String]
3332
+ # Optional. Region of the Cloud SQL instance.
3253
3333
  # @yield [result, operation] Access the result along with the TransportOperation object
3254
3334
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
3255
3335
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -3321,7 +3401,7 @@ module Google
3321
3401
  # @param options [::Gapic::CallOptions, ::Hash]
3322
3402
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3323
3403
  #
3324
- # @overload get_latest_recovery_time(instance: nil, project: nil, source_instance_deletion_time: nil)
3404
+ # @overload get_latest_recovery_time(instance: nil, project: nil, source_instance_deletion_time: nil, location: nil)
3325
3405
  # Pass arguments to `get_latest_recovery_time` via keyword arguments. Note that at
3326
3406
  # least one keyword argument is required. To specify no parameters, or to keep all
3327
3407
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3333,6 +3413,8 @@ module Google
3333
3413
  # @param source_instance_deletion_time [::Google::Protobuf::Timestamp, ::Hash]
3334
3414
  # The timestamp used to identify the time when the source instance is
3335
3415
  # deleted. If this instance is deleted, then you must set the timestamp.
3416
+ # @param location [::String]
3417
+ # Optional. Region of the Cloud SQL instance.
3336
3418
  # @yield [result, operation] Access the result along with the TransportOperation object
3337
3419
  # @yieldparam result [::Google::Cloud::Sql::V1::SqlInstancesGetLatestRecoveryTimeResponse]
3338
3420
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -3404,7 +3486,7 @@ module Google
3404
3486
  # @param options [::Gapic::CallOptions, ::Hash]
3405
3487
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3406
3488
  #
3407
- # @overload execute_sql(instance: nil, project: nil, body: nil)
3489
+ # @overload execute_sql(instance: nil, project: nil, body: nil, location: nil)
3408
3490
  # Pass arguments to `execute_sql` via keyword arguments. Note that at
3409
3491
  # least one keyword argument is required. To specify no parameters, or to keep all
3410
3492
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3415,6 +3497,8 @@ module Google
3415
3497
  # Required. Project ID of the project that contains the instance.
3416
3498
  # @param body [::Google::Cloud::Sql::V1::ExecuteSqlPayload, ::Hash]
3417
3499
  # The request body.
3500
+ # @param location [::String]
3501
+ # Optional. Region of the Cloud SQL instance.
3418
3502
  # @yield [result, operation] Access the result along with the TransportOperation object
3419
3503
  # @yieldparam result [::Google::Cloud::Sql::V1::SqlInstancesExecuteSqlResponse]
3420
3504
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -3486,7 +3570,7 @@ module Google
3486
3570
  # @param options [::Gapic::CallOptions, ::Hash]
3487
3571
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3488
3572
  #
3489
- # @overload acquire_ssrs_lease(instance: nil, project: nil, body: nil)
3573
+ # @overload acquire_ssrs_lease(instance: nil, project: nil, body: nil, location: nil)
3490
3574
  # Pass arguments to `acquire_ssrs_lease` via keyword arguments. Note that at
3491
3575
  # least one keyword argument is required. To specify no parameters, or to keep all
3492
3576
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3501,6 +3585,8 @@ module Google
3501
3585
  # project-id).
3502
3586
  # @param body [::Google::Cloud::Sql::V1::InstancesAcquireSsrsLeaseRequest, ::Hash]
3503
3587
  # Required. The request body.
3588
+ # @param location [::String]
3589
+ # Optional. Region of the Cloud SQL instance.
3504
3590
  # @yield [result, operation] Access the result along with the TransportOperation object
3505
3591
  # @yieldparam result [::Google::Cloud::Sql::V1::SqlInstancesAcquireSsrsLeaseResponse]
3506
3592
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -3572,7 +3658,7 @@ module Google
3572
3658
  # @param options [::Gapic::CallOptions, ::Hash]
3573
3659
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3574
3660
  #
3575
- # @overload release_ssrs_lease(instance: nil, project: nil)
3661
+ # @overload release_ssrs_lease(instance: nil, project: nil, location: nil)
3576
3662
  # Pass arguments to `release_ssrs_lease` via keyword arguments. Note that at
3577
3663
  # least one keyword argument is required. To specify no parameters, or to keep all
3578
3664
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3584,6 +3670,8 @@ module Google
3584
3670
  # characters.
3585
3671
  # @param project [::String]
3586
3672
  # Required. The project ID that contains the instance.
3673
+ # @param location [::String]
3674
+ # Optional. Region of the Cloud SQL instance.
3587
3675
  # @yield [result, operation] Access the result along with the TransportOperation object
3588
3676
  # @yieldparam result [::Google::Cloud::Sql::V1::SqlInstancesReleaseSsrsLeaseResponse]
3589
3677
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -3655,7 +3743,7 @@ module Google
3655
3743
  # @param options [::Gapic::CallOptions, ::Hash]
3656
3744
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3657
3745
  #
3658
- # @overload pre_check_major_version_upgrade(instance: nil, project: nil, body: nil)
3746
+ # @overload pre_check_major_version_upgrade(instance: nil, project: nil, body: nil, location: nil)
3659
3747
  # Pass arguments to `pre_check_major_version_upgrade` via keyword arguments. Note that at
3660
3748
  # least one keyword argument is required. To specify no parameters, or to keep all
3661
3749
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3667,6 +3755,8 @@ module Google
3667
3755
  # @param body [::Google::Cloud::Sql::V1::InstancesPreCheckMajorVersionUpgradeRequest, ::Hash]
3668
3756
  # Required. The context for request to perform the pre-check major version
3669
3757
  # upgrade operation.
3758
+ # @param location [::String]
3759
+ # Optional. Region of the Cloud SQL instance.
3670
3760
  # @yield [result, operation] Access the result along with the TransportOperation object
3671
3761
  # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
3672
3762
  # @yieldparam operation [::Gapic::Rest::TransportOperation]