google-cloud-container-v1 0.7.0 → 0.7.1

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: 424fe6d8395f849933559afa2f778d535ea63394f1f39d2359c572f11ca91130
4
- data.tar.gz: 8ef1f6b9c7710ae21f7c3467c0083f1c3b3d5ea02b22635b27161c89865d0836
3
+ metadata.gz: d77b8ec454a6400f12e8f9a1571423fdc4e844a41529bd4be68f5c50b6bf20aa
4
+ data.tar.gz: e46728d30b5bf331394631432076c0059d49f5f9a58a4a53403d13370a01b8cb
5
5
  SHA512:
6
- metadata.gz: 9c3c935d5df2485aa77d70f9421f0eda05ea88e05aa8cfe1d288de5af09ce7650945642bb96fb5e40c2938644eac9c056d578f0b23410399e1a064c1d098bea8
7
- data.tar.gz: 4e21ce72e5204d568e4040813dbc4b963d349a51a7d4582d5860902449b74deb679b9abf9407a8ce4f09c447761ad45b7e305992be5b85773375fb5b41115b9a
6
+ metadata.gz: 91853ea916dc200a4cc789251d8afb24c92f81f1fa61c9cc124f196c5ef676d2716c1d151e29f93a9e126e01b5c3c72c92b3dc05a54adc07cb5f234185590918
7
+ data.tar.gz: 8fac79b09b7c96a5a283514da7c38cf5aabdb4b34c582969a42f06e692f1b97b9e4267f8c7c85e60340c92fab45eaa890cb98308f6620dc4c4b0d2aa5ac624c7
@@ -39,13 +39,12 @@ module Google
39
39
  # See {::Google::Cloud::Container::V1::ClusterManager::Client::Configuration}
40
40
  # for a description of the configuration fields.
41
41
  #
42
- # ## Example
42
+ # @example
43
43
  #
44
- # To modify the configuration for all ClusterManager clients:
45
- #
46
- # ::Google::Cloud::Container::V1::ClusterManager::Client.configure do |config|
47
- # config.timeout = 10.0
48
- # end
44
+ # # Modify the configuration for all ClusterManager clients
45
+ # ::Google::Cloud::Container::V1::ClusterManager::Client.configure do |config|
46
+ # config.timeout = 10.0
47
+ # end
49
48
  #
50
49
  # @yield [config] Configure the Client client.
51
50
  # @yieldparam config [Client::Configuration]
@@ -179,19 +178,15 @@ module Google
179
178
  ##
180
179
  # Create a new ClusterManager client object.
181
180
  #
182
- # ## Examples
183
- #
184
- # To create a new ClusterManager client with the default
185
- # configuration:
186
- #
187
- # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new
181
+ # @example
188
182
  #
189
- # To create a new ClusterManager client with a custom
190
- # configuration:
183
+ # # Create a client using the default configuration
184
+ # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new
191
185
  #
192
- # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new do |config|
193
- # config.timeout = 10.0
194
- # end
186
+ # # Create a client using a custom configuration
187
+ # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new do |config|
188
+ # config.timeout = 10.0
189
+ # end
195
190
  #
196
191
  # @yield [config] Configure the ClusterManager client.
197
192
  # @yieldparam config [Client::Configuration]
@@ -211,10 +206,9 @@ module Google
211
206
 
212
207
  # Create credentials
213
208
  credentials = @config.credentials
214
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
209
+ # Use self-signed JWT if the endpoint is unchanged from default,
215
210
  # but only if the default endpoint does not have a region prefix.
216
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
217
- @config.endpoint == Client.configure.endpoint &&
211
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
218
212
  !@config.endpoint.split(".").first.include?("-")
219
213
  credentials ||= Credentials.default scope: @config.scope,
220
214
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -302,7 +296,9 @@ module Google
302
296
  options.apply_defaults timeout: @config.rpcs.list_clusters.timeout,
303
297
  metadata: metadata,
304
298
  retry_policy: @config.rpcs.list_clusters.retry_policy
305
- options.apply_defaults metadata: @config.metadata,
299
+
300
+ options.apply_defaults timeout: @config.timeout,
301
+ metadata: @config.metadata,
306
302
  retry_policy: @config.retry_policy
307
303
 
308
304
  @cluster_manager_stub.call_rpc :list_clusters, request, options: options do |response, operation|
