google-cloud-automl-v1beta1 0.11.0 → 0.11.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: 1bce9cb9912a846e93f72a7ecef180fc0a36745ffb6a1b1314575d20cffa6879
4
- data.tar.gz: f988debefd526430b387cef0d762d1cfb04f3f59062c958c9ece336ee4045553
3
+ metadata.gz: a1fcf3c9bd2553e6d59b69f8a1b237bd2f9b7c69bbbfa5d34339a49d300420a1
4
+ data.tar.gz: fcdb4b58be3d090d2c17c2d4f0ae345e6ec75b007cd423049d9813c519a6c03a
5
5
  SHA512:
6
- metadata.gz: c516d680c0c1d3fdc680b6f52177848f32aa7ca44eaf24ed2b398033987db9bb6b4bb17135aea428fd463ffd8c6b8cd6ccf8a26614e53784c5a4b5f7f20c9b7f
7
- data.tar.gz: 1ba4fa82b235e788308ddb0a27cfe3e4d2ec35141ebfa95f83d20f5a68aa4e1e945e3470641d58e672ff7a723c007d19bf262239216a106622d0a2a68744cb13
6
+ metadata.gz: a1cea43c8d15010f5e2979c1178bd5df813a4d08a47e1c50f6ab2a56e7ba346b095425e50b1e6acdf3c9bf8b958b76c535fc894d06719fad169e63bb1f7d32ed
7
+ data.tar.gz: e2a1cdf90a97fd2cba23f5d436262aefaed8d97846ff02cbd435f5173860ee7fb7a7482a678c6664e7faa277ac3e63ed6b04efea6dae7cd3206a57bc5d36e73b
@@ -43,6 +43,9 @@ module Google
43
43
  # snake_case or kebab-case, either of those cases is accepted.
44
44
  #
45
45
  class Client
46
+ # @private
47
+ API_VERSION = ""
48
+
46
49
  # @private
47
50
  DEFAULT_ENDPOINT_TEMPLATE = "automl.$UNIVERSE_DOMAIN$"
48
51
 
@@ -328,10 +331,11 @@ module Google
328
331
  # Customize the options with defaults
329
332
  metadata = @config.rpcs.create_dataset.metadata.to_h
330
333
 
331
- # Set x-goog-api-client and x-goog-user-project headers
334
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
332
335
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
333
336
  lib_name: @config.lib_name, lib_version: @config.lib_version,
334
337
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
338
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
335
339
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
336
340
 
337
341
  header_params = {}
@@ -413,10 +417,11 @@ module Google
413
417
  # Customize the options with defaults
414
418
  metadata = @config.rpcs.get_dataset.metadata.to_h
415
419
 
416
- # Set x-goog-api-client and x-goog-user-project headers
420
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
417
421
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
418
422
  lib_name: @config.lib_name, lib_version: @config.lib_version,
419
423
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
424
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
420
425
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
421
426
 
422
427
  header_params = {}
@@ -519,10 +524,11 @@ module Google
519
524
  # Customize the options with defaults
520
525
  metadata = @config.rpcs.list_datasets.metadata.to_h
521
526
 
522
- # Set x-goog-api-client and x-goog-user-project headers
527
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
523
528
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
524
529
  lib_name: @config.lib_name, lib_version: @config.lib_version,
525
530
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
531
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
526
532
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
527
533
 
528
534
  header_params = {}
@@ -607,10 +613,11 @@ module Google
607
613
  # Customize the options with defaults
608
614
  metadata = @config.rpcs.update_dataset.metadata.to_h
609
615
 
610
- # Set x-goog-api-client and x-goog-user-project headers
616
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
611
617
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
612
618
  lib_name: @config.lib_name, lib_version: @config.lib_version,
613
619
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
620
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
614
621
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
615
622
 
616
623
  header_params = {}
@@ -703,10 +710,11 @@ module Google
703
710
  # Customize the options with defaults
704
711
  metadata = @config.rpcs.delete_dataset.metadata.to_h
705
712
 
706
- # Set x-goog-api-client and x-goog-user-project headers
713
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
707
714
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
708
715
  lib_name: @config.lib_name, lib_version: @config.lib_version,
709
716
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
717
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
710
718
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
711
719
 
712
720
  header_params = {}
