google-cloud-sql-v1beta4 0.1.1 → 0.2.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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/sql/v1beta4/cloud_sql_pb.rb +2 -1
- data/lib/google/cloud/sql/v1beta4/cloud_sql_resources_pb.rb +2 -1
- data/lib/google/cloud/sql/v1beta4/cloud_sql_users_pb.rb +1 -1
- data/lib/google/cloud/sql/v1beta4/sql_databases_service/client.rb +18 -6
- data/lib/google/cloud/sql/v1beta4/sql_databases_service/rest/client.rb +18 -6
- data/lib/google/cloud/sql/v1beta4/sql_instances_service/client.rb +131 -44
- data/lib/google/cloud/sql/v1beta4/sql_instances_service/rest/client.rb +126 -42
- data/lib/google/cloud/sql/v1beta4/sql_users_service/client.rb +15 -5
- data/lib/google/cloud/sql/v1beta4/sql_users_service/rest/client.rb +15 -5
- data/lib/google/cloud/sql/v1beta4/version.rb +1 -1
- data/proto_docs/google/api/routing.rb +463 -0
- data/proto_docs/google/cloud/sql/v1beta4/cloud_sql.rb +141 -0
- data/proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb +17 -0
- data/proto_docs/google/cloud/sql/v1beta4/cloud_sql_users.rb +15 -0
- data/proto_docs/google/protobuf/timestamp.rb +7 -6
- metadata +4 -3
|
@@ -218,7 +218,7 @@ module Google
|
|
|
218
218
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
219
219
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
220
220
|
#
|
|
221
|
-
# @overload add_server_ca(instance: nil, project: nil)
|
|
221
|
+
# @overload add_server_ca(instance: nil, project: nil, location: nil)
|
|
222
222
|
# Pass arguments to `add_server_ca` via keyword arguments. Note that at
|
|
223
223
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
224
224
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -227,6 +227,8 @@ module Google
|
|
|
227
227
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
228
228
|
# @param project [::String]
|
|
229
229
|
# Project ID of the project that contains the instance.
|
|
230
|
+
# @param location [::String]
|
|
231
|
+
# Optional. Region of the Cloud SQL instance.
|
|
230
232
|
#
|
|
231
233
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
232
234
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -314,7 +316,7 @@ module Google
|
|
|
314
316
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
315
317
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
316
318
|
#
|
|
317
|
-
# @overload add_server_certificate(instance: nil, project: nil)
|
|
319
|
+
# @overload add_server_certificate(instance: nil, project: nil, location: nil)
|
|
318
320
|
# Pass arguments to `add_server_certificate` via keyword arguments. Note that at
|
|
319
321
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
320
322
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -323,6 +325,8 @@ module Google
|
|
|
323
325
|
# Required. Cloud SQL instance ID. This does not include the project ID.
|
|
324
326
|
# @param project [::String]
|
|
325
327
|
# Required. Project ID of the project that contains the instance.
|
|
328
|
+
# @param location [::String]
|
|
329
|
+
# Optional. Region of the Cloud SQL instance.
|
|
326
330
|
#
|
|
327
331
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
328
332
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -406,7 +410,7 @@ module Google
|
|
|
406
410
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
407
411
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
408
412
|
#
|
|
409
|
-
# @overload add_entra_id_certificate(instance: nil, project: nil)
|
|
413
|
+
# @overload add_entra_id_certificate(instance: nil, project: nil, location: nil)
|
|
410
414
|
# Pass arguments to `add_entra_id_certificate` via keyword arguments. Note that at
|
|
411
415
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
412
416
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -415,6 +419,8 @@ module Google
|
|
|
415
419
|
# Required. Cloud SQL instance ID. This does not include the project ID.
|
|
416
420
|
# @param project [::String]
|
|
417
421
|
# Required. Project ID of the project that contains the instance.
|
|
422
|
+
# @param location [::String]
|
|
423
|
+
# Optional. Region of the Cloud SQL instance.
|
|
418
424
|
#
|
|
419
425
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
420
426
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -497,7 +503,7 @@ module Google
|
|
|
497
503
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
498
504
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
499
505
|
#
|
|
500
|
-
# @overload call_clone(instance: nil, project: nil, body: nil)
|
|
506
|
+
# @overload call_clone(instance: nil, project: nil, body: nil, location: nil)
|
|
501
507
|
# Pass arguments to `call_clone` via keyword arguments. Note that at
|
|
502
508
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
503
509
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -508,6 +514,8 @@ module Google
|
|
|
508
514
|
# @param project [::String]
|
|
509
515
|
# Project ID of the source Cloud SQL instance.
|
|
510
516
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesCloneRequest, ::Hash]
|
|
517
|
+
# @param location [::String]
|
|
518
|
+
# Optional. Region of the Cloud SQL instance.
|
|
511
519
|
#
|
|
512
520
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
513
521
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -589,7 +597,7 @@ module Google
|
|
|
589
597
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
590
598
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
591
599
|
#
|
|
592
|
-
# @overload delete(instance: nil, project: nil, enable_final_backup: nil, final_backup_ttl_days: nil, final_backup_expiry_time: nil, final_backup_description: nil)
|
|
600
|
+
# @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)
|
|
593
601
|
# Pass arguments to `delete` via keyword arguments. Note that at
|
|
594
602
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
595
603
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -611,6 +619,8 @@ module Google
|
|
|
611
619
|
# 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.
|
|
612
620
|
# @param final_backup_description [::String]
|
|
613
621
|
# Optional. The description of the final backup.
|
|
622
|
+
# @param location [::String]
|
|
623
|
+
# Optional. Region of the Cloud SQL instance.
|
|
614
624
|
#
|
|
615
625
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
616
626
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -693,7 +703,7 @@ module Google
|
|
|
693
703
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
694
704
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
695
705
|
#
|
|
696
|
-
# @overload demote_master(instance: nil, project: nil, body: nil)
|
|
706
|
+
# @overload demote_master(instance: nil, project: nil, body: nil, location: nil)
|
|
697
707
|
# Pass arguments to `demote_master` via keyword arguments. Note that at
|
|
698
708
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
699
709
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -703,6 +713,8 @@ module Google
|
|
|
703
713
|
# @param project [::String]
|
|
704
714
|
# ID of the project that contains the instance.
|
|
705
715
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesDemoteMasterRequest, ::Hash]
|
|
716
|
+
# @param location [::String]
|
|
717
|
+
# Optional. Region of the Cloud SQL instance.
|
|
706
718
|
#
|
|
707
719
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
708
720
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -785,7 +797,7 @@ module Google
|
|
|
785
797
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
786
798
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
787
799
|
#
|
|
788
|
-
# @overload demote(instance: nil, project: nil, body: nil)
|
|
800
|
+
# @overload demote(instance: nil, project: nil, body: nil, location: nil)
|
|
789
801
|
# Pass arguments to `demote` via keyword arguments. Note that at
|
|
790
802
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
791
803
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -796,6 +808,8 @@ module Google
|
|
|
796
808
|
# Required. The project ID of the project that contains the instance.
|
|
797
809
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesDemoteRequest, ::Hash]
|
|
798
810
|
# The request body.
|
|
811
|
+
# @param location [::String]
|
|
812
|
+
# Optional. Region of the Cloud SQL instance.
|
|
799
813
|
#
|
|
800
814
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
801
815
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -878,7 +892,7 @@ module Google
|
|
|
878
892
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
879
893
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
880
894
|
#
|
|
881
|
-
# @overload export(instance: nil, project: nil, body: nil)
|
|
895
|
+
# @overload export(instance: nil, project: nil, body: nil, location: nil)
|
|
882
896
|
# Pass arguments to `export` via keyword arguments. Note that at
|
|
883
897
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
884
898
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -888,6 +902,8 @@ module Google
|
|
|
888
902
|
# @param project [::String]
|
|
889
903
|
# Project ID of the project that contains the instance to be exported.
|
|
890
904
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesExportRequest, ::Hash]
|
|
905
|
+
# @param location [::String]
|
|
906
|
+
# Optional. Region of the Cloud SQL instance.
|
|
891
907
|
#
|
|
892
908
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
893
909
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -976,7 +992,7 @@ module Google
|
|
|
976
992
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
977
993
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
978
994
|
#
|
|
979
|
-
# @overload failover(instance: nil, project: nil, body: nil)
|
|
995
|
+
# @overload failover(instance: nil, project: nil, body: nil, location: nil)
|
|
980
996
|
# Pass arguments to `failover` via keyword arguments. Note that at
|
|
981
997
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
982
998
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -986,6 +1002,8 @@ module Google
|
|
|
986
1002
|
# @param project [::String]
|
|
987
1003
|
# ID of the project that contains the read replica.
|
|
988
1004
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesFailoverRequest, ::Hash]
|
|
1005
|
+
# @param location [::String]
|
|
1006
|
+
# Optional. Region of the Cloud SQL instance.
|
|
989
1007
|
#
|
|
990
1008
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
991
1009
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -1067,7 +1085,7 @@ module Google
|
|
|
1067
1085
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1068
1086
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1069
1087
|
#
|
|
1070
|
-
# @overload reencrypt(instance: nil, project: nil, body: nil)
|
|
1088
|
+
# @overload reencrypt(instance: nil, project: nil, body: nil, location: nil)
|
|
1071
1089
|
# Pass arguments to `reencrypt` via keyword arguments. Note that at
|
|
1072
1090
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1073
1091
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1078,6 +1096,8 @@ module Google
|
|
|
1078
1096
|
# ID of the project that contains the instance.
|
|
1079
1097
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesReencryptRequest, ::Hash]
|
|
1080
1098
|
# Reencrypt body that users request
|
|
1099
|
+
# @param location [::String]
|
|
1100
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1081
1101
|
#
|
|
1082
1102
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1083
1103
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -1159,7 +1179,7 @@ module Google
|
|
|
1159
1179
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1160
1180
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1161
1181
|
#
|
|
1162
|
-
# @overload get(instance: nil, project: nil)
|
|
1182
|
+
# @overload get(instance: nil, project: nil, location: nil)
|
|
1163
1183
|
# Pass arguments to `get` via keyword arguments. Note that at
|
|
1164
1184
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1165
1185
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1168,6 +1188,8 @@ module Google
|
|
|
1168
1188
|
# Database instance ID. This does not include the project ID.
|
|
1169
1189
|
# @param project [::String]
|
|
1170
1190
|
# Project ID of the project that contains the instance.
|
|
1191
|
+
# @param location [::String]
|
|
1192
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1171
1193
|
#
|
|
1172
1194
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1173
1195
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::DatabaseInstance]
|
|
@@ -1250,7 +1272,7 @@ module Google
|
|
|
1250
1272
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1251
1273
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1252
1274
|
#
|
|
1253
|
-
# @overload import(instance: nil, project: nil, body: nil)
|
|
1275
|
+
# @overload import(instance: nil, project: nil, body: nil, location: nil)
|
|
1254
1276
|
# Pass arguments to `import` via keyword arguments. Note that at
|
|
1255
1277
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1256
1278
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1260,6 +1282,8 @@ module Google
|
|
|
1260
1282
|
# @param project [::String]
|
|
1261
1283
|
# Project ID of the project that contains the instance.
|
|
1262
1284
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesImportRequest, ::Hash]
|
|
1285
|
+
# @param location [::String]
|
|
1286
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1263
1287
|
#
|
|
1264
1288
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1265
1289
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -1341,7 +1365,7 @@ module Google
|
|
|
1341
1365
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1342
1366
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1343
1367
|
#
|
|
1344
|
-
# @overload insert(project: nil, body: nil)
|
|
1368
|
+
# @overload insert(project: nil, body: nil, location: nil)
|
|
1345
1369
|
# Pass arguments to `insert` via keyword arguments. Note that at
|
|
1346
1370
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1347
1371
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1350,6 +1374,8 @@ module Google
|
|
|
1350
1374
|
# Project ID of the project to which the newly created Cloud SQL instances
|
|
1351
1375
|
# should belong.
|
|
1352
1376
|
# @param body [::Google::Cloud::Sql::V1beta4::DatabaseInstance, ::Hash]
|
|
1377
|
+
# @param location [::String]
|
|
1378
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1353
1379
|
#
|
|
1354
1380
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1355
1381
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -1393,11 +1419,14 @@ module Google
|
|
|
1393
1419
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1394
1420
|
|
|
1395
1421
|
header_params = {}
|
|
1396
|
-
if request.project
|
|
1422
|
+
if request.project && !request.project.empty?
|
|
1397
1423
|
header_params["project"] = request.project
|
|
1398
1424
|
end
|
|
1425
|
+
if request.body&.region && !request.body.region.empty?
|
|
1426
|
+
header_params["region"] = request.body.region
|
|
1427
|
+
end
|
|
1399
1428
|
|
|
1400
|
-
request_params_header =
|
|
1429
|
+
request_params_header = URI.encode_www_form header_params
|
|
1401
1430
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
1402
1431
|
|
|
1403
1432
|
options.apply_defaults timeout: @config.rpcs.insert.timeout,
|
|
@@ -1428,7 +1457,7 @@ module Google
|
|
|
1428
1457
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1429
1458
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1430
1459
|
#
|
|
1431
|
-
# @overload list(filter: nil, max_results: nil, page_token: nil, project: nil)
|
|
1460
|
+
# @overload list(filter: nil, max_results: nil, page_token: nil, project: nil, location: nil)
|
|
1432
1461
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
1433
1462
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1434
1463
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1453,6 +1482,8 @@ module Google
|
|
|
1453
1482
|
# results to view.
|
|
1454
1483
|
# @param project [::String]
|
|
1455
1484
|
# Project ID of the project for which to list Cloud SQL instances.
|
|
1485
|
+
# @param location [::String]
|
|
1486
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1456
1487
|
#
|
|
1457
1488
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1458
1489
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::InstancesListResponse]
|
|
@@ -1535,7 +1566,7 @@ module Google
|
|
|
1535
1566
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1536
1567
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1537
1568
|
#
|
|
1538
|
-
# @overload list_server_cas(instance: nil, project: nil)
|
|
1569
|
+
# @overload list_server_cas(instance: nil, project: nil, location: nil)
|
|
1539
1570
|
# Pass arguments to `list_server_cas` via keyword arguments. Note that at
|
|
1540
1571
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1541
1572
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1544,6 +1575,8 @@ module Google
|
|
|
1544
1575
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1545
1576
|
# @param project [::String]
|
|
1546
1577
|
# Project ID of the project that contains the instance.
|
|
1578
|
+
# @param location [::String]
|
|
1579
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1547
1580
|
#
|
|
1548
1581
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1549
1582
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::InstancesListServerCasResponse]
|
|
@@ -1630,7 +1663,7 @@ module Google
|
|
|
1630
1663
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1631
1664
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1632
1665
|
#
|
|
1633
|
-
# @overload list_server_certificates(instance: nil, project: nil)
|
|
1666
|
+
# @overload list_server_certificates(instance: nil, project: nil, location: nil)
|
|
1634
1667
|
# Pass arguments to `list_server_certificates` via keyword arguments. Note that at
|
|
1635
1668
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1636
1669
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1639,6 +1672,8 @@ module Google
|
|
|
1639
1672
|
# Required. Cloud SQL instance ID. This does not include the project ID.
|
|
1640
1673
|
# @param project [::String]
|
|
1641
1674
|
# Required. Project ID of the project that contains the instance.
|
|
1675
|
+
# @param location [::String]
|
|
1676
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1642
1677
|
#
|
|
1643
1678
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1644
1679
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::InstancesListServerCertificatesResponse]
|
|
@@ -1723,7 +1758,7 @@ module Google
|
|
|
1723
1758
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1724
1759
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1725
1760
|
#
|
|
1726
|
-
# @overload list_entra_id_certificates(instance: nil, project: nil)
|
|
1761
|
+
# @overload list_entra_id_certificates(instance: nil, project: nil, location: nil)
|
|
1727
1762
|
# Pass arguments to `list_entra_id_certificates` via keyword arguments. Note that at
|
|
1728
1763
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1729
1764
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1732,6 +1767,8 @@ module Google
|
|
|
1732
1767
|
# Required. Cloud SQL instance ID. This does not include the project ID.
|
|
1733
1768
|
# @param project [::String]
|
|
1734
1769
|
# Required. Project ID of the project that contains the instance.
|
|
1770
|
+
# @param location [::String]
|
|
1771
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1735
1772
|
#
|
|
1736
1773
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1737
1774
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::InstancesListEntraIdCertificatesResponse]
|
|
@@ -1814,7 +1851,7 @@ module Google
|
|
|
1814
1851
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1815
1852
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1816
1853
|
#
|
|
1817
|
-
# @overload patch(instance: nil, project: nil, reconcile_psc_networking: nil, reconcile_psc_networking_force: nil, body: nil)
|
|
1854
|
+
# @overload patch(instance: nil, project: nil, reconcile_psc_networking: nil, reconcile_psc_networking_force: nil, body: nil, location: nil)
|
|
1818
1855
|
# Pass arguments to `patch` via keyword arguments. Note that at
|
|
1819
1856
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1820
1857
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1830,6 +1867,8 @@ module Google
|
|
|
1830
1867
|
# Optional. Set PSC config to the same value as the existing config and force
|
|
1831
1868
|
# reconcile the PSC networking.
|
|
1832
1869
|
# @param body [::Google::Cloud::Sql::V1beta4::DatabaseInstance, ::Hash]
|
|
1870
|
+
# @param location [::String]
|
|
1871
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1833
1872
|
#
|
|
1834
1873
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1835
1874
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -1913,7 +1952,7 @@ module Google
|
|
|
1913
1952
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1914
1953
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1915
1954
|
#
|
|
1916
|
-
# @overload promote_replica(instance: nil, project: nil, failover: nil)
|
|
1955
|
+
# @overload promote_replica(instance: nil, project: nil, failover: nil, location: nil)
|
|
1917
1956
|
# Pass arguments to `promote_replica` via keyword arguments. Note that at
|
|
1918
1957
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1919
1958
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1929,6 +1968,8 @@ module Google
|
|
|
1929
1968
|
# DR replica when the original primary instance comes back online.
|
|
1930
1969
|
# If set to false or not specified, then the original primary
|
|
1931
1970
|
# instance becomes an independent Cloud SQL primary instance.
|
|
1971
|
+
# @param location [::String]
|
|
1972
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1932
1973
|
#
|
|
1933
1974
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1934
1975
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2011,7 +2052,7 @@ module Google
|
|
|
2011
2052
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2012
2053
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2013
2054
|
#
|
|
2014
|
-
# @overload switchover(instance: nil, project: nil, db_timeout: nil)
|
|
2055
|
+
# @overload switchover(instance: nil, project: nil, db_timeout: nil, location: nil)
|
|
2015
2056
|
# Pass arguments to `switchover` via keyword arguments. Note that at
|
|
2016
2057
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2017
2058
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2024,6 +2065,8 @@ module Google
|
|
|
2024
2065
|
# Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations
|
|
2025
2066
|
# timeout, which is a sum of all database operations. Default value is 10
|
|
2026
2067
|
# minutes and can be modified to a maximum value of 24 hours.
|
|
2068
|
+
# @param location [::String]
|
|
2069
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2027
2070
|
#
|
|
2028
2071
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2029
2072
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2106,7 +2149,7 @@ module Google
|
|
|
2106
2149
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2107
2150
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2108
2151
|
#
|
|
2109
|
-
# @overload reset_ssl_config(instance: nil, project: nil, mode: nil)
|
|
2152
|
+
# @overload reset_ssl_config(instance: nil, project: nil, mode: nil, location: nil)
|
|
2110
2153
|
# Pass arguments to `reset_ssl_config` via keyword arguments. Note that at
|
|
2111
2154
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2112
2155
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2117,6 +2160,8 @@ module Google
|
|
|
2117
2160
|
# Project ID of the project that contains the instance.
|
|
2118
2161
|
# @param mode [::Google::Cloud::Sql::V1beta4::SqlInstancesResetSslConfigRequest::ResetSslMode]
|
|
2119
2162
|
# Optional. Reset SSL mode to use.
|
|
2163
|
+
# @param location [::String]
|
|
2164
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2120
2165
|
#
|
|
2121
2166
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2122
2167
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2198,7 +2243,7 @@ module Google
|
|
|
2198
2243
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2199
2244
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2200
2245
|
#
|
|
2201
|
-
# @overload restart(instance: nil, project: nil)
|
|
2246
|
+
# @overload restart(instance: nil, project: nil, location: nil)
|
|
2202
2247
|
# Pass arguments to `restart` via keyword arguments. Note that at
|
|
2203
2248
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2204
2249
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2207,6 +2252,8 @@ module Google
|
|
|
2207
2252
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
2208
2253
|
# @param project [::String]
|
|
2209
2254
|
# Project ID of the project that contains the instance to be restarted.
|
|
2255
|
+
# @param location [::String]
|
|
2256
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2210
2257
|
#
|
|
2211
2258
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2212
2259
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2289,7 +2336,7 @@ module Google
|
|
|
2289
2336
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2290
2337
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2291
2338
|
#
|
|
2292
|
-
# @overload restore_backup(instance: nil, project: nil, body: nil)
|
|
2339
|
+
# @overload restore_backup(instance: nil, project: nil, body: nil, location: nil)
|
|
2293
2340
|
# Pass arguments to `restore_backup` via keyword arguments. Note that at
|
|
2294
2341
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2295
2342
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2299,6 +2346,8 @@ module Google
|
|
|
2299
2346
|
# @param project [::String]
|
|
2300
2347
|
# Project ID of the project that contains the instance.
|
|
2301
2348
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesRestoreBackupRequest, ::Hash]
|
|
2349
|
+
# @param location [::String]
|
|
2350
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2302
2351
|
#
|
|
2303
2352
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2304
2353
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2383,7 +2432,7 @@ module Google
|
|
|
2383
2432
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2384
2433
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2385
2434
|
#
|
|
2386
|
-
# @overload rotate_server_ca(instance: nil, project: nil, body: nil)
|
|
2435
|
+
# @overload rotate_server_ca(instance: nil, project: nil, body: nil, location: nil)
|
|
2387
2436
|
# Pass arguments to `rotate_server_ca` via keyword arguments. Note that at
|
|
2388
2437
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2389
2438
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2393,6 +2442,8 @@ module Google
|
|
|
2393
2442
|
# @param project [::String]
|
|
2394
2443
|
# Project ID of the project that contains the instance.
|
|
2395
2444
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesRotateServerCaRequest, ::Hash]
|
|
2445
|
+
# @param location [::String]
|
|
2446
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2396
2447
|
#
|
|
2397
2448
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2398
2449
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2476,7 +2527,7 @@ module Google
|
|
|
2476
2527
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2477
2528
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2478
2529
|
#
|
|
2479
|
-
# @overload rotate_server_certificate(instance: nil, project: nil, body: nil)
|
|
2530
|
+
# @overload rotate_server_certificate(instance: nil, project: nil, body: nil, location: nil)
|
|
2480
2531
|
# Pass arguments to `rotate_server_certificate` via keyword arguments. Note that at
|
|
2481
2532
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2482
2533
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2487,6 +2538,8 @@ module Google
|
|
|
2487
2538
|
# Required. Project ID of the project that contains the instance.
|
|
2488
2539
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesRotateServerCertificateRequest, ::Hash]
|
|
2489
2540
|
# Required. Rotate server certificate request body.
|
|
2541
|
+
# @param location [::String]
|
|
2542
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2490
2543
|
#
|
|
2491
2544
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2492
2545
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2569,7 +2622,7 @@ module Google
|
|
|
2569
2622
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2570
2623
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2571
2624
|
#
|
|
2572
|
-
# @overload rotate_entra_id_certificate(instance: nil, project: nil, body: nil)
|
|
2625
|
+
# @overload rotate_entra_id_certificate(instance: nil, project: nil, body: nil, location: nil)
|
|
2573
2626
|
# Pass arguments to `rotate_entra_id_certificate` via keyword arguments. Note that at
|
|
2574
2627
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2575
2628
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2580,6 +2633,8 @@ module Google
|
|
|
2580
2633
|
# Required. Project ID of the project that contains the instance.
|
|
2581
2634
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesRotateEntraIdCertificateRequest, ::Hash]
|
|
2582
2635
|
# Required. Rotate Entra ID certificate request body.
|
|
2636
|
+
# @param location [::String]
|
|
2637
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2583
2638
|
#
|
|
2584
2639
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2585
2640
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2661,7 +2716,7 @@ module Google
|
|
|
2661
2716
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2662
2717
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2663
2718
|
#
|
|
2664
|
-
# @overload start_replica(instance: nil, project: nil)
|
|
2719
|
+
# @overload start_replica(instance: nil, project: nil, location: nil)
|
|
2665
2720
|
# Pass arguments to `start_replica` via keyword arguments. Note that at
|
|
2666
2721
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2667
2722
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2670,6 +2725,8 @@ module Google
|
|
|
2670
2725
|
# Cloud SQL read replica instance name.
|
|
2671
2726
|
# @param project [::String]
|
|
2672
2727
|
# ID of the project that contains the read replica.
|
|
2728
|
+
# @param location [::String]
|
|
2729
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2673
2730
|
#
|
|
2674
2731
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2675
2732
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2751,7 +2808,7 @@ module Google
|
|
|
2751
2808
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2752
2809
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2753
2810
|
#
|
|
2754
|
-
# @overload stop_replica(instance: nil, project: nil)
|
|
2811
|
+
# @overload stop_replica(instance: nil, project: nil, location: nil)
|
|
2755
2812
|
# Pass arguments to `stop_replica` via keyword arguments. Note that at
|
|
2756
2813
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2757
2814
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2760,6 +2817,8 @@ module Google
|
|
|
2760
2817
|
# Cloud SQL read replica instance name.
|
|
2761
2818
|
# @param project [::String]
|
|
2762
2819
|
# ID of the project that contains the read replica.
|
|
2820
|
+
# @param location [::String]
|
|
2821
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2763
2822
|
#
|
|
2764
2823
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2765
2824
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2842,7 +2901,7 @@ module Google
|
|
|
2842
2901
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2843
2902
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2844
2903
|
#
|
|
2845
|
-
# @overload truncate_log(instance: nil, project: nil, body: nil)
|
|
2904
|
+
# @overload truncate_log(instance: nil, project: nil, body: nil, location: nil)
|
|
2846
2905
|
# Pass arguments to `truncate_log` via keyword arguments. Note that at
|
|
2847
2906
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2848
2907
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2852,6 +2911,8 @@ module Google
|
|
|
2852
2911
|
# @param project [::String]
|
|
2853
2912
|
# Project ID of the Cloud SQL project.
|
|
2854
2913
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesTruncateLogRequest, ::Hash]
|
|
2914
|
+
# @param location [::String]
|
|
2915
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2855
2916
|
#
|
|
2856
2917
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2857
2918
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -2934,7 +2995,7 @@ module Google
|
|
|
2934
2995
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2935
2996
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2936
2997
|
#
|
|
2937
|
-
# @overload update(instance: nil, project: nil, body: nil)
|
|
2998
|
+
# @overload update(instance: nil, project: nil, body: nil, location: nil)
|
|
2938
2999
|
# Pass arguments to `update` via keyword arguments. Note that at
|
|
2939
3000
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2940
3001
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2944,6 +3005,8 @@ module Google
|
|
|
2944
3005
|
# @param project [::String]
|
|
2945
3006
|
# Project ID of the project that contains the instance.
|
|
2946
3007
|
# @param body [::Google::Cloud::Sql::V1beta4::DatabaseInstance, ::Hash]
|
|
3008
|
+
# @param location [::String]
|
|
3009
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2947
3010
|
#
|
|
2948
3011
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2949
3012
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -3028,7 +3091,7 @@ module Google
|
|
|
3028
3091
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3029
3092
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3030
3093
|
#
|
|
3031
|
-
# @overload create_ephemeral(instance: nil, project: nil, body: nil)
|
|
3094
|
+
# @overload create_ephemeral(instance: nil, project: nil, body: nil, location: nil)
|
|
3032
3095
|
# Pass arguments to `create_ephemeral` via keyword arguments. Note that at
|
|
3033
3096
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3034
3097
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3038,6 +3101,8 @@ module Google
|
|
|
3038
3101
|
# @param project [::String]
|
|
3039
3102
|
# Project ID of the Cloud SQL project.
|
|
3040
3103
|
# @param body [::Google::Cloud::Sql::V1beta4::SslCertsCreateEphemeralRequest, ::Hash]
|
|
3104
|
+
# @param location [::String]
|
|
3105
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3041
3106
|
#
|
|
3042
3107
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3043
3108
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::SslCert]
|
|
@@ -3119,7 +3184,7 @@ module Google
|
|
|
3119
3184
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3120
3185
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3121
3186
|
#
|
|
3122
|
-
# @overload reschedule_maintenance(instance: nil, project: nil, body: nil)
|
|
3187
|
+
# @overload reschedule_maintenance(instance: nil, project: nil, body: nil, location: nil)
|
|
3123
3188
|
# Pass arguments to `reschedule_maintenance` via keyword arguments. Note that at
|
|
3124
3189
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3125
3190
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3129,6 +3194,8 @@ module Google
|
|
|
3129
3194
|
# @param project [::String]
|
|
3130
3195
|
# ID of the project that contains the instance.
|
|
3131
3196
|
# @param body [::Google::Cloud::Sql::V1beta4::SqlInstancesRescheduleMaintenanceRequestBody, ::Hash]
|
|
3197
|
+
# @param location [::String]
|
|
3198
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3132
3199
|
#
|
|
3133
3200
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3134
3201
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -3210,7 +3277,7 @@ module Google
|
|
|
3210
3277
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3211
3278
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3212
3279
|
#
|
|
3213
|
-
# @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)
|
|
3280
|
+
# @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)
|
|
3214
3281
|
# Pass arguments to `verify_external_sync_settings` via keyword arguments. Note that at
|
|
3215
3282
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3216
3283
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3237,6 +3304,8 @@ module Google
|
|
|
3237
3304
|
# @param selected_objects [::Array<::Google::Cloud::Sql::V1beta4::ExternalSyncSelectedObject, ::Hash>]
|
|
3238
3305
|
# Optional. Migrate only the specified objects from the source instance. If
|
|
3239
3306
|
# this field is empty, then migrate all objects.
|
|
3307
|
+
# @param location [::String]
|
|
3308
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3240
3309
|
#
|
|
3241
3310
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3242
3311
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::SqlInstancesVerifyExternalSyncSettingsResponse]
|
|
@@ -3318,7 +3387,7 @@ module Google
|
|
|
3318
3387
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3319
3388
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3320
3389
|
#
|
|
3321
|
-
# @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)
|
|
3390
|
+
# @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)
|
|
3322
3391
|
# Pass arguments to `start_external_sync` via keyword arguments. Note that at
|
|
3323
3392
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3324
3393
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3345,6 +3414,8 @@ module Google
|
|
|
3345
3414
|
# will wipe replica databases overlapping with the proposed selected_objects.
|
|
3346
3415
|
# If this field is not set and there are both overlapping and additional
|
|
3347
3416
|
# databases proposed, an error will be returned.
|
|
3417
|
+
# @param location [::String]
|
|
3418
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3348
3419
|
#
|
|
3349
3420
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3350
3421
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -3426,7 +3497,7 @@ module Google
|
|
|
3426
3497
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3427
3498
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3428
3499
|
#
|
|
3429
|
-
# @overload perform_disk_shrink(instance: nil, project: nil, body: nil)
|
|
3500
|
+
# @overload perform_disk_shrink(instance: nil, project: nil, body: nil, location: nil)
|
|
3430
3501
|
# Pass arguments to `perform_disk_shrink` via keyword arguments. Note that at
|
|
3431
3502
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3432
3503
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3437,6 +3508,8 @@ module Google
|
|
|
3437
3508
|
# Project ID of the project that contains the instance.
|
|
3438
3509
|
# @param body [::Google::Cloud::Sql::V1beta4::PerformDiskShrinkContext, ::Hash]
|
|
3439
3510
|
# Perform disk shrink context.
|
|
3511
|
+
# @param location [::String]
|
|
3512
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3440
3513
|
#
|
|
3441
3514
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3442
3515
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -3518,7 +3591,7 @@ module Google
|
|
|
3518
3591
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3519
3592
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3520
3593
|
#
|
|
3521
|
-
# @overload get_disk_shrink_config(instance: nil, project: nil)
|
|
3594
|
+
# @overload get_disk_shrink_config(instance: nil, project: nil, location: nil)
|
|
3522
3595
|
# Pass arguments to `get_disk_shrink_config` via keyword arguments. Note that at
|
|
3523
3596
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3524
3597
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3527,6 +3600,8 @@ module Google
|
|
|
3527
3600
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
3528
3601
|
# @param project [::String]
|
|
3529
3602
|
# Project ID of the project that contains the instance.
|
|
3603
|
+
# @param location [::String]
|
|
3604
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3530
3605
|
#
|
|
3531
3606
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3532
3607
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::SqlInstancesGetDiskShrinkConfigResponse]
|
|
@@ -3608,7 +3683,7 @@ module Google
|
|
|
3608
3683
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3609
3684
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3610
3685
|
#
|
|
3611
|
-
# @overload reset_replica_size(instance: nil, project: nil)
|
|
3686
|
+
# @overload reset_replica_size(instance: nil, project: nil, location: nil)
|
|
3612
3687
|
# Pass arguments to `reset_replica_size` via keyword arguments. Note that at
|
|
3613
3688
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3614
3689
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3617,6 +3692,8 @@ module Google
|
|
|
3617
3692
|
# Cloud SQL read replica instance name.
|
|
3618
3693
|
# @param project [::String]
|
|
3619
3694
|
# ID of the project that contains the read replica.
|
|
3695
|
+
# @param location [::String]
|
|
3696
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3620
3697
|
#
|
|
3621
3698
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3622
3699
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|
|
@@ -3698,7 +3775,7 @@ module Google
|
|
|
3698
3775
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3699
3776
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3700
3777
|
#
|
|
3701
|
-
# @overload get_latest_recovery_time(instance: nil, project: nil, source_instance_deletion_time: nil)
|
|
3778
|
+
# @overload get_latest_recovery_time(instance: nil, project: nil, source_instance_deletion_time: nil, location: nil)
|
|
3702
3779
|
# Pass arguments to `get_latest_recovery_time` via keyword arguments. Note that at
|
|
3703
3780
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3704
3781
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3710,6 +3787,8 @@ module Google
|
|
|
3710
3787
|
# @param source_instance_deletion_time [::Google::Protobuf::Timestamp, ::Hash]
|
|
3711
3788
|
# The timestamp used to identify the time when the source instance is
|
|
3712
3789
|
# deleted. If this instance is deleted, then you must set the timestamp.
|
|
3790
|
+
# @param location [::String]
|
|
3791
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3713
3792
|
#
|
|
3714
3793
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3715
3794
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::SqlInstancesGetLatestRecoveryTimeResponse]
|
|
@@ -3791,7 +3870,7 @@ module Google
|
|
|
3791
3870
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3792
3871
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3793
3872
|
#
|
|
3794
|
-
# @overload execute_sql(instance: nil, project: nil, body: nil)
|
|
3873
|
+
# @overload execute_sql(instance: nil, project: nil, body: nil, location: nil)
|
|
3795
3874
|
# Pass arguments to `execute_sql` via keyword arguments. Note that at
|
|
3796
3875
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3797
3876
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3802,6 +3881,8 @@ module Google
|
|
|
3802
3881
|
# Required. Project ID of the project that contains the instance.
|
|
3803
3882
|
# @param body [::Google::Cloud::Sql::V1beta4::ExecuteSqlPayload, ::Hash]
|
|
3804
3883
|
# The request body.
|
|
3884
|
+
# @param location [::String]
|
|
3885
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3805
3886
|
#
|
|
3806
3887
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3807
3888
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::SqlInstancesExecuteSqlResponse]
|
|
@@ -3883,7 +3964,7 @@ module Google
|
|
|
3883
3964
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3884
3965
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3885
3966
|
#
|
|
3886
|
-
# @overload acquire_ssrs_lease(instance: nil, project: nil, body: nil)
|
|
3967
|
+
# @overload acquire_ssrs_lease(instance: nil, project: nil, body: nil, location: nil)
|
|
3887
3968
|
# Pass arguments to `acquire_ssrs_lease` via keyword arguments. Note that at
|
|
3888
3969
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3889
3970
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3898,6 +3979,8 @@ module Google
|
|
|
3898
3979
|
# project-id).
|
|
3899
3980
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesAcquireSsrsLeaseRequest, ::Hash]
|
|
3900
3981
|
# The body for request to acquire an SSRS lease.
|
|
3982
|
+
# @param location [::String]
|
|
3983
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3901
3984
|
#
|
|
3902
3985
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3903
3986
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::SqlInstancesAcquireSsrsLeaseResponse]
|
|
@@ -3979,7 +4062,7 @@ module Google
|
|
|
3979
4062
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3980
4063
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3981
4064
|
#
|
|
3982
|
-
# @overload release_ssrs_lease(instance: nil, project: nil)
|
|
4065
|
+
# @overload release_ssrs_lease(instance: nil, project: nil, location: nil)
|
|
3983
4066
|
# Pass arguments to `release_ssrs_lease` via keyword arguments. Note that at
|
|
3984
4067
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3985
4068
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3992,6 +4075,8 @@ module Google
|
|
|
3992
4075
|
# @param project [::String]
|
|
3993
4076
|
# Required. The ID of the project that contains the instance (Example:
|
|
3994
4077
|
# project-id).
|
|
4078
|
+
# @param location [::String]
|
|
4079
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3995
4080
|
#
|
|
3996
4081
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3997
4082
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::SqlInstancesReleaseSsrsLeaseResponse]
|
|
@@ -4073,7 +4158,7 @@ module Google
|
|
|
4073
4158
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
4074
4159
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
4075
4160
|
#
|
|
4076
|
-
# @overload pre_check_major_version_upgrade(instance: nil, project: nil, body: nil)
|
|
4161
|
+
# @overload pre_check_major_version_upgrade(instance: nil, project: nil, body: nil, location: nil)
|
|
4077
4162
|
# Pass arguments to `pre_check_major_version_upgrade` via keyword arguments. Note that at
|
|
4078
4163
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
4079
4164
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -4085,6 +4170,8 @@ module Google
|
|
|
4085
4170
|
# @param body [::Google::Cloud::Sql::V1beta4::InstancesPreCheckMajorVersionUpgradeRequest, ::Hash]
|
|
4086
4171
|
# Required. The context for request to perform the pre-check major version
|
|
4087
4172
|
# upgrade operation.
|
|
4173
|
+
# @param location [::String]
|
|
4174
|
+
# Optional. Region of the Cloud SQL instance.
|
|
4088
4175
|
#
|
|
4089
4176
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
4090
4177
|
# @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
|