@@ -381,7 +377,9 @@ module Google
381
377
  options.apply_defaults timeout: @config.rpcs.get_cluster.timeout,
382
378
  metadata: metadata,
383
379
  retry_policy: @config.rpcs.get_cluster.retry_policy
384
- options.apply_defaults metadata: @config.metadata,
380
+
381
+ options.apply_defaults timeout: @config.timeout,
382
+ metadata: @config.metadata,
385
383
  retry_policy: @config.retry_policy
386
384
 
387
385
  @cluster_manager_stub.call_rpc :get_cluster, request, options: options do |response, operation|
@@ -473,7 +471,9 @@ module Google
473
471
  options.apply_defaults timeout: @config.rpcs.create_cluster.timeout,
474
472
  metadata: metadata,
475
473
  retry_policy: @config.rpcs.create_cluster.retry_policy
476
- options.apply_defaults metadata: @config.metadata,
474
+
475
+ options.apply_defaults timeout: @config.timeout,
476
+ metadata: @config.metadata,
477
477
  retry_policy: @config.retry_policy
478
478
 
479
479
  @cluster_manager_stub.call_rpc :create_cluster, request, options: options do |response, operation|
@@ -554,7 +554,9 @@ module Google
554
554
  options.apply_defaults timeout: @config.rpcs.update_cluster.timeout,
555
555
  metadata: metadata,
556
556
  retry_policy: @config.rpcs.update_cluster.retry_policy
557
- options.apply_defaults metadata: @config.metadata,
557
+
558
+ options.apply_defaults timeout: @config.timeout,
559
+ metadata: @config.metadata,
558
560
  retry_policy: @config.retry_policy
559
561
 
560
562
  @cluster_manager_stub.call_rpc :update_cluster, request, options: options do |response, operation|
@@ -661,7 +663,9 @@ module Google
661
663
  options.apply_defaults timeout: @config.rpcs.update_node_pool.timeout,
662
664
  metadata: metadata,
663
665
  retry_policy: @config.rpcs.update_node_pool.retry_policy
664
- options.apply_defaults metadata: @config.metadata,
666
+
667
+ options.apply_defaults timeout: @config.timeout,
668
+ metadata: @config.metadata,
665
669
  retry_policy: @config.retry_policy
666
670
 
667
671
  @cluster_manager_stub.call_rpc :update_node_pool, request, options: options do |response, operation|
@@ -746,7 +750,9 @@ module Google
746
750
  options.apply_defaults timeout: @config.rpcs.set_node_pool_autoscaling.timeout,
747
751
  metadata: metadata,
748
752
  retry_policy: @config.rpcs.set_node_pool_autoscaling.retry_policy
749
- options.apply_defaults metadata: @config.metadata,
753
+
754
+ options.apply_defaults timeout: @config.timeout,
755
+ metadata: @config.metadata,
750
756
  retry_policy: @config.retry_policy
751
757
 
752
758
  @cluster_manager_stub.call_rpc :set_node_pool_autoscaling, request, options: options do |response, operation|
@@ -837,7 +843,9 @@ module Google
837
843
  options.apply_defaults timeout: @config.rpcs.set_logging_service.timeout,
838
844
  metadata: metadata,
839
845
  retry_policy: @config.rpcs.set_logging_service.retry_policy
840
- options.apply_defaults metadata: @config.metadata,
846
+
847
+ options.apply_defaults timeout: @config.timeout,
848
+ metadata: @config.metadata,
841
849
  retry_policy: @config.retry_policy
842
850
 
843
851
  @cluster_manager_stub.call_rpc :set_logging_service, request, options: options do |response, operation|
@@ -928,7 +936,9 @@ module Google
928
936
  options.apply_defaults timeout: @config.rpcs.set_monitoring_service.timeout,
929
937
  metadata: metadata,
930
938
  retry_policy: @config.rpcs.set_monitoring_service.retry_policy
931
- options.apply_defaults metadata: @config.metadata,
939
+
940
+ options.apply_defaults timeout: @config.timeout,
941
+ metadata: @config.metadata,
932
942
  retry_policy: @config.retry_policy
933
943
 
934
944
  @cluster_manager_stub.call_rpc :set_monitoring_service, request, options: options do |response, operation|
@@ -1010,7 +1020,9 @@ module Google
1010
1020
  options.apply_defaults timeout: @config.rpcs.set_addons_config.timeout,