@@ -808,10 +816,11 @@ module Google
808
816
  # Customize the options with defaults
809
817
  metadata = @config.rpcs.import_data.metadata.to_h
810
818
 
811
- # Set x-goog-api-client and x-goog-user-project headers
819
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
812
820
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
813
821
  lib_name: @config.lib_name, lib_version: @config.lib_version,
814
822
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
823
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
815
824
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
816
825
 
817
826
  header_params = {}
@@ -905,10 +914,11 @@ module Google
905
914
  # Customize the options with defaults
906
915
  metadata = @config.rpcs.export_data.metadata.to_h
907
916
 
908
- # Set x-goog-api-client and x-goog-user-project headers
917
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
909
918
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
910
919
  lib_name: @config.lib_name, lib_version: @config.lib_version,
911
920
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
921
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
912
922
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
913
923
 
914
924
  header_params = {}
@@ -991,10 +1001,11 @@ module Google
991
1001
  # Customize the options with defaults
992
1002
  metadata = @config.rpcs.get_annotation_spec.metadata.to_h
993
1003
 
994
- # Set x-goog-api-client and x-goog-user-project headers
1004
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
995
1005
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
996
1006
  lib_name: @config.lib_name, lib_version: @config.lib_version,
997
1007
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1008
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
998
1009
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
999
1010
 
1000
1011
  header_params = {}
@@ -1078,10 +1089,11 @@ module Google
1078
1089
  # Customize the options with defaults
1079
1090
  metadata = @config.rpcs.get_table_spec.metadata.to_h
1080
1091
 
1081
- # Set x-goog-api-client and x-goog-user-project headers
1092
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1082
1093
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1083
1094
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1084
1095
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1096
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1085
1097
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1086
1098
 
1087
1099
  header_params = {}
@@ -1179,10 +1191,11 @@ module Google
1179
1191
  # Customize the options with defaults
1180
1192
  metadata = @config.rpcs.list_table_specs.metadata.to_h
1181
1193
 
1182
- # Set x-goog-api-client and x-goog-user-project headers
1194
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1183
1195
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1184
1196
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1185
1197
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1198
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1186
1199
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1187
1200
 
1188
1201
  header_params = {}
@@ -1267,10 +1280,11 @@ module Google
1267
1280
  # Customize the options with defaults
1268
1281
  metadata = @config.rpcs.update_table_spec.metadata.to_h
1269
1282
 
1270
- # Set x-goog-api-client and x-goog-user-project headers
1283
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1271
1284
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1272
1285
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1273
1286
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1287
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1274
1288
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1275
1289
 
1276
1290
  header_params = {}
@@ -1354,10 +1368,11 @@ module Google
1354
1368
  # Customize the options with defaults
1355
1369
  metadata = @config.rpcs.get_column_spec.metadata.to_h
1356
1370
 
1357
- # Set x-goog-api-client and x-goog-user-project headers
1371
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1358
1372
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1359
1373
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1360
1374
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1375
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1361
1376
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1362
1377
 
1363
1378
  header_params = {}
@@ -1455,10 +1470,11 @@ module Google
1455
1470
  # Customize the options with defaults
1456
1471
  metadata = @config.rpcs.list_column_specs.metadata.to_h
1457
1472
 
1458
- # Set x-goog-api-client and x-goog-user-project headers
1473
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1459
1474
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1460
1475
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1461
1476
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1477
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1462
1478
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1463
1479
 
1464
1480
  header_params = {}
@@ -1543,10 +1559,11 @@ module Google
1543
1559
  # Customize the options with defaults
1544
1560
  metadata = @config.rpcs.update_column_spec.metadata.to_h
1545
1561
 
1546
- # Set x-goog-api-client and x-goog-user-project headers
1562
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1547
1563
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1548
1564
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1549
1565
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1566
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1550
1567
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1551
1568
 
1552
1569
  header_params = {}
@@ -1641,10 +1658,11 @@ module Google
1641
1658
  # Customize the options with defaults
1642
1659
  metadata = @config.rpcs.create_model.metadata.to_h
1643
1660
 
1644
- # Set x-goog-api-client and x-goog-user-project headers
1661
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1645
1662
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1646
1663
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1647
1664
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1665
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1648
1666
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1649
1667
 
1650
1668
  header_params = {}
