google-cloud-bigquery-reservation-v1 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44447f00210157fd47566d1bc6346e47b48a329ed185e2e0073c447c2d5420f1
|
4
|
+
data.tar.gz: eba78350651f194f94dc0c3a59a302a1650e1b44a60e5ea2410805af589266ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 405dbee9565c368434c3bb4fb8228328fd59dee383b3babef0c222a59096e77c5ffa87d043cc5b8a79dfc6a8c2746a7f3b2463f0902ebcfa550dc4dacd24b033
|
7
|
+
data.tar.gz: a1f896da67132242d433f6587d69d3de2398e1ca75b9f8401fe69edd2ead0b65deab67aafa09345bc96e068928d1769db9a6714bbd9fa591bd2ede7f78b5bd1f
|
@@ -56,13 +56,12 @@ module Google
|
|
56
56
|
# See {::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client::Configuration}
|
57
57
|
# for a description of the configuration fields.
|
58
58
|
#
|
59
|
-
#
|
59
|
+
# @example
|
60
60
|
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# end
|
61
|
+
# # Modify the configuration for all ReservationService clients
|
62
|
+
# ::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client.configure do |config|
|
63
|
+
# config.timeout = 10.0
|
64
|
+
# end
|
66
65
|
#
|
67
66
|
# @yield [config] Configure the Client client.
|
68
67
|
# @yieldparam config [Client::Configuration]
|
@@ -177,19 +176,15 @@ module Google
|
|
177
176
|
##
|
178
177
|
# Create a new ReservationService client object.
|
179
178
|
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
# To create a new ReservationService client with the default
|
183
|
-
# configuration:
|
179
|
+
# @example
|
184
180
|
#
|
185
|
-
#
|
181
|
+
# # Create a client using the default configuration
|
182
|
+
# client = ::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client.new
|
186
183
|
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
# config.timeout = 10.0
|
192
|
-
# end
|
184
|
+
# # Create a client using a custom configuration
|
185
|
+
# client = ::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client.new do |config|
|
186
|
+
# config.timeout = 10.0
|
187
|
+
# end
|
193
188
|
#
|
194
189
|
# @yield [config] Configure the ReservationService client.
|
195
190
|
# @yieldparam config [Client::Configuration]
|
@@ -209,10 +204,9 @@ module Google
|
|
209
204
|
|
210
205
|
# Create credentials
|
211
206
|
credentials = @config.credentials
|
212
|
-
# Use self-signed JWT if the
|
207
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
213
208
|
# but only if the default endpoint does not have a region prefix.
|
214
|
-
enable_self_signed_jwt = @config.
|
215
|
-
@config.endpoint == Client.configure.endpoint &&
|
209
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
216
210
|
!@config.endpoint.split(".").first.include?("-")
|
217
211
|
credentials ||= Credentials.default scope: @config.scope,
|
218
212
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -294,7 +288,9 @@ module Google
|
|
294
288
|
options.apply_defaults timeout: @config.rpcs.create_reservation.timeout,
|
295
289
|
metadata: metadata,
|
296
290
|
retry_policy: @config.rpcs.create_reservation.retry_policy
|
297
|
-
|
291
|
+
|
292
|
+
options.apply_defaults timeout: @config.timeout,
|
293
|
+
metadata: @config.metadata,
|
298
294
|
retry_policy: @config.retry_policy
|
299
295
|
|
300
296
|
@reservation_service_stub.call_rpc :create_reservation, request, options: options do |response, operation|
|
@@ -365,7 +361,9 @@ module Google
|
|
365
361
|
options.apply_defaults timeout: @config.rpcs.list_reservations.timeout,
|
366
362
|
metadata: metadata,
|
367
363
|
retry_policy: @config.rpcs.list_reservations.retry_policy
|
368
|
-
|
364
|
+
|
365
|
+
options.apply_defaults timeout: @config.timeout,
|
366
|
+
metadata: @config.metadata,
|
369
367
|
retry_policy: @config.retry_policy
|
370
368
|
|
371
369
|
@reservation_service_stub.call_rpc :list_reservations, request, options: options do |response, operation|
|
@@ -433,7 +431,9 @@ module Google
|
|
433
431
|
options.apply_defaults timeout: @config.rpcs.get_reservation.timeout,
|
434
432
|
metadata: metadata,
|
435
433
|
retry_policy: @config.rpcs.get_reservation.retry_policy
|
436
|
-
|
434
|
+
|
435
|
+
options.apply_defaults timeout: @config.timeout,
|
436
|
+
metadata: @config.metadata,
|
437
437
|
retry_policy: @config.retry_policy
|
438
438
|
|
439
439
|
@reservation_service_stub.call_rpc :get_reservation, request, options: options do |response, operation|
|
@@ -502,7 +502,9 @@ module Google
|
|
502
502
|
options.apply_defaults timeout: @config.rpcs.delete_reservation.timeout,
|
503
503
|
metadata: metadata,
|
504
504
|
retry_policy: @config.rpcs.delete_reservation.retry_policy
|
505
|
-
|
505
|
+
|
506
|
+
options.apply_defaults timeout: @config.timeout,
|
507
|
+
metadata: @config.metadata,
|
506
508
|
retry_policy: @config.retry_policy
|
507
509
|
|
508
510
|
@reservation_service_stub.call_rpc :delete_reservation, request, options: options do |response, operation|
|
@@ -570,7 +572,9 @@ module Google
|
|
570
572
|
options.apply_defaults timeout: @config.rpcs.update_reservation.timeout,
|
571
573
|
metadata: metadata,
|
572
574
|
retry_policy: @config.rpcs.update_reservation.retry_policy
|
573
|
-
|
575
|
+
|
576
|
+
options.apply_defaults timeout: @config.timeout,
|
577
|
+
metadata: @config.metadata,
|
574
578
|
retry_policy: @config.retry_policy
|
575
579
|
|
576
580
|
@reservation_service_stub.call_rpc :update_reservation, request, options: options do |response, operation|
|
@@ -642,7 +646,9 @@ module Google
|
|
642
646
|
options.apply_defaults timeout: @config.rpcs.create_capacity_commitment.timeout,
|
643
647
|
metadata: metadata,
|
644
648
|
retry_policy: @config.rpcs.create_capacity_commitment.retry_policy
|
645
|
-
|
649
|
+
|
650
|
+
options.apply_defaults timeout: @config.timeout,
|
651
|
+
metadata: @config.metadata,
|
646
652
|
retry_policy: @config.retry_policy
|
647
653
|
|
648
654
|
@reservation_service_stub.call_rpc :create_capacity_commitment, request, options: options do |response, operation|
|
@@ -713,7 +719,9 @@ module Google
|
|
713
719
|
options.apply_defaults timeout: @config.rpcs.list_capacity_commitments.timeout,
|
714
720
|
metadata: metadata,
|
715
721
|
retry_policy: @config.rpcs.list_capacity_commitments.retry_policy
|
716
|
-
|
722
|
+
|
723
|
+
options.apply_defaults timeout: @config.timeout,
|
724
|
+
metadata: @config.metadata,
|
717
725
|
retry_policy: @config.retry_policy
|
718
726
|
|
719
727
|
@reservation_service_stub.call_rpc :list_capacity_commitments, request, options: options do |response, operation|
|
@@ -781,7 +789,9 @@ module Google
|
|
781
789
|
options.apply_defaults timeout: @config.rpcs.get_capacity_commitment.timeout,
|
782
790
|
metadata: metadata,
|
783
791
|
retry_policy: @config.rpcs.get_capacity_commitment.retry_policy
|
784
|
-
|
792
|
+
|
793
|
+
options.apply_defaults timeout: @config.timeout,
|
794
|
+
metadata: @config.metadata,
|
785
795
|
retry_policy: @config.retry_policy
|
786
796
|
|
787
797
|
@reservation_service_stub.call_rpc :get_capacity_commitment, request, options: options do |response, operation|
|
@@ -850,7 +860,9 @@ module Google
|
|
850
860
|
options.apply_defaults timeout: @config.rpcs.delete_capacity_commitment.timeout,
|
851
861
|
metadata: metadata,
|
852
862
|
retry_policy: @config.rpcs.delete_capacity_commitment.retry_policy
|
853
|
-
|
863
|
+
|
864
|
+
options.apply_defaults timeout: @config.timeout,
|
865
|
+
metadata: @config.metadata,
|
854
866
|
retry_policy: @config.retry_policy
|
855
867
|
|
856
868
|
@reservation_service_stub.call_rpc :delete_capacity_commitment, request, options: options do |response, operation|
|
@@ -924,7 +936,9 @@ module Google
|
|
924
936
|
options.apply_defaults timeout: @config.rpcs.update_capacity_commitment.timeout,
|
925
937
|
metadata: metadata,
|
926
938
|
retry_policy: @config.rpcs.update_capacity_commitment.retry_policy
|
927
|
-
|
939
|
+
|
940
|
+
options.apply_defaults timeout: @config.timeout,
|
941
|
+
metadata: @config.metadata,
|
928
942
|
retry_policy: @config.retry_policy
|
929
943
|
|
930
944
|
@reservation_service_stub.call_rpc :update_capacity_commitment, request, options: options do |response, operation|
|
@@ -1000,7 +1014,9 @@ module Google
|
|
1000
1014
|
options.apply_defaults timeout: @config.rpcs.split_capacity_commitment.timeout,
|
1001
1015
|
metadata: metadata,
|
1002
1016
|
retry_policy: @config.rpcs.split_capacity_commitment.retry_policy
|
1003
|
-
|
1017
|
+
|
1018
|
+
options.apply_defaults timeout: @config.timeout,
|
1019
|
+
metadata: @config.metadata,
|
1004
1020
|
retry_policy: @config.retry_policy
|
1005
1021
|
|
1006
1022
|
@reservation_service_stub.call_rpc :split_capacity_commitment, request, options: options do |response, operation|
|
@@ -1079,7 +1095,9 @@ module Google
|
|
1079
1095
|
options.apply_defaults timeout: @config.rpcs.merge_capacity_commitments.timeout,
|
1080
1096
|
metadata: metadata,
|
1081
1097
|
retry_policy: @config.rpcs.merge_capacity_commitments.retry_policy
|
1082
|
-
|
1098
|
+
|
1099
|
+
options.apply_defaults timeout: @config.timeout,
|
1100
|
+
metadata: @config.metadata,
|
1083
1101
|
retry_policy: @config.retry_policy
|
1084
1102
|
|
1085
1103
|
@reservation_service_stub.call_rpc :merge_capacity_commitments, request, options: options do |response, operation|
|
@@ -1177,7 +1195,9 @@ module Google
|
|
1177
1195
|
options.apply_defaults timeout: @config.rpcs.create_assignment.timeout,
|
1178
1196
|
metadata: metadata,
|
1179
1197
|
retry_policy: @config.rpcs.create_assignment.retry_policy
|
1180
|
-
|
1198
|
+
|
1199
|
+
options.apply_defaults timeout: @config.timeout,
|
1200
|
+
metadata: @config.metadata,
|
1181
1201
|
retry_policy: @config.retry_policy
|
1182
1202
|
|
1183
1203
|
@reservation_service_stub.call_rpc :create_assignment, request, options: options do |response, operation|
|
@@ -1273,7 +1293,9 @@ module Google
|
|
1273
1293
|
options.apply_defaults timeout: @config.rpcs.list_assignments.timeout,
|
1274
1294
|
metadata: metadata,
|
1275
1295
|
retry_policy: @config.rpcs.list_assignments.retry_policy
|
1276
|
-
|
1296
|
+
|
1297
|
+
options.apply_defaults timeout: @config.timeout,
|
1298
|
+
metadata: @config.metadata,
|
1277
1299
|
retry_policy: @config.retry_policy
|
1278
1300
|
|
1279
1301
|
@reservation_service_stub.call_rpc :list_assignments, request, options: options do |response, operation|
|
@@ -1355,7 +1377,9 @@ module Google
|
|
1355
1377
|
options.apply_defaults timeout: @config.rpcs.delete_assignment.timeout,
|
1356
1378
|
metadata: metadata,
|
1357
1379
|
retry_policy: @config.rpcs.delete_assignment.retry_policy
|
1358
|
-
|
1380
|
+
|
1381
|
+
options.apply_defaults timeout: @config.timeout,
|
1382
|
+
metadata: @config.metadata,
|
1359
1383
|
retry_policy: @config.retry_policy
|
1360
1384
|
|
1361
1385
|
@reservation_service_stub.call_rpc :delete_assignment, request, options: options do |response, operation|
|
@@ -1457,7 +1481,9 @@ module Google
|
|
1457
1481
|
options.apply_defaults timeout: @config.rpcs.search_assignments.timeout,
|
1458
1482
|
metadata: metadata,
|
1459
1483
|
retry_policy: @config.rpcs.search_assignments.retry_policy
|
1460
|
-
|
1484
|
+
|
1485
|
+
options.apply_defaults timeout: @config.timeout,
|
1486
|
+
metadata: @config.metadata,
|
1461
1487
|
retry_policy: @config.retry_policy
|
1462
1488
|
|
1463
1489
|
@reservation_service_stub.call_rpc :search_assignments, request, options: options do |response, operation|
|
@@ -1533,7 +1559,9 @@ module Google
|
|
1533
1559
|
options.apply_defaults timeout: @config.rpcs.move_assignment.timeout,
|
1534
1560
|
metadata: metadata,
|
1535
1561
|
retry_policy: @config.rpcs.move_assignment.retry_policy
|
1536
|
-
|
1562
|
+
|
1563
|
+
options.apply_defaults timeout: @config.timeout,
|
1564
|
+
metadata: @config.metadata,
|
1537
1565
|
retry_policy: @config.retry_policy
|
1538
1566
|
|
1539
1567
|
@reservation_service_stub.call_rpc :move_assignment, request, options: options do |response, operation|
|
@@ -1600,7 +1628,9 @@ module Google
|
|
1600
1628
|
options.apply_defaults timeout: @config.rpcs.get_bi_reservation.timeout,
|
1601
1629
|
metadata: metadata,
|
1602
1630
|
retry_policy: @config.rpcs.get_bi_reservation.retry_policy
|
1603
|
-
|
1631
|
+
|
1632
|
+
options.apply_defaults timeout: @config.timeout,
|
1633
|
+
metadata: @config.metadata,
|
1604
1634
|
retry_policy: @config.retry_policy
|
1605
1635
|
|
1606
1636
|
@reservation_service_stub.call_rpc :get_bi_reservation, request, options: options do |response, operation|
|
@@ -1675,7 +1705,9 @@ module Google
|
|
1675
1705
|
options.apply_defaults timeout: @config.rpcs.update_bi_reservation.timeout,
|
1676
1706
|
metadata: metadata,
|
1677
1707
|
retry_policy: @config.rpcs.update_bi_reservation.retry_policy
|
1678
|
-
|
1708
|
+
|
1709
|
+
options.apply_defaults timeout: @config.timeout,
|
1710
|
+
metadata: @config.metadata,
|
1679
1711
|
retry_policy: @config.retry_policy
|
1680
1712
|
|
1681
1713
|
@reservation_service_stub.call_rpc :update_bi_reservation, request, options: options do |response, operation|
|
@@ -1699,22 +1731,21 @@ module Google
|
|
1699
1731
|
# Configuration can be applied globally to all clients, or to a single client
|
1700
1732
|
# on construction.
|
1701
1733
|
#
|
1702
|
-
#
|
1703
|
-
#
|
1704
|
-
#
|
1705
|
-
# to 20 seconds,
|
1706
|
-
#
|
1707
|
-
#
|
1708
|
-
#
|
1709
|
-
#
|
1710
|
-
#
|
1711
|
-
#
|
1712
|
-
#
|
1713
|
-
#
|
1714
|
-
#
|
1715
|
-
#
|
1716
|
-
#
|
1717
|
-
# end
|
1734
|
+
# @example
|
1735
|
+
#
|
1736
|
+
# # Modify the global config, setting the timeout for
|
1737
|
+
# # create_reservation to 20 seconds,
|
1738
|
+
# # and all remaining timeouts to 10 seconds.
|
1739
|
+
# ::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client.configure do |config|
|
1740
|
+
# config.timeout = 10.0
|
1741
|
+
# config.rpcs.create_reservation.timeout = 20.0
|
1742
|
+
# end
|
1743
|
+
#
|
1744
|
+
# # Apply the above configuration only to a new client.
|
1745
|
+
# client = ::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client.new do |config|
|
1746
|
+
# config.timeout = 10.0
|
1747
|
+
# config.rpcs.create_reservation.timeout = 20.0
|
1748
|
+
# end
|
1718
1749
|
#
|
1719
1750
|
# @!attribute [rw] endpoint
|
1720
1751
|
# The hostname or hostname:port of the service endpoint.
|
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.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|