1011
1021
  metadata: metadata,
1012
1022
  retry_policy: @config.rpcs.set_addons_config.retry_policy
1013
- options.apply_defaults metadata: @config.metadata,
1023
+
1024
+ options.apply_defaults timeout: @config.timeout,
1025
+ metadata: @config.metadata,
1014
1026
  retry_policy: @config.retry_policy
1015
1027
 
1016
1028
  @cluster_manager_stub.call_rpc :set_addons_config, request, options: options do |response, operation|
@@ -1027,6 +1039,8 @@ module Google
1027
1039
  # [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
1028
1040
  # instead.
1029
1041
  #
1042
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1043
+ #
1030
1044
  # @overload set_locations(request, options = nil)
1031
1045
  # Pass arguments to `set_locations` via a request object, either of type
1032
1046
  # {::Google::Cloud::Container::V1::SetLocationsRequest} or an equivalent Hash.
@@ -1100,7 +1114,9 @@ module Google
1100
1114
  options.apply_defaults timeout: @config.rpcs.set_locations.timeout,
1101
1115
  metadata: metadata,
1102
1116
  retry_policy: @config.rpcs.set_locations.retry_policy
1103
- options.apply_defaults metadata: @config.metadata,
1117
+
1118
+ options.apply_defaults timeout: @config.timeout,
1119
+ metadata: @config.metadata,
1104
1120
  retry_policy: @config.retry_policy
1105
1121
 
1106
1122
  @cluster_manager_stub.call_rpc :set_locations, request, options: options do |response, operation|
@@ -1190,7 +1206,9 @@ module Google
1190
1206
  options.apply_defaults timeout: @config.rpcs.update_master.timeout,
1191
1207
  metadata: metadata,
1192
1208
  retry_policy: @config.rpcs.update_master.retry_policy
1193
- options.apply_defaults metadata: @config.metadata,
1209
+
1210
+ options.apply_defaults timeout: @config.timeout,
1211
+ metadata: @config.metadata,
1194
1212
  retry_policy: @config.retry_policy
1195
1213
 
1196
1214
  @cluster_manager_stub.call_rpc :update_master, request, options: options do |response, operation|
@@ -1275,7 +1293,9 @@ module Google
1275
1293
  options.apply_defaults timeout: @config.rpcs.set_master_auth.timeout,
1276
1294
  metadata: metadata,
1277
1295
  retry_policy: @config.rpcs.set_master_auth.retry_policy
1278
- options.apply_defaults metadata: @config.metadata,
1296
+
1297
+ options.apply_defaults timeout: @config.timeout,
1298
+ metadata: @config.metadata,
1279
1299
  retry_policy: @config.retry_policy
1280
1300
 
1281
1301
  @cluster_manager_stub.call_rpc :set_master_auth, request, options: options do |response, operation|
@@ -1362,7 +1382,9 @@ module Google
1362
1382
  options.apply_defaults timeout: @config.rpcs.delete_cluster.timeout,
1363
1383
  metadata: metadata,
1364
1384
  retry_policy: @config.rpcs.delete_cluster.retry_policy
1365
- options.apply_defaults metadata: @config.metadata,
1385
+
1386
+ options.apply_defaults timeout: @config.timeout,
1387
+ metadata: @config.metadata,
1366
1388
  retry_policy: @config.retry_policy
1367
1389
 
1368
1390
  @cluster_manager_stub.call_rpc :delete_cluster, request, options: options do |response, operation|
@@ -1439,7 +1461,9 @@ module Google
1439
1461
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
1440
1462
  metadata: metadata,
1441
1463
  retry_policy: @config.rpcs.list_operations.retry_policy
1442
- options.apply_defaults metadata: @config.metadata,
1464
+
1465
+ options.apply_defaults timeout: @config.timeout,
1466
+ metadata: @config.metadata,
1443
1467
  retry_policy: @config.retry_policy
1444
1468
 
1445
1469
  @cluster_manager_stub.call_rpc :list_operations, request, options: options do |response, operation|
@@ -1518,7 +1542,9 @@ module Google
1518
1542
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
1519
1543
  metadata: metadata,
1520
1544
  retry_policy: @config.rpcs.get_operation.retry_policy
