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.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +4 -4
- data/README.md +9 -2
- data/lib/google/cloud/sql/v1/cloud_sql_connect_pb.rb +2 -1
- data/lib/google/cloud/sql/v1/cloud_sql_connect_services_pb.rb +3 -0
- data/lib/google/cloud/sql/v1/cloud_sql_databases_pb.rb +2 -1
- data/lib/google/cloud/sql/v1/cloud_sql_instances_pb.rb +3 -1
- data/lib/google/cloud/sql/v1/cloud_sql_operations_pb.rb +1 -1
- data/lib/google/cloud/sql/v1/cloud_sql_resources_pb.rb +3 -1
- data/lib/google/cloud/sql/v1/cloud_sql_ssl_certs_pb.rb +2 -1
- data/lib/google/cloud/sql/v1/cloud_sql_users_pb.rb +1 -1
- data/lib/google/cloud/sql/v1/sql_backups_service/paths.rb +19 -0
- data/lib/google/cloud/sql/v1/sql_connect_service/client.rb +98 -0
- data/lib/google/cloud/sql/v1/sql_connect_service/rest/client.rb +88 -0
- data/lib/google/cloud/sql/v1/sql_connect_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/sql/v1/sql_databases_service/client.rb +18 -6
- data/lib/google/cloud/sql/v1/sql_databases_service/rest/client.rb +18 -6
- data/lib/google/cloud/sql/v1/sql_instances_service/client.rb +137 -44
- data/lib/google/cloud/sql/v1/sql_instances_service/paths.rb +64 -0
- data/lib/google/cloud/sql/v1/sql_instances_service/rest/client.rb +132 -42
- data/lib/google/cloud/sql/v1/sql_operations_service/client.rb +9 -3
- data/lib/google/cloud/sql/v1/sql_operations_service/rest/client.rb +9 -3
- data/lib/google/cloud/sql/v1/sql_users_service/client.rb +23 -5
- data/lib/google/cloud/sql/v1/sql_users_service/rest/client.rb +23 -5
- data/lib/google/cloud/sql/v1/version.rb +1 -1
- data/lib/google/cloud/sql/v1.rb +0 -6
- data/proto_docs/google/api/routing.rb +463 -0
- data/proto_docs/google/cloud/sql/v1/cloud_sql_connect.rb +16 -0
- data/proto_docs/google/cloud/sql/v1/cloud_sql_databases.rb +15 -0
- data/proto_docs/google/cloud/sql/v1/cloud_sql_instances.rb +174 -1
- data/proto_docs/google/cloud/sql/v1/cloud_sql_operations.rb +9 -0
- data/proto_docs/google/cloud/sql/v1/cloud_sql_resources.rb +126 -14
- data/proto_docs/google/cloud/sql/v1/cloud_sql_users.rb +32 -0
- data/proto_docs/google/protobuf/timestamp.rb +7 -6
- metadata +6 -5
|
@@ -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::V1::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
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
324
326
|
# @param project [::String]
|
|
325
327
|
# 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::V1::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::V1::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
|
# Required. Project ID of the source Cloud SQL instance.
|
|
510
516
|
# @param body [::Google::Cloud::Sql::V1::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::V1::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::V1::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::V1::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::V1::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. ID of the project that contains the instance.
|
|
797
809
|
# @param body [::Google::Cloud::Sql::V1::InstancesDemoteRequest, ::Hash]
|
|
798
810
|
# Required. 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::V1::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::V1::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::V1::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::V1::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::V1::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::V1::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::V1::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
|
# Required. Database instance ID. This does not include the project ID.
|
|
1169
1189
|
# @param project [::String]
|
|
1170
1190
|
# Required. 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::V1::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::V1::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::V1::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::V1::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::V1::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::V1::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::V1::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::V1::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::V1::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, 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).
|
|
@@ -1823,7 +1860,15 @@ module Google
|
|
|
1823
1860
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1824
1861
|
# @param project [::String]
|
|
1825
1862
|
# Project ID of the project that contains the instance.
|
|
1863
|
+
# @param reconcile_psc_networking [::Boolean]
|
|
1864
|
+
# Optional. Set PSC config to the same value as the existing config to
|
|
1865
|
+
# reconcile the PSC networking.
|
|
1866
|
+
# @param reconcile_psc_networking_force [::Boolean]
|
|
1867
|
+
# Optional. Set PSC config to the same value as the existing config and force
|
|
1868
|
+
# reconcile the PSC networking.
|
|
1826
1869
|
# @param body [::Google::Cloud::Sql::V1::DatabaseInstance, ::Hash]
|
|
1870
|
+
# @param location [::String]
|
|
1871
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1827
1872
|
#
|
|
1828
1873
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1829
1874
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -1907,7 +1952,7 @@ module Google
|
|
|
1907
1952
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1908
1953
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1909
1954
|
#
|
|
1910
|
-
# @overload promote_replica(instance: nil, project: nil, failover: nil)
|
|
1955
|
+
# @overload promote_replica(instance: nil, project: nil, failover: nil, location: nil)
|
|
1911
1956
|
# Pass arguments to `promote_replica` via keyword arguments. Note that at
|
|
1912
1957
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1913
1958
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1923,6 +1968,8 @@ module Google
|
|
|
1923
1968
|
# DR replica when the original primary instance comes back online.
|
|
1924
1969
|
# If set to false or not specified, then the original primary
|
|
1925
1970
|
# instance becomes an independent Cloud SQL primary instance.
|
|
1971
|
+
# @param location [::String]
|
|
1972
|
+
# Optional. Region of the Cloud SQL instance.
|
|
1926
1973
|
#
|
|
1927
1974
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1928
1975
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2005,7 +2052,7 @@ module Google
|
|
|
2005
2052
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2006
2053
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2007
2054
|
#
|
|
2008
|
-
# @overload switchover(instance: nil, project: nil, db_timeout: nil)
|
|
2055
|
+
# @overload switchover(instance: nil, project: nil, db_timeout: nil, location: nil)
|
|
2009
2056
|
# Pass arguments to `switchover` via keyword arguments. Note that at
|
|
2010
2057
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2011
2058
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2018,6 +2065,8 @@ module Google
|
|
|
2018
2065
|
# Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations
|
|
2019
2066
|
# timeout, which is a sum of all database operations. Default value is 10
|
|
2020
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.
|
|
2021
2070
|
#
|
|
2022
2071
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2023
2072
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2100,7 +2149,7 @@ module Google
|
|
|
2100
2149
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2101
2150
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2102
2151
|
#
|
|
2103
|
-
# @overload reset_ssl_config(instance: nil, project: nil, mode: nil)
|
|
2152
|
+
# @overload reset_ssl_config(instance: nil, project: nil, mode: nil, location: nil)
|
|
2104
2153
|
# Pass arguments to `reset_ssl_config` via keyword arguments. Note that at
|
|
2105
2154
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2106
2155
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2111,6 +2160,8 @@ module Google
|
|
|
2111
2160
|
# Project ID of the project that contains the instance.
|
|
2112
2161
|
# @param mode [::Google::Cloud::Sql::V1::SqlInstancesResetSslConfigRequest::ResetSslMode]
|
|
2113
2162
|
# Optional. Reset SSL mode to use.
|
|
2163
|
+
# @param location [::String]
|
|
2164
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2114
2165
|
#
|
|
2115
2166
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2116
2167
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2192,7 +2243,7 @@ module Google
|
|
|
2192
2243
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2193
2244
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2194
2245
|
#
|
|
2195
|
-
# @overload restart(instance: nil, project: nil)
|
|
2246
|
+
# @overload restart(instance: nil, project: nil, location: nil)
|
|
2196
2247
|
# Pass arguments to `restart` via keyword arguments. Note that at
|
|
2197
2248
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2198
2249
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2201,6 +2252,8 @@ module Google
|
|
|
2201
2252
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
2202
2253
|
# @param project [::String]
|
|
2203
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.
|
|
2204
2257
|
#
|
|
2205
2258
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2206
2259
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2283,7 +2336,7 @@ module Google
|
|
|
2283
2336
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2284
2337
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2285
2338
|
#
|
|
2286
|
-
# @overload restore_backup(instance: nil, project: nil, body: nil)
|
|
2339
|
+
# @overload restore_backup(instance: nil, project: nil, body: nil, location: nil)
|
|
2287
2340
|
# Pass arguments to `restore_backup` via keyword arguments. Note that at
|
|
2288
2341
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2289
2342
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2293,6 +2346,8 @@ module Google
|
|
|
2293
2346
|
# @param project [::String]
|
|
2294
2347
|
# Project ID of the project that contains the instance.
|
|
2295
2348
|
# @param body [::Google::Cloud::Sql::V1::InstancesRestoreBackupRequest, ::Hash]
|
|
2349
|
+
# @param location [::String]
|
|
2350
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2296
2351
|
#
|
|
2297
2352
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2298
2353
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2377,7 +2432,7 @@ module Google
|
|
|
2377
2432
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2378
2433
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2379
2434
|
#
|
|
2380
|
-
# @overload rotate_server_ca(instance: nil, project: nil, body: nil)
|
|
2435
|
+
# @overload rotate_server_ca(instance: nil, project: nil, body: nil, location: nil)
|
|
2381
2436
|
# Pass arguments to `rotate_server_ca` via keyword arguments. Note that at
|
|
2382
2437
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2383
2438
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2387,6 +2442,8 @@ module Google
|
|
|
2387
2442
|
# @param project [::String]
|
|
2388
2443
|
# Project ID of the project that contains the instance.
|
|
2389
2444
|
# @param body [::Google::Cloud::Sql::V1::InstancesRotateServerCaRequest, ::Hash]
|
|
2445
|
+
# @param location [::String]
|
|
2446
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2390
2447
|
#
|
|
2391
2448
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2392
2449
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2470,7 +2527,7 @@ module Google
|
|
|
2470
2527
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2471
2528
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2472
2529
|
#
|
|
2473
|
-
# @overload rotate_server_certificate(instance: nil, project: nil, body: nil)
|
|
2530
|
+
# @overload rotate_server_certificate(instance: nil, project: nil, body: nil, location: nil)
|
|
2474
2531
|
# Pass arguments to `rotate_server_certificate` via keyword arguments. Note that at
|
|
2475
2532
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2476
2533
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2481,6 +2538,8 @@ module Google
|
|
|
2481
2538
|
# Required. Project ID of the project that contains the instance.
|
|
2482
2539
|
# @param body [::Google::Cloud::Sql::V1::InstancesRotateServerCertificateRequest, ::Hash]
|
|
2483
2540
|
# Optional. Rotate server certificate request body.
|
|
2541
|
+
# @param location [::String]
|
|
2542
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2484
2543
|
#
|
|
2485
2544
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2486
2545
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2563,7 +2622,7 @@ module Google
|
|
|
2563
2622
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2564
2623
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2565
2624
|
#
|
|
2566
|
-
# @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)
|
|
2567
2626
|
# Pass arguments to `rotate_entra_id_certificate` via keyword arguments. Note that at
|
|
2568
2627
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2569
2628
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2574,6 +2633,8 @@ module Google
|
|
|
2574
2633
|
# Required. Project ID of the project that contains the instance.
|
|
2575
2634
|
# @param body [::Google::Cloud::Sql::V1::InstancesRotateEntraIdCertificateRequest, ::Hash]
|
|
2576
2635
|
# Optional. Rotate Entra ID certificate request body.
|
|
2636
|
+
# @param location [::String]
|
|
2637
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2577
2638
|
#
|
|
2578
2639
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2579
2640
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2655,7 +2716,7 @@ module Google
|
|
|
2655
2716
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2656
2717
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2657
2718
|
#
|
|
2658
|
-
# @overload start_replica(instance: nil, project: nil)
|
|
2719
|
+
# @overload start_replica(instance: nil, project: nil, location: nil)
|
|
2659
2720
|
# Pass arguments to `start_replica` via keyword arguments. Note that at
|
|
2660
2721
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2661
2722
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2664,6 +2725,8 @@ module Google
|
|
|
2664
2725
|
# Cloud SQL read replica instance name.
|
|
2665
2726
|
# @param project [::String]
|
|
2666
2727
|
# ID of the project that contains the read replica.
|
|
2728
|
+
# @param location [::String]
|
|
2729
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2667
2730
|
#
|
|
2668
2731
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2669
2732
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2745,7 +2808,7 @@ module Google
|
|
|
2745
2808
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2746
2809
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2747
2810
|
#
|
|
2748
|
-
# @overload stop_replica(instance: nil, project: nil)
|
|
2811
|
+
# @overload stop_replica(instance: nil, project: nil, location: nil)
|
|
2749
2812
|
# Pass arguments to `stop_replica` via keyword arguments. Note that at
|
|
2750
2813
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2751
2814
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2754,6 +2817,8 @@ module Google
|
|
|
2754
2817
|
# Cloud SQL read replica instance name.
|
|
2755
2818
|
# @param project [::String]
|
|
2756
2819
|
# ID of the project that contains the read replica.
|
|
2820
|
+
# @param location [::String]
|
|
2821
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2757
2822
|
#
|
|
2758
2823
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2759
2824
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2836,7 +2901,7 @@ module Google
|
|
|
2836
2901
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2837
2902
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2838
2903
|
#
|
|
2839
|
-
# @overload truncate_log(instance: nil, project: nil, body: nil)
|
|
2904
|
+
# @overload truncate_log(instance: nil, project: nil, body: nil, location: nil)
|
|
2840
2905
|
# Pass arguments to `truncate_log` via keyword arguments. Note that at
|
|
2841
2906
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2842
2907
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2846,6 +2911,8 @@ module Google
|
|
|
2846
2911
|
# @param project [::String]
|
|
2847
2912
|
# Project ID of the Cloud SQL project.
|
|
2848
2913
|
# @param body [::Google::Cloud::Sql::V1::InstancesTruncateLogRequest, ::Hash]
|
|
2914
|
+
# @param location [::String]
|
|
2915
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2849
2916
|
#
|
|
2850
2917
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2851
2918
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -2928,7 +2995,7 @@ module Google
|
|
|
2928
2995
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2929
2996
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2930
2997
|
#
|
|
2931
|
-
# @overload update(instance: nil, project: nil, body: nil)
|
|
2998
|
+
# @overload update(instance: nil, project: nil, body: nil, location: nil)
|
|
2932
2999
|
# Pass arguments to `update` via keyword arguments. Note that at
|
|
2933
3000
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2934
3001
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2938,6 +3005,8 @@ module Google
|
|
|
2938
3005
|
# @param project [::String]
|
|
2939
3006
|
# Project ID of the project that contains the instance.
|
|
2940
3007
|
# @param body [::Google::Cloud::Sql::V1::DatabaseInstance, ::Hash]
|
|
3008
|
+
# @param location [::String]
|
|
3009
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2941
3010
|
#
|
|
2942
3011
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2943
3012
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -3022,7 +3091,7 @@ module Google
|
|
|
3022
3091
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3023
3092
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3024
3093
|
#
|
|
3025
|
-
# @overload create_ephemeral(instance: nil, project: nil, body: nil)
|
|
3094
|
+
# @overload create_ephemeral(instance: nil, project: nil, body: nil, location: nil)
|
|
3026
3095
|
# Pass arguments to `create_ephemeral` via keyword arguments. Note that at
|
|
3027
3096
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3028
3097
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3032,6 +3101,8 @@ module Google
|
|
|
3032
3101
|
# @param project [::String]
|
|
3033
3102
|
# Project ID of the Cloud SQL project.
|
|
3034
3103
|
# @param body [::Google::Cloud::Sql::V1::SslCertsCreateEphemeralRequest, ::Hash]
|
|
3104
|
+
# @param location [::String]
|
|
3105
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3035
3106
|
#
|
|
3036
3107
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3037
3108
|
# @yieldparam response [::Google::Cloud::Sql::V1::SslCert]
|
|
@@ -3113,7 +3184,7 @@ module Google
|
|
|
3113
3184
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3114
3185
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3115
3186
|
#
|
|
3116
|
-
# @overload reschedule_maintenance(instance: nil, project: nil, body: nil)
|
|
3187
|
+
# @overload reschedule_maintenance(instance: nil, project: nil, body: nil, location: nil)
|
|
3117
3188
|
# Pass arguments to `reschedule_maintenance` via keyword arguments. Note that at
|
|
3118
3189
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3119
3190
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3123,6 +3194,8 @@ module Google
|
|
|
3123
3194
|
# @param project [::String]
|
|
3124
3195
|
# ID of the project that contains the instance.
|
|
3125
3196
|
# @param body [::Google::Cloud::Sql::V1::SqlInstancesRescheduleMaintenanceRequestBody, ::Hash]
|
|
3197
|
+
# @param location [::String]
|
|
3198
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3126
3199
|
#
|
|
3127
3200
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3128
3201
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -3204,7 +3277,7 @@ module Google
|
|
|
3204
3277
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3205
3278
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3206
3279
|
#
|
|
3207
|
-
# @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)
|
|
3208
3281
|
# Pass arguments to `verify_external_sync_settings` via keyword arguments. Note that at
|
|
3209
3282
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3210
3283
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3231,6 +3304,8 @@ module Google
|
|
|
3231
3304
|
# @param selected_objects [::Array<::Google::Cloud::Sql::V1::ExternalSyncSelectedObject, ::Hash>]
|
|
3232
3305
|
# Optional. Migrate only the specified objects from the source instance. If
|
|
3233
3306
|
# this field is empty, then migrate all objects.
|
|
3307
|
+
# @param location [::String]
|
|
3308
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3234
3309
|
#
|
|
3235
3310
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3236
3311
|
# @yieldparam response [::Google::Cloud::Sql::V1::SqlInstancesVerifyExternalSyncSettingsResponse]
|
|
@@ -3312,7 +3387,7 @@ module Google
|
|
|
3312
3387
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3313
3388
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3314
3389
|
#
|
|
3315
|
-
# @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)
|
|
3316
3391
|
# Pass arguments to `start_external_sync` via keyword arguments. Note that at
|
|
3317
3392
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3318
3393
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3339,6 +3414,8 @@ module Google
|
|
|
3339
3414
|
# will wipe replica databases overlapping with the proposed selected_objects.
|
|
3340
3415
|
# If this field is not set and there are both overlapping and additional
|
|
3341
3416
|
# databases proposed, an error will be returned.
|
|
3417
|
+
# @param location [::String]
|
|
3418
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3342
3419
|
#
|
|
3343
3420
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3344
3421
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -3420,7 +3497,7 @@ module Google
|
|
|
3420
3497
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3421
3498
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3422
3499
|
#
|
|
3423
|
-
# @overload perform_disk_shrink(instance: nil, project: nil, body: nil)
|
|
3500
|
+
# @overload perform_disk_shrink(instance: nil, project: nil, body: nil, location: nil)
|
|
3424
3501
|
# Pass arguments to `perform_disk_shrink` via keyword arguments. Note that at
|
|
3425
3502
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3426
3503
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3431,6 +3508,8 @@ module Google
|
|
|
3431
3508
|
# Project ID of the project that contains the instance.
|
|
3432
3509
|
# @param body [::Google::Cloud::Sql::V1::PerformDiskShrinkContext, ::Hash]
|
|
3433
3510
|
# Perform disk shrink context.
|
|
3511
|
+
# @param location [::String]
|
|
3512
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3434
3513
|
#
|
|
3435
3514
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3436
3515
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -3512,7 +3591,7 @@ module Google
|
|
|
3512
3591
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3513
3592
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3514
3593
|
#
|
|
3515
|
-
# @overload get_disk_shrink_config(instance: nil, project: nil)
|
|
3594
|
+
# @overload get_disk_shrink_config(instance: nil, project: nil, location: nil)
|
|
3516
3595
|
# Pass arguments to `get_disk_shrink_config` via keyword arguments. Note that at
|
|
3517
3596
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3518
3597
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3521,6 +3600,8 @@ module Google
|
|
|
3521
3600
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
3522
3601
|
# @param project [::String]
|
|
3523
3602
|
# Project ID of the project that contains the instance.
|
|
3603
|
+
# @param location [::String]
|
|
3604
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3524
3605
|
#
|
|
3525
3606
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3526
3607
|
# @yieldparam response [::Google::Cloud::Sql::V1::SqlInstancesGetDiskShrinkConfigResponse]
|
|
@@ -3602,7 +3683,7 @@ module Google
|
|
|
3602
3683
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3603
3684
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3604
3685
|
#
|
|
3605
|
-
# @overload reset_replica_size(instance: nil, project: nil)
|
|
3686
|
+
# @overload reset_replica_size(instance: nil, project: nil, location: nil)
|
|
3606
3687
|
# Pass arguments to `reset_replica_size` via keyword arguments. Note that at
|
|
3607
3688
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3608
3689
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3611,6 +3692,8 @@ module Google
|
|
|
3611
3692
|
# Cloud SQL read replica instance name.
|
|
3612
3693
|
# @param project [::String]
|
|
3613
3694
|
# ID of the project that contains the read replica.
|
|
3695
|
+
# @param location [::String]
|
|
3696
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3614
3697
|
#
|
|
3615
3698
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3616
3699
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|
|
@@ -3692,7 +3775,7 @@ module Google
|
|
|
3692
3775
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3693
3776
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3694
3777
|
#
|
|
3695
|
-
# @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)
|
|
3696
3779
|
# Pass arguments to `get_latest_recovery_time` via keyword arguments. Note that at
|
|
3697
3780
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3698
3781
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3704,6 +3787,8 @@ module Google
|
|
|
3704
3787
|
# @param source_instance_deletion_time [::Google::Protobuf::Timestamp, ::Hash]
|
|
3705
3788
|
# The timestamp used to identify the time when the source instance is
|
|
3706
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.
|
|
3707
3792
|
#
|
|
3708
3793
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3709
3794
|
# @yieldparam response [::Google::Cloud::Sql::V1::SqlInstancesGetLatestRecoveryTimeResponse]
|
|
@@ -3785,7 +3870,7 @@ module Google
|
|
|
3785
3870
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3786
3871
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3787
3872
|
#
|
|
3788
|
-
# @overload execute_sql(instance: nil, project: nil, body: nil)
|
|
3873
|
+
# @overload execute_sql(instance: nil, project: nil, body: nil, location: nil)
|
|
3789
3874
|
# Pass arguments to `execute_sql` via keyword arguments. Note that at
|
|
3790
3875
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3791
3876
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3796,6 +3881,8 @@ module Google
|
|
|
3796
3881
|
# Required. Project ID of the project that contains the instance.
|
|
3797
3882
|
# @param body [::Google::Cloud::Sql::V1::ExecuteSqlPayload, ::Hash]
|
|
3798
3883
|
# The request body.
|
|
3884
|
+
# @param location [::String]
|
|
3885
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3799
3886
|
#
|
|
3800
3887
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3801
3888
|
# @yieldparam response [::Google::Cloud::Sql::V1::SqlInstancesExecuteSqlResponse]
|
|
@@ -3877,7 +3964,7 @@ module Google
|
|
|
3877
3964
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3878
3965
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3879
3966
|
#
|
|
3880
|
-
# @overload acquire_ssrs_lease(instance: nil, project: nil, body: nil)
|
|
3967
|
+
# @overload acquire_ssrs_lease(instance: nil, project: nil, body: nil, location: nil)
|
|
3881
3968
|
# Pass arguments to `acquire_ssrs_lease` via keyword arguments. Note that at
|
|
3882
3969
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3883
3970
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3892,6 +3979,8 @@ module Google
|
|
|
3892
3979
|
# project-id).
|
|
3893
3980
|
# @param body [::Google::Cloud::Sql::V1::InstancesAcquireSsrsLeaseRequest, ::Hash]
|
|
3894
3981
|
# Required. The request body.
|
|
3982
|
+
# @param location [::String]
|
|
3983
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3895
3984
|
#
|
|
3896
3985
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3897
3986
|
# @yieldparam response [::Google::Cloud::Sql::V1::SqlInstancesAcquireSsrsLeaseResponse]
|
|
@@ -3973,7 +4062,7 @@ module Google
|
|
|
3973
4062
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3974
4063
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3975
4064
|
#
|
|
3976
|
-
# @overload release_ssrs_lease(instance: nil, project: nil)
|
|
4065
|
+
# @overload release_ssrs_lease(instance: nil, project: nil, location: nil)
|
|
3977
4066
|
# Pass arguments to `release_ssrs_lease` via keyword arguments. Note that at
|
|
3978
4067
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3979
4068
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3985,6 +4074,8 @@ module Google
|
|
|
3985
4074
|
# characters.
|
|
3986
4075
|
# @param project [::String]
|
|
3987
4076
|
# Required. The project ID that contains the instance.
|
|
4077
|
+
# @param location [::String]
|
|
4078
|
+
# Optional. Region of the Cloud SQL instance.
|
|
3988
4079
|
#
|
|
3989
4080
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3990
4081
|
# @yieldparam response [::Google::Cloud::Sql::V1::SqlInstancesReleaseSsrsLeaseResponse]
|
|
@@ -4066,7 +4157,7 @@ module Google
|
|
|
4066
4157
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
4067
4158
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
4068
4159
|
#
|
|
4069
|
-
# @overload pre_check_major_version_upgrade(instance: nil, project: nil, body: nil)
|
|
4160
|
+
# @overload pre_check_major_version_upgrade(instance: nil, project: nil, body: nil, location: nil)
|
|
4070
4161
|
# Pass arguments to `pre_check_major_version_upgrade` via keyword arguments. Note that at
|
|
4071
4162
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
4072
4163
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -4078,6 +4169,8 @@ module Google
|
|
|
4078
4169
|
# @param body [::Google::Cloud::Sql::V1::InstancesPreCheckMajorVersionUpgradeRequest, ::Hash]
|
|
4079
4170
|
# Required. The context for request to perform the pre-check major version
|
|
4080
4171
|
# upgrade operation.
|
|
4172
|
+
# @param location [::String]
|
|
4173
|
+
# Optional. Region of the Cloud SQL instance.
|
|
4081
4174
|
#
|
|
4082
4175
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
4083
4176
|
# @yieldparam response [::Google::Cloud::Sql::V1::Operation]
|