@@ -1727,10 +1745,11 @@ module Google
1727
1745
  # Customize the options with defaults
1728
1746
  metadata = @config.rpcs.get_model.metadata.to_h
1729
1747
 
1730
- # Set x-goog-api-client and x-goog-user-project headers
1748
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1731
1749
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1732
1750
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1733
1751
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1752
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1734
1753
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1735
1754
 
1736
1755
  header_params = {}
@@ -1833,10 +1852,11 @@ module Google
1833
1852
  # Customize the options with defaults
1834
1853
  metadata = @config.rpcs.list_models.metadata.to_h
1835
1854
 
1836
- # Set x-goog-api-client and x-goog-user-project headers
1855
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1837
1856
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1838
1857
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1839
1858
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1859
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1840
1860
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1841
1861
 
1842
1862
  header_params = {}
@@ -1930,10 +1950,11 @@ module Google
1930
1950
  # Customize the options with defaults
1931
1951
  metadata = @config.rpcs.delete_model.metadata.to_h
1932
1952
 
1933
- # Set x-goog-api-client and x-goog-user-project headers
1953
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1934
1954
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1935
1955
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1936
1956
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
1957
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1937
1958
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1938
1959
 
1939
1960
  header_params = {}
@@ -2038,10 +2059,11 @@ module Google
2038
2059
  # Customize the options with defaults
2039
2060
  metadata = @config.rpcs.deploy_model.metadata.to_h
2040
2061
 
2041
- # Set x-goog-api-client and x-goog-user-project headers
2062
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2042
2063
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2043
2064
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2044
2065
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
2066
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2045
2067
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2046
2068
 
2047
2069
  header_params = {}
@@ -2137,10 +2159,11 @@ module Google
2137
2159
  # Customize the options with defaults
2138
2160
  metadata = @config.rpcs.undeploy_model.metadata.to_h
2139
2161
 
2140
- # Set x-goog-api-client and x-goog-user-project headers
2162
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2141
2163
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2142
2164
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2143
2165
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
2166
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2144
2167
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2145
2168
 
2146
2169
  header_params = {}
@@ -2239,10 +2262,11 @@ module Google
2239
2262
  # Customize the options with defaults
2240
2263
  metadata = @config.rpcs.export_model.metadata.to_h
2241
2264
 
2242
- # Set x-goog-api-client and x-goog-user-project headers
2265
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2243
2266
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2244
2267
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2245
2268
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
2269
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2246
2270
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2247
2271
 
2248
2272
  header_params = {}
@@ -2348,10 +2372,11 @@ module Google
2348
2372
  # Customize the options with defaults
2349
2373
  metadata = @config.rpcs.export_evaluated_examples.metadata.to_h
2350
2374
 
2351
- # Set x-goog-api-client and x-goog-user-project headers
2375
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2352
2376
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2353
2377
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2354
2378
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
2379
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2355
2380
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2356
2381
 
2357
2382
  header_params = {}
@@ -2434,10 +2459,11 @@ module Google
2434
2459
  # Customize the options with defaults
2435
2460
  metadata = @config.rpcs.get_model_evaluation.metadata.to_h
2436
2461
 
2437
- # Set x-goog-api-client and x-goog-user-project headers
2462
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2438
2463
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2439
2464
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2440
2465
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
2466
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2441
2467
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2442
2468
 
2443
2469
  header_params = {}
@@ -2544,10 +2570,11 @@ module Google
2544
2570
  # Customize the options with defaults
2545
2571
  metadata = @config.rpcs.list_model_evaluations.metadata.to_h
2546
2572
 
2547
- # Set x-goog-api-client and x-goog-user-project headers
2573
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2548
2574
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2549
2575
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2550
2576
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
2577
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2551
2578
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2552
2579
 
2553
2580
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module AutoML
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "automl.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  header_params = {}
@@ -45,6 +45,9 @@ module Google
45
45
  # snake_case or kebab-case, either of those cases is accepted.
46
46
  #
47
47
  class Client
48
+ # @private
49
+ API_VERSION = ""
50
+
48
51
  # @private
49
52
  DEFAULT_ENDPOINT_TEMPLATE = "automl.$UNIVERSE_DOMAIN$"
50
53
 
