Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit 98adb15

Browse filesBrowse files
chore: Bump gapic-generator-python version to 1.3.0 (#433)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 472561635 Source-Link: googleapis/googleapis@332ecf5 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4313d682880fd9d7247291164d4e9d3d5bd9f177 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9
1 parent 94b12a0 commit 98adb15
Copy full SHA for 98adb15

File tree

Expand file treeCollapse file tree

103 files changed

+2217
-929
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

103 files changed

+2217
-929
lines changed

‎google/cloud/automl_v1/services/auto_ml/async_client.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/services/auto_ml/async_client.py
+127-1Lines changed: 127 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,13 @@ async def create_dataset(
247247
248248
.. code-block:: python
249249
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
250257
from google.cloud import automl_v1
251258
252259
async def sample_create_dataset():
@@ -368,6 +375,13 @@ async def get_dataset(
368375
369376
.. code-block:: python
370377
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
371385
from google.cloud import automl_v1
372386
373387
async def sample_get_dataset():
@@ -475,6 +489,13 @@ async def list_datasets(
475489
476490
.. code-block:: python
477491
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
478499
from google.cloud import automl_v1
479500
480501
async def sample_list_datasets():
@@ -594,6 +615,13 @@ async def update_dataset(
594615
595616
.. code-block:: python
596617
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
597625
from google.cloud import automl_v1
598626
599627
async def sample_update_dataset():
@@ -710,6 +738,13 @@ async def delete_dataset(
710738
711739
.. code-block:: python
712740
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
713748
from google.cloud import automl_v1
714749
715750
async def sample_delete_dataset():
@@ -847,6 +882,13 @@ async def import_data(
847882
848883
.. code-block:: python
849884
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
850892
from google.cloud import automl_v1
851893
852894
async def sample_import_data():
@@ -855,7 +897,7 @@ async def sample_import_data():
855897
856898
# Initialize request argument(s)
857899
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']
859901
860902
request = automl_v1.ImportDataRequest(
861903
name="name_value",
@@ -983,6 +1025,13 @@ async def export_data(
9831025
9841026
.. code-block:: python
9851027
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
9861035
from google.cloud import automl_v1
9871036
9881037
async def sample_export_data():
@@ -1113,6 +1162,13 @@ async def get_annotation_spec(
11131162
11141163
.. code-block:: python
11151164
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
11161172
from google.cloud import automl_v1
11171173
11181174
async def sample_get_annotation_spec():
@@ -1221,6 +1277,13 @@ async def create_model(
12211277
12221278
.. code-block:: python
12231279
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
12241287
from google.cloud import automl_v1
12251288
12261289
async def sample_create_model():
@@ -1339,6 +1402,13 @@ async def get_model(
13391402
13401403
.. code-block:: python
13411404
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
13421412
from google.cloud import automl_v1
13431413
13441414
async def sample_get_model():
@@ -1442,6 +1512,13 @@ async def list_models(
14421512
14431513
.. code-block:: python
14441514
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
14451522
from google.cloud import automl_v1
14461523
14471524
async def sample_list_models():
@@ -1563,6 +1640,13 @@ async def delete_model(
15631640
15641641
.. code-block:: python
15651642
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
15661650
from google.cloud import automl_v1
15671651
15681652
async def sample_delete_model():
@@ -1691,6 +1775,13 @@ async def update_model(
16911775
16921776
.. code-block:: python
16931777
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
16941785
from google.cloud import automl_v1
16951786
16961787
async def sample_update_model():
@@ -1809,6 +1900,13 @@ async def deploy_model(
18091900
18101901
.. code-block:: python
18111902
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
18121910
from google.cloud import automl_v1
18131911
18141912
async def sample_deploy_model():
@@ -1934,6 +2032,13 @@ async def undeploy_model(
19342032
19352033
.. code-block:: python
19362034
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
19372042
from google.cloud import automl_v1
19382043
19392044
async def sample_undeploy_model():
@@ -2059,6 +2164,13 @@ async def export_model(
20592164
20602165
.. code-block:: python
20612166
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
20622174
from google.cloud import automl_v1
20632175
20642176
async def sample_export_model():
@@ -2191,6 +2303,13 @@ async def get_model_evaluation(
21912303
21922304
.. code-block:: python
21932305
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
21942313
from google.cloud import automl_v1
21952314
21962315
async def sample_get_model_evaluation():
@@ -2295,6 +2414,13 @@ async def list_model_evaluations(
22952414
22962415
.. code-block:: python
22972416
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
22982424
from google.cloud import automl_v1
22992425
23002426
async def sample_list_model_evaluations():

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.