Skip to content

Commit fe9b369

Browse files
gcf-owl-bot[bot]partheagcf-merge-on-green[bot]dizcology
authored
chore: bump gapic-generator-python to version 1.4.0 (googleapis#1645)
* feat: Bump gapic-generator-python version to 1.3.0 PiperOrigin-RevId: 472561635 Source-Link: googleapis/googleapis@332ecf5 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4313d682880fd9d7247291164d4e9d3d5bd9f177 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: use gapic-generator-python 1.3.1 PiperOrigin-RevId: 472772457 Source-Link: googleapis/googleapis@855b74d Source-Link: https://github.com/googleapis/googleapis-gen/commit/b64b1e7da3e138f15ca361552ef0545e54891b4f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjY0YjFlN2RhM2UxMzhmMTVjYTM2MTU1MmVmMDU0NWU1NDg5MWI0ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: bump gapic-generator-python to version 1.4.0 PiperOrigin-RevId: 472872910 Source-Link: googleapis/googleapis@89404ee Source-Link: https://github.com/googleapis/googleapis-gen/commit/f19e0dc32a51718896a97dd4f19acbed21a319ec Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjE5ZTBkYzMyYTUxNzE4ODk2YTk3ZGQ0ZjE5YWNiZWQyMWEzMTllYyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix: Fix borinssl build failure on gcc12 PiperOrigin-RevId: 473044059 Source-Link: googleapis/googleapis@fa86bc3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/43ce624df25d7854b7051b958f4e983ec8132000 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDNjZTYyNGRmMjVkNzg1NGI3MDUxYjk1OGY0ZTk4M2VjODEzMjAwMCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com> Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com> Co-authored-by: Yu-Han Liu <yuhanliu@google.com>
1 parent f4766dc commit fe9b369

File tree

878 files changed

+18899
-7951
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

878 files changed

+18899
-7951
lines changed

google/cloud/aiplatform_v1/services/dataset_service/async_client.py

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,13 @@ async def create_dataset(
246246
247247
.. code-block:: python
248248
249+
# This snippet has been automatically generated and should be regarded as a
250+
# code template only.
251+
# It will require modifications to work:
252+
# - It may require correct/in-range values for request initialization.
253+
# - It may require specifying regional endpoints when creating the service
254+
# client as shown in:
255+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
249256
from google.cloud import aiplatform_v1
250257
251258
async def sample_create_dataset():
@@ -370,6 +377,13 @@ async def get_dataset(
370377
371378
.. code-block:: python
372379
380+
# This snippet has been automatically generated and should be regarded as a
381+
# code template only.
382+
# It will require modifications to work:
383+
# - It may require correct/in-range values for request initialization.
384+
# - It may require specifying regional endpoints when creating the service
385+
# client as shown in:
386+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
373387
from google.cloud import aiplatform_v1
374388
375389
async def sample_get_dataset():
@@ -466,6 +480,13 @@ async def update_dataset(
466480
467481
.. code-block:: python
468482
483+
# This snippet has been automatically generated and should be regarded as a
484+
# code template only.
485+
# It will require modifications to work:
486+
# - It may require correct/in-range values for request initialization.
487+
# - It may require specifying regional endpoints when creating the service
488+
# client as shown in:
489+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
469490
from google.cloud import aiplatform_v1
470491
471492
async def sample_update_dataset():
@@ -583,6 +604,13 @@ async def list_datasets(
583604
584605
.. code-block:: python
585606
607+
# This snippet has been automatically generated and should be regarded as a
608+
# code template only.
609+
# It will require modifications to work:
610+
# - It may require correct/in-range values for request initialization.
611+
# - It may require specifying regional endpoints when creating the service
612+
# client as shown in:
613+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
586614
from google.cloud import aiplatform_v1
587615
588616
async def sample_list_datasets():
@@ -691,6 +719,13 @@ async def delete_dataset(
691719
692720
.. code-block:: python
693721
722+
# This snippet has been automatically generated and should be regarded as a
723+
# code template only.
724+
# It will require modifications to work:
725+
# - It may require correct/in-range values for request initialization.
726+
# - It may require specifying regional endpoints when creating the service
727+
# client as shown in:
728+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
694729
from google.cloud import aiplatform_v1
695730
696731
async def sample_delete_dataset():
@@ -810,6 +845,13 @@ async def import_data(
810845
811846
.. code-block:: python
812847
848+
# This snippet has been automatically generated and should be regarded as a
849+
# code template only.
850+
# It will require modifications to work:
851+
# - It may require correct/in-range values for request initialization.
852+
# - It may require specifying regional endpoints when creating the service
853+
# client as shown in:
854+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
813855
from google.cloud import aiplatform_v1
814856
815857
async def sample_import_data():
@@ -818,7 +860,7 @@ async def sample_import_data():
818860
819861
# Initialize request argument(s)
820862
import_configs = aiplatform_v1.ImportDataConfig()
821-
import_configs.gcs_source.uris = ['uris_value_1', 'uris_value_2']
863+
import_configs.gcs_source.uris = ['uris_value1', 'uris_value2']
822864
import_configs.import_schema_uri = "import_schema_uri_value"
823865
824866
request = aiplatform_v1.ImportDataRequest(
@@ -937,6 +979,13 @@ async def export_data(
937979
938980
.. code-block:: python
939981
982+
# This snippet has been automatically generated and should be regarded as a
983+
# code template only.
984+
# It will require modifications to work:
985+
# - It may require correct/in-range values for request initialization.
986+
# - It may require specifying regional endpoints when creating the service
987+
# client as shown in:
988+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
940989
from google.cloud import aiplatform_v1
941990
942991
async def sample_export_data():
@@ -1061,6 +1110,13 @@ async def list_data_items(
10611110
10621111
.. code-block:: python
10631112
1113+
# This snippet has been automatically generated and should be regarded as a
1114+
# code template only.
1115+
# It will require modifications to work:
1116+
# - It may require correct/in-range values for request initialization.
1117+
# - It may require specifying regional endpoints when creating the service
1118+
# client as shown in:
1119+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10641120
from google.cloud import aiplatform_v1
10651121
10661122
async def sample_list_data_items():
@@ -1170,6 +1226,13 @@ async def list_saved_queries(
11701226
11711227
.. code-block:: python
11721228
1229+
# This snippet has been automatically generated and should be regarded as a
1230+
# code template only.
1231+
# It will require modifications to work:
1232+
# - It may require correct/in-range values for request initialization.
1233+
# - It may require specifying regional endpoints when creating the service
1234+
# client as shown in:
1235+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11731236
from google.cloud import aiplatform_v1
11741237
11751238
async def sample_list_saved_queries():
@@ -1279,6 +1342,13 @@ async def get_annotation_spec(
12791342
12801343
.. code-block:: python
12811344
1345+
# This snippet has been automatically generated and should be regarded as a
1346+
# code template only.
1347+
# It will require modifications to work:
1348+
# - It may require correct/in-range values for request initialization.
1349+
# - It may require specifying regional endpoints when creating the service
1350+
# client as shown in:
1351+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12821352
from google.cloud import aiplatform_v1
12831353
12841354
async def sample_get_annotation_spec():
@@ -1375,6 +1445,13 @@ async def list_annotations(
13751445
13761446
.. code-block:: python
13771447
1448+
# This snippet has been automatically generated and should be regarded as a
1449+
# code template only.
1450+
# It will require modifications to work:
1451+
# - It may require correct/in-range values for request initialization.
1452+
# - It may require specifying regional endpoints when creating the service
1453+
# client as shown in:
1454+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13781455
from google.cloud import aiplatform_v1
13791456
13801457
async def sample_list_annotations():

google/cloud/aiplatform_v1/services/dataset_service/client.py

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,13 @@ def create_dataset(
559559
560560
.. code-block:: python
561561
562+
# This snippet has been automatically generated and should be regarded as a
563+
# code template only.
564+
# It will require modifications to work:
565+
# - It may require correct/in-range values for request initialization.
566+
# - It may require specifying regional endpoints when creating the service
567+
# client as shown in:
568+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
562569
from google.cloud import aiplatform_v1
563570
564571
def sample_create_dataset():
@@ -683,6 +690,13 @@ def get_dataset(
683690
684691
.. code-block:: python
685692
693+
# This snippet has been automatically generated and should be regarded as a
694+
# code template only.
695+
# It will require modifications to work:
696+
# - It may require correct/in-range values for request initialization.
697+
# - It may require specifying regional endpoints when creating the service
698+
# client as shown in:
699+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
686700
from google.cloud import aiplatform_v1
687701
688702
def sample_get_dataset():
@@ -779,6 +793,13 @@ def update_dataset(
779793
780794
.. code-block:: python
781795
796+
# This snippet has been automatically generated and should be regarded as a
797+
# code template only.
798+
# It will require modifications to work:
799+
# - It may require correct/in-range values for request initialization.
800+
# - It may require specifying regional endpoints when creating the service
801+
# client as shown in:
802+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
782803
from google.cloud import aiplatform_v1
783804
784805
def sample_update_dataset():
@@ -896,6 +917,13 @@ def list_datasets(
896917
897918
.. code-block:: python
898919
920+
# This snippet has been automatically generated and should be regarded as a
921+
# code template only.
922+
# It will require modifications to work:
923+
# - It may require correct/in-range values for request initialization.
924+
# - It may require specifying regional endpoints when creating the service
925+
# client as shown in:
926+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
899927
from google.cloud import aiplatform_v1
900928
901929
def sample_list_datasets():
@@ -1004,6 +1032,13 @@ def delete_dataset(
10041032
10051033
.. code-block:: python
10061034
1035+
# This snippet has been automatically generated and should be regarded as a
1036+
# code template only.
1037+
# It will require modifications to work:
1038+
# - It may require correct/in-range values for request initialization.
1039+
# - It may require specifying regional endpoints when creating the service
1040+
# client as shown in:
1041+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10071042
from google.cloud import aiplatform_v1
10081043
10091044
def sample_delete_dataset():
@@ -1123,6 +1158,13 @@ def import_data(
11231158
11241159
.. code-block:: python
11251160
1161+
# This snippet has been automatically generated and should be regarded as a
1162+
# code template only.
1163+
# It will require modifications to work:
1164+
# - It may require correct/in-range values for request initialization.
1165+
# - It may require specifying regional endpoints when creating the service
1166+
# client as shown in:
1167+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11261168
from google.cloud import aiplatform_v1
11271169
11281170
def sample_import_data():
@@ -1131,7 +1173,7 @@ def sample_import_data():
11311173
11321174
# Initialize request argument(s)
11331175
import_configs = aiplatform_v1.ImportDataConfig()
1134-
import_configs.gcs_source.uris = ['uris_value_1', 'uris_value_2']
1176+
import_configs.gcs_source.uris = ['uris_value1', 'uris_value2']
11351177
import_configs.import_schema_uri = "import_schema_uri_value"
11361178
11371179
request = aiplatform_v1.ImportDataRequest(
@@ -1250,6 +1292,13 @@ def export_data(
12501292
12511293
.. code-block:: python
12521294
1295+
# This snippet has been automatically generated and should be regarded as a
1296+
# code template only.
1297+
# It will require modifications to work:
1298+
# - It may require correct/in-range values for request initialization.
1299+
# - It may require specifying regional endpoints when creating the service
1300+
# client as shown in:
1301+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12531302
from google.cloud import aiplatform_v1
12541303
12551304
def sample_export_data():
@@ -1374,6 +1423,13 @@ def list_data_items(
13741423
13751424
.. code-block:: python
13761425
1426+
# This snippet has been automatically generated and should be regarded as a
1427+
# code template only.
1428+
# It will require modifications to work:
1429+
# - It may require correct/in-range values for request initialization.
1430+
# - It may require specifying regional endpoints when creating the service
1431+
# client as shown in:
1432+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13771433
from google.cloud import aiplatform_v1
13781434
13791435
def sample_list_data_items():
@@ -1483,6 +1539,13 @@ def list_saved_queries(
14831539
14841540
.. code-block:: python
14851541
1542+
# This snippet has been automatically generated and should be regarded as a
1543+
# code template only.
1544+
# It will require modifications to work:
1545+
# - It may require correct/in-range values for request initialization.
1546+
# - It may require specifying regional endpoints when creating the service
1547+
# client as shown in:
1548+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
14861549
from google.cloud import aiplatform_v1
14871550
14881551
def sample_list_saved_queries():
@@ -1592,6 +1655,13 @@ def get_annotation_spec(
15921655
15931656
.. code-block:: python
15941657
1658+
# This snippet has been automatically generated and should be regarded as a
1659+
# code template only.
1660+
# It will require modifications to work:
1661+
# - It may require correct/in-range values for request initialization.
1662+
# - It may require specifying regional endpoints when creating the service
1663+
# client as shown in:
1664+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
15951665
from google.cloud import aiplatform_v1
15961666
15971667
def sample_get_annotation_spec():
@@ -1688,6 +1758,13 @@ def list_annotations(
16881758
16891759
.. code-block:: python
16901760
1761+
# This snippet has been automatically generated and should be regarded as a
1762+
# code template only.
1763+
# It will require modifications to work:
1764+
# - It may require correct/in-range values for request initialization.
1765+
# - It may require specifying regional endpoints when creating the service
1766+
# client as shown in:
1767+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
16911768
from google.cloud import aiplatform_v1
16921769
16931770
def sample_list_annotations():

0 commit comments

Comments
 (0)