@@ -320,12 +323,13 @@ module Google
320
323
  # Customize the options with defaults
321
324
  call_metadata = @config.rpcs.create_dataset.metadata.to_h
322
325
 
323
- # Set x-goog-api-client and x-goog-user-project headers
326
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
324
327
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
325
328
  lib_name: @config.lib_name, lib_version: @config.lib_version,
326
329
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
327
330
  transports_version_send: [:rest]
328
331
 
332
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
329
333
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
330
334
 
331
335
  options.apply_defaults timeout: @config.rpcs.create_dataset.timeout,
@@ -398,12 +402,13 @@ module Google
398
402
  # Customize the options with defaults
399
403
  call_metadata = @config.rpcs.get_dataset.metadata.to_h
400
404
 
401
- # Set x-goog-api-client and x-goog-user-project headers
405
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
402
406
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
403
407
  lib_name: @config.lib_name, lib_version: @config.lib_version,
404
408
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
405
409
  transports_version_send: [:rest]
406
410
 
411
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
407
412
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
408
413
 
409
414
  options.apply_defaults timeout: @config.rpcs.get_dataset.timeout,
@@ -497,12 +502,13 @@ module Google
497
502
  # Customize the options with defaults
498
503
  call_metadata = @config.rpcs.list_datasets.metadata.to_h
499
504
 
500
- # Set x-goog-api-client and x-goog-user-project headers
505
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
501
506
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
502
507
  lib_name: @config.lib_name, lib_version: @config.lib_version,
503
508
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
504
509
  transports_version_send: [:rest]
505
510
 
511
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
506
512
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
507
513
 
508
514
  options.apply_defaults timeout: @config.rpcs.list_datasets.timeout,
@@ -578,12 +584,13 @@ module Google
578
584
  # Customize the options with defaults
579
585
  call_metadata = @config.rpcs.update_dataset.metadata.to_h
580
586
 
581
- # Set x-goog-api-client and x-goog-user-project headers
587
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
582
588
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
583
589
  lib_name: @config.lib_name, lib_version: @config.lib_version,
584
590
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
585
591
  transports_version_send: [:rest]
586
592
 
593
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
587
594
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
588
595
 
589
596
  options.apply_defaults timeout: @config.rpcs.update_dataset.timeout,
@@ -667,12 +674,13 @@ module Google
667
674
  # Customize the options with defaults
668
675
  call_metadata = @config.rpcs.delete_dataset.metadata.to_h
669
676
 
670
- # Set x-goog-api-client and x-goog-user-project headers
677
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
671
678
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
672
679
  lib_name: @config.lib_name, lib_version: @config.lib_version,
673
680
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
674
681
  transports_version_send: [:rest]
675
682
 
683
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
676
684
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
677
685
 
678
686
  options.apply_defaults timeout: @config.rpcs.delete_dataset.timeout,
@@ -765,12 +773,13 @@ module Google
765
773
  # Customize the options with defaults
766
774
  call_metadata = @config.rpcs.import_data.metadata.to_h
767
775
 
768
- # Set x-goog-api-client and x-goog-user-project headers
776
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
769
777
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
770
778
  lib_name: @config.lib_name, lib_version: @config.lib_version,
771
779
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
772
780
  transports_version_send: [:rest]
773
781
 
782
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
774
783
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
775
784
 
776
785
  options.apply_defaults timeout: @config.rpcs.import_data.timeout,
@@ -855,12 +864,13 @@ module Google
855
864
  # Customize the options with defaults
856
865
  call_metadata = @config.rpcs.export_data.metadata.to_h
857
866
 
858
- # Set x-goog-api-client and x-goog-user-project headers
867
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
859
868
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
860
869
  lib_name: @config.lib_name, lib_version: @config.lib_version,
861
870
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
862
871
  transports_version_send: [:rest]
863
872
 
873
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
864
874
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
865
875
 
866
876
  options.apply_defaults timeout: @config.rpcs.export_data.timeout,
@@ -934,12 +944,13 @@ module Google
934
944
  # Customize the options with defaults
935
945
  call_metadata = @config.rpcs.get_annotation_spec.metadata.to_h
936
946
 
937
- # Set x-goog-api-client and x-goog-user-project headers
947
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
938
948
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
939
949
  lib_name: @config.lib_name, lib_version: @config.lib_version,
