google-cloud-container-v1beta1 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5937cc399dcc6d86533c9054c23f5fc1da0cfa2e33cd193ef857456a5c8edc6
|
4
|
+
data.tar.gz: 11de3c84a8fbcd857bbeb905cd8d651a0b676943d99ef182fa2c8d8de415ccef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efe91ec7ff62a3d5d2dd28490b0468bae644ddb22eb7d085698ace10f1b0443a67a9b00c20676695bba98cbc4e9734704e2520b7110f7ee14d41e2c765b7b146
|
7
|
+
data.tar.gz: bb72259919bf7928f964de224d356e968bfc42062d241d1b65866a32ad29279d48f680bfd1322f0cecd5e7271adf1b0c27a443f8a06e7eadf5f1931d19c03a0f
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::Container::V1beta1::ClusterManager::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all ClusterManager clients
|
47
|
+
# ::Google::Cloud::Container::V1beta1::ClusterManager::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -191,19 +190,15 @@ module Google
|
|
191
190
|
##
|
192
191
|
# Create a new ClusterManager client object.
|
193
192
|
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
# To create a new ClusterManager client with the default
|
197
|
-
# configuration:
|
198
|
-
#
|
199
|
-
# client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
|
193
|
+
# @example
|
200
194
|
#
|
201
|
-
#
|
202
|
-
#
|
195
|
+
# # Create a client using the default configuration
|
196
|
+
# client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
|
203
197
|
#
|
204
|
-
#
|
205
|
-
#
|
206
|
-
#
|
198
|
+
# # Create a client using a custom configuration
|
199
|
+
# client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new do |config|
|
200
|
+
# config.timeout = 10.0
|
201
|
+
# end
|
207
202
|
#
|
208
203
|
# @yield [config] Configure the ClusterManager client.
|
209
204
|
# @yieldparam config [Client::Configuration]
|
@@ -223,10 +218,9 @@ module Google
|
|
223
218
|
|
224
219
|
# Create credentials
|
225
220
|
credentials = @config.credentials
|
226
|
-
# Use self-signed JWT if the
|
221
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
227
222
|
# but only if the default endpoint does not have a region prefix.
|
228
|
-
enable_self_signed_jwt = @config.
|
229
|
-
@config.endpoint == Client.configure.endpoint &&
|
223
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
230
224
|
!@config.endpoint.split(".").first.include?("-")
|
231
225
|
credentials ||= Credentials.default scope: @config.scope,
|
232
226
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -314,7 +308,9 @@ module Google
|
|
314
308
|
options.apply_defaults timeout: @config.rpcs.list_clusters.timeout,
|
315
309
|
metadata: metadata,
|
316
310
|
retry_policy: @config.rpcs.list_clusters.retry_policy
|
317
|
-
|
311
|
+
|
312
|
+
options.apply_defaults timeout: @config.timeout,
|
313
|
+
metadata: @config.metadata,
|
318
314
|
retry_policy: @config.retry_policy
|
319
315
|
|
320
316
|
@cluster_manager_stub.call_rpc :list_clusters, request, options: options do |response, operation|
|
@@ -393,7 +389,9 @@ module Google
|
|
393
389
|
options.apply_defaults timeout: @config.rpcs.get_cluster.timeout,
|
394
390
|
metadata: metadata,
|
395
391
|
retry_policy: @config.rpcs.get_cluster.retry_policy
|
396
|
-
|
392
|
+
|
393
|
+
options.apply_defaults timeout: @config.timeout,
|
394
|
+
metadata: @config.metadata,
|
397
395
|
retry_policy: @config.retry_policy
|
398
396
|
|
399
397
|
@cluster_manager_stub.call_rpc :get_cluster, request, options: options do |response, operation|
|
@@ -485,7 +483,9 @@ module Google
|
|
485
483
|
options.apply_defaults timeout: @config.rpcs.create_cluster.timeout,
|
486
484
|
metadata: metadata,
|
487
485
|
retry_policy: @config.rpcs.create_cluster.retry_policy
|
488
|
-
|
486
|
+
|
487
|
+
options.apply_defaults timeout: @config.timeout,
|
488
|
+
metadata: @config.metadata,
|
489
489
|
retry_policy: @config.retry_policy
|
490
490
|
|
491
491
|
@cluster_manager_stub.call_rpc :create_cluster, request, options: options do |response, operation|
|
@@ -566,7 +566,9 @@ module Google
|
|
566
566
|
options.apply_defaults timeout: @config.rpcs.update_cluster.timeout,
|
567
567
|
metadata: metadata,
|
568
568
|
retry_policy: @config.rpcs.update_cluster.retry_policy
|
569
|
-
|
569
|
+
|
570
|
+
options.apply_defaults timeout: @config.timeout,
|
571
|
+
metadata: @config.metadata,
|
570
572
|
retry_policy: @config.retry_policy
|
571
573
|
|
572
574
|
@cluster_manager_stub.call_rpc :update_cluster, request, options: options do |response, operation|
|
@@ -677,7 +679,9 @@ module Google
|
|
677
679
|
options.apply_defaults timeout: @config.rpcs.update_node_pool.timeout,
|
678
680
|
metadata: metadata,
|
679
681
|
retry_policy: @config.rpcs.update_node_pool.retry_policy
|
680
|
-
|
682
|
+
|
683
|
+
options.apply_defaults timeout: @config.timeout,
|
684
|
+
metadata: @config.metadata,
|
681
685
|
retry_policy: @config.retry_policy
|
682
686
|
|
683
687
|
@cluster_manager_stub.call_rpc :update_node_pool, request, options: options do |response, operation|
|
@@ -762,7 +766,9 @@ module Google
|
|
762
766
|
options.apply_defaults timeout: @config.rpcs.set_node_pool_autoscaling.timeout,
|
763
767
|
metadata: metadata,
|
764
768
|
retry_policy: @config.rpcs.set_node_pool_autoscaling.retry_policy
|
765
|
-
|
769
|
+
|
770
|
+
options.apply_defaults timeout: @config.timeout,
|
771
|
+
metadata: @config.metadata,
|
766
772
|
retry_policy: @config.retry_policy
|
767
773
|
|
768
774
|
@cluster_manager_stub.call_rpc :set_node_pool_autoscaling, request, options: options do |response, operation|
|
@@ -853,7 +859,9 @@ module Google
|
|
853
859
|
options.apply_defaults timeout: @config.rpcs.set_logging_service.timeout,
|
854
860
|
metadata: metadata,
|
855
861
|
retry_policy: @config.rpcs.set_logging_service.retry_policy
|
856
|
-
|
862
|
+
|
863
|
+
options.apply_defaults timeout: @config.timeout,
|
864
|
+
metadata: @config.metadata,
|
857
865
|
retry_policy: @config.retry_policy
|
858
866
|
|
859
867
|
@cluster_manager_stub.call_rpc :set_logging_service, request, options: options do |response, operation|
|
@@ -944,7 +952,9 @@ module Google
|
|
944
952
|
options.apply_defaults timeout: @config.rpcs.set_monitoring_service.timeout,
|
945
953
|
metadata: metadata,
|
946
954
|
retry_policy: @config.rpcs.set_monitoring_service.retry_policy
|
947
|
-
|
955
|
+
|
956
|
+
options.apply_defaults timeout: @config.timeout,
|
957
|
+
metadata: @config.metadata,
|
948
958
|
retry_policy: @config.retry_policy
|
949
959
|
|
950
960
|
@cluster_manager_stub.call_rpc :set_monitoring_service, request, options: options do |response, operation|
|
@@ -1026,7 +1036,9 @@ module Google
|
|
1026
1036
|
options.apply_defaults timeout: @config.rpcs.set_addons_config.timeout,
|
1027
1037
|
metadata: metadata,
|
1028
1038
|
retry_policy: @config.rpcs.set_addons_config.retry_policy
|
1029
|
-
|
1039
|
+
|
1040
|
+
options.apply_defaults timeout: @config.timeout,
|
1041
|
+
metadata: @config.metadata,
|
1030
1042
|
retry_policy: @config.retry_policy
|
1031
1043
|
|
1032
1044
|
@cluster_manager_stub.call_rpc :set_addons_config, request, options: options do |response, operation|
|
@@ -1043,6 +1055,8 @@ module Google
|
|
1043
1055
|
# [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
|
1044
1056
|
# instead.
|
1045
1057
|
#
|
1058
|
+
# @deprecated This method is deprecated and may be removed in the next major version update.
|
1059
|
+
#
|
1046
1060
|
# @overload set_locations(request, options = nil)
|
1047
1061
|
# Pass arguments to `set_locations` via a request object, either of type
|
1048
1062
|
# {::Google::Cloud::Container::V1beta1::SetLocationsRequest} or an equivalent Hash.
|
@@ -1116,7 +1130,9 @@ module Google
|
|
1116
1130
|
options.apply_defaults timeout: @config.rpcs.set_locations.timeout,
|
1117
1131
|
metadata: metadata,
|
1118
1132
|
retry_policy: @config.rpcs.set_locations.retry_policy
|
1119
|
-
|
1133
|
+
|
1134
|
+
options.apply_defaults timeout: @config.timeout,
|
1135
|
+
metadata: @config.metadata,
|
1120
1136
|
retry_policy: @config.retry_policy
|
1121
1137
|
|
1122
1138
|
@cluster_manager_stub.call_rpc :set_locations, request, options: options do |response, operation|
|
@@ -1206,7 +1222,9 @@ module Google
|
|
1206
1222
|
options.apply_defaults timeout: @config.rpcs.update_master.timeout,
|
1207
1223
|
metadata: metadata,
|
1208
1224
|
retry_policy: @config.rpcs.update_master.retry_policy
|
1209
|
-
|
1225
|
+
|
1226
|
+
options.apply_defaults timeout: @config.timeout,
|
1227
|
+
metadata: @config.metadata,
|
1210
1228
|
retry_policy: @config.retry_policy
|
1211
1229
|
|
1212
1230
|
@cluster_manager_stub.call_rpc :update_master, request, options: options do |response, operation|
|
@@ -1291,7 +1309,9 @@ module Google
|
|
1291
1309
|
options.apply_defaults timeout: @config.rpcs.set_master_auth.timeout,
|
1292
1310
|
metadata: metadata,
|
1293
1311
|
retry_policy: @config.rpcs.set_master_auth.retry_policy
|
1294
|
-
|
1312
|
+
|
1313
|
+
options.apply_defaults timeout: @config.timeout,
|
1314
|
+
metadata: @config.metadata,
|
1295
1315
|
retry_policy: @config.retry_policy
|
1296
1316
|
|
1297
1317
|
@cluster_manager_stub.call_rpc :set_master_auth, request, options: options do |response, operation|
|
@@ -1378,7 +1398,9 @@ module Google
|
|
1378
1398
|
options.apply_defaults timeout: @config.rpcs.delete_cluster.timeout,
|
1379
1399
|
metadata: metadata,
|
1380
1400
|
retry_policy: @config.rpcs.delete_cluster.retry_policy
|
1381
|
-
|
1401
|
+
|
1402
|
+
options.apply_defaults timeout: @config.timeout,
|
1403
|
+
metadata: @config.metadata,
|
1382
1404
|
retry_policy: @config.retry_policy
|
1383
1405
|
|
1384
1406
|
@cluster_manager_stub.call_rpc :delete_cluster, request, options: options do |response, operation|
|
@@ -1455,7 +1477,9 @@ module Google
|
|
1455
1477
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
1456
1478
|
metadata: metadata,
|
1457
1479
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
1458
|
-
|
1480
|
+
|
1481
|
+
options.apply_defaults timeout: @config.timeout,
|
1482
|
+
metadata: @config.metadata,
|
1459
1483
|
retry_policy: @config.retry_policy
|
1460
1484
|
|
1461
1485
|
@cluster_manager_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -1534,7 +1558,9 @@ module Google
|
|
1534
1558
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
1535
1559
|
metadata: metadata,
|
1536
1560
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
1537
|
-
|
1561
|
+
|
1562
|
+
options.apply_defaults timeout: @config.timeout,
|
1563
|
+
metadata: @config.metadata,
|
1538
1564
|
retry_policy: @config.retry_policy
|
1539
1565
|
|
1540
1566
|
@cluster_manager_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -1613,7 +1639,9 @@ module Google
|
|
1613
1639
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
1614
1640
|
metadata: metadata,
|
1615
1641
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
1616
|
-
|
1642
|
+
|
1643
|
+
options.apply_defaults timeout: @config.timeout,
|
1644
|
+
metadata: @config.metadata,
|
1617
1645
|
retry_policy: @config.retry_policy
|
1618
1646
|
|
1619
1647
|
@cluster_manager_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -1689,7 +1717,9 @@ module Google
|
|
1689
1717
|
options.apply_defaults timeout: @config.rpcs.get_server_config.timeout,
|
1690
1718
|
metadata: metadata,
|
1691
1719
|
retry_policy: @config.rpcs.get_server_config.retry_policy
|
1692
|
-
|
1720
|
+
|
1721
|
+
options.apply_defaults timeout: @config.timeout,
|
1722
|
+
metadata: @config.metadata,
|
1693
1723
|
retry_policy: @config.retry_policy
|
1694
1724
|
|
1695
1725
|
@cluster_manager_stub.call_rpc :get_server_config, request, options: options do |response, operation|
|
@@ -1768,7 +1798,9 @@ module Google
|
|
1768
1798
|
options.apply_defaults timeout: @config.rpcs.list_node_pools.timeout,
|
1769
1799
|
metadata: metadata,
|
1770
1800
|
retry_policy: @config.rpcs.list_node_pools.retry_policy
|
1771
|
-
|
1801
|
+
|
1802
|
+
options.apply_defaults timeout: @config.timeout,
|
1803
|
+
metadata: @config.metadata,
|
1772
1804
|
retry_policy: @config.retry_policy
|
1773
1805
|
|
1774
1806
|
@cluster_manager_stub.call_rpc :list_node_pools, request, options: options do |response, operation|
|
@@ -1838,7 +1870,9 @@ module Google
|
|
1838
1870
|
options.apply_defaults timeout: @config.rpcs.get_json_web_keys.timeout,
|
1839
1871
|
metadata: metadata,
|
1840
1872
|
retry_policy: @config.rpcs.get_json_web_keys.retry_policy
|
1841
|
-
|
1873
|
+
|
1874
|
+
options.apply_defaults timeout: @config.timeout,
|
1875
|
+
metadata: @config.metadata,
|
1842
1876
|
retry_policy: @config.retry_policy
|
1843
1877
|
|
1844
1878
|
@cluster_manager_stub.call_rpc :get_json_web_keys, request, options: options do |response, operation|
|
@@ -1921,7 +1955,9 @@ module Google
|
|
1921
1955
|
options.apply_defaults timeout: @config.rpcs.get_node_pool.timeout,
|
1922
1956
|
metadata: metadata,
|
1923
1957
|
retry_policy: @config.rpcs.get_node_pool.retry_policy
|
1924
|
-
|
1958
|
+
|
1959
|
+
options.apply_defaults timeout: @config.timeout,
|
1960
|
+
metadata: @config.metadata,
|
1925
1961
|
retry_policy: @config.retry_policy
|
1926
1962
|
|
1927
1963
|
@cluster_manager_stub.call_rpc :get_node_pool, request, options: options do |response, operation|
|
@@ -2003,7 +2039,9 @@ module Google
|
|
2003
2039
|
options.apply_defaults timeout: @config.rpcs.create_node_pool.timeout,
|
2004
2040
|
metadata: metadata,
|
2005
2041
|
retry_policy: @config.rpcs.create_node_pool.retry_policy
|
2006
|
-
|
2042
|
+
|
2043
|
+
options.apply_defaults timeout: @config.timeout,
|
2044
|
+
metadata: @config.metadata,
|
2007
2045
|
retry_policy: @config.retry_policy
|
2008
2046
|
|
2009
2047
|
@cluster_manager_stub.call_rpc :create_node_pool, request, options: options do |response, operation|
|
@@ -2086,7 +2124,9 @@ module Google
|
|
2086
2124
|
options.apply_defaults timeout: @config.rpcs.delete_node_pool.timeout,
|
2087
2125
|
metadata: metadata,
|
2088
2126
|
retry_policy: @config.rpcs.delete_node_pool.retry_policy
|
2089
|
-
|
2127
|
+
|
2128
|
+
options.apply_defaults timeout: @config.timeout,
|
2129
|
+
metadata: @config.metadata,
|
2090
2130
|
retry_policy: @config.retry_policy
|
2091
2131
|
|
2092
2132
|
@cluster_manager_stub.call_rpc :delete_node_pool, request, options: options do |response, operation|
|
@@ -2170,7 +2210,9 @@ module Google
|
|
2170
2210
|
options.apply_defaults timeout: @config.rpcs.rollback_node_pool_upgrade.timeout,
|
2171
2211
|
metadata: metadata,
|
2172
2212
|
retry_policy: @config.rpcs.rollback_node_pool_upgrade.retry_policy
|
2173
|
-
|
2213
|
+
|
2214
|
+
options.apply_defaults timeout: @config.timeout,
|
2215
|
+
metadata: @config.metadata,
|
2174
2216
|
retry_policy: @config.retry_policy
|
2175
2217
|
|
2176
2218
|
@cluster_manager_stub.call_rpc :rollback_node_pool_upgrade, request, options: options do |response, operation|
|
@@ -2255,7 +2297,9 @@ module Google
|
|
2255
2297
|
options.apply_defaults timeout: @config.rpcs.set_node_pool_management.timeout,
|
2256
2298
|
metadata: metadata,
|
2257
2299
|
retry_policy: @config.rpcs.set_node_pool_management.retry_policy
|
2258
|
-
|
2300
|
+
|
2301
|
+
options.apply_defaults timeout: @config.timeout,
|
2302
|
+
metadata: @config.metadata,
|
2259
2303
|
retry_policy: @config.retry_policy
|
2260
2304
|
|
2261
2305
|
@cluster_manager_stub.call_rpc :set_node_pool_management, request, options: options do |response, operation|
|
@@ -2343,7 +2387,9 @@ module Google
|
|
2343
2387
|
options.apply_defaults timeout: @config.rpcs.set_labels.timeout,
|
2344
2388
|
metadata: metadata,
|
2345
2389
|
retry_policy: @config.rpcs.set_labels.retry_policy
|
2346
|
-
|
2390
|
+
|
2391
|
+
options.apply_defaults timeout: @config.timeout,
|
2392
|
+
metadata: @config.metadata,
|
2347
2393
|
retry_policy: @config.retry_policy
|
2348
2394
|
|
2349
2395
|
@cluster_manager_stub.call_rpc :set_labels, request, options: options do |response, operation|
|
@@ -2424,7 +2470,9 @@ module Google
|
|
2424
2470
|
options.apply_defaults timeout: @config.rpcs.set_legacy_abac.timeout,
|
2425
2471
|
metadata: metadata,
|
2426
2472
|
retry_policy: @config.rpcs.set_legacy_abac.retry_policy
|
2427
|
-
|
2473
|
+
|
2474
|
+
options.apply_defaults timeout: @config.timeout,
|
2475
|
+
metadata: @config.metadata,
|
2428
2476
|
retry_policy: @config.retry_policy
|
2429
2477
|
|
2430
2478
|
@cluster_manager_stub.call_rpc :set_legacy_abac, request, options: options do |response, operation|
|
@@ -2505,7 +2553,9 @@ module Google
|
|
2505
2553
|
options.apply_defaults timeout: @config.rpcs.start_ip_rotation.timeout,
|
2506
2554
|
metadata: metadata,
|
2507
2555
|
retry_policy: @config.rpcs.start_ip_rotation.retry_policy
|
2508
|
-
|
2556
|
+
|
2557
|
+
options.apply_defaults timeout: @config.timeout,
|
2558
|
+
metadata: @config.metadata,
|
2509
2559
|
retry_policy: @config.retry_policy
|
2510
2560
|
|
2511
2561
|
@cluster_manager_stub.call_rpc :start_ip_rotation, request, options: options do |response, operation|
|
@@ -2584,7 +2634,9 @@ module Google
|
|
2584
2634
|
options.apply_defaults timeout: @config.rpcs.complete_ip_rotation.timeout,
|
2585
2635
|
metadata: metadata,
|
2586
2636
|
retry_policy: @config.rpcs.complete_ip_rotation.retry_policy
|
2587
|
-
|
2637
|
+
|
2638
|
+
options.apply_defaults timeout: @config.timeout,
|
2639
|
+
metadata: @config.metadata,
|
2588
2640
|
retry_policy: @config.retry_policy
|
2589
2641
|
|
2590
2642
|
@cluster_manager_stub.call_rpc :complete_ip_rotation, request, options: options do |response, operation|
|
@@ -2669,7 +2721,9 @@ module Google
|
|
2669
2721
|
options.apply_defaults timeout: @config.rpcs.set_node_pool_size.timeout,
|
2670
2722
|
metadata: metadata,
|
2671
2723
|
retry_policy: @config.rpcs.set_node_pool_size.retry_policy
|
2672
|
-
|
2724
|
+
|
2725
|
+
options.apply_defaults timeout: @config.timeout,
|
2726
|
+
metadata: @config.metadata,
|
2673
2727
|
retry_policy: @config.retry_policy
|
2674
2728
|
|
2675
2729
|
@cluster_manager_stub.call_rpc :set_node_pool_size, request, options: options do |response, operation|
|
@@ -2750,7 +2804,9 @@ module Google
|
|
2750
2804
|
options.apply_defaults timeout: @config.rpcs.set_network_policy.timeout,
|
2751
2805
|
metadata: metadata,
|
2752
2806
|
retry_policy: @config.rpcs.set_network_policy.retry_policy
|
2753
|
-
|
2807
|
+
|
2808
|
+
options.apply_defaults timeout: @config.timeout,
|
2809
|
+
metadata: @config.metadata,
|
2754
2810
|
retry_policy: @config.retry_policy
|
2755
2811
|
|
2756
2812
|
@cluster_manager_stub.call_rpc :set_network_policy, request, options: options do |response, operation|
|
@@ -2830,7 +2886,9 @@ module Google
|
|
2830
2886
|
options.apply_defaults timeout: @config.rpcs.set_maintenance_policy.timeout,
|
2831
2887
|
metadata: metadata,
|
2832
2888
|
retry_policy: @config.rpcs.set_maintenance_policy.retry_policy
|
2833
|
-
|
2889
|
+
|
2890
|
+
options.apply_defaults timeout: @config.timeout,
|
2891
|
+
metadata: @config.metadata,
|
2834
2892
|
retry_policy: @config.retry_policy
|
2835
2893
|
|
2836
2894
|
@cluster_manager_stub.call_rpc :set_maintenance_policy, request, options: options do |response, operation|
|
@@ -2910,7 +2968,9 @@ module Google
|
|
2910
2968
|
options.apply_defaults timeout: @config.rpcs.list_usable_subnetworks.timeout,
|
2911
2969
|
metadata: metadata,
|
2912
2970
|
retry_policy: @config.rpcs.list_usable_subnetworks.retry_policy
|
2913
|
-
|
2971
|
+
|
2972
|
+
options.apply_defaults timeout: @config.timeout,
|
2973
|
+
metadata: @config.metadata,
|
2914
2974
|
retry_policy: @config.retry_policy
|
2915
2975
|
|
2916
2976
|
@cluster_manager_stub.call_rpc :list_usable_subnetworks, request, options: options do |response, operation|
|
@@ -2978,7 +3038,9 @@ module Google
|
|
2978
3038
|
options.apply_defaults timeout: @config.rpcs.list_locations.timeout,
|
2979
3039
|
metadata: metadata,
|
2980
3040
|
retry_policy: @config.rpcs.list_locations.retry_policy
|
2981
|
-
|
3041
|
+
|
3042
|
+
options.apply_defaults timeout: @config.timeout,
|
3043
|
+
metadata: @config.metadata,
|
2982
3044
|
retry_policy: @config.retry_policy
|
2983
3045
|
|
2984
3046
|
@cluster_manager_stub.call_rpc :list_locations, request, options: options do |response, operation|
|
@@ -3002,22 +3064,21 @@ module Google
|
|
3002
3064
|
# Configuration can be applied globally to all clients, or to a single client
|
3003
3065
|
# on construction.
|
3004
3066
|
#
|
3005
|
-
#
|
3006
|
-
#
|
3007
|
-
#
|
3008
|
-
# to 20 seconds,
|
3009
|
-
#
|
3010
|
-
#
|
3011
|
-
#
|
3012
|
-
#
|
3013
|
-
#
|
3014
|
-
#
|
3015
|
-
#
|
3016
|
-
#
|
3017
|
-
#
|
3018
|
-
#
|
3019
|
-
#
|
3020
|
-
# end
|
3067
|
+
# @example
|
3068
|
+
#
|
3069
|
+
# # Modify the global config, setting the timeout for
|
3070
|
+
# # list_clusters to 20 seconds,
|
3071
|
+
# # and all remaining timeouts to 10 seconds.
|
3072
|
+
# ::Google::Cloud::Container::V1beta1::ClusterManager::Client.configure do |config|
|
3073
|
+
# config.timeout = 10.0
|
3074
|
+
# config.rpcs.list_clusters.timeout = 20.0
|
3075
|
+
# end
|
3076
|
+
#
|
3077
|
+
# # Apply the above configuration only to a new client.
|
3078
|
+
# client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new do |config|
|
3079
|
+
# config.timeout = 10.0
|
3080
|
+
# config.rpcs.list_clusters.timeout = 20.0
|
3081
|
+
# end
|
3021
3082
|
#
|
3022
3083
|
# @!attribute [rw] endpoint
|
3023
3084
|
# 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-container-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
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
|