google-cloud-data_labeling-v1beta1 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: '03974cc94b58afbf50221a99c32266bca6cafe390940a8bc423bf0bdabaa2260'
4
- data.tar.gz: 71b1d55dc8c42e8e1105985e7fb84e151fb0a77fd8cbfdcd5d895160e042c7c1
3
+ metadata.gz: 53d3c1d0ae8e89a3f8e073ecdb5ff1c2e94a99a4902ad94e269a73d758cd56f8
4
+ data.tar.gz: 8ecf7dbc24382d8425e2789f552ee0bd8db2f4ef6a56ea84a7f993badb67f841
5
5
  SHA512:
6
- metadata.gz: c56cdb69e7470a2190d7d6ac70c93a15cf447e408d2119c16ef0a06b80e70978e883e12cb3aca1080a7e543cccf2748bfcbb47b9a5216cc19179085ca5cc5af4
7
- data.tar.gz: ec1cc09f43d895300fb721eae35096ee525da9aa6904efa931a81fb2ec07bd1453c7b7200f20e831299a2ec4866c1a0efdc6c9ed02b84812769436c8caa1513f
6
+ metadata.gz: 958eefa4777e2b91ec2b49f8265fba79f5a279adb23003735253399d2abe6956aebb140c40dfe00d948668d4ad4cf541afee591cb47205457716ff4f8d254cb5
7
+ data.tar.gz: b256416dadb9a8966ab696f7b0422e3d8b096358cbb21d8dc0d034be5b956d6fe8eedd2fcc3aa5ae641e88b3c22e17a89e9f7e808ac7363d2a0eaa3b435edb31
@@ -41,13 +41,12 @@ module Google
41
41
  # See {::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client::Configuration}
42
42
  # for a description of the configuration fields.
43
43
  #
44
- # ## Example
44
+ # @example
45
45
  #
46
- # To modify the configuration for all DataLabelingService clients:
47
- #
48
- # ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.configure do |config|
49
- # config.timeout = 10.0
50
- # end
46
+ # # Modify the configuration for all DataLabelingService clients
47
+ # ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::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]
@@ -223,19 +222,15 @@ module Google
223
222
  ##
224
223
  # Create a new DataLabelingService client object.
225
224
  #
226
- # ## Examples
227
- #
228
- # To create a new DataLabelingService client with the default
229
- # configuration:
230
- #
231
- # client = ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.new
225
+ # @example
232
226
  #
233
- # To create a new DataLabelingService client with a custom
234
- # configuration:
227
+ # # Create a client using the default configuration
228
+ # client = ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.new
235
229
  #
236
- # client = ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.new do |config|
237
- # config.timeout = 10.0
238
- # end
230
+ # # Create a client using a custom configuration
231
+ # client = ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.new do |config|
232
+ # config.timeout = 10.0
233
+ # end
239
234
  #
240
235
  # @yield [config] Configure the DataLabelingService client.
241
236
  # @yieldparam config [Client::Configuration]
@@ -255,10 +250,9 @@ module Google
255
250
 
256
251
  # Create credentials
257
252
  credentials = @config.credentials
258
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
253
+ # Use self-signed JWT if the endpoint is unchanged from default,
259
254
  # but only if the default endpoint does not have a region prefix.
260
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
261
- @config.endpoint == Client.configure.endpoint &&
255
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
262
256
  !@config.endpoint.split(".").first.include?("-")
263
257
  credentials ||= Credentials.default scope: @config.scope,
264
258
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -349,7 +343,9 @@ module Google
349
343
  options.apply_defaults timeout: @config.rpcs.create_dataset.timeout,
350
344
  metadata: metadata,
351
345
  retry_policy: @config.rpcs.create_dataset.retry_policy
352
- options.apply_defaults metadata: @config.metadata,
346
+
347
+ options.apply_defaults timeout: @config.timeout,
348
+ metadata: @config.metadata,
353
349
  retry_policy: @config.retry_policy
