google-cloud-bigquery-reservation-v1 0.12.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/client.rb +45 -21
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/rest/client.rb +45 -21
- data/lib/google/cloud/bigquery/reservation/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d75e35c866aa729497bf8d150c380c7863487c2d0a454b72cc2840e3244aa0a
|
4
|
+
data.tar.gz: d9608dc94deeec147b8471c160b81b1ccdcbf02d5ec117b77310d848d66e621f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 218e4aab12453db4ff8a81451316fd88a40ca2a2bf787dd8554da897dc6ae43985e8bf0546393f529038b0831acd90fa1ffe1a19ec42e901645f433a1bef2991
|
7
|
+
data.tar.gz: c466b9ed2775ef58b927f370bab0ef79727e03157f276f429c6fa26a79632a0b5c2a752c1a671f167baaa1829cb36265314a2b145b53ce2ea998cc8521d8dd19
|
@@ -45,6 +45,9 @@ module Google
|
|
45
45
|
# `projects/myproject/locations/US/capacityCommitments/id`.
|
46
46
|
#
|
47
47
|
class Client
|
48
|
+
# @private
|
49
|
+
API_VERSION = ""
|
50
|
+
|
48
51
|
# @private
|
49
52
|
DEFAULT_ENDPOINT_TEMPLATE = "bigqueryreservation.$UNIVERSE_DOMAIN$"
|
50
53
|
|
@@ -305,10 +308,11 @@ module Google
|
|
305
308
|
# Customize the options with defaults
|
306
309
|
metadata = @config.rpcs.create_reservation.metadata.to_h
|
307
310
|
|
308
|
-
# Set x-goog-api-client
|
311
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
309
312
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
310
313
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
311
314
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
315
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
312
316
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
313
317
|
|
314
318
|
header_params = {}
|
@@ -399,10 +403,11 @@ module Google
|
|
399
403
|
# Customize the options with defaults
|
400
404
|
metadata = @config.rpcs.list_reservations.metadata.to_h
|
401
405
|
|
402
|
-
# Set x-goog-api-client
|
406
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
403
407
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
404
408
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
405
409
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
410
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
406
411
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
407
412
|
|
408
413
|
header_params = {}
|
@@ -486,10 +491,11 @@ module Google
|
|
486
491
|
# Customize the options with defaults
|
487
492
|
metadata = @config.rpcs.get_reservation.metadata.to_h
|
488
493
|
|
489
|
-
# Set x-goog-api-client
|
494
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
490
495
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
491
496
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
492
497
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
498
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
493
499
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
494
500
|
|
495
501
|
header_params = {}
|
@@ -574,10 +580,11 @@ module Google
|
|
574
580
|
# Customize the options with defaults
|
575
581
|
metadata = @config.rpcs.delete_reservation.metadata.to_h
|
576
582
|
|
577
|
-
# Set x-goog-api-client
|
583
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
584
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
585
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
586
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
587
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
588
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
589
|
|
583
590
|
header_params = {}
|
@@ -661,10 +668,11 @@ module Google
|
|
661
668
|
# Customize the options with defaults
|
662
669
|
metadata = @config.rpcs.update_reservation.metadata.to_h
|
663
670
|
|
664
|
-
# Set x-goog-api-client
|
671
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
665
672
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
666
673
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
667
674
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
675
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
668
676
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
669
677
|
|
670
678
|
header_params = {}
|
@@ -758,10 +766,11 @@ module Google
|
|
758
766
|
# Customize the options with defaults
|
759
767
|
metadata = @config.rpcs.create_capacity_commitment.metadata.to_h
|
760
768
|
|
761
|
-
# Set x-goog-api-client
|
769
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
762
770
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
763
771
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
764
772
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
773
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
765
774
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
766
775
|
|
767
776
|
header_params = {}
|
@@ -852,10 +861,11 @@ module Google
|
|
852
861
|
# Customize the options with defaults
|
853
862
|
metadata = @config.rpcs.list_capacity_commitments.metadata.to_h
|
854
863
|
|
855
|
-
# Set x-goog-api-client
|
864
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
856
865
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
857
866
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
858
867
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
868
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
859
869
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
860
870
|
|
861
871
|
header_params = {}
|
@@ -939,10 +949,11 @@ module Google
|
|
939
949
|
# Customize the options with defaults
|
940
950
|
metadata = @config.rpcs.get_capacity_commitment.metadata.to_h
|
941
951
|
|
942
|
-
# Set x-goog-api-client
|
952
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
943
953
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
944
954
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
945
955
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
956
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
946
957
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
947
958
|
|
948
959
|
header_params = {}
|
@@ -1031,10 +1042,11 @@ module Google
|
|
1031
1042
|
# Customize the options with defaults
|
1032
1043
|
metadata = @config.rpcs.delete_capacity_commitment.metadata.to_h
|
1033
1044
|
|
1034
|
-
# Set x-goog-api-client
|
1045
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1035
1046
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1036
1047
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1037
1048
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
1049
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1038
1050
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1039
1051
|
|
1040
1052
|
header_params = {}
|
@@ -1124,10 +1136,11 @@ module Google
|
|
1124
1136
|
# Customize the options with defaults
|
1125
1137
|
metadata = @config.rpcs.update_capacity_commitment.metadata.to_h
|
1126
1138
|
|
1127
|
-
# Set x-goog-api-client
|
1139
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1128
1140
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1129
1141
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1130
1142
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
1143
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1131
1144
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1132
1145
|
|
1133
1146
|
header_params = {}
|
@@ -1219,10 +1232,11 @@ module Google
|
|
1219
1232
|
# Customize the options with defaults
|
1220
1233
|
metadata = @config.rpcs.split_capacity_commitment.metadata.to_h
|
1221
1234
|
|
1222
|
-
# Set x-goog-api-client
|
1235
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1223
1236
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1224
1237
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1225
1238
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
1239
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1226
1240
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1227
1241
|
|
1228
1242
|
header_params = {}
|
@@ -1317,10 +1331,11 @@ module Google
|
|
1317
1331
|
# Customize the options with defaults
|
1318
1332
|
metadata = @config.rpcs.merge_capacity_commitments.metadata.to_h
|
1319
1333
|
|
1320
|
-
# Set x-goog-api-client
|
1334
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1321
1335
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1322
1336
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1323
1337
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
1338
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1324
1339
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1325
1340
|
|
1326
1341
|
header_params = {}
|
@@ -1444,10 +1459,11 @@ module Google
|
|
1444
1459
|
# Customize the options with defaults
|
1445
1460
|
metadata = @config.rpcs.create_assignment.metadata.to_h
|
1446
1461
|
|
1447
|
-
# Set x-goog-api-client
|
1462
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1448
1463
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1449
1464
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1450
1465
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
1466
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1451
1467
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1452
1468
|
|
1453
1469
|
header_params = {}
|
@@ -1563,10 +1579,11 @@ module Google
|
|
1563
1579
|
# Customize the options with defaults
|
1564
1580
|
metadata = @config.rpcs.list_assignments.metadata.to_h
|
1565
1581
|
|
1566
|
-
# Set x-goog-api-client
|
1582
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1567
1583
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1568
1584
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1569
1585
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
1586
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1570
1587
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1571
1588
|
|
1572
1589
|
header_params = {}
|
@@ -1664,10 +1681,11 @@ module Google
|
|
1664
1681
|
# Customize the options with defaults
|
1665
1682
|
metadata = @config.rpcs.delete_assignment.metadata.to_h
|
1666
1683
|
|
1667
|
-
# Set x-goog-api-client
|
1684
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1668
1685
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1669
1686
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1670
1687
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
1688
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1671
1689
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1672
1690
|
|
1673
1691
|
header_params = {}
|
@@ -1791,10 +1809,11 @@ module Google
|
|
1791
1809
|
# Customize the options with defaults
|
1792
1810
|
metadata = @config.rpcs.search_assignments.metadata.to_h
|
1793
1811
|
|
1794
|
-
# Set x-goog-api-client
|
1812
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1795
1813
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1796
1814
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1797
1815
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
1816
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1798
1817
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1799
1818
|
|
1800
1819
|
header_params = {}
|
@@ -1914,10 +1933,11 @@ module Google
|
|
1914
1933
|
# Customize the options with defaults
|
1915
1934
|
metadata = @config.rpcs.search_all_assignments.metadata.to_h
|
1916
1935
|
|
1917
|
-
# Set x-goog-api-client
|
1936
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1918
1937
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1919
1938
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1920
1939
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
1940
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1921
1941
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1922
1942
|
|
1923
1943
|
header_params = {}
|
@@ -2015,10 +2035,11 @@ module Google
|
|
2015
2035
|
# Customize the options with defaults
|
2016
2036
|
metadata = @config.rpcs.move_assignment.metadata.to_h
|
2017
2037
|
|
2018
|
-
# Set x-goog-api-client
|
2038
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2019
2039
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2020
2040
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2021
2041
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
2042
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2022
2043
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2023
2044
|
|
2024
2045
|
header_params = {}
|
@@ -2104,10 +2125,11 @@ module Google
|
|
2104
2125
|
# Customize the options with defaults
|
2105
2126
|
metadata = @config.rpcs.update_assignment.metadata.to_h
|
2106
2127
|
|
2107
|
-
# Set x-goog-api-client
|
2128
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2108
2129
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2109
2130
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2110
2131
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
2132
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2111
2133
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2112
2134
|
|
2113
2135
|
header_params = {}
|
@@ -2190,10 +2212,11 @@ module Google
|
|
2190
2212
|
# Customize the options with defaults
|
2191
2213
|
metadata = @config.rpcs.get_bi_reservation.metadata.to_h
|
2192
2214
|
|
2193
|
-
# Set x-goog-api-client
|
2215
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2194
2216
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2195
2217
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2196
2218
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
2219
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2197
2220
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2198
2221
|
|
2199
2222
|
header_params = {}
|
@@ -2284,10 +2307,11 @@ module Google
|
|
2284
2307
|
# Customize the options with defaults
|
2285
2308
|
metadata = @config.rpcs.update_bi_reservation.metadata.to_h
|
2286
2309
|
|
2287
|
-
# Set x-goog-api-client
|
2310
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2288
2311
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2289
2312
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2290
2313
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION
|
2314
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2291
2315
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2292
2316
|
|
2293
2317
|
header_params = {}
|
@@ -47,6 +47,9 @@ module Google
|
|
47
47
|
# `projects/myproject/locations/US/capacityCommitments/id`.
|
48
48
|
#
|
49
49
|
class Client
|
50
|
+
# @private
|
51
|
+
API_VERSION = ""
|
52
|
+
|
50
53
|
# @private
|
51
54
|
DEFAULT_ENDPOINT_TEMPLATE = "bigqueryreservation.$UNIVERSE_DOMAIN$"
|
52
55
|
|
@@ -297,12 +300,13 @@ module Google
|
|
297
300
|
# Customize the options with defaults
|
298
301
|
call_metadata = @config.rpcs.create_reservation.metadata.to_h
|
299
302
|
|
300
|
-
# Set x-goog-api-client
|
303
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
301
304
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
302
305
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
303
306
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
304
307
|
transports_version_send: [:rest]
|
305
308
|
|
309
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
306
310
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
307
311
|
|
308
312
|
options.apply_defaults timeout: @config.rpcs.create_reservation.timeout,
|
@@ -384,12 +388,13 @@ module Google
|
|
384
388
|
# Customize the options with defaults
|
385
389
|
call_metadata = @config.rpcs.list_reservations.metadata.to_h
|
386
390
|
|
387
|
-
# Set x-goog-api-client
|
391
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
388
392
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
389
393
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
390
394
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
391
395
|
transports_version_send: [:rest]
|
392
396
|
|
397
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
393
398
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
394
399
|
|
395
400
|
options.apply_defaults timeout: @config.rpcs.list_reservations.timeout,
|
@@ -464,12 +469,13 @@ module Google
|
|
464
469
|
# Customize the options with defaults
|
465
470
|
call_metadata = @config.rpcs.get_reservation.metadata.to_h
|
466
471
|
|
467
|
-
# Set x-goog-api-client
|
472
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
468
473
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
469
474
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
470
475
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
471
476
|
transports_version_send: [:rest]
|
472
477
|
|
478
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
473
479
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
474
480
|
|
475
481
|
options.apply_defaults timeout: @config.rpcs.get_reservation.timeout,
|
@@ -545,12 +551,13 @@ module Google
|
|
545
551
|
# Customize the options with defaults
|
546
552
|
call_metadata = @config.rpcs.delete_reservation.metadata.to_h
|
547
553
|
|
548
|
-
# Set x-goog-api-client
|
554
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
549
555
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
550
556
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
551
557
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
552
558
|
transports_version_send: [:rest]
|
553
559
|
|
560
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
554
561
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
555
562
|
|
556
563
|
options.apply_defaults timeout: @config.rpcs.delete_reservation.timeout,
|
@@ -625,12 +632,13 @@ module Google
|
|
625
632
|
# Customize the options with defaults
|
626
633
|
call_metadata = @config.rpcs.update_reservation.metadata.to_h
|
627
634
|
|
628
|
-
# Set x-goog-api-client
|
635
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
629
636
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
630
637
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
631
638
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
632
639
|
transports_version_send: [:rest]
|
633
640
|
|
641
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
634
642
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
635
643
|
|
636
644
|
options.apply_defaults timeout: @config.rpcs.update_reservation.timeout,
|
@@ -715,12 +723,13 @@ module Google
|
|
715
723
|
# Customize the options with defaults
|
716
724
|
call_metadata = @config.rpcs.create_capacity_commitment.metadata.to_h
|
717
725
|
|
718
|
-
# Set x-goog-api-client
|
726
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
719
727
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
720
728
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
721
729
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
722
730
|
transports_version_send: [:rest]
|
723
731
|
|
732
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
724
733
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
725
734
|
|
726
735
|
options.apply_defaults timeout: @config.rpcs.create_capacity_commitment.timeout,
|
@@ -802,12 +811,13 @@ module Google
|
|
802
811
|
# Customize the options with defaults
|
803
812
|
call_metadata = @config.rpcs.list_capacity_commitments.metadata.to_h
|
804
813
|
|
805
|
-
# Set x-goog-api-client
|
814
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
806
815
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
807
816
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
808
817
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
809
818
|
transports_version_send: [:rest]
|
810
819
|
|
820
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
811
821
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
812
822
|
|
813
823
|
options.apply_defaults timeout: @config.rpcs.list_capacity_commitments.timeout,
|
@@ -882,12 +892,13 @@ module Google
|
|
882
892
|
# Customize the options with defaults
|
883
893
|
call_metadata = @config.rpcs.get_capacity_commitment.metadata.to_h
|
884
894
|
|
885
|
-
# Set x-goog-api-client
|
895
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
886
896
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
887
897
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
888
898
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
889
899
|
transports_version_send: [:rest]
|
890
900
|
|
901
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
891
902
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
892
903
|
|
893
904
|
options.apply_defaults timeout: @config.rpcs.get_capacity_commitment.timeout,
|
@@ -967,12 +978,13 @@ module Google
|
|
967
978
|
# Customize the options with defaults
|
968
979
|
call_metadata = @config.rpcs.delete_capacity_commitment.metadata.to_h
|
969
980
|
|
970
|
-
# Set x-goog-api-client
|
981
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
971
982
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
972
983
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
973
984
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
974
985
|
transports_version_send: [:rest]
|
975
986
|
|
987
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
976
988
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
977
989
|
|
978
990
|
options.apply_defaults timeout: @config.rpcs.delete_capacity_commitment.timeout,
|
@@ -1053,12 +1065,13 @@ module Google
|
|
1053
1065
|
# Customize the options with defaults
|
1054
1066
|
call_metadata = @config.rpcs.update_capacity_commitment.metadata.to_h
|
1055
1067
|
|
1056
|
-
# Set x-goog-api-client
|
1068
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1057
1069
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1058
1070
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1059
1071
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
1060
1072
|
transports_version_send: [:rest]
|
1061
1073
|
|
1074
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1062
1075
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1063
1076
|
|
1064
1077
|
options.apply_defaults timeout: @config.rpcs.update_capacity_commitment.timeout,
|
@@ -1141,12 +1154,13 @@ module Google
|
|
1141
1154
|
# Customize the options with defaults
|
1142
1155
|
call_metadata = @config.rpcs.split_capacity_commitment.metadata.to_h
|
1143
1156
|
|
1144
|
-
# Set x-goog-api-client
|
1157
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1145
1158
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1146
1159
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1147
1160
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
1148
1161
|
transports_version_send: [:rest]
|
1149
1162
|
|
1163
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1150
1164
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1151
1165
|
|
1152
1166
|
options.apply_defaults timeout: @config.rpcs.split_capacity_commitment.timeout,
|
@@ -1232,12 +1246,13 @@ module Google
|
|
1232
1246
|
# Customize the options with defaults
|
1233
1247
|
call_metadata = @config.rpcs.merge_capacity_commitments.metadata.to_h
|
1234
1248
|
|
1235
|
-
# Set x-goog-api-client
|
1249
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1236
1250
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1237
1251
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1238
1252
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
1239
1253
|
transports_version_send: [:rest]
|
1240
1254
|
|
1255
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1241
1256
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1242
1257
|
|
1243
1258
|
options.apply_defaults timeout: @config.rpcs.merge_capacity_commitments.timeout,
|
@@ -1352,12 +1367,13 @@ module Google
|
|
1352
1367
|
# Customize the options with defaults
|
1353
1368
|
call_metadata = @config.rpcs.create_assignment.metadata.to_h
|
1354
1369
|
|
1355
|
-
# Set x-goog-api-client
|
1370
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1356
1371
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1357
1372
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1358
1373
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
1359
1374
|
transports_version_send: [:rest]
|
1360
1375
|
|
1376
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1361
1377
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1362
1378
|
|
1363
1379
|
options.apply_defaults timeout: @config.rpcs.create_assignment.timeout,
|
@@ -1464,12 +1480,13 @@ module Google
|
|
1464
1480
|
# Customize the options with defaults
|
1465
1481
|
call_metadata = @config.rpcs.list_assignments.metadata.to_h
|
1466
1482
|
|
1467
|
-
# Set x-goog-api-client
|
1483
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1468
1484
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1469
1485
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1470
1486
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
1471
1487
|
transports_version_send: [:rest]
|
1472
1488
|
|
1489
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1473
1490
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1474
1491
|
|
1475
1492
|
options.apply_defaults timeout: @config.rpcs.list_assignments.timeout,
|
@@ -1558,12 +1575,13 @@ module Google
|
|
1558
1575
|
# Customize the options with defaults
|
1559
1576
|
call_metadata = @config.rpcs.delete_assignment.metadata.to_h
|
1560
1577
|
|
1561
|
-
# Set x-goog-api-client
|
1578
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1562
1579
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1563
1580
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1564
1581
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
1565
1582
|
transports_version_send: [:rest]
|
1566
1583
|
|
1584
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1567
1585
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1568
1586
|
|
1569
1587
|
options.apply_defaults timeout: @config.rpcs.delete_assignment.timeout,
|
@@ -1676,12 +1694,13 @@ module Google
|
|
1676
1694
|
# Customize the options with defaults
|
1677
1695
|
call_metadata = @config.rpcs.search_assignments.metadata.to_h
|
1678
1696
|
|
1679
|
-
# Set x-goog-api-client
|
1697
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1680
1698
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1681
1699
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1682
1700
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
1683
1701
|
transports_version_send: [:rest]
|
1684
1702
|
|
1703
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1685
1704
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1686
1705
|
|
1687
1706
|
options.apply_defaults timeout: @config.rpcs.search_assignments.timeout,
|
@@ -1792,12 +1811,13 @@ module Google
|
|
1792
1811
|
# Customize the options with defaults
|
1793
1812
|
call_metadata = @config.rpcs.search_all_assignments.metadata.to_h
|
1794
1813
|
|
1795
|
-
# Set x-goog-api-client
|
1814
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1796
1815
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1797
1816
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1798
1817
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
1799
1818
|
transports_version_send: [:rest]
|
1800
1819
|
|
1820
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1801
1821
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1802
1822
|
|
1803
1823
|
options.apply_defaults timeout: @config.rpcs.search_all_assignments.timeout,
|
@@ -1886,12 +1906,13 @@ module Google
|
|
1886
1906
|
# Customize the options with defaults
|
1887
1907
|
call_metadata = @config.rpcs.move_assignment.metadata.to_h
|
1888
1908
|
|
1889
|
-
# Set x-goog-api-client
|
1909
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1890
1910
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1891
1911
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1892
1912
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
1893
1913
|
transports_version_send: [:rest]
|
1894
1914
|
|
1915
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1895
1916
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1896
1917
|
|
1897
1918
|
options.apply_defaults timeout: @config.rpcs.move_assignment.timeout,
|
@@ -1968,12 +1989,13 @@ module Google
|
|
1968
1989
|
# Customize the options with defaults
|
1969
1990
|
call_metadata = @config.rpcs.update_assignment.metadata.to_h
|
1970
1991
|
|
1971
|
-
# Set x-goog-api-client
|
1992
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1972
1993
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1973
1994
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1974
1995
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
1975
1996
|
transports_version_send: [:rest]
|
1976
1997
|
|
1998
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1977
1999
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1978
2000
|
|
1979
2001
|
options.apply_defaults timeout: @config.rpcs.update_assignment.timeout,
|
@@ -2047,12 +2069,13 @@ module Google
|
|
2047
2069
|
# Customize the options with defaults
|
2048
2070
|
call_metadata = @config.rpcs.get_bi_reservation.metadata.to_h
|
2049
2071
|
|
2050
|
-
# Set x-goog-api-client
|
2072
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2051
2073
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2052
2074
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2053
2075
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
2054
2076
|
transports_version_send: [:rest]
|
2055
2077
|
|
2078
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2056
2079
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2057
2080
|
|
2058
2081
|
options.apply_defaults timeout: @config.rpcs.get_bi_reservation.timeout,
|
@@ -2134,12 +2157,13 @@ module Google
|
|
2134
2157
|
# Customize the options with defaults
|
2135
2158
|
call_metadata = @config.rpcs.update_bi_reservation.metadata.to_h
|
2136
2159
|
|
2137
|
-
# Set x-goog-api-client
|
2160
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2138
2161
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2139
2162
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2140
2163
|
gapic_version: ::Google::Cloud::Bigquery::Reservation::V1::VERSION,
|
2141
2164
|
transports_version_send: [:rest]
|
2142
2165
|
|
2166
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2143
2167
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2144
2168
|
|
2145
2169
|
options.apply_defaults timeout: @config.rpcs.update_bi_reservation.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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-reservation-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
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-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|