940
950
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
941
951
  transports_version_send: [:rest]
942
952
 
953
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
943
954
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
944
955
 
945
956
  options.apply_defaults timeout: @config.rpcs.get_annotation_spec.timeout,
@@ -1014,12 +1025,13 @@ module Google
1014
1025
  # Customize the options with defaults
1015
1026
  call_metadata = @config.rpcs.get_table_spec.metadata.to_h
1016
1027
 
1017
- # Set x-goog-api-client and x-goog-user-project headers
1028
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1018
1029
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1019
1030
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1020
1031
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1021
1032
  transports_version_send: [:rest]
1022
1033
 
1034
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1023
1035
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1024
1036
 
1025
1037
  options.apply_defaults timeout: @config.rpcs.get_table_spec.timeout,
@@ -1108,12 +1120,13 @@ module Google
1108
1120
  # Customize the options with defaults
1109
1121
  call_metadata = @config.rpcs.list_table_specs.metadata.to_h
1110
1122
 
1111
- # Set x-goog-api-client and x-goog-user-project headers
1123
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1112
1124
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1113
1125
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1114
1126
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1115
1127
  transports_version_send: [:rest]
1116
1128
 
1129
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1117
1130
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1118
1131
 
1119
1132
  options.apply_defaults timeout: @config.rpcs.list_table_specs.timeout,
@@ -1189,12 +1202,13 @@ module Google
1189
1202
  # Customize the options with defaults
1190
1203
  call_metadata = @config.rpcs.update_table_spec.metadata.to_h
1191
1204
 
1192
- # Set x-goog-api-client and x-goog-user-project headers
1205
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1193
1206
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1194
1207
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1195
1208
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1196
1209
  transports_version_send: [:rest]
1197
1210
 
1211
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1198
1212
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1199
1213
 
1200
1214
  options.apply_defaults timeout: @config.rpcs.update_table_spec.timeout,
@@ -1269,12 +1283,13 @@ module Google
1269
1283
  # Customize the options with defaults
1270
1284
  call_metadata = @config.rpcs.get_column_spec.metadata.to_h
1271
1285
 
1272
- # Set x-goog-api-client and x-goog-user-project headers
1286
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1273
1287
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1274
1288
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1275
1289
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1276
1290
  transports_version_send: [:rest]
1277
1291
 
1292
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1278
1293
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1279
1294
 
1280
1295
  options.apply_defaults timeout: @config.rpcs.get_column_spec.timeout,
@@ -1363,12 +1378,13 @@ module Google
1363
1378
  # Customize the options with defaults
1364
1379
  call_metadata = @config.rpcs.list_column_specs.metadata.to_h
1365
1380
 
1366
- # Set x-goog-api-client and x-goog-user-project headers
1381
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1367
1382
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1368
1383
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1369
1384
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1370
1385
  transports_version_send: [:rest]
1371
1386
 
1387
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1372
1388
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1373
1389
 
1374
1390
  options.apply_defaults timeout: @config.rpcs.list_column_specs.timeout,
@@ -1444,12 +1460,13 @@ module Google
1444
1460
  # Customize the options with defaults
1445
1461
  call_metadata = @config.rpcs.update_column_spec.metadata.to_h
1446
1462
 
1447
- # Set x-goog-api-client and x-goog-user-project headers
1463
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1448
1464
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1449
1465
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1450
1466
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1451
1467
  transports_version_send: [:rest]
1452
1468
 
1469
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1453
1470
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1454
1471
 
1455
1472
  options.apply_defaults timeout: @config.rpcs.update_column_spec.timeout,
@@ -1535,12 +1552,13 @@ module Google
1535
1552
  # Customize the options with defaults
1536
1553
  call_metadata = @config.rpcs.create_model.metadata.to_h
1537
1554
 
1538
- # Set x-goog-api-client and x-goog-user-project headers
1555
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1539
1556
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1540
1557
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1541
1558
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1542
1559
  transports_version_send: [:rest]
1543
1560
 
1561
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1544
1562
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1545
1563
 
1546
1564
  options.apply_defaults timeout: @config.rpcs.create_model.timeout,
@@ -1614,12 +1632,13 @@ module Google
1614
1632
  # Customize the options with defaults