354
350
 
355
351
  @data_labeling_service_stub.call_rpc :create_dataset, request, options: options do |response, operation|
@@ -416,7 +412,9 @@ module Google
416
412
  options.apply_defaults timeout: @config.rpcs.get_dataset.timeout,
417
413
  metadata: metadata,
418
414
  retry_policy: @config.rpcs.get_dataset.retry_policy
419
- options.apply_defaults metadata: @config.metadata,
415
+
416
+ options.apply_defaults timeout: @config.timeout,
417
+ metadata: @config.metadata,
420
418
  retry_policy: @config.retry_policy
421
419
 
422
420
  @data_labeling_service_stub.call_rpc :get_dataset, request, options: options do |response, operation|
@@ -494,7 +492,9 @@ module Google
494
492
  options.apply_defaults timeout: @config.rpcs.list_datasets.timeout,
495
493
  metadata: metadata,
496
494
  retry_policy: @config.rpcs.list_datasets.retry_policy
497
- options.apply_defaults metadata: @config.metadata,
495
+
496
+ options.apply_defaults timeout: @config.timeout,
497
+ metadata: @config.metadata,
498
498
  retry_policy: @config.retry_policy
499
499
 
500
500
  @data_labeling_service_stub.call_rpc :list_datasets, request, options: options do |response, operation|
@@ -562,7 +562,9 @@ module Google
562
562
  options.apply_defaults timeout: @config.rpcs.delete_dataset.timeout,
563
563
  metadata: metadata,
564
564
  retry_policy: @config.rpcs.delete_dataset.retry_policy
565
- options.apply_defaults metadata: @config.metadata,
565
+
566
+ options.apply_defaults timeout: @config.timeout,
567
+ metadata: @config.metadata,
566
568
  retry_policy: @config.retry_policy
567
569
 
568
570
  @data_labeling_service_stub.call_rpc :delete_dataset, request, options: options do |response, operation|
@@ -638,7 +640,9 @@ module Google
638
640
  options.apply_defaults timeout: @config.rpcs.import_data.timeout,
639
641
  metadata: metadata,
640
642
  retry_policy: @config.rpcs.import_data.retry_policy
641
- options.apply_defaults metadata: @config.metadata,
643
+
644
+ options.apply_defaults timeout: @config.timeout,
645
+ metadata: @config.metadata,
642
646
  retry_policy: @config.retry_policy
643
647
 
644
648
  @data_labeling_service_stub.call_rpc :import_data, request, options: options do |response, operation|
@@ -719,7 +723,9 @@ module Google
719
723
  options.apply_defaults timeout: @config.rpcs.export_data.timeout,
720
724
  metadata: metadata,
721
725
  retry_policy: @config.rpcs.export_data.retry_policy
722
- options.apply_defaults metadata: @config.metadata,
726
+
727
+ options.apply_defaults timeout: @config.timeout,
728
+ metadata: @config.metadata,
723
729
  retry_policy: @config.retry_policy
724
730
 
725
731
  @data_labeling_service_stub.call_rpc :export_data, request, options: options do |response, operation|
@@ -788,7 +794,9 @@ module Google
788
794
  options.apply_defaults timeout: @config.rpcs.get_data_item.timeout,
789
795
  metadata: metadata,
790
796
  retry_policy: @config.rpcs.get_data_item.retry_policy
791
- options.apply_defaults metadata: @config.metadata,
797
+
798
+ options.apply_defaults timeout: @config.timeout,
799
+ metadata: @config.metadata,
792
800
  retry_policy: @config.retry_policy
793
801
 
794
802
  @data_labeling_service_stub.call_rpc :get_data_item, request, options: options do |response, operation|
@@ -867,7 +875,9 @@ module Google
867
875
  options.apply_defaults timeout: @config.rpcs.list_data_items.timeout,
868
876
  metadata: metadata,
869
877
  retry_policy: @config.rpcs.list_data_items.retry_policy