1521
- options.apply_defaults metadata: @config.metadata,
1545
+
1546
+ options.apply_defaults timeout: @config.timeout,
1547
+ metadata: @config.metadata,
1522
1548
  retry_policy: @config.retry_policy
1523
1549
 
1524
1550
  @cluster_manager_stub.call_rpc :get_operation, request, options: options do |response, operation|
@@ -1597,7 +1623,9 @@ module Google
1597
1623
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
1598
1624
  metadata: metadata,
1599
1625
  retry_policy: @config.rpcs.cancel_operation.retry_policy
1600
- options.apply_defaults metadata: @config.metadata,
1626
+
1627
+ options.apply_defaults timeout: @config.timeout,
1628
+ metadata: @config.metadata,
1601
1629
  retry_policy: @config.retry_policy
1602
1630
 
1603
1631
  @cluster_manager_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
@@ -1673,7 +1701,9 @@ module Google
1673
1701
  options.apply_defaults timeout: @config.rpcs.get_server_config.timeout,
1674
1702
  metadata: metadata,
1675
1703
  retry_policy: @config.rpcs.get_server_config.retry_policy
1676
- options.apply_defaults metadata: @config.metadata,
1704
+
1705
+ options.apply_defaults timeout: @config.timeout,
1706
+ metadata: @config.metadata,
1677
1707
  retry_policy: @config.retry_policy
1678
1708
 
1679
1709
  @cluster_manager_stub.call_rpc :get_server_config, request, options: options do |response, operation|
@@ -1743,7 +1773,9 @@ module Google
1743
1773
  options.apply_defaults timeout: @config.rpcs.get_json_web_keys.timeout,
1744
1774
  metadata: metadata,
1745
1775
  retry_policy: @config.rpcs.get_json_web_keys.retry_policy
1746
- options.apply_defaults metadata: @config.metadata,
1776
+
1777
+ options.apply_defaults timeout: @config.timeout,
1778
+ metadata: @config.metadata,
1747
1779
  retry_policy: @config.retry_policy
1748
1780
 
1749
1781
  @cluster_manager_stub.call_rpc :get_json_web_keys, request, options: options do |response, operation|
@@ -1822,7 +1854,9 @@ module Google
1822
1854
  options.apply_defaults timeout: @config.rpcs.list_node_pools.timeout,
1823
1855
  metadata: metadata,
1824
1856
  retry_policy: @config.rpcs.list_node_pools.retry_policy
1825
- options.apply_defaults metadata: @config.metadata,
1857
+
1858
+ options.apply_defaults timeout: @config.timeout,
1859
+ metadata: @config.metadata,
1826
1860
  retry_policy: @config.retry_policy
1827
1861
 
1828
1862
  @cluster_manager_stub.call_rpc :list_node_pools, request, options: options do |response, operation|
@@ -1905,7 +1939,9 @@ module Google
1905
1939
  options.apply_defaults timeout: @config.rpcs.get_node_pool.timeout,
1906
1940
  metadata: metadata,
1907
1941
  retry_policy: @config.rpcs.get_node_pool.retry_policy
1908
- options.apply_defaults metadata: @config.metadata,
1942
+
1943
+ options.apply_defaults timeout: @config.timeout,
1944
+ metadata: @config.metadata,
1909
1945
  retry_policy: @config.retry_policy
1910
1946
 
1911
1947
  @cluster_manager_stub.call_rpc :get_node_pool, request, options: options do |response, operation|
@@ -1987,7 +2023,9 @@ module Google
1987
2023
  options.apply_defaults timeout: @config.rpcs.create_node_pool.timeout,
1988
2024
  metadata: metadata,
1989
2025
  retry_policy: @config.rpcs.create_node_pool.retry_policy
1990
- options.apply_defaults metadata: @config.metadata,
2026
+
2027
+ options.apply_defaults timeout: @config.timeout,
2028
+ metadata: @config.metadata,
1991
2029
  retry_policy: @config.retry_policy
1992
2030
 
1993
2031
  @cluster_manager_stub.call_rpc :create_node_pool, request, options: options do |response, operation|
@@ -2070,7 +2108,9 @@ module Google
2070
2108
  options.apply_defaults timeout: @config.rpcs.delete_node_pool.timeout,
2071
2109
  metadata: metadata,
2072
2110
  retry_policy: @config.rpcs.delete_node_pool.retry_policy
