google-cloud-channel-v1 0.7.1 → 0.7.2
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: 8ec05fd73c6128dd0af7292a7d128d045cf89082e902ca06c81ac415ec589309
|
4
|
+
data.tar.gz: 1aa78d199501d1876c868a26f1a7d98b303c8e4e9411a8f717114aa960290b38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1685d2697475114598e8396704e27edd24e16eb94d065a96deeaeaab851413e51a27dca544ad4c4798343d4e31d52356ca52cfe84cc1dc4e25c8fa0f00de6cae
|
7
|
+
data.tar.gz: 53395b7f4d80932af5d4a912cfb84976022e8de758fd9864a3cba0fd509f575d2a25b6b2a233cb0a522000337385a67b856662208811ed9d0776826aece998aa
|
@@ -59,13 +59,12 @@ module Google
|
|
59
59
|
# See {::Google::Cloud::Channel::V1::CloudChannelService::Client::Configuration}
|
60
60
|
# for a description of the configuration fields.
|
61
61
|
#
|
62
|
-
#
|
62
|
+
# @example
|
63
63
|
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
# end
|
64
|
+
# # Modify the configuration for all CloudChannelService clients
|
65
|
+
# ::Google::Cloud::Channel::V1::CloudChannelService::Client.configure do |config|
|
66
|
+
# config.timeout = 10.0
|
67
|
+
# end
|
69
68
|
#
|
70
69
|
# @yield [config] Configure the Client client.
|
71
70
|
# @yieldparam config [Client::Configuration]
|
@@ -139,19 +138,15 @@ module Google
|
|
139
138
|
##
|
140
139
|
# Create a new CloudChannelService client object.
|
141
140
|
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
# To create a new CloudChannelService client with the default
|
145
|
-
# configuration:
|
146
|
-
#
|
147
|
-
# client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new
|
141
|
+
# @example
|
148
142
|
#
|
149
|
-
#
|
150
|
-
#
|
143
|
+
# # Create a client using the default configuration
|
144
|
+
# client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new
|
151
145
|
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
146
|
+
# # Create a client using a custom configuration
|
147
|
+
# client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new do |config|
|
148
|
+
# config.timeout = 10.0
|
149
|
+
# end
|
155
150
|
#
|
156
151
|
# @yield [config] Configure the CloudChannelService client.
|
157
152
|
# @yieldparam config [Client::Configuration]
|
@@ -171,10 +166,9 @@ module Google
|
|
171
166
|
|
172
167
|
# Create credentials
|
173
168
|
credentials = @config.credentials
|
174
|
-
# Use self-signed JWT if the
|
169
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
175
170
|
# but only if the default endpoint does not have a region prefix.
|
176
|
-
enable_self_signed_jwt = @config.
|
177
|
-
@config.endpoint == Client.configure.endpoint &&
|
171
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
178
172
|
!@config.endpoint.split(".").first.include?("-")
|
179
173
|
credentials ||= Credentials.default scope: @config.scope,
|
180
174
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -281,7 +275,9 @@ module Google
|
|
281
275
|
options.apply_defaults timeout: @config.rpcs.list_customers.timeout,
|
282
276
|
metadata: metadata,
|
283
277
|
retry_policy: @config.rpcs.list_customers.retry_policy
|
284
|
-
|
278
|
+
|
279
|
+
options.apply_defaults timeout: @config.timeout,
|
280
|
+
metadata: @config.metadata,
|
285
281
|
retry_policy: @config.retry_policy
|
286
282
|
|
287
283
|
@cloud_channel_service_stub.call_rpc :list_customers, request, options: options do |response, operation|
|
@@ -360,7 +356,9 @@ module Google
|
|
360
356
|
options.apply_defaults timeout: @config.rpcs.get_customer.timeout,
|
361
357
|
metadata: metadata,
|
362
358
|
retry_policy: @config.rpcs.get_customer.retry_policy
|
363
|
-
|
359
|
+
|
360
|
+
options.apply_defaults timeout: @config.timeout,
|
361
|
+
metadata: @config.metadata,
|
364
362
|
retry_policy: @config.retry_policy
|
365
363
|
|
366
364
|
@cloud_channel_service_stub.call_rpc :get_customer, request, options: options do |response, operation|
|
@@ -444,7 +442,9 @@ module Google
|
|
444
442
|
options.apply_defaults timeout: @config.rpcs.check_cloud_identity_accounts_exist.timeout,
|
445
443
|
metadata: metadata,
|
446
444
|
retry_policy: @config.rpcs.check_cloud_identity_accounts_exist.retry_policy
|
447
|
-
|
445
|
+
|
446
|
+
options.apply_defaults timeout: @config.timeout,
|
447
|
+
metadata: @config.metadata,
|
448
448
|
retry_policy: @config.retry_policy
|
449
449
|
|
450
450
|
@cloud_channel_service_stub.call_rpc :check_cloud_identity_accounts_exist, request, options: options do |response, operation|
|
@@ -525,7 +525,9 @@ module Google
|
|
525
525
|
options.apply_defaults timeout: @config.rpcs.create_customer.timeout,
|
526
526
|
metadata: metadata,
|
527
527
|
retry_policy: @config.rpcs.create_customer.retry_policy
|
528
|
-
|
528
|
+
|
529
|
+
options.apply_defaults timeout: @config.timeout,
|
530
|
+
metadata: @config.metadata,
|
529
531
|
retry_policy: @config.retry_policy
|
530
532
|
|
531
533
|
@cloud_channel_service_stub.call_rpc :create_customer, request, options: options do |response, operation|
|
@@ -605,7 +607,9 @@ module Google
|
|
605
607
|
options.apply_defaults timeout: @config.rpcs.update_customer.timeout,
|
606
608
|
metadata: metadata,
|
607
609
|
retry_policy: @config.rpcs.update_customer.retry_policy
|
608
|
-
|
610
|
+
|
611
|
+
options.apply_defaults timeout: @config.timeout,
|
612
|
+
metadata: @config.metadata,
|
609
613
|
retry_policy: @config.retry_policy
|
610
614
|
|
611
615
|
@cloud_channel_service_stub.call_rpc :update_customer, request, options: options do |response, operation|
|
@@ -679,7 +683,9 @@ module Google
|
|
679
683
|
options.apply_defaults timeout: @config.rpcs.delete_customer.timeout,
|
680
684
|
metadata: metadata,
|
681
685
|
retry_policy: @config.rpcs.delete_customer.retry_policy
|
682
|
-
|
686
|
+
|
687
|
+
options.apply_defaults timeout: @config.timeout,
|
688
|
+
metadata: @config.metadata,
|
683
689
|
retry_policy: @config.retry_policy
|
684
690
|
|
685
691
|
@cloud_channel_service_stub.call_rpc :delete_customer, request, options: options do |response, operation|
|
@@ -772,7 +778,9 @@ module Google
|
|
772
778
|
options.apply_defaults timeout: @config.rpcs.provision_cloud_identity.timeout,
|
773
779
|
metadata: metadata,
|
774
780
|
retry_policy: @config.rpcs.provision_cloud_identity.retry_policy
|
775
|
-
|
781
|
+
|
782
|
+
options.apply_defaults timeout: @config.timeout,
|
783
|
+
metadata: @config.metadata,
|
776
784
|
retry_policy: @config.retry_policy
|
777
785
|
|
778
786
|
@cloud_channel_service_stub.call_rpc :provision_cloud_identity, request, options: options do |response, operation|
|
@@ -858,7 +866,9 @@ module Google
|
|
858
866
|
options.apply_defaults timeout: @config.rpcs.list_entitlements.timeout,
|
859
867
|
metadata: metadata,
|
860
868
|
retry_policy: @config.rpcs.list_entitlements.retry_policy
|
861
|
-
|
869
|
+
|
870
|
+
options.apply_defaults timeout: @config.timeout,
|
871
|
+
metadata: @config.metadata,
|
862
872
|
retry_policy: @config.retry_policy
|
863
873
|
|
864
874
|
@cloud_channel_service_stub.call_rpc :list_entitlements, request, options: options do |response, operation|
|
@@ -971,7 +981,9 @@ module Google
|
|
971
981
|
options.apply_defaults timeout: @config.rpcs.list_transferable_skus.timeout,
|
972
982
|
metadata: metadata,
|
973
983
|
retry_policy: @config.rpcs.list_transferable_skus.retry_policy
|
974
|
-
|
984
|
+
|
985
|
+
options.apply_defaults timeout: @config.timeout,
|
986
|
+
metadata: @config.metadata,
|
975
987
|
retry_policy: @config.retry_policy
|
976
988
|
|
977
989
|
@cloud_channel_service_stub.call_rpc :list_transferable_skus, request, options: options do |response, operation|
|
@@ -1075,7 +1087,9 @@ module Google
|
|
1075
1087
|
options.apply_defaults timeout: @config.rpcs.list_transferable_offers.timeout,
|
1076
1088
|
metadata: metadata,
|
1077
1089
|
retry_policy: @config.rpcs.list_transferable_offers.retry_policy
|
1078
|
-
|
1090
|
+
|
1091
|
+
options.apply_defaults timeout: @config.timeout,
|
1092
|
+
metadata: @config.metadata,
|
1079
1093
|
retry_policy: @config.retry_policy
|
1080
1094
|
|
1081
1095
|
@cloud_channel_service_stub.call_rpc :list_transferable_offers, request, options: options do |response, operation|
|
@@ -1153,7 +1167,9 @@ module Google
|
|
1153
1167
|
options.apply_defaults timeout: @config.rpcs.get_entitlement.timeout,
|
1154
1168
|
metadata: metadata,
|
1155
1169
|
retry_policy: @config.rpcs.get_entitlement.retry_policy
|
1156
|
-
|
1170
|
+
|
1171
|
+
options.apply_defaults timeout: @config.timeout,
|
1172
|
+
metadata: @config.metadata,
|
1157
1173
|
retry_policy: @config.retry_policy
|
1158
1174
|
|
1159
1175
|
@cloud_channel_service_stub.call_rpc :get_entitlement, request, options: options do |response, operation|
|
@@ -1270,7 +1286,9 @@ module Google
|
|
1270
1286
|
options.apply_defaults timeout: @config.rpcs.create_entitlement.timeout,
|
1271
1287
|
metadata: metadata,
|
1272
1288
|
retry_policy: @config.rpcs.create_entitlement.retry_policy
|
1273
|
-
|
1289
|
+
|
1290
|
+
options.apply_defaults timeout: @config.timeout,
|
1291
|
+
metadata: @config.metadata,
|
1274
1292
|
retry_policy: @config.retry_policy
|
1275
1293
|
|
1276
1294
|
@cloud_channel_service_stub.call_rpc :create_entitlement, request, options: options do |response, operation|
|
@@ -1377,7 +1395,9 @@ module Google
|
|
1377
1395
|
options.apply_defaults timeout: @config.rpcs.change_parameters.timeout,
|
1378
1396
|
metadata: metadata,
|
1379
1397
|
retry_policy: @config.rpcs.change_parameters.retry_policy
|
1380
|
-
|
1398
|
+
|
1399
|
+
options.apply_defaults timeout: @config.timeout,
|
1400
|
+
metadata: @config.metadata,
|
1381
1401
|
retry_policy: @config.retry_policy
|
1382
1402
|
|
1383
1403
|
@cloud_channel_service_stub.call_rpc :change_parameters, request, options: options do |response, operation|
|
@@ -1482,7 +1502,9 @@ module Google
|
|
1482
1502
|
options.apply_defaults timeout: @config.rpcs.change_renewal_settings.timeout,
|
1483
1503
|
metadata: metadata,
|
1484
1504
|
retry_policy: @config.rpcs.change_renewal_settings.retry_policy
|
1485
|
-
|
1505
|
+
|
1506
|
+
options.apply_defaults timeout: @config.timeout,
|
1507
|
+
metadata: @config.metadata,
|
1486
1508
|
retry_policy: @config.retry_policy
|
1487
1509
|
|
1488
1510
|
@cloud_channel_service_stub.call_rpc :change_renewal_settings, request, options: options do |response, operation|
|
@@ -1590,7 +1612,9 @@ module Google
|
|
1590
1612
|
options.apply_defaults timeout: @config.rpcs.change_offer.timeout,
|
1591
1613
|
metadata: metadata,
|
1592
1614
|
retry_policy: @config.rpcs.change_offer.retry_policy
|
1593
|
-
|
1615
|
+
|
1616
|
+
options.apply_defaults timeout: @config.timeout,
|
1617
|
+
metadata: @config.metadata,
|
1594
1618
|
retry_policy: @config.retry_policy
|
1595
1619
|
|
1596
1620
|
@cloud_channel_service_stub.call_rpc :change_offer, request, options: options do |response, operation|
|
@@ -1694,7 +1718,9 @@ module Google
|
|
1694
1718
|
options.apply_defaults timeout: @config.rpcs.start_paid_service.timeout,
|
1695
1719
|
metadata: metadata,
|
1696
1720
|
retry_policy: @config.rpcs.start_paid_service.retry_policy
|
1697
|
-
|
1721
|
+
|
1722
|
+
options.apply_defaults timeout: @config.timeout,
|
1723
|
+
metadata: @config.metadata,
|
1698
1724
|
retry_policy: @config.retry_policy
|
1699
1725
|
|
1700
1726
|
@cloud_channel_service_stub.call_rpc :start_paid_service, request, options: options do |response, operation|
|
@@ -1795,7 +1821,9 @@ module Google
|
|
1795
1821
|
options.apply_defaults timeout: @config.rpcs.suspend_entitlement.timeout,
|
1796
1822
|
metadata: metadata,
|
1797
1823
|
retry_policy: @config.rpcs.suspend_entitlement.retry_policy
|
1798
|
-
|
1824
|
+
|
1825
|
+
options.apply_defaults timeout: @config.timeout,
|
1826
|
+
metadata: @config.metadata,
|
1799
1827
|
retry_policy: @config.retry_policy
|
1800
1828
|
|
1801
1829
|
@cloud_channel_service_stub.call_rpc :suspend_entitlement, request, options: options do |response, operation|
|
@@ -1901,7 +1929,9 @@ module Google
|
|
1901
1929
|
options.apply_defaults timeout: @config.rpcs.cancel_entitlement.timeout,
|
1902
1930
|
metadata: metadata,
|
1903
1931
|
retry_policy: @config.rpcs.cancel_entitlement.retry_policy
|
1904
|
-
|
1932
|
+
|
1933
|
+
options.apply_defaults timeout: @config.timeout,
|
1934
|
+
metadata: @config.metadata,
|
1905
1935
|
retry_policy: @config.retry_policy
|
1906
1936
|
|
1907
1937
|
@cloud_channel_service_stub.call_rpc :cancel_entitlement, request, options: options do |response, operation|
|
@@ -2008,7 +2038,9 @@ module Google
|
|
2008
2038
|
options.apply_defaults timeout: @config.rpcs.activate_entitlement.timeout,
|
2009
2039
|
metadata: metadata,
|
2010
2040
|
retry_policy: @config.rpcs.activate_entitlement.retry_policy
|
2011
|
-
|
2041
|
+
|
2042
|
+
options.apply_defaults timeout: @config.timeout,
|
2043
|
+
metadata: @config.metadata,
|
2012
2044
|
retry_policy: @config.retry_policy
|
2013
2045
|
|
2014
2046
|
@cloud_channel_service_stub.call_rpc :activate_entitlement, request, options: options do |response, operation|
|
@@ -2124,7 +2156,9 @@ module Google
|
|
2124
2156
|
options.apply_defaults timeout: @config.rpcs.transfer_entitlements.timeout,
|
2125
2157
|
metadata: metadata,
|
2126
2158
|
retry_policy: @config.rpcs.transfer_entitlements.retry_policy
|
2127
|
-
|
2159
|
+
|
2160
|
+
options.apply_defaults timeout: @config.timeout,
|
2161
|
+
metadata: @config.metadata,
|
2128
2162
|
retry_policy: @config.retry_policy
|
2129
2163
|
|
2130
2164
|
@cloud_channel_service_stub.call_rpc :transfer_entitlements, request, options: options do |response, operation|
|
@@ -2235,7 +2269,9 @@ module Google
|
|
2235
2269
|
options.apply_defaults timeout: @config.rpcs.transfer_entitlements_to_google.timeout,
|
2236
2270
|
metadata: metadata,
|
2237
2271
|
retry_policy: @config.rpcs.transfer_entitlements_to_google.retry_policy
|
2238
|
-
|
2272
|
+
|
2273
|
+
options.apply_defaults timeout: @config.timeout,
|
2274
|
+
metadata: @config.metadata,
|
2239
2275
|
retry_policy: @config.retry_policy
|
2240
2276
|
|
2241
2277
|
@cloud_channel_service_stub.call_rpc :transfer_entitlements_to_google, request, options: options do |response, operation|
|
@@ -2325,7 +2361,9 @@ module Google
|
|
2325
2361
|
options.apply_defaults timeout: @config.rpcs.list_channel_partner_links.timeout,
|
2326
2362
|
metadata: metadata,
|
2327
2363
|
retry_policy: @config.rpcs.list_channel_partner_links.retry_policy
|
2328
|
-
|
2364
|
+
|
2365
|
+
options.apply_defaults timeout: @config.timeout,
|
2366
|
+
metadata: @config.metadata,
|
2329
2367
|
retry_policy: @config.retry_policy
|
2330
2368
|
|
2331
2369
|
@cloud_channel_service_stub.call_rpc :list_channel_partner_links, request, options: options do |response, operation|
|
@@ -2408,7 +2446,9 @@ module Google
|
|
2408
2446
|
options.apply_defaults timeout: @config.rpcs.get_channel_partner_link.timeout,
|
2409
2447
|
metadata: metadata,
|
2410
2448
|
retry_policy: @config.rpcs.get_channel_partner_link.retry_policy
|
2411
|
-
|
2449
|
+
|
2450
|
+
options.apply_defaults timeout: @config.timeout,
|
2451
|
+
metadata: @config.metadata,
|
2412
2452
|
retry_policy: @config.retry_policy
|
2413
2453
|
|
2414
2454
|
@cloud_channel_service_stub.call_rpc :get_channel_partner_link, request, options: options do |response, operation|
|
@@ -2501,7 +2541,9 @@ module Google
|
|
2501
2541
|
options.apply_defaults timeout: @config.rpcs.create_channel_partner_link.timeout,
|
2502
2542
|
metadata: metadata,
|
2503
2543
|
retry_policy: @config.rpcs.create_channel_partner_link.retry_policy
|
2504
|
-
|
2544
|
+
|
2545
|
+
options.apply_defaults timeout: @config.timeout,
|
2546
|
+
metadata: @config.metadata,
|
2505
2547
|
retry_policy: @config.retry_policy
|
2506
2548
|
|
2507
2549
|
@cloud_channel_service_stub.call_rpc :create_channel_partner_link, request, options: options do |response, operation|
|
@@ -2596,7 +2638,9 @@ module Google
|
|
2596
2638
|
options.apply_defaults timeout: @config.rpcs.update_channel_partner_link.timeout,
|
2597
2639
|
metadata: metadata,
|
2598
2640
|
retry_policy: @config.rpcs.update_channel_partner_link.retry_policy
|
2599
|
-
|
2641
|
+
|
2642
|
+
options.apply_defaults timeout: @config.timeout,
|
2643
|
+
metadata: @config.metadata,
|
2600
2644
|
retry_policy: @config.retry_policy
|
2601
2645
|
|
2602
2646
|
@cloud_channel_service_stub.call_rpc :update_channel_partner_link, request, options: options do |response, operation|
|
@@ -2673,7 +2717,9 @@ module Google
|
|
2673
2717
|
options.apply_defaults timeout: @config.rpcs.lookup_offer.timeout,
|
2674
2718
|
metadata: metadata,
|
2675
2719
|
retry_policy: @config.rpcs.lookup_offer.retry_policy
|
2676
|
-
|
2720
|
+
|
2721
|
+
options.apply_defaults timeout: @config.timeout,
|
2722
|
+
metadata: @config.metadata,
|
2677
2723
|
retry_policy: @config.retry_policy
|
2678
2724
|
|
2679
2725
|
@cloud_channel_service_stub.call_rpc :lookup_offer, request, options: options do |response, operation|
|
@@ -2748,7 +2794,9 @@ module Google
|
|
2748
2794
|
options.apply_defaults timeout: @config.rpcs.list_products.timeout,
|
2749
2795
|
metadata: metadata,
|
2750
2796
|
retry_policy: @config.rpcs.list_products.retry_policy
|
2751
|
-
|
2797
|
+
|
2798
|
+
options.apply_defaults timeout: @config.timeout,
|
2799
|
+
metadata: @config.metadata,
|
2752
2800
|
retry_policy: @config.retry_policy
|
2753
2801
|
|
2754
2802
|
@cloud_channel_service_stub.call_rpc :list_products, request, options: options do |response, operation|
|
@@ -2835,7 +2883,9 @@ module Google
|
|
2835
2883
|
options.apply_defaults timeout: @config.rpcs.list_skus.timeout,
|
2836
2884
|
metadata: metadata,
|
2837
2885
|
retry_policy: @config.rpcs.list_skus.retry_policy
|
2838
|
-
|
2886
|
+
|
2887
|
+
options.apply_defaults timeout: @config.timeout,
|
2888
|
+
metadata: @config.metadata,
|
2839
2889
|
retry_policy: @config.retry_policy
|
2840
2890
|
|
2841
2891
|
@cloud_channel_service_stub.call_rpc :list_skus, request, options: options do |response, operation|
|
@@ -2923,7 +2973,9 @@ module Google
|
|
2923
2973
|
options.apply_defaults timeout: @config.rpcs.list_offers.timeout,
|
2924
2974
|
metadata: metadata,
|
2925
2975
|
retry_policy: @config.rpcs.list_offers.retry_policy
|
2926
|
-
|
2976
|
+
|
2977
|
+
options.apply_defaults timeout: @config.timeout,
|
2978
|
+
metadata: @config.metadata,
|
2927
2979
|
retry_policy: @config.retry_policy
|
2928
2980
|
|
2929
2981
|
@cloud_channel_service_stub.call_rpc :list_offers, request, options: options do |response, operation|
|
@@ -3013,7 +3065,9 @@ module Google
|
|
3013
3065
|
options.apply_defaults timeout: @config.rpcs.list_purchasable_skus.timeout,
|
3014
3066
|
metadata: metadata,
|
3015
3067
|
retry_policy: @config.rpcs.list_purchasable_skus.retry_policy
|
3016
|
-
|
3068
|
+
|
3069
|
+
options.apply_defaults timeout: @config.timeout,
|
3070
|
+
metadata: @config.metadata,
|
3017
3071
|
retry_policy: @config.retry_policy
|
3018
3072
|
|
3019
3073
|
@cloud_channel_service_stub.call_rpc :list_purchasable_skus, request, options: options do |response, operation|
|
@@ -3103,7 +3157,9 @@ module Google
|
|
3103
3157
|
options.apply_defaults timeout: @config.rpcs.list_purchasable_offers.timeout,
|
3104
3158
|
metadata: metadata,
|
3105
3159
|
retry_policy: @config.rpcs.list_purchasable_offers.retry_policy
|
3106
|
-
|
3160
|
+
|
3161
|
+
options.apply_defaults timeout: @config.timeout,
|
3162
|
+
metadata: @config.metadata,
|
3107
3163
|
retry_policy: @config.retry_policy
|
3108
3164
|
|
3109
3165
|
@cloud_channel_service_stub.call_rpc :list_purchasable_offers, request, options: options do |response, operation|
|
@@ -3188,7 +3244,9 @@ module Google
|
|
3188
3244
|
options.apply_defaults timeout: @config.rpcs.register_subscriber.timeout,
|
3189
3245
|
metadata: metadata,
|
3190
3246
|
retry_policy: @config.rpcs.register_subscriber.retry_policy
|
3191
|
-
|
3247
|
+
|
3248
|
+
options.apply_defaults timeout: @config.timeout,
|
3249
|
+
metadata: @config.metadata,
|
3192
3250
|
retry_policy: @config.retry_policy
|
3193
3251
|
|
3194
3252
|
@cloud_channel_service_stub.call_rpc :register_subscriber, request, options: options do |response, operation|
|
@@ -3276,7 +3334,9 @@ module Google
|
|
3276
3334
|
options.apply_defaults timeout: @config.rpcs.unregister_subscriber.timeout,
|
3277
3335
|
metadata: metadata,
|
3278
3336
|
retry_policy: @config.rpcs.unregister_subscriber.retry_policy
|
3279
|
-
|
3337
|
+
|
3338
|
+
options.apply_defaults timeout: @config.timeout,
|
3339
|
+
metadata: @config.metadata,
|
3280
3340
|
retry_policy: @config.retry_policy
|
3281
3341
|
|
3282
3342
|
@cloud_channel_service_stub.call_rpc :unregister_subscriber, request, options: options do |response, operation|
|
@@ -3369,7 +3429,9 @@ module Google
|
|
3369
3429
|
options.apply_defaults timeout: @config.rpcs.list_subscribers.timeout,
|
3370
3430
|
metadata: metadata,
|
3371
3431
|
retry_policy: @config.rpcs.list_subscribers.retry_policy
|
3372
|
-
|
3432
|
+
|
3433
|
+
options.apply_defaults timeout: @config.timeout,
|
3434
|
+
metadata: @config.metadata,
|
3373
3435
|
retry_policy: @config.retry_policy
|
3374
3436
|
|
3375
3437
|
@cloud_channel_service_stub.call_rpc :list_subscribers, request, options: options do |response, operation|
|
@@ -3393,22 +3455,21 @@ module Google
|
|
3393
3455
|
# Configuration can be applied globally to all clients, or to a single client
|
3394
3456
|
# on construction.
|
3395
3457
|
#
|
3396
|
-
#
|
3397
|
-
#
|
3398
|
-
#
|
3399
|
-
# to 20 seconds,
|
3400
|
-
#
|
3401
|
-
#
|
3402
|
-
#
|
3403
|
-
#
|
3404
|
-
#
|
3405
|
-
#
|
3406
|
-
#
|
3407
|
-
#
|
3408
|
-
#
|
3409
|
-
#
|
3410
|
-
#
|
3411
|
-
# end
|
3458
|
+
# @example
|
3459
|
+
#
|
3460
|
+
# # Modify the global config, setting the timeout for
|
3461
|
+
# # list_customers to 20 seconds,
|
3462
|
+
# # and all remaining timeouts to 10 seconds.
|
3463
|
+
# ::Google::Cloud::Channel::V1::CloudChannelService::Client.configure do |config|
|
3464
|
+
# config.timeout = 10.0
|
3465
|
+
# config.rpcs.list_customers.timeout = 20.0
|
3466
|
+
# end
|
3467
|
+
#
|
3468
|
+
# # Apply the above configuration only to a new client.
|
3469
|
+
# client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new do |config|
|
3470
|
+
# config.timeout = 10.0
|
3471
|
+
# config.rpcs.list_customers.timeout = 20.0
|
3472
|
+
# end
|
3412
3473
|
#
|
3413
3474
|
# @!attribute [rw] endpoint
|
3414
3475
|
# The hostname or hostname:port of the service endpoint.
|
@@ -169,7 +169,9 @@ module Google
|
|
169
169
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
170
170
|
metadata: metadata,
|
171
171
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
172
|
-
|
172
|
+
|
173
|
+
options.apply_defaults timeout: @config.timeout,
|
174
|
+
metadata: @config.metadata,
|
173
175
|
retry_policy: @config.retry_policy
|
174
176
|
|
175
177
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -239,7 +241,9 @@ module Google
|
|
239
241
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
240
242
|
metadata: metadata,
|
241
243
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
242
|
-
|
244
|
+
|
245
|
+
options.apply_defaults timeout: @config.timeout,
|
246
|
+
metadata: @config.metadata,
|
243
247
|
retry_policy: @config.retry_policy
|
244
248
|
|
245
249
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -309,7 +313,9 @@ module Google
|
|
309
313
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
310
314
|
metadata: metadata,
|
311
315
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
312
|
-
|
316
|
+
|
317
|
+
options.apply_defaults timeout: @config.timeout,
|
318
|
+
metadata: @config.metadata,
|
313
319
|
retry_policy: @config.retry_policy
|
314
320
|
|
315
321
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -384,7 +390,9 @@ module Google
|
|
384
390
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
385
391
|
metadata: metadata,
|
386
392
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
387
|
-
|
393
|
+
|
394
|
+
options.apply_defaults timeout: @config.timeout,
|
395
|
+
metadata: @config.metadata,
|
388
396
|
retry_policy: @config.retry_policy
|
389
397
|
|
390
398
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -456,7 +464,9 @@ module Google
|
|
456
464
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
457
465
|
metadata: metadata,
|
458
466
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
459
|
-
|
467
|
+
|
468
|
+
options.apply_defaults timeout: @config.timeout,
|
469
|
+
metadata: @config.metadata,
|
460
470
|
retry_policy: @config.retry_policy
|
461
471
|
|
462
472
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -481,22 +491,21 @@ module Google
|
|
481
491
|
# Configuration can be applied globally to all clients, or to a single client
|
482
492
|
# on construction.
|
483
493
|
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# to 20 seconds,
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# end
|
494
|
+
# @example
|
495
|
+
#
|
496
|
+
# # Modify the global config, setting the timeout for
|
497
|
+
# # list_operations to 20 seconds,
|
498
|
+
# # and all remaining timeouts to 10 seconds.
|
499
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
500
|
+
# config.timeout = 10.0
|
501
|
+
# config.rpcs.list_operations.timeout = 20.0
|
502
|
+
# end
|
503
|
+
#
|
504
|
+
# # Apply the above configuration only to a new client.
|
505
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
506
|
+
# config.timeout = 10.0
|
507
|
+
# config.rpcs.list_operations.timeout = 20.0
|
508
|
+
# end
|
500
509
|
#
|
501
510
|
# @!attribute [rw] endpoint
|
502
511
|
# 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-channel-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.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: 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
|