870
- options.apply_defaults metadata: @config.metadata,
878
+
879
+ options.apply_defaults timeout: @config.timeout,
880
+ metadata: @config.metadata,
871
881
  retry_policy: @config.retry_policy
872
882
 
873
883
  @data_labeling_service_stub.call_rpc :list_data_items, request, options: options do |response, operation|
@@ -936,7 +946,9 @@ module Google
936
946
  options.apply_defaults timeout: @config.rpcs.get_annotated_dataset.timeout,
937
947
  metadata: metadata,
938
948
  retry_policy: @config.rpcs.get_annotated_dataset.retry_policy
939
- options.apply_defaults metadata: @config.metadata,
949
+
950
+ options.apply_defaults timeout: @config.timeout,
951
+ metadata: @config.metadata,
940
952
  retry_policy: @config.retry_policy
941
953
 
942
954
  @data_labeling_service_stub.call_rpc :get_annotated_dataset, request, options: options do |response, operation|
@@ -1014,7 +1026,9 @@ module Google
1014
1026
  options.apply_defaults timeout: @config.rpcs.list_annotated_datasets.timeout,
1015
1027
  metadata: metadata,
1016
1028
  retry_policy: @config.rpcs.list_annotated_datasets.retry_policy
1017
- options.apply_defaults metadata: @config.metadata,
1029
+
1030
+ options.apply_defaults timeout: @config.timeout,
1031
+ metadata: @config.metadata,
1018
1032
  retry_policy: @config.retry_policy
1019
1033
 
1020
1034
  @data_labeling_service_stub.call_rpc :list_annotated_datasets, request, options: options do |response, operation|
@@ -1083,7 +1097,9 @@ module Google
1083
1097
  options.apply_defaults timeout: @config.rpcs.delete_annotated_dataset.timeout,
1084
1098
  metadata: metadata,
1085
1099
  retry_policy: @config.rpcs.delete_annotated_dataset.retry_policy
1086
- options.apply_defaults metadata: @config.metadata,
1100
+
1101
+ options.apply_defaults timeout: @config.timeout,
1102
+ metadata: @config.metadata,
1087
1103
  retry_policy: @config.retry_policy
1088
1104
 
1089
1105
  @data_labeling_service_stub.call_rpc :delete_annotated_dataset, request, options: options do |response, operation|
@@ -1171,7 +1187,9 @@ module Google
1171
1187
  options.apply_defaults timeout: @config.rpcs.label_image.timeout,
1172
1188
  metadata: metadata,
1173
1189
  retry_policy: @config.rpcs.label_image.retry_policy
1174
- options.apply_defaults metadata: @config.metadata,
1190
+
1191
+ options.apply_defaults timeout: @config.timeout,
1192
+ metadata: @config.metadata,
1175
1193
  retry_policy: @config.retry_policy
1176
1194
 
1177
1195
  @data_labeling_service_stub.call_rpc :label_image, request, options: options do |response, operation|
@@ -1260,7 +1278,9 @@ module Google
1260
1278
  options.apply_defaults timeout: @config.rpcs.label_video.timeout,
1261
1279
  metadata: metadata,
1262
1280
  retry_policy: @config.rpcs.label_video.retry_policy
1263
- options.apply_defaults metadata: @config.metadata,
1281
+
1282
+ options.apply_defaults timeout: @config.timeout,
1283
+ metadata: @config.metadata,
1264
1284
  retry_policy: @config.retry_policy
1265
1285
 
1266
1286
  @data_labeling_service_stub.call_rpc :label_video, request, options: options do |response, operation|
@@ -1341,7 +1361,9 @@ module Google
1341
1361
  options.apply_defaults timeout: @config.rpcs.label_text.timeout,
1342
1362
  metadata: metadata,
1343
1363
  retry_policy: @config.rpcs.label_text.retry_policy