2073
- options.apply_defaults metadata: @config.metadata,
2111
+
2112
+ options.apply_defaults timeout: @config.timeout,
2113
+ metadata: @config.metadata,
2074
2114
  retry_policy: @config.retry_policy
2075
2115
 
2076
2116
  @cluster_manager_stub.call_rpc :delete_node_pool, request, options: options do |response, operation|
@@ -2154,7 +2194,9 @@ module Google
2154
2194
  options.apply_defaults timeout: @config.rpcs.rollback_node_pool_upgrade.timeout,
2155
2195
  metadata: metadata,
2156
2196
  retry_policy: @config.rpcs.rollback_node_pool_upgrade.retry_policy
2157
- options.apply_defaults metadata: @config.metadata,
2197
+
2198
+ options.apply_defaults timeout: @config.timeout,
2199
+ metadata: @config.metadata,
2158
2200
  retry_policy: @config.retry_policy
2159
2201
 
2160
2202
  @cluster_manager_stub.call_rpc :rollback_node_pool_upgrade, request, options: options do |response, operation|
@@ -2239,7 +2281,9 @@ module Google
2239
2281
  options.apply_defaults timeout: @config.rpcs.set_node_pool_management.timeout,
2240
2282
  metadata: metadata,
2241
2283
  retry_policy: @config.rpcs.set_node_pool_management.retry_policy
2242
- options.apply_defaults metadata: @config.metadata,
2284
+
2285
+ options.apply_defaults timeout: @config.timeout,
2286
+ metadata: @config.metadata,
2243
2287
  retry_policy: @config.retry_policy
2244
2288
 
2245
2289
  @cluster_manager_stub.call_rpc :set_node_pool_management, request, options: options do |response, operation|
@@ -2327,7 +2371,9 @@ module Google
2327
2371
  options.apply_defaults timeout: @config.rpcs.set_labels.timeout,
2328
2372
  metadata: metadata,
2329
2373
  retry_policy: @config.rpcs.set_labels.retry_policy
2330
- options.apply_defaults metadata: @config.metadata,
2374
+
2375
+ options.apply_defaults timeout: @config.timeout,
2376
+ metadata: @config.metadata,
2331
2377
  retry_policy: @config.retry_policy
2332
2378
 
2333
2379
  @cluster_manager_stub.call_rpc :set_labels, request, options: options do |response, operation|
@@ -2408,7 +2454,9 @@ module Google
2408
2454
  options.apply_defaults timeout: @config.rpcs.set_legacy_abac.timeout,
2409
2455
  metadata: metadata,
2410
2456
  retry_policy: @config.rpcs.set_legacy_abac.retry_policy
2411
- options.apply_defaults metadata: @config.metadata,
2457
+
2458
+ options.apply_defaults timeout: @config.timeout,
2459
+ metadata: @config.metadata,
2412
2460
  retry_policy: @config.retry_policy
2413
2461
 
2414
2462
  @cluster_manager_stub.call_rpc :set_legacy_abac, request, options: options do |response, operation|
@@ -2489,7 +2537,9 @@ module Google
2489
2537
  options.apply_defaults timeout: @config.rpcs.start_ip_rotation.timeout,
2490
2538
  metadata: metadata,
2491
2539
  retry_policy: @config.rpcs.start_ip_rotation.retry_policy
2492
- options.apply_defaults metadata: @config.metadata,
2540
+
2541
+ options.apply_defaults timeout: @config.timeout,
2542
+ metadata: @config.metadata,
2493
2543
  retry_policy: @config.retry_policy
2494
2544
 
2495
2545
  @cluster_manager_stub.call_rpc :start_ip_rotation, request, options: options do |response, operation|
@@ -2568,7 +2618,9 @@ module Google
2568
2618
  options.apply_defaults timeout: @config.rpcs.complete_ip_rotation.timeout,
2569
2619
  metadata: metadata,
2570
2620
  retry_policy: @config.rpcs.complete_ip_rotation.retry_policy
2571
- options.apply_defaults metadata: @config.metadata,
2621
+
2622
+ options.apply_defaults timeout: @config.timeout,
2623
+ metadata: @config.metadata,
2572
2624
  retry_policy: @config.retry_policy
2573
2625
 
2574
2626
  @cluster_manager_stub.call_rpc :complete_ip_rotation, request, options: options do |response, operation|
