Skip to content

Commit 53a851d

Browse files
chore: Bump gapic-generator-python version to 1.3.0 (#474)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 472561635 Source-Link: googleapis/googleapis@332ecf5 Source-Link: googleapis/googleapis-gen@4313d68 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9
1 parent f1a41f7 commit 53a851d

74 files changed

Lines changed: 1473 additions & 605 deletions

File tree

Some content is hidden

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

packages/google-cloud-dataproc/google/cloud/dataproc_v1/services/autoscaling_policy_service/async_client.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,13 @@ async def create_autoscaling_policy(
229229
230230
.. code-block:: python
231231
232+
# This snippet has been automatically generated and should be regarded as a
233+
# code template only.
234+
# It will require modifications to work:
235+
# - It may require correct/in-range values for request initialization.
236+
# - It may require specifying regional endpoints when creating the service
237+
# client as shown in:
238+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
232239
from google.cloud import dataproc_v1
233240
234241
async def sample_create_autoscaling_policy():
@@ -355,6 +362,13 @@ async def update_autoscaling_policy(
355362
356363
.. code-block:: python
357364
365+
# This snippet has been automatically generated and should be regarded as a
366+
# code template only.
367+
# It will require modifications to work:
368+
# - It may require correct/in-range values for request initialization.
369+
# - It may require specifying regional endpoints when creating the service
370+
# client as shown in:
371+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
358372
from google.cloud import dataproc_v1
359373
360374
async def sample_update_autoscaling_policy():
@@ -467,6 +481,13 @@ async def get_autoscaling_policy(
467481
468482
.. code-block:: python
469483
484+
# This snippet has been automatically generated and should be regarded as a
485+
# code template only.
486+
# It will require modifications to work:
487+
# - It may require correct/in-range values for request initialization.
488+
# - It may require specifying regional endpoints when creating the service
489+
# client as shown in:
490+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
470491
from google.cloud import dataproc_v1
471492
472493
async def sample_get_autoscaling_policy():
@@ -584,6 +605,13 @@ async def list_autoscaling_policies(
584605
585606
.. code-block:: python
586607
608+
# This snippet has been automatically generated and should be regarded as a
609+
# code template only.
610+
# It will require modifications to work:
611+
# - It may require correct/in-range values for request initialization.
612+
# - It may require specifying regional endpoints when creating the service
613+
# client as shown in:
614+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
587615
from google.cloud import dataproc_v1
588616
589617
async def sample_list_autoscaling_policies():
@@ -716,6 +744,13 @@ async def delete_autoscaling_policy(
716744
717745
.. code-block:: python
718746
747+
# This snippet has been automatically generated and should be regarded as a
748+
# code template only.
749+
# It will require modifications to work:
750+
# - It may require correct/in-range values for request initialization.
751+
# - It may require specifying regional endpoints when creating the service
752+
# client as shown in:
753+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
719754
from google.cloud import dataproc_v1
720755
721756
async def sample_delete_autoscaling_policy():

packages/google-cloud-dataproc/google/cloud/dataproc_v1/services/autoscaling_policy_service/client.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,13 @@ def create_autoscaling_policy(
445445
446446
.. code-block:: python
447447
448+
# This snippet has been automatically generated and should be regarded as a
449+
# code template only.
450+
# It will require modifications to work:
451+
# - It may require correct/in-range values for request initialization.
452+
# - It may require specifying regional endpoints when creating the service
453+
# client as shown in:
454+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
448455
from google.cloud import dataproc_v1
449456
450457
def sample_create_autoscaling_policy():
@@ -573,6 +580,13 @@ def update_autoscaling_policy(
573580
574581
.. code-block:: python
575582
583+
# This snippet has been automatically generated and should be regarded as a
584+
# code template only.
585+
# It will require modifications to work:
586+
# - It may require correct/in-range values for request initialization.
587+
# - It may require specifying regional endpoints when creating the service
588+
# client as shown in:
589+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
576590
from google.cloud import dataproc_v1
577591
578592
def sample_update_autoscaling_policy():
@@ -677,6 +691,13 @@ def get_autoscaling_policy(
677691
678692
.. code-block:: python
679693
694+
# This snippet has been automatically generated and should be regarded as a
695+
# code template only.
696+
# It will require modifications to work:
697+
# - It may require correct/in-range values for request initialization.
698+
# - It may require specifying regional endpoints when creating the service
699+
# client as shown in:
700+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
680701
from google.cloud import dataproc_v1
681702
682703
def sample_get_autoscaling_policy():
@@ -784,6 +805,13 @@ def list_autoscaling_policies(
784805
785806
.. code-block:: python
786807
808+
# This snippet has been automatically generated and should be regarded as a
809+
# code template only.
810+
# It will require modifications to work:
811+
# - It may require correct/in-range values for request initialization.
812+
# - It may require specifying regional endpoints when creating the service
813+
# client as shown in:
814+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
787815
from google.cloud import dataproc_v1
788816
789817
def sample_list_autoscaling_policies():
@@ -908,6 +936,13 @@ def delete_autoscaling_policy(
908936
909937
.. code-block:: python
910938
939+
# This snippet has been automatically generated and should be regarded as a
940+
# code template only.
941+
# It will require modifications to work:
942+
# - It may require correct/in-range values for request initialization.
943+
# - It may require specifying regional endpoints when creating the service
944+
# client as shown in:
945+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
911946
from google.cloud import dataproc_v1
912947
913948
def sample_delete_autoscaling_policy():

packages/google-cloud-dataproc/google/cloud/dataproc_v1/services/batch_controller/async_client.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,13 @@ async def create_batch(
225225
226226
.. code-block:: python
227227
228+
# This snippet has been automatically generated and should be regarded as a
229+
# code template only.
230+
# It will require modifications to work:
231+
# - It may require correct/in-range values for request initialization.
232+
# - It may require specifying regional endpoints when creating the service
233+
# client as shown in:
234+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
228235
from google.cloud import dataproc_v1
229236
230237
async def sample_create_batch():
@@ -358,6 +365,13 @@ async def get_batch(
358365
359366
.. code-block:: python
360367
368+
# This snippet has been automatically generated and should be regarded as a
369+
# code template only.
370+
# It will require modifications to work:
371+
# - It may require correct/in-range values for request initialization.
372+
# - It may require specifying regional endpoints when creating the service
373+
# client as shown in:
374+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
361375
from google.cloud import dataproc_v1
362376
363377
async def sample_get_batch():
@@ -453,6 +467,13 @@ async def list_batches(
453467
454468
.. code-block:: python
455469
470+
# This snippet has been automatically generated and should be regarded as a
471+
# code template only.
472+
# It will require modifications to work:
473+
# - It may require correct/in-range values for request initialization.
474+
# - It may require specifying regional endpoints when creating the service
475+
# client as shown in:
476+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
456477
from google.cloud import dataproc_v1
457478
458479
async def sample_list_batches():
@@ -562,6 +583,13 @@ async def delete_batch(
562583
563584
.. code-block:: python
564585
586+
# This snippet has been automatically generated and should be regarded as a
587+
# code template only.
588+
# It will require modifications to work:
589+
# - It may require correct/in-range values for request initialization.
590+
# - It may require specifying regional endpoints when creating the service
591+
# client as shown in:
592+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
565593
from google.cloud import dataproc_v1
566594
567595
async def sample_delete_batch():

packages/google-cloud-dataproc/google/cloud/dataproc_v1/services/batch_controller/client.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,13 @@ def create_batch(
450450
451451
.. code-block:: python
452452
453+
# This snippet has been automatically generated and should be regarded as a
454+
# code template only.
455+
# It will require modifications to work:
456+
# - It may require correct/in-range values for request initialization.
457+
# - It may require specifying regional endpoints when creating the service
458+
# client as shown in:
459+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
453460
from google.cloud import dataproc_v1
454461
455462
def sample_create_batch():
@@ -583,6 +590,13 @@ def get_batch(
583590
584591
.. code-block:: python
585592
593+
# This snippet has been automatically generated and should be regarded as a
594+
# code template only.
595+
# It will require modifications to work:
596+
# - It may require correct/in-range values for request initialization.
597+
# - It may require specifying regional endpoints when creating the service
598+
# client as shown in:
599+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
586600
from google.cloud import dataproc_v1
587601
588602
def sample_get_batch():
@@ -678,6 +692,13 @@ def list_batches(
678692
679693
.. code-block:: python
680694
695+
# This snippet has been automatically generated and should be regarded as a
696+
# code template only.
697+
# It will require modifications to work:
698+
# - It may require correct/in-range values for request initialization.
699+
# - It may require specifying regional endpoints when creating the service
700+
# client as shown in:
701+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
681702
from google.cloud import dataproc_v1
682703
683704
def sample_list_batches():
@@ -787,6 +808,13 @@ def delete_batch(
787808
788809
.. code-block:: python
789810
811+
# This snippet has been automatically generated and should be regarded as a
812+
# code template only.
813+
# It will require modifications to work:
814+
# - It may require correct/in-range values for request initialization.
815+
# - It may require specifying regional endpoints when creating the service
816+
# client as shown in:
817+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
790818
from google.cloud import dataproc_v1
791819
792820
def sample_delete_batch():

packages/google-cloud-dataproc/google/cloud/dataproc_v1/services/cluster_controller/async_client.py

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,13 @@ async def create_cluster(
227227
228228
.. code-block:: python
229229
230+
# This snippet has been automatically generated and should be regarded as a
231+
# code template only.
232+
# It will require modifications to work:
233+
# - It may require correct/in-range values for request initialization.
234+
# - It may require specifying regional endpoints when creating the service
235+
# client as shown in:
236+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
230237
from google.cloud import dataproc_v1
231238
232239
async def sample_create_cluster():
@@ -382,6 +389,13 @@ async def update_cluster(
382389
383390
.. code-block:: python
384391
392+
# This snippet has been automatically generated and should be regarded as a
393+
# code template only.
394+
# It will require modifications to work:
395+
# - It may require correct/in-range values for request initialization.
396+
# - It may require specifying regional endpoints when creating the service
397+
# client as shown in:
398+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
385399
from google.cloud import dataproc_v1
386400
387401
async def sample_update_cluster():
@@ -605,6 +619,13 @@ async def stop_cluster(
605619
606620
.. code-block:: python
607621
622+
# This snippet has been automatically generated and should be regarded as a
623+
# code template only.
624+
# It will require modifications to work:
625+
# - It may require correct/in-range values for request initialization.
626+
# - It may require specifying regional endpoints when creating the service
627+
# client as shown in:
628+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
608629
from google.cloud import dataproc_v1
609630
610631
async def sample_stop_cluster():
@@ -699,6 +720,13 @@ async def start_cluster(
699720
700721
.. code-block:: python
701722
723+
# This snippet has been automatically generated and should be regarded as a
724+
# code template only.
725+
# It will require modifications to work:
726+
# - It may require correct/in-range values for request initialization.
727+
# - It may require specifying regional endpoints when creating the service
728+
# client as shown in:
729+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
702730
from google.cloud import dataproc_v1
703731
704732
async def sample_start_cluster():
@@ -799,6 +827,13 @@ async def delete_cluster(
799827
800828
.. code-block:: python
801829
830+
# This snippet has been automatically generated and should be regarded as a
831+
# code template only.
832+
# It will require modifications to work:
833+
# - It may require correct/in-range values for request initialization.
834+
# - It may require specifying regional endpoints when creating the service
835+
# client as shown in:
836+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
802837
from google.cloud import dataproc_v1
803838
804839
async def sample_delete_cluster():
@@ -952,6 +987,13 @@ async def get_cluster(
952987
953988
.. code-block:: python
954989
990+
# This snippet has been automatically generated and should be regarded as a
991+
# code template only.
992+
# It will require modifications to work:
993+
# - It may require correct/in-range values for request initialization.
994+
# - It may require specifying regional endpoints when creating the service
995+
# client as shown in:
996+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
955997
from google.cloud import dataproc_v1
956998
957999
async def sample_get_cluster():
@@ -1087,6 +1129,13 @@ async def list_clusters(
10871129
10881130
.. code-block:: python
10891131
1132+
# This snippet has been automatically generated and should be regarded as a
1133+
# code template only.
1134+
# It will require modifications to work:
1135+
# - It may require correct/in-range values for request initialization.
1136+
# - It may require specifying regional endpoints when creating the service
1137+
# client as shown in:
1138+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10901139
from google.cloud import dataproc_v1
10911140
10921141
async def sample_list_clusters():
@@ -1261,6 +1310,13 @@ async def diagnose_cluster(
12611310
12621311
.. code-block:: python
12631312
1313+
# This snippet has been automatically generated and should be regarded as a
1314+
# code template only.
1315+
# It will require modifications to work:
1316+
# - It may require correct/in-range values for request initialization.
1317+
# - It may require specifying regional endpoints when creating the service
1318+
# client as shown in:
1319+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12641320
from google.cloud import dataproc_v1
12651321
12661322
async def sample_diagnose_cluster():

0 commit comments

Comments
 (0)