1344
- options.apply_defaults metadata: @config.metadata,
1364
+
1365
+ options.apply_defaults timeout: @config.timeout,
1366
+ metadata: @config.metadata,
1345
1367
  retry_policy: @config.retry_policy
1346
1368
 
1347
1369
  @data_labeling_service_stub.call_rpc :label_text, request, options: options do |response, operation|
@@ -1414,7 +1436,9 @@ module Google
1414
1436
  options.apply_defaults timeout: @config.rpcs.get_example.timeout,
1415
1437
  metadata: metadata,
1416
1438
  retry_policy: @config.rpcs.get_example.retry_policy
1417
- options.apply_defaults metadata: @config.metadata,
1439
+
1440
+ options.apply_defaults timeout: @config.timeout,
1441
+ metadata: @config.metadata,
1418
1442
  retry_policy: @config.retry_policy
1419
1443
 
1420
1444
  @data_labeling_service_stub.call_rpc :get_example, request, options: options do |response, operation|
@@ -1494,7 +1518,9 @@ module Google
1494
1518
  options.apply_defaults timeout: @config.rpcs.list_examples.timeout,
1495
1519
  metadata: metadata,
1496
1520
  retry_policy: @config.rpcs.list_examples.retry_policy
1497
- options.apply_defaults metadata: @config.metadata,
1521
+
1522
+ options.apply_defaults timeout: @config.timeout,
1523
+ metadata: @config.metadata,
1498
1524
  retry_policy: @config.retry_policy
1499
1525
 
1500
1526
  @data_labeling_service_stub.call_rpc :list_examples, request, options: options do |response, operation|
@@ -1566,7 +1592,9 @@ module Google
1566
1592
  options.apply_defaults timeout: @config.rpcs.create_annotation_spec_set.timeout,
1567
1593
  metadata: metadata,
1568
1594
  retry_policy: @config.rpcs.create_annotation_spec_set.retry_policy
1569
- options.apply_defaults metadata: @config.metadata,
1595
+
1596
+ options.apply_defaults timeout: @config.timeout,
1597
+ metadata: @config.metadata,
1570
1598
  retry_policy: @config.retry_policy
1571
1599
 
1572
1600
  @data_labeling_service_stub.call_rpc :create_annotation_spec_set, request, options: options do |response, operation|
@@ -1633,7 +1661,9 @@ module Google
1633
1661
  options.apply_defaults timeout: @config.rpcs.get_annotation_spec_set.timeout,
1634
1662
  metadata: metadata,
1635
1663
  retry_policy: @config.rpcs.get_annotation_spec_set.retry_policy
1636
- options.apply_defaults metadata: @config.metadata,
1664
+
1665
+ options.apply_defaults timeout: @config.timeout,
1666
+ metadata: @config.metadata,
1637
1667
  retry_policy: @config.retry_policy
1638
1668
 
1639
1669
  @data_labeling_service_stub.call_rpc :get_annotation_spec_set, request, options: options do |response, operation|
@@ -1711,7 +1741,9 @@ module Google
1711
1741
  options.apply_defaults timeout: @config.rpcs.list_annotation_spec_sets.timeout,
1712
1742
  metadata: metadata,
1713
1743
  retry_policy: @config.rpcs.list_annotation_spec_sets.retry_policy
1714
- options.apply_defaults metadata: @config.metadata,
1744
+
1745
+ options.apply_defaults timeout: @config.timeout,
1746
+ metadata: @config.metadata,
1715
1747
  retry_policy: @config.retry_policy
1716
1748
 
1717
1749
  @data_labeling_service_stub.call_rpc :list_annotation_spec_sets, request, options: options do |response, operation|
@@ -1779,7 +1811,9 @@ module Google
1779
1811
  options.apply_defaults timeout: @config.rpcs.delete_annotation_spec_set.timeout,
1780
1812
  metadata: metadata,
1781
1813
  retry_policy: @config.rpcs.delete_annotation_spec_set.retry_policy
