google-cloud-alloy_db-v1 0.9.0 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/client.rb +65 -31
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/operations.rb +13 -5
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/client.rb +65 -31
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/operations.rb +11 -4
- data/lib/google/cloud/alloy_db/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e26ab7fa39c133b497aa0af89afc7797a46865ce617e876de3b4db1210fcb7d5
|
4
|
+
data.tar.gz: 11602d492dde8106213ea89fcdebca2271f0717e242931d8f15fb80cb287b748
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8cc6e099d93f9ba16c18bc14a2ffb6f9280b25d7c5c8d2b3719132681ef7e2be1db98832bd9ee2ff7cbbce40b0611d50938b6079dfeb5d2060ab8b5ffbf4efa
|
7
|
+
data.tar.gz: ea84b2261650e18ac86052fdb77c0abd85cf394a1fe9a918c0b0c3e88fde9541e846be7f08aacf4c785b3854fe9db94245183e875a5b94b8c7bb2e231b25975e
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases.
|
4
4
|
|
5
|
-
AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance.
|
5
|
+
AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases.
|
6
6
|
|
7
7
|
https://github.com/googleapis/google-cloud-ruby
|
8
8
|
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service describing handlers for resources
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "alloydb.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -322,10 +325,11 @@ module Google
|
|
322
325
|
# Customize the options with defaults
|
323
326
|
metadata = @config.rpcs.list_clusters.metadata.to_h
|
324
327
|
|
325
|
-
# Set x-goog-api-client
|
328
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
326
329
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
327
330
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
328
331
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
332
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
329
333
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
330
334
|
|
331
335
|
header_params = {}
|
@@ -412,10 +416,11 @@ module Google
|
|
412
416
|
# Customize the options with defaults
|
413
417
|
metadata = @config.rpcs.get_cluster.metadata.to_h
|
414
418
|
|
415
|
-
# Set x-goog-api-client
|
419
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
416
420
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
417
421
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
418
422
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
423
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
419
424
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
420
425
|
|
421
426
|
header_params = {}
|
@@ -527,10 +532,11 @@ module Google
|
|
527
532
|
# Customize the options with defaults
|
528
533
|
metadata = @config.rpcs.create_cluster.metadata.to_h
|
529
534
|
|
530
|
-
# Set x-goog-api-client
|
535
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
531
536
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
532
537
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
533
538
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
539
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
534
540
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
535
541
|
|
536
542
|
header_params = {}
|
@@ -647,10 +653,11 @@ module Google
|
|
647
653
|
# Customize the options with defaults
|
648
654
|
metadata = @config.rpcs.update_cluster.metadata.to_h
|
649
655
|
|
650
|
-
# Set x-goog-api-client
|
656
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
651
657
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
652
658
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
653
659
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
660
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
654
661
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
655
662
|
|
656
663
|
header_params = {}
|
@@ -764,10 +771,11 @@ module Google
|
|
764
771
|
# Customize the options with defaults
|
765
772
|
metadata = @config.rpcs.delete_cluster.metadata.to_h
|
766
773
|
|
767
|
-
# Set x-goog-api-client
|
774
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
768
775
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
769
776
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
770
777
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
778
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
771
779
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
772
780
|
|
773
781
|
header_params = {}
|
@@ -882,10 +890,11 @@ module Google
|
|
882
890
|
# Customize the options with defaults
|
883
891
|
metadata = @config.rpcs.promote_cluster.metadata.to_h
|
884
892
|
|
885
|
-
# Set x-goog-api-client
|
893
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
886
894
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
887
895
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
888
896
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
897
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
889
898
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
890
899
|
|
891
900
|
header_params = {}
|
@@ -1005,10 +1014,11 @@ module Google
|
|
1005
1014
|
# Customize the options with defaults
|
1006
1015
|
metadata = @config.rpcs.restore_cluster.metadata.to_h
|
1007
1016
|
|
1008
|
-
# Set x-goog-api-client
|
1017
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1009
1018
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1010
1019
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1011
1020
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
1021
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1012
1022
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1013
1023
|
|
1014
1024
|
header_params = {}
|
@@ -1122,10 +1132,11 @@ module Google
|
|
1122
1132
|
# Customize the options with defaults
|
1123
1133
|
metadata = @config.rpcs.create_secondary_cluster.metadata.to_h
|
1124
1134
|
|
1125
|
-
# Set x-goog-api-client
|
1135
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1126
1136
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1127
1137
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1128
1138
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
1139
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1129
1140
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1130
1141
|
|
1131
1142
|
header_params = {}
|
@@ -1226,10 +1237,11 @@ module Google
|
|
1226
1237
|
# Customize the options with defaults
|
1227
1238
|
metadata = @config.rpcs.list_instances.metadata.to_h
|
1228
1239
|
|
1229
|
-
# Set x-goog-api-client
|
1240
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1230
1241
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1231
1242
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1232
1243
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
1244
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1233
1245
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1234
1246
|
|
1235
1247
|
header_params = {}
|
@@ -1315,10 +1327,11 @@ module Google
|
|
1315
1327
|
# Customize the options with defaults
|
1316
1328
|
metadata = @config.rpcs.get_instance.metadata.to_h
|
1317
1329
|
|
1318
|
-
# Set x-goog-api-client
|
1330
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1319
1331
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1320
1332
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1321
1333
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
1334
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1322
1335
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1323
1336
|
|
1324
1337
|
header_params = {}
|
@@ -1430,10 +1443,11 @@ module Google
|
|
1430
1443
|
# Customize the options with defaults
|
1431
1444
|
metadata = @config.rpcs.create_instance.metadata.to_h
|
1432
1445
|
|
1433
|
-
# Set x-goog-api-client
|
1446
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1434
1447
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1435
1448
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1436
1449
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
1450
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1437
1451
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1438
1452
|
|
1439
1453
|
header_params = {}
|
@@ -1546,10 +1560,11 @@ module Google
|
|
1546
1560
|
# Customize the options with defaults
|
1547
1561
|
metadata = @config.rpcs.create_secondary_instance.metadata.to_h
|
1548
1562
|
|
1549
|
-
# Set x-goog-api-client
|
1563
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1550
1564
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1551
1565
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1552
1566
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
1567
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1553
1568
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1554
1569
|
|
1555
1570
|
header_params = {}
|
@@ -1664,10 +1679,11 @@ module Google
|
|
1664
1679
|
# Customize the options with defaults
|
1665
1680
|
metadata = @config.rpcs.batch_create_instances.metadata.to_h
|
1666
1681
|
|
1667
|
-
# Set x-goog-api-client
|
1682
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1668
1683
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1669
1684
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1670
1685
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
1686
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1671
1687
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1672
1688
|
|
1673
1689
|
header_params = {}
|
@@ -1784,10 +1800,11 @@ module Google
|
|
1784
1800
|
# Customize the options with defaults
|
1785
1801
|
metadata = @config.rpcs.update_instance.metadata.to_h
|
1786
1802
|
|
1787
|
-
# Set x-goog-api-client
|
1803
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1788
1804
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1789
1805
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1790
1806
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
1807
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1791
1808
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1792
1809
|
|
1793
1810
|
header_params = {}
|
@@ -1899,10 +1916,11 @@ module Google
|
|
1899
1916
|
# Customize the options with defaults
|
1900
1917
|
metadata = @config.rpcs.delete_instance.metadata.to_h
|
1901
1918
|
|
1902
|
-
# Set x-goog-api-client
|
1919
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1903
1920
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1904
1921
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1905
1922
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
1923
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1906
1924
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1907
1925
|
|
1908
1926
|
header_params = {}
|
@@ -2012,10 +2030,11 @@ module Google
|
|
2012
2030
|
# Customize the options with defaults
|
2013
2031
|
metadata = @config.rpcs.failover_instance.metadata.to_h
|
2014
2032
|
|
2015
|
-
# Set x-goog-api-client
|
2033
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2016
2034
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2017
2035
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2018
2036
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
2037
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2019
2038
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2020
2039
|
|
2021
2040
|
header_params = {}
|
@@ -2127,10 +2146,11 @@ module Google
|
|
2127
2146
|
# Customize the options with defaults
|
2128
2147
|
metadata = @config.rpcs.inject_fault.metadata.to_h
|
2129
2148
|
|
2130
|
-
# Set x-goog-api-client
|
2149
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2131
2150
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2132
2151
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2133
2152
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
2153
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2134
2154
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2135
2155
|
|
2136
2156
|
header_params = {}
|
@@ -2239,10 +2259,11 @@ module Google
|
|
2239
2259
|
# Customize the options with defaults
|
2240
2260
|
metadata = @config.rpcs.restart_instance.metadata.to_h
|
2241
2261
|
|
2242
|
-
# Set x-goog-api-client
|
2262
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2243
2263
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2244
2264
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2245
2265
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
2266
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2246
2267
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2247
2268
|
|
2248
2269
|
header_params = {}
|
@@ -2338,10 +2359,11 @@ module Google
|
|
2338
2359
|
# Customize the options with defaults
|
2339
2360
|
metadata = @config.rpcs.list_backups.metadata.to_h
|
2340
2361
|
|
2341
|
-
# Set x-goog-api-client
|
2362
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2342
2363
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2343
2364
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2344
2365
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
2366
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2345
2367
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2346
2368
|
|
2347
2369
|
header_params = {}
|
@@ -2424,10 +2446,11 @@ module Google
|
|
2424
2446
|
# Customize the options with defaults
|
2425
2447
|
metadata = @config.rpcs.get_backup.metadata.to_h
|
2426
2448
|
|
2427
|
-
# Set x-goog-api-client
|
2449
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2428
2450
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2429
2451
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2430
2452
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
2453
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2431
2454
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2432
2455
|
|
2433
2456
|
header_params = {}
|
@@ -2537,10 +2560,11 @@ module Google
|
|
2537
2560
|
# Customize the options with defaults
|
2538
2561
|
metadata = @config.rpcs.create_backup.metadata.to_h
|
2539
2562
|
|
2540
|
-
# Set x-goog-api-client
|
2563
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2541
2564
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2542
2565
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2543
2566
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
2567
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2544
2568
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2545
2569
|
|
2546
2570
|
header_params = {}
|
@@ -2656,10 +2680,11 @@ module Google
|
|
2656
2680
|
# Customize the options with defaults
|
2657
2681
|
metadata = @config.rpcs.update_backup.metadata.to_h
|
2658
2682
|
|
2659
|
-
# Set x-goog-api-client
|
2683
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2660
2684
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2661
2685
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2662
2686
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
2687
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2663
2688
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2664
2689
|
|
2665
2690
|
header_params = {}
|
@@ -2771,10 +2796,11 @@ module Google
|
|
2771
2796
|
# Customize the options with defaults
|
2772
2797
|
metadata = @config.rpcs.delete_backup.metadata.to_h
|
2773
2798
|
|
2774
|
-
# Set x-goog-api-client
|
2799
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2775
2800
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2776
2801
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2777
2802
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
2803
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2778
2804
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2779
2805
|
|
2780
2806
|
header_params = {}
|
@@ -2872,10 +2898,11 @@ module Google
|
|
2872
2898
|
# Customize the options with defaults
|
2873
2899
|
metadata = @config.rpcs.list_supported_database_flags.metadata.to_h
|
2874
2900
|
|
2875
|
-
# Set x-goog-api-client
|
2901
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2876
2902
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2877
2903
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2878
2904
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
2905
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2879
2906
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2880
2907
|
|
2881
2908
|
header_params = {}
|
@@ -2989,10 +3016,11 @@ module Google
|
|
2989
3016
|
# Customize the options with defaults
|
2990
3017
|
metadata = @config.rpcs.generate_client_certificate.metadata.to_h
|
2991
3018
|
|
2992
|
-
# Set x-goog-api-client
|
3019
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2993
3020
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2994
3021
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2995
3022
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
3023
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2996
3024
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2997
3025
|
|
2998
3026
|
header_params = {}
|
@@ -3089,10 +3117,11 @@ module Google
|
|
3089
3117
|
# Customize the options with defaults
|
3090
3118
|
metadata = @config.rpcs.get_connection_info.metadata.to_h
|
3091
3119
|
|
3092
|
-
# Set x-goog-api-client
|
3120
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3093
3121
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3094
3122
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3095
3123
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
3124
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3096
3125
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3097
3126
|
|
3098
3127
|
header_params = {}
|
@@ -3187,10 +3216,11 @@ module Google
|
|
3187
3216
|
# Customize the options with defaults
|
3188
3217
|
metadata = @config.rpcs.list_users.metadata.to_h
|
3189
3218
|
|
3190
|
-
# Set x-goog-api-client
|
3219
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3191
3220
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3192
3221
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3193
3222
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
3223
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3194
3224
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3195
3225
|
|
3196
3226
|
header_params = {}
|
@@ -3274,10 +3304,11 @@ module Google
|
|
3274
3304
|
# Customize the options with defaults
|
3275
3305
|
metadata = @config.rpcs.get_user.metadata.to_h
|
3276
3306
|
|
3277
|
-
# Set x-goog-api-client
|
3307
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3278
3308
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3279
3309
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3280
3310
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
3311
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3281
3312
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3282
3313
|
|
3283
3314
|
header_params = {}
|
@@ -3380,10 +3411,11 @@ module Google
|
|
3380
3411
|
# Customize the options with defaults
|
3381
3412
|
metadata = @config.rpcs.create_user.metadata.to_h
|
3382
3413
|
|
3383
|
-
# Set x-goog-api-client
|
3414
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3384
3415
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3385
3416
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3386
3417
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
3418
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3387
3419
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3388
3420
|
|
3389
3421
|
header_params = {}
|
@@ -3490,10 +3522,11 @@ module Google
|
|
3490
3522
|
# Customize the options with defaults
|
3491
3523
|
metadata = @config.rpcs.update_user.metadata.to_h
|
3492
3524
|
|
3493
|
-
# Set x-goog-api-client
|
3525
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3494
3526
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3495
3527
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3496
3528
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
3529
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3497
3530
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3498
3531
|
|
3499
3532
|
header_params = {}
|
@@ -3593,10 +3626,11 @@ module Google
|
|
3593
3626
|
# Customize the options with defaults
|
3594
3627
|
metadata = @config.rpcs.delete_user.metadata.to_h
|
3595
3628
|
|
3596
|
-
# Set x-goog-api-client
|
3629
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3597
3630
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3598
3631
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3599
3632
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
3633
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3600
3634
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3601
3635
|
|
3602
3636
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module AlloyDBAdmin
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "alloydb.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service describing handlers for resources
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "alloydb.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -315,12 +318,13 @@ module Google
|
|
315
318
|
# Customize the options with defaults
|
316
319
|
call_metadata = @config.rpcs.list_clusters.metadata.to_h
|
317
320
|
|
318
|
-
# Set x-goog-api-client
|
321
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
319
322
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
320
323
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
321
324
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
322
325
|
transports_version_send: [:rest]
|
323
326
|
|
327
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
324
328
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
325
329
|
|
326
330
|
options.apply_defaults timeout: @config.rpcs.list_clusters.timeout,
|
@@ -397,12 +401,13 @@ module Google
|
|
397
401
|
# Customize the options with defaults
|
398
402
|
call_metadata = @config.rpcs.get_cluster.metadata.to_h
|
399
403
|
|
400
|
-
# Set x-goog-api-client
|
404
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
401
405
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
402
406
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
403
407
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
404
408
|
transports_version_send: [:rest]
|
405
409
|
|
410
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
406
411
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
407
412
|
|
408
413
|
options.apply_defaults timeout: @config.rpcs.get_cluster.timeout,
|
@@ -505,12 +510,13 @@ module Google
|
|
505
510
|
# Customize the options with defaults
|
506
511
|
call_metadata = @config.rpcs.create_cluster.metadata.to_h
|
507
512
|
|
508
|
-
# Set x-goog-api-client
|
513
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
509
514
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
510
515
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
511
516
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
512
517
|
transports_version_send: [:rest]
|
513
518
|
|
519
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
514
520
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
515
521
|
|
516
522
|
options.apply_defaults timeout: @config.rpcs.create_cluster.timeout,
|
@@ -618,12 +624,13 @@ module Google
|
|
618
624
|
# Customize the options with defaults
|
619
625
|
call_metadata = @config.rpcs.update_cluster.metadata.to_h
|
620
626
|
|
621
|
-
# Set x-goog-api-client
|
627
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
622
628
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
623
629
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
624
630
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
625
631
|
transports_version_send: [:rest]
|
626
632
|
|
633
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
627
634
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
628
635
|
|
629
636
|
options.apply_defaults timeout: @config.rpcs.update_cluster.timeout,
|
@@ -728,12 +735,13 @@ module Google
|
|
728
735
|
# Customize the options with defaults
|
729
736
|
call_metadata = @config.rpcs.delete_cluster.metadata.to_h
|
730
737
|
|
731
|
-
# Set x-goog-api-client
|
738
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
732
739
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
733
740
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
734
741
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
735
742
|
transports_version_send: [:rest]
|
736
743
|
|
744
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
737
745
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
738
746
|
|
739
747
|
options.apply_defaults timeout: @config.rpcs.delete_cluster.timeout,
|
@@ -839,12 +847,13 @@ module Google
|
|
839
847
|
# Customize the options with defaults
|
840
848
|
call_metadata = @config.rpcs.promote_cluster.metadata.to_h
|
841
849
|
|
842
|
-
# Set x-goog-api-client
|
850
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
843
851
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
844
852
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
845
853
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
846
854
|
transports_version_send: [:rest]
|
847
855
|
|
856
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
848
857
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
849
858
|
|
850
859
|
options.apply_defaults timeout: @config.rpcs.promote_cluster.timeout,
|
@@ -955,12 +964,13 @@ module Google
|
|
955
964
|
# Customize the options with defaults
|
956
965
|
call_metadata = @config.rpcs.restore_cluster.metadata.to_h
|
957
966
|
|
958
|
-
# Set x-goog-api-client
|
967
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
959
968
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
960
969
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
961
970
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
962
971
|
transports_version_send: [:rest]
|
963
972
|
|
973
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
964
974
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
965
975
|
|
966
976
|
options.apply_defaults timeout: @config.rpcs.restore_cluster.timeout,
|
@@ -1065,12 +1075,13 @@ module Google
|
|
1065
1075
|
# Customize the options with defaults
|
1066
1076
|
call_metadata = @config.rpcs.create_secondary_cluster.metadata.to_h
|
1067
1077
|
|
1068
|
-
# Set x-goog-api-client
|
1078
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1069
1079
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1070
1080
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1071
1081
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
1072
1082
|
transports_version_send: [:rest]
|
1073
1083
|
|
1084
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1074
1085
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1075
1086
|
|
1076
1087
|
options.apply_defaults timeout: @config.rpcs.create_secondary_cluster.timeout,
|
@@ -1162,12 +1173,13 @@ module Google
|
|
1162
1173
|
# Customize the options with defaults
|
1163
1174
|
call_metadata = @config.rpcs.list_instances.metadata.to_h
|
1164
1175
|
|
1165
|
-
# Set x-goog-api-client
|
1176
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1166
1177
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1167
1178
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1168
1179
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
1169
1180
|
transports_version_send: [:rest]
|
1170
1181
|
|
1182
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1171
1183
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1172
1184
|
|
1173
1185
|
options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
|
@@ -1243,12 +1255,13 @@ module Google
|
|
1243
1255
|
# Customize the options with defaults
|
1244
1256
|
call_metadata = @config.rpcs.get_instance.metadata.to_h
|
1245
1257
|
|
1246
|
-
# Set x-goog-api-client
|
1258
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1247
1259
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1248
1260
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1249
1261
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
1250
1262
|
transports_version_send: [:rest]
|
1251
1263
|
|
1264
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1252
1265
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1253
1266
|
|
1254
1267
|
options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
|
@@ -1351,12 +1364,13 @@ module Google
|
|
1351
1364
|
# Customize the options with defaults
|
1352
1365
|
call_metadata = @config.rpcs.create_instance.metadata.to_h
|
1353
1366
|
|
1354
|
-
# Set x-goog-api-client
|
1367
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1355
1368
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1356
1369
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1357
1370
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
1358
1371
|
transports_version_send: [:rest]
|
1359
1372
|
|
1373
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1360
1374
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1361
1375
|
|
1362
1376
|
options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
|
@@ -1460,12 +1474,13 @@ module Google
|
|
1460
1474
|
# Customize the options with defaults
|
1461
1475
|
call_metadata = @config.rpcs.create_secondary_instance.metadata.to_h
|
1462
1476
|
|
1463
|
-
# Set x-goog-api-client
|
1477
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1464
1478
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1465
1479
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1466
1480
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
1467
1481
|
transports_version_send: [:rest]
|
1468
1482
|
|
1483
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1469
1484
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1470
1485
|
|
1471
1486
|
options.apply_defaults timeout: @config.rpcs.create_secondary_instance.timeout,
|
@@ -1571,12 +1586,13 @@ module Google
|
|
1571
1586
|
# Customize the options with defaults
|
1572
1587
|
call_metadata = @config.rpcs.batch_create_instances.metadata.to_h
|
1573
1588
|
|
1574
|
-
# Set x-goog-api-client
|
1589
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1575
1590
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1576
1591
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1577
1592
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
1578
1593
|
transports_version_send: [:rest]
|
1579
1594
|
|
1595
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1580
1596
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1581
1597
|
|
1582
1598
|
options.apply_defaults timeout: @config.rpcs.batch_create_instances.timeout,
|
@@ -1684,12 +1700,13 @@ module Google
|
|
1684
1700
|
# Customize the options with defaults
|
1685
1701
|
call_metadata = @config.rpcs.update_instance.metadata.to_h
|
1686
1702
|
|
1687
|
-
# Set x-goog-api-client
|
1703
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1688
1704
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1689
1705
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1690
1706
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
1691
1707
|
transports_version_send: [:rest]
|
1692
1708
|
|
1709
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1693
1710
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1694
1711
|
|
1695
1712
|
options.apply_defaults timeout: @config.rpcs.update_instance.timeout,
|
@@ -1792,12 +1809,13 @@ module Google
|
|
1792
1809
|
# Customize the options with defaults
|
1793
1810
|
call_metadata = @config.rpcs.delete_instance.metadata.to_h
|
1794
1811
|
|
1795
|
-
# Set x-goog-api-client
|
1812
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1796
1813
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1797
1814
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1798
1815
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
1799
1816
|
transports_version_send: [:rest]
|
1800
1817
|
|
1818
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1801
1819
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1802
1820
|
|
1803
1821
|
options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
|
@@ -1898,12 +1916,13 @@ module Google
|
|
1898
1916
|
# Customize the options with defaults
|
1899
1917
|
call_metadata = @config.rpcs.failover_instance.metadata.to_h
|
1900
1918
|
|
1901
|
-
# Set x-goog-api-client
|
1919
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1902
1920
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1903
1921
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1904
1922
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
1905
1923
|
transports_version_send: [:rest]
|
1906
1924
|
|
1925
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1907
1926
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1908
1927
|
|
1909
1928
|
options.apply_defaults timeout: @config.rpcs.failover_instance.timeout,
|
@@ -2006,12 +2025,13 @@ module Google
|
|
2006
2025
|
# Customize the options with defaults
|
2007
2026
|
call_metadata = @config.rpcs.inject_fault.metadata.to_h
|
2008
2027
|
|
2009
|
-
# Set x-goog-api-client
|
2028
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2010
2029
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2011
2030
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2012
2031
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
2013
2032
|
transports_version_send: [:rest]
|
2014
2033
|
|
2034
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2015
2035
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2016
2036
|
|
2017
2037
|
options.apply_defaults timeout: @config.rpcs.inject_fault.timeout,
|
@@ -2111,12 +2131,13 @@ module Google
|
|
2111
2131
|
# Customize the options with defaults
|
2112
2132
|
call_metadata = @config.rpcs.restart_instance.metadata.to_h
|
2113
2133
|
|
2114
|
-
# Set x-goog-api-client
|
2134
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2115
2135
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2116
2136
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2117
2137
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
2118
2138
|
transports_version_send: [:rest]
|
2119
2139
|
|
2140
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2120
2141
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2121
2142
|
|
2122
2143
|
options.apply_defaults timeout: @config.rpcs.restart_instance.timeout,
|
@@ -2203,12 +2224,13 @@ module Google
|
|
2203
2224
|
# Customize the options with defaults
|
2204
2225
|
call_metadata = @config.rpcs.list_backups.metadata.to_h
|
2205
2226
|
|
2206
|
-
# Set x-goog-api-client
|
2227
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2207
2228
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2208
2229
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2209
2230
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
2210
2231
|
transports_version_send: [:rest]
|
2211
2232
|
|
2233
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2212
2234
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2213
2235
|
|
2214
2236
|
options.apply_defaults timeout: @config.rpcs.list_backups.timeout,
|
@@ -2281,12 +2303,13 @@ module Google
|
|
2281
2303
|
# Customize the options with defaults
|
2282
2304
|
call_metadata = @config.rpcs.get_backup.metadata.to_h
|
2283
2305
|
|
2284
|
-
# Set x-goog-api-client
|
2306
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2285
2307
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2286
2308
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2287
2309
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
2288
2310
|
transports_version_send: [:rest]
|
2289
2311
|
|
2312
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2290
2313
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2291
2314
|
|
2292
2315
|
options.apply_defaults timeout: @config.rpcs.get_backup.timeout,
|
@@ -2387,12 +2410,13 @@ module Google
|
|
2387
2410
|
# Customize the options with defaults
|
2388
2411
|
call_metadata = @config.rpcs.create_backup.metadata.to_h
|
2389
2412
|
|
2390
|
-
# Set x-goog-api-client
|
2413
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2391
2414
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2392
2415
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2393
2416
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
2394
2417
|
transports_version_send: [:rest]
|
2395
2418
|
|
2419
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2396
2420
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2397
2421
|
|
2398
2422
|
options.apply_defaults timeout: @config.rpcs.create_backup.timeout,
|
@@ -2499,12 +2523,13 @@ module Google
|
|
2499
2523
|
# Customize the options with defaults
|
2500
2524
|
call_metadata = @config.rpcs.update_backup.metadata.to_h
|
2501
2525
|
|
2502
|
-
# Set x-goog-api-client
|
2526
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2503
2527
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2504
2528
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2505
2529
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
2506
2530
|
transports_version_send: [:rest]
|
2507
2531
|
|
2532
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2508
2533
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2509
2534
|
|
2510
2535
|
options.apply_defaults timeout: @config.rpcs.update_backup.timeout,
|
@@ -2607,12 +2632,13 @@ module Google
|
|
2607
2632
|
# Customize the options with defaults
|
2608
2633
|
call_metadata = @config.rpcs.delete_backup.metadata.to_h
|
2609
2634
|
|
2610
|
-
# Set x-goog-api-client
|
2635
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2611
2636
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2612
2637
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2613
2638
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
2614
2639
|
transports_version_send: [:rest]
|
2615
2640
|
|
2641
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2616
2642
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2617
2643
|
|
2618
2644
|
options.apply_defaults timeout: @config.rpcs.delete_backup.timeout,
|
@@ -2701,12 +2727,13 @@ module Google
|
|
2701
2727
|
# Customize the options with defaults
|
2702
2728
|
call_metadata = @config.rpcs.list_supported_database_flags.metadata.to_h
|
2703
2729
|
|
2704
|
-
# Set x-goog-api-client
|
2730
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2705
2731
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2706
2732
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2707
2733
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
2708
2734
|
transports_version_send: [:rest]
|
2709
2735
|
|
2736
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2710
2737
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2711
2738
|
|
2712
2739
|
options.apply_defaults timeout: @config.rpcs.list_supported_database_flags.timeout,
|
@@ -2811,12 +2838,13 @@ module Google
|
|
2811
2838
|
# Customize the options with defaults
|
2812
2839
|
call_metadata = @config.rpcs.generate_client_certificate.metadata.to_h
|
2813
2840
|
|
2814
|
-
# Set x-goog-api-client
|
2841
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2815
2842
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2816
2843
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2817
2844
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
2818
2845
|
transports_version_send: [:rest]
|
2819
2846
|
|
2847
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2820
2848
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2821
2849
|
|
2822
2850
|
options.apply_defaults timeout: @config.rpcs.generate_client_certificate.timeout,
|
@@ -2904,12 +2932,13 @@ module Google
|
|
2904
2932
|
# Customize the options with defaults
|
2905
2933
|
call_metadata = @config.rpcs.get_connection_info.metadata.to_h
|
2906
2934
|
|
2907
|
-
# Set x-goog-api-client
|
2935
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2908
2936
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2909
2937
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2910
2938
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
2911
2939
|
transports_version_send: [:rest]
|
2912
2940
|
|
2941
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2913
2942
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2914
2943
|
|
2915
2944
|
options.apply_defaults timeout: @config.rpcs.get_connection_info.timeout,
|
@@ -2995,12 +3024,13 @@ module Google
|
|
2995
3024
|
# Customize the options with defaults
|
2996
3025
|
call_metadata = @config.rpcs.list_users.metadata.to_h
|
2997
3026
|
|
2998
|
-
# Set x-goog-api-client
|
3027
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2999
3028
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3000
3029
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3001
3030
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
3002
3031
|
transports_version_send: [:rest]
|
3003
3032
|
|
3033
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3004
3034
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3005
3035
|
|
3006
3036
|
options.apply_defaults timeout: @config.rpcs.list_users.timeout,
|
@@ -3074,12 +3104,13 @@ module Google
|
|
3074
3104
|
# Customize the options with defaults
|
3075
3105
|
call_metadata = @config.rpcs.get_user.metadata.to_h
|
3076
3106
|
|
3077
|
-
# Set x-goog-api-client
|
3107
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3078
3108
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3079
3109
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3080
3110
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
3081
3111
|
transports_version_send: [:rest]
|
3082
3112
|
|
3113
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3083
3114
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3084
3115
|
|
3085
3116
|
options.apply_defaults timeout: @config.rpcs.get_user.timeout,
|
@@ -3173,12 +3204,13 @@ module Google
|
|
3173
3204
|
# Customize the options with defaults
|
3174
3205
|
call_metadata = @config.rpcs.create_user.metadata.to_h
|
3175
3206
|
|
3176
|
-
# Set x-goog-api-client
|
3207
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3177
3208
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3178
3209
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3179
3210
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
3180
3211
|
transports_version_send: [:rest]
|
3181
3212
|
|
3213
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3182
3214
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3183
3215
|
|
3184
3216
|
options.apply_defaults timeout: @config.rpcs.create_user.timeout,
|
@@ -3276,12 +3308,13 @@ module Google
|
|
3276
3308
|
# Customize the options with defaults
|
3277
3309
|
call_metadata = @config.rpcs.update_user.metadata.to_h
|
3278
3310
|
|
3279
|
-
# Set x-goog-api-client
|
3311
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3280
3312
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3281
3313
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3282
3314
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
3283
3315
|
transports_version_send: [:rest]
|
3284
3316
|
|
3317
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3285
3318
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3286
3319
|
|
3287
3320
|
options.apply_defaults timeout: @config.rpcs.update_user.timeout,
|
@@ -3372,12 +3405,13 @@ module Google
|
|
3372
3405
|
# Customize the options with defaults
|
3373
3406
|
call_metadata = @config.rpcs.delete_user.metadata.to_h
|
3374
3407
|
|
3375
|
-
# Set x-goog-api-client
|
3408
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3376
3409
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3377
3410
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3378
3411
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
3379
3412
|
transports_version_send: [:rest]
|
3380
3413
|
|
3414
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3381
3415
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3382
3416
|
|
3383
3417
|
options.apply_defaults timeout: @config.rpcs.delete_user.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "alloydb.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-alloy_db-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -89,7 +89,7 @@ description: AlloyDB for PostgreSQL is an open source-compatible database servic
|
|
89
89
|
applications. It offers full compatibility with standard PostgreSQL, and is more
|
90
90
|
than 4x faster for transactional workloads and up to 100x faster for analytical
|
91
91
|
queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL
|
92
|
-
offers a 99.99 percent availability SLA inclusive of maintenance.
|
92
|
+
offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized
|
93
93
|
for the most demanding use cases, allowing you to build new applications that require
|
94
94
|
high transaction throughput, large database sizes, or multiple read resources; scale
|
95
95
|
existing PostgreSQL workloads with no application changes; and modernize legacy
|