@@ -2653,7 +2705,9 @@ module Google
2653
2705
  options.apply_defaults timeout: @config.rpcs.set_node_pool_size.timeout,
2654
2706
  metadata: metadata,
2655
2707
  retry_policy: @config.rpcs.set_node_pool_size.retry_policy
2656
- options.apply_defaults metadata: @config.metadata,
2708
+
2709
+ options.apply_defaults timeout: @config.timeout,
2710
+ metadata: @config.metadata,
2657
2711
  retry_policy: @config.retry_policy
2658
2712
 
2659
2713
  @cluster_manager_stub.call_rpc :set_node_pool_size, request, options: options do |response, operation|
@@ -2734,7 +2788,9 @@ module Google
2734
2788
  options.apply_defaults timeout: @config.rpcs.set_network_policy.timeout,
2735
2789
  metadata: metadata,
2736
2790
  retry_policy: @config.rpcs.set_network_policy.retry_policy
2737
- options.apply_defaults metadata: @config.metadata,
2791
+
2792
+ options.apply_defaults timeout: @config.timeout,
2793
+ metadata: @config.metadata,
2738
2794
  retry_policy: @config.retry_policy
2739
2795
 
2740
2796
  @cluster_manager_stub.call_rpc :set_network_policy, request, options: options do |response, operation|
@@ -2814,7 +2870,9 @@ module Google
2814
2870
  options.apply_defaults timeout: @config.rpcs.set_maintenance_policy.timeout,
2815
2871
  metadata: metadata,
2816
2872
  retry_policy: @config.rpcs.set_maintenance_policy.retry_policy
2817
- options.apply_defaults metadata: @config.metadata,
2873
+
2874
+ options.apply_defaults timeout: @config.timeout,
2875
+ metadata: @config.metadata,
2818
2876
  retry_policy: @config.retry_policy
2819
2877
 
2820
2878
  @cluster_manager_stub.call_rpc :set_maintenance_policy, request, options: options do |response, operation|
@@ -2894,7 +2952,9 @@ module Google
2894
2952
  options.apply_defaults timeout: @config.rpcs.list_usable_subnetworks.timeout,
2895
2953
  metadata: metadata,
2896
2954
  retry_policy: @config.rpcs.list_usable_subnetworks.retry_policy
2897
- options.apply_defaults metadata: @config.metadata,
2955
+
2956
+ options.apply_defaults timeout: @config.timeout,
2957
+ metadata: @config.metadata,
2898
2958
  retry_policy: @config.retry_policy
2899
2959
 
2900
2960
  @cluster_manager_stub.call_rpc :list_usable_subnetworks, request, options: options do |response, operation|
@@ -2919,22 +2979,21 @@ module Google
2919
2979
  # Configuration can be applied globally to all clients, or to a single client
2920
2980
  # on construction.
2921
2981
  #
2922
- # # Examples
2923
- #
2924
- # To modify the global config, setting the timeout for list_clusters
2925
- # to 20 seconds, and all remaining timeouts to 10 seconds:
2926
- #
2927
- # ::Google::Cloud::Container::V1::ClusterManager::Client.configure do |config|
2928
- # config.timeout = 10.0
2929
- # config.rpcs.list_clusters.timeout = 20.0
2930
- # end
2931
- #
2932
- # To apply the above configuration only to a new client:
2933
- #
2934
- # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new do |config|
2935
- # config.timeout = 10.0
2936
- # config.rpcs.list_clusters.timeout = 20.0
2937
- # end
2982
+ # @example
2983
+ #
2984
+ # # Modify the global config, setting the timeout for
2985
+ # # list_clusters to 20 seconds,
2986
+ # # and all remaining timeouts to 10 seconds.
2987
+ # ::Google::Cloud::Container::V1::ClusterManager::Client.configure do |config|
2988
+ # config.timeout = 10.0
2989
+ # config.rpcs.list_clusters.timeout = 20.0
2990
+ # end
2991
+ #
2992
+ # # Apply the above configuration only to a new client.
2993
+ # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new do |config|
2994
+ # config.timeout = 10.0
2995
+ # config.rpcs.list_clusters.timeout = 20.0
2996
+ # end
2938
2997
  #
2939
2998
  # @!attribute [rw] endpoint
2940
2999
  # The hostname or hostname:port of the service endpoint.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.7.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
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-07-12 00:00:00.000000000 Z
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.5'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a