1782
- options.apply_defaults metadata: @config.metadata,
1814
+
1815
+ options.apply_defaults timeout: @config.timeout,
1816
+ metadata: @config.metadata,
1783
1817
  retry_policy: @config.retry_policy
1784
1818
 
1785
1819
  @data_labeling_service_stub.call_rpc :delete_annotation_spec_set, request, options: options do |response, operation|
@@ -1848,7 +1882,9 @@ module Google
1848
1882
  options.apply_defaults timeout: @config.rpcs.create_instruction.timeout,
1849
1883
  metadata: metadata,
1850
1884
  retry_policy: @config.rpcs.create_instruction.retry_policy
1851
- options.apply_defaults metadata: @config.metadata,
1885
+
1886
+ options.apply_defaults timeout: @config.timeout,
1887
+ metadata: @config.metadata,
1852
1888
  retry_policy: @config.retry_policy
1853
1889
 
1854
1890
  @data_labeling_service_stub.call_rpc :create_instruction, request, options: options do |response, operation|
@@ -1916,7 +1952,9 @@ module Google
1916
1952
  options.apply_defaults timeout: @config.rpcs.get_instruction.timeout,
1917
1953
  metadata: metadata,
1918
1954
  retry_policy: @config.rpcs.get_instruction.retry_policy
1919
- options.apply_defaults metadata: @config.metadata,
1955
+
1956
+ options.apply_defaults timeout: @config.timeout,
1957
+ metadata: @config.metadata,
1920
1958
  retry_policy: @config.retry_policy
1921
1959
 
1922
1960
  @data_labeling_service_stub.call_rpc :get_instruction, request, options: options do |response, operation|
@@ -1994,7 +2032,9 @@ module Google
1994
2032
  options.apply_defaults timeout: @config.rpcs.list_instructions.timeout,
1995
2033
  metadata: metadata,
1996
2034
  retry_policy: @config.rpcs.list_instructions.retry_policy
1997
- options.apply_defaults metadata: @config.metadata,
2035
+
2036
+ options.apply_defaults timeout: @config.timeout,
2037
+ metadata: @config.metadata,
1998
2038
  retry_policy: @config.retry_policy
1999
2039
 
2000
2040
  @data_labeling_service_stub.call_rpc :list_instructions, request, options: options do |response, operation|
@@ -2062,7 +2102,9 @@ module Google
2062
2102
  options.apply_defaults timeout: @config.rpcs.delete_instruction.timeout,
2063
2103
  metadata: metadata,
2064
2104
  retry_policy: @config.rpcs.delete_instruction.retry_policy
2065
- options.apply_defaults metadata: @config.metadata,
2105
+
2106
+ options.apply_defaults timeout: @config.timeout,
2107
+ metadata: @config.metadata,
2066
2108
  retry_policy: @config.retry_policy
2067
2109
 
2068
2110
  @data_labeling_service_stub.call_rpc :delete_instruction, request, options: options do |response, operation|
@@ -2131,7 +2173,9 @@ module Google
2131
2173
  options.apply_defaults timeout: @config.rpcs.get_evaluation.timeout,
2132
2174
  metadata: metadata,
2133
2175
  retry_policy: @config.rpcs.get_evaluation.retry_policy
2134
- options.apply_defaults metadata: @config.metadata,
2176
+
2177
+ options.apply_defaults timeout: @config.timeout,
2178
+ metadata: @config.metadata,
2135
2179
  retry_policy: @config.retry_policy
2136
2180
 
2137
2181
  @data_labeling_service_stub.call_rpc :get_evaluation, request, options: options do |response, operation|
@@ -2241,7 +2285,9 @@ module Google
2241
2285
  options.apply_defaults timeout: @config.rpcs.search_evaluations.timeout,
2242
2286
  metadata: metadata,
2243
2287
  retry_policy: @config.rpcs.search_evaluations.retry_policy
2244
- options.apply_defaults metadata: @config.metadata,
2288
+
2289
+ options.apply_defaults timeout: @config.timeout,
2290
+ metadata: @config.metadata,
2245
2291
  retry_policy: @config.retry_policy
