@@ -247,6 +247,13 @@ async def create_dataset(
247
247
248
248
.. code-block:: python
249
249
250
+ # This snippet has been automatically generated and should be regarded as a
251
+ # code template only.
252
+ # It will require modifications to work:
253
+ # - It may require correct/in-range values for request initialization.
254
+ # - It may require specifying regional endpoints when creating the service
255
+ # client as shown in:
256
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
250
257
from google.cloud import automl_v1
251
258
252
259
async def sample_create_dataset():
@@ -368,6 +375,13 @@ async def get_dataset(
368
375
369
376
.. code-block:: python
370
377
378
+ # This snippet has been automatically generated and should be regarded as a
379
+ # code template only.
380
+ # It will require modifications to work:
381
+ # - It may require correct/in-range values for request initialization.
382
+ # - It may require specifying regional endpoints when creating the service
383
+ # client as shown in:
384
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
371
385
from google.cloud import automl_v1
372
386
373
387
async def sample_get_dataset():
@@ -475,6 +489,13 @@ async def list_datasets(
475
489
476
490
.. code-block:: python
477
491
492
+ # This snippet has been automatically generated and should be regarded as a
493
+ # code template only.
494
+ # It will require modifications to work:
495
+ # - It may require correct/in-range values for request initialization.
496
+ # - It may require specifying regional endpoints when creating the service
497
+ # client as shown in:
498
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
478
499
from google.cloud import automl_v1
479
500
480
501
async def sample_list_datasets():
@@ -594,6 +615,13 @@ async def update_dataset(
594
615
595
616
.. code-block:: python
596
617
618
+ # This snippet has been automatically generated and should be regarded as a
619
+ # code template only.
620
+ # It will require modifications to work:
621
+ # - It may require correct/in-range values for request initialization.
622
+ # - It may require specifying regional endpoints when creating the service
623
+ # client as shown in:
624
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
597
625
from google.cloud import automl_v1
598
626
599
627
async def sample_update_dataset():
@@ -710,6 +738,13 @@ async def delete_dataset(
710
738
711
739
.. code-block:: python
712
740
741
+ # This snippet has been automatically generated and should be regarded as a
742
+ # code template only.
743
+ # It will require modifications to work:
744
+ # - It may require correct/in-range values for request initialization.
745
+ # - It may require specifying regional endpoints when creating the service
746
+ # client as shown in:
747
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
713
748
from google.cloud import automl_v1
714
749
715
750
async def sample_delete_dataset():
@@ -847,6 +882,13 @@ async def import_data(
847
882
848
883
.. code-block:: python
849
884
885
+ # This snippet has been automatically generated and should be regarded as a
886
+ # code template only.
887
+ # It will require modifications to work:
888
+ # - It may require correct/in-range values for request initialization.
889
+ # - It may require specifying regional endpoints when creating the service
890
+ # client as shown in:
891
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
850
892
from google.cloud import automl_v1
851
893
852
894
async def sample_import_data():
@@ -855,7 +897,7 @@ async def sample_import_data():
855
897
856
898
# Initialize request argument(s)
857
899
input_config = automl_v1.InputConfig()
858
- input_config.gcs_source.input_uris = ['input_uris_value_1 ', 'input_uris_value_2 ']
900
+ input_config.gcs_source.input_uris = ['input_uris_value1 ', 'input_uris_value2 ']
859
901
860
902
request = automl_v1.ImportDataRequest(
861
903
name="name_value",
@@ -983,6 +1025,13 @@ async def export_data(
983
1025
984
1026
.. code-block:: python
985
1027
1028
+ # This snippet has been automatically generated and should be regarded as a
1029
+ # code template only.
1030
+ # It will require modifications to work:
1031
+ # - It may require correct/in-range values for request initialization.
1032
+ # - It may require specifying regional endpoints when creating the service
1033
+ # client as shown in:
1034
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
986
1035
from google.cloud import automl_v1
987
1036
988
1037
async def sample_export_data():
@@ -1113,6 +1162,13 @@ async def get_annotation_spec(
1113
1162
1114
1163
.. code-block:: python
1115
1164
1165
+ # This snippet has been automatically generated and should be regarded as a
1166
+ # code template only.
1167
+ # It will require modifications to work:
1168
+ # - It may require correct/in-range values for request initialization.
1169
+ # - It may require specifying regional endpoints when creating the service
1170
+ # client as shown in:
1171
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1116
1172
from google.cloud import automl_v1
1117
1173
1118
1174
async def sample_get_annotation_spec():
@@ -1221,6 +1277,13 @@ async def create_model(
1221
1277
1222
1278
.. code-block:: python
1223
1279
1280
+ # This snippet has been automatically generated and should be regarded as a
1281
+ # code template only.
1282
+ # It will require modifications to work:
1283
+ # - It may require correct/in-range values for request initialization.
1284
+ # - It may require specifying regional endpoints when creating the service
1285
+ # client as shown in:
1286
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1224
1287
from google.cloud import automl_v1
1225
1288
1226
1289
async def sample_create_model():
@@ -1339,6 +1402,13 @@ async def get_model(
1339
1402
1340
1403
.. code-block:: python
1341
1404
1405
+ # This snippet has been automatically generated and should be regarded as a
1406
+ # code template only.
1407
+ # It will require modifications to work:
1408
+ # - It may require correct/in-range values for request initialization.
1409
+ # - It may require specifying regional endpoints when creating the service
1410
+ # client as shown in:
1411
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1342
1412
from google.cloud import automl_v1
1343
1413
1344
1414
async def sample_get_model():
@@ -1442,6 +1512,13 @@ async def list_models(
1442
1512
1443
1513
.. code-block:: python
1444
1514
1515
+ # This snippet has been automatically generated and should be regarded as a
1516
+ # code template only.
1517
+ # It will require modifications to work:
1518
+ # - It may require correct/in-range values for request initialization.
1519
+ # - It may require specifying regional endpoints when creating the service
1520
+ # client as shown in:
1521
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1445
1522
from google.cloud import automl_v1
1446
1523
1447
1524
async def sample_list_models():
@@ -1563,6 +1640,13 @@ async def delete_model(
1563
1640
1564
1641
.. code-block:: python
1565
1642
1643
+ # This snippet has been automatically generated and should be regarded as a
1644
+ # code template only.
1645
+ # It will require modifications to work:
1646
+ # - It may require correct/in-range values for request initialization.
1647
+ # - It may require specifying regional endpoints when creating the service
1648
+ # client as shown in:
1649
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1566
1650
from google.cloud import automl_v1
1567
1651
1568
1652
async def sample_delete_model():
@@ -1691,6 +1775,13 @@ async def update_model(
1691
1775
1692
1776
.. code-block:: python
1693
1777
1778
+ # This snippet has been automatically generated and should be regarded as a
1779
+ # code template only.
1780
+ # It will require modifications to work:
1781
+ # - It may require correct/in-range values for request initialization.
1782
+ # - It may require specifying regional endpoints when creating the service
1783
+ # client as shown in:
1784
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1694
1785
from google.cloud import automl_v1
1695
1786
1696
1787
async def sample_update_model():
@@ -1809,6 +1900,13 @@ async def deploy_model(
1809
1900
1810
1901
.. code-block:: python
1811
1902
1903
+ # This snippet has been automatically generated and should be regarded as a
1904
+ # code template only.
1905
+ # It will require modifications to work:
1906
+ # - It may require correct/in-range values for request initialization.
1907
+ # - It may require specifying regional endpoints when creating the service
1908
+ # client as shown in:
1909
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1812
1910
from google.cloud import automl_v1
1813
1911
1814
1912
async def sample_deploy_model():
@@ -1934,6 +2032,13 @@ async def undeploy_model(
1934
2032
1935
2033
.. code-block:: python
1936
2034
2035
+ # This snippet has been automatically generated and should be regarded as a
2036
+ # code template only.
2037
+ # It will require modifications to work:
2038
+ # - It may require correct/in-range values for request initialization.
2039
+ # - It may require specifying regional endpoints when creating the service
2040
+ # client as shown in:
2041
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1937
2042
from google.cloud import automl_v1
1938
2043
1939
2044
async def sample_undeploy_model():
@@ -2059,6 +2164,13 @@ async def export_model(
2059
2164
2060
2165
.. code-block:: python
2061
2166
2167
+ # This snippet has been automatically generated and should be regarded as a
2168
+ # code template only.
2169
+ # It will require modifications to work:
2170
+ # - It may require correct/in-range values for request initialization.
2171
+ # - It may require specifying regional endpoints when creating the service
2172
+ # client as shown in:
2173
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
2062
2174
from google.cloud import automl_v1
2063
2175
2064
2176
async def sample_export_model():
@@ -2191,6 +2303,13 @@ async def get_model_evaluation(
2191
2303
2192
2304
.. code-block:: python
2193
2305
2306
+ # This snippet has been automatically generated and should be regarded as a
2307
+ # code template only.
2308
+ # It will require modifications to work:
2309
+ # - It may require correct/in-range values for request initialization.
2310
+ # - It may require specifying regional endpoints when creating the service
2311
+ # client as shown in:
2312
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
2194
2313
from google.cloud import automl_v1
2195
2314
2196
2315
async def sample_get_model_evaluation():
@@ -2295,6 +2414,13 @@ async def list_model_evaluations(
2295
2414
2296
2415
.. code-block:: python
2297
2416
2417
+ # This snippet has been automatically generated and should be regarded as a
2418
+ # code template only.
2419
+ # It will require modifications to work:
2420
+ # - It may require correct/in-range values for request initialization.
2421
+ # - It may require specifying regional endpoints when creating the service
2422
+ # client as shown in:
2423
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
2298
2424
from google.cloud import automl_v1
2299
2425
2300
2426
async def sample_list_model_evaluations():
0 commit comments