1615
1633
  call_metadata = @config.rpcs.get_model.metadata.to_h
1616
1634
 
1617
- # Set x-goog-api-client and x-goog-user-project headers
1635
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1618
1636
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1619
1637
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1620
1638
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1621
1639
  transports_version_send: [:rest]
1622
1640
 
1641
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1623
1642
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1624
1643
 
1625
1644
  options.apply_defaults timeout: @config.rpcs.get_model.timeout,
@@ -1713,12 +1732,13 @@ module Google
1713
1732
  # Customize the options with defaults
1714
1733
  call_metadata = @config.rpcs.list_models.metadata.to_h
1715
1734
 
1716
- # Set x-goog-api-client and x-goog-user-project headers
1735
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1717
1736
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1718
1737
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1719
1738
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1720
1739
  transports_version_send: [:rest]
1721
1740
 
1741
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1722
1742
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1723
1743
 
1724
1744
  options.apply_defaults timeout: @config.rpcs.list_models.timeout,
@@ -1803,12 +1823,13 @@ module Google
1803
1823
  # Customize the options with defaults
1804
1824
  call_metadata = @config.rpcs.delete_model.metadata.to_h
1805
1825
 
1806
- # Set x-goog-api-client and x-goog-user-project headers
1826
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1807
1827
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1808
1828
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1809
1829
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1810
1830
  transports_version_send: [:rest]
1811
1831
 
1832
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1812
1833
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1813
1834
 
1814
1835
  options.apply_defaults timeout: @config.rpcs.delete_model.timeout,
@@ -1904,12 +1925,13 @@ module Google
1904
1925
  # Customize the options with defaults
1905
1926
  call_metadata = @config.rpcs.deploy_model.metadata.to_h
1906
1927
 
1907
- # Set x-goog-api-client and x-goog-user-project headers
1928
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1908
1929
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1909
1930
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1910
1931
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
1911
1932
  transports_version_send: [:rest]
1912
1933
 
1934
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1913
1935
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1914
1936
 
1915
1937
  options.apply_defaults timeout: @config.rpcs.deploy_model.timeout,
@@ -1996,12 +2018,13 @@ module Google
1996
2018
  # Customize the options with defaults
1997
2019
  call_metadata = @config.rpcs.undeploy_model.metadata.to_h
1998
2020
 
1999
- # Set x-goog-api-client and x-goog-user-project headers
2021
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2000
2022
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2001
2023
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2002
2024
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
2003
2025
  transports_version_send: [:rest]
2004
2026
 
2027
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2005
2028
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2006
2029
 
2007
2030
  options.apply_defaults timeout: @config.rpcs.undeploy_model.timeout,
@@ -2091,12 +2114,13 @@ module Google
2091
2114
  # Customize the options with defaults
2092
2115
  call_metadata = @config.rpcs.export_model.metadata.to_h
2093
2116
 
2094
- # Set x-goog-api-client and x-goog-user-project headers
2117
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2095
2118
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2096
2119
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2097
2120
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
2098
2121
  transports_version_send: [:rest]
2099
2122
 
2123
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2100
2124
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2101
2125
 
2102
2126
  options.apply_defaults timeout: @config.rpcs.export_model.timeout,
@@ -2193,12 +2217,13 @@ module Google
2193
2217
  # Customize the options with defaults
2194
2218
  call_metadata = @config.rpcs.export_evaluated_examples.metadata.to_h
2195
2219
 
2196
- # Set x-goog-api-client and x-goog-user-project headers
2220
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2197
2221
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2198
2222
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2199
2223
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
2200
2224
  transports_version_send: [:rest]
2201
2225
 
2226
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2202
2227
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2203
2228
 
2204
2229
  options.apply_defaults timeout: @config.rpcs.export_evaluated_examples.timeout,
@@ -2272,12 +2297,13 @@ module Google
2272
2297
  # Customize the options with defaults
2273
2298
  call_metadata = @config.rpcs.get_model_evaluation.metadata.to_h
2274
2299
 
2275
- # Set x-goog-api-client and x-goog-user-project headers
2300
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2276
2301
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2277
2302
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2278
2303
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
2279
2304
  transports_version_send: [:rest]
2280
2305
 
2306
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2281
2307
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2282
2308
 