2246
2292
 
2247
2293
  @data_labeling_service_stub.call_rpc :search_evaluations, request, options: options do |response, operation|
@@ -2324,7 +2370,9 @@ module Google
2324
2370
  options.apply_defaults timeout: @config.rpcs.search_example_comparisons.timeout,
2325
2371
  metadata: metadata,
2326
2372
  retry_policy: @config.rpcs.search_example_comparisons.retry_policy
2327
- options.apply_defaults metadata: @config.metadata,
2373
+
2374
+ options.apply_defaults timeout: @config.timeout,
2375
+ metadata: @config.metadata,
2328
2376
  retry_policy: @config.retry_policy
2329
2377
 
2330
2378
  @data_labeling_service_stub.call_rpc :search_example_comparisons, request, options: options do |response, operation|
@@ -2394,7 +2442,9 @@ module Google
2394
2442
  options.apply_defaults timeout: @config.rpcs.create_evaluation_job.timeout,
2395
2443
  metadata: metadata,
2396
2444
  retry_policy: @config.rpcs.create_evaluation_job.retry_policy
2397
- options.apply_defaults metadata: @config.metadata,
2445
+
2446
+ options.apply_defaults timeout: @config.timeout,
2447
+ metadata: @config.metadata,
2398
2448
  retry_policy: @config.retry_policy
2399
2449
 
2400
2450
  @data_labeling_service_stub.call_rpc :create_evaluation_job, request, options: options do |response, operation|
@@ -2475,7 +2525,9 @@ module Google
2475
2525
  options.apply_defaults timeout: @config.rpcs.update_evaluation_job.timeout,
2476
2526
  metadata: metadata,
2477
2527
  retry_policy: @config.rpcs.update_evaluation_job.retry_policy
2478
- options.apply_defaults metadata: @config.metadata,
2528
+
2529
+ options.apply_defaults timeout: @config.timeout,
2530
+ metadata: @config.metadata,
2479
2531
  retry_policy: @config.retry_policy
2480
2532
 
2481
2533
  @data_labeling_service_stub.call_rpc :update_evaluation_job, request, options: options do |response, operation|
@@ -2543,7 +2595,9 @@ module Google
2543
2595
  options.apply_defaults timeout: @config.rpcs.get_evaluation_job.timeout,
2544
2596
  metadata: metadata,
2545
2597
  retry_policy: @config.rpcs.get_evaluation_job.retry_policy
2546
- options.apply_defaults metadata: @config.metadata,
2598
+
2599
+ options.apply_defaults timeout: @config.timeout,
2600
+ metadata: @config.metadata,
2547
2601
  retry_policy: @config.retry_policy
2548
2602
 
2549
2603
  @data_labeling_service_stub.call_rpc :get_evaluation_job, request, options: options do |response, operation|
@@ -2612,7 +2666,9 @@ module Google
2612
2666
  options.apply_defaults timeout: @config.rpcs.pause_evaluation_job.timeout,
2613
2667
  metadata: metadata,
2614
2668
  retry_policy: @config.rpcs.pause_evaluation_job.retry_policy
2615
- options.apply_defaults metadata: @config.metadata,
2669
+
2670
+ options.apply_defaults timeout: @config.timeout,
2671
+ metadata: @config.metadata,
2616
2672
  retry_policy: @config.retry_policy
2617
2673
 
2618
2674
  @data_labeling_service_stub.call_rpc :pause_evaluation_job, request, options: options do |response, operation|
@@ -2681,7 +2737,9 @@ module Google
2681
2737
  options.apply_defaults timeout: @config.rpcs.resume_evaluation_job.timeout,
2682
2738
  metadata: metadata,
2683
2739
  retry_policy: @config.rpcs.resume_evaluation_job.retry_policy
2684
- options.apply_defaults metadata: @config.metadata,
2740
+
2741
+ options.apply_defaults timeout: @config.timeout,
2742
+ metadata: @config.metadata,
2685
2743
  retry_policy: @config.retry_policy
2686
2744
 
2687
2745
  @data_labeling_service_stub.call_rpc :resume_evaluation_job, request, options: options do |response, operation|
@@ -2749,7 +2807,9 @@ module Google
2749
2807
  options.apply_defaults timeout: @config.rpcs.delete_evaluation_job.timeout,
2750
2808
  metadata: metadata,
2751
2809
  retry_policy: @config.rpcs.delete_evaluation_job.retry_policy
2752
- options.apply_defaults metadata: @config.metadata,
2810
+
2811
+ options.apply_defaults timeout: @config.timeout,
2812
+ metadata: @config.metadata,
2753
2813
  retry_policy: @config.retry_policy
2754
2814
 
2755
2815
  @data_labeling_service_stub.call_rpc :delete_evaluation_job, request, options: options do |response, operation|
@@ -2835,7 +2895,9 @@ module Google
2835
2895
  options.apply_defaults timeout: @config.rpcs.list_evaluation_jobs.timeout,
2836
2896
  metadata: metadata,
2837
2897
  retry_policy: @config.rpcs.list_evaluation_jobs.retry_policy
2838
- options.apply_defaults metadata: @config.metadata,
2898
+
2899
+ options.apply_defaults timeout: @config.timeout,
2900
+ metadata: @config.metadata,
2839
2901
  retry_policy: @config.retry_policy
2840
2902
 
2841
2903
  @data_labeling_service_stub.call_rpc :list_evaluation_jobs, request, options: options do |response, operation|
@@ -2860,22 +2922,21 @@ module Google
2860
2922
  # Configuration can be applied globally to all clients, or to a single client
2861
2923
  # on construction.
2862
2924
  #
2863
- # # Examples
2864
- #
2865
- # To modify the global config, setting the timeout for create_dataset
2866
- # to 20 seconds, and all remaining timeouts to 10 seconds:
2867
- #
2868
- # ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.configure do |config|
2869
- # config.timeout = 10.0
2870
- # config.rpcs.create_dataset.timeout = 20.0
2871
- # end
2872
- #
2873
- # To apply the above configuration only to a new client:
2874
- #
2875
- # client = ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.new do |config|
2876
- # config.timeout = 10.0
2877
- # config.rpcs.create_dataset.timeout = 20.0
2878
- # end
2925
+ # @example
2926
+ #
2927
+ # # Modify the global config, setting the timeout for
2928
+ # # create_dataset to 20 seconds,
2929
+ # # and all remaining timeouts to 10 seconds.
2930
+ # ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.configure do |config|
2931
+ # config.timeout = 10.0
2932
+ # config.rpcs.create_dataset.timeout = 20.0
2933
+ # end
2934
+ #
2935
+ # # Apply the above configuration only to a new client.
2936
+ # client = ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.new do |config|
2937
+ # config.timeout = 10.0
2938
+ # config.rpcs.create_dataset.timeout = 20.0
2939
+ # end
2879
2940
  #
2880
2941
  # @!attribute [rw] endpoint
2881
2942
  # 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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
485
- #
486
- # To modify the global config, setting the timeout for list_operations
487
- # to 20 seconds, and all remaining timeouts to 10 seconds:
488
- #
489
- # ::Google::Longrunning::Operations::Client.configure do |config|
490
- # config.timeout = 10.0
491
- # config.rpcs.list_operations.timeout = 20.0
492
- # end
493
- #
494
- # To apply the above configuration only to a new client:
495
- #
496
- # client = ::Google::Longrunning::Operations::Client.new do |config|
497
- # config.timeout = 10.0
498
- # config.rpcs.list_operations.timeout = 20.0
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataLabeling
23
23
  module V1beta1
24
- VERSION = "0.3.2"
24
+ VERSION = "0.3.3"
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-data_labeling-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
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-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