2283
2309
  options.apply_defaults timeout: @config.rpcs.get_model_evaluation.timeout,
@@ -2375,12 +2401,13 @@ module Google
2375
2401
  # Customize the options with defaults
2376
2402
  call_metadata = @config.rpcs.list_model_evaluations.metadata.to_h
2377
2403
 
2378
- # Set x-goog-api-client and x-goog-user-project headers
2404
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2379
2405
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2380
2406
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2381
2407
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
2382
2408
  transports_version_send: [:rest]
2383
2409
 
2410
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2384
2411
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2385
2412
 
2386
2413
  options.apply_defaults timeout: @config.rpcs.list_model_evaluations.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "automl.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -535,12 +542,13 @@ module Google
535
542
  # Customize the options with defaults
536
543
  call_metadata = @config.rpcs.wait_operation.metadata.to_h
537
544
 
538
- # Set x-goog-api-client and x-goog-user-project headers
545
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
539
546
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
540
547
  lib_name: @config.lib_name, lib_version: @config.lib_version,
541
548
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
542
549
  transports_version_send: [:rest]
543
550
 
551
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
544
552
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
545
553
 
546
554
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -33,6 +33,9 @@ module Google
33
33
  # snake_case or kebab-case, either of those cases is accepted.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "automl.$UNIVERSE_DOMAIN$"
38
41
 
@@ -278,10 +281,11 @@ module Google
278
281
  # Customize the options with defaults
279
282
  metadata = @config.rpcs.predict.metadata.to_h
280
283
 
281
- # Set x-goog-api-client and x-goog-user-project headers
284
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
282
285
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
283
286
  lib_name: @config.lib_name, lib_version: @config.lib_version,
284
287
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
288
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
285
289
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
286
290
 
287
291
  header_params = {}
@@ -457,10 +461,11 @@ module Google
457
461
  # Customize the options with defaults
458
462
  metadata = @config.rpcs.batch_predict.metadata.to_h
459
463
 
460
- # Set x-goog-api-client and x-goog-user-project headers
464
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
461
465
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
462
466
  lib_name: @config.lib_name, lib_version: @config.lib_version,
463
467
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
468
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
464
469
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
465
470
 
466
471
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module PredictionService
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "automl.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  header_params = {}
@@ -35,6 +35,9 @@ module Google
35
35
  # snake_case or kebab-case, either of those cases is accepted.
36
36
  #
37
37
  class Client
38
+ # @private
39
+ API_VERSION = ""
40
+
38
41
  # @private
39
42
  DEFAULT_ENDPOINT_TEMPLATE = "automl.$UNIVERSE_DOMAIN$"
40
43
 
@@ -270,12 +273,13 @@ module Google
270
273
  # Customize the options with defaults
271
274
  call_metadata = @config.rpcs.predict.metadata.to_h
272
275
 
273
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
274
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
275
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
276
279
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
277
280
  transports_version_send: [:rest]
278
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
279
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
280
284
 
281
285
  options.apply_defaults timeout: @config.rpcs.predict.timeout,
@@ -442,12 +446,13 @@ module Google
442
446
  # Customize the options with defaults
443
447
  call_metadata = @config.rpcs.batch_predict.metadata.to_h
444
448
 
445
- # Set x-goog-api-client and x-goog-user-project headers
449
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
446
450
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
447
451
  lib_name: @config.lib_name, lib_version: @config.lib_version,
448
452
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
449
453
  transports_version_send: [:rest]
450
454
 
455
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
451
456
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
452
457
 
453
458
  options.apply_defaults timeout: @config.rpcs.batch_predict.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "automl.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -535,12 +542,13 @@ module Google
535
542
  # Customize the options with defaults
536
543
  call_metadata = @config.rpcs.wait_operation.metadata.to_h
537
544
 
538
- # Set x-goog-api-client and x-goog-user-project headers
545
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
539
546
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
540
547
  lib_name: @config.lib_name, lib_version: @config.lib_version,
541
548
  gapic_version: ::Google::Cloud::AutoML::V1beta1::VERSION,
542
549
  transports_version_send: [:rest]
543
550
 
551
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
544
552
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
545
553
 
546
554
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AutoML
23
23
  module V1beta1
24
- VERSION = "0.11.0"
24
+ VERSION = "0.11.1"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-automl-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common