Skip to content

Commit a9d8663

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

File tree

39 files changed

+761
-313
lines changed

39 files changed

+761
-313
lines changed

packages/google-cloud-scheduler/google/cloud/scheduler_v1/services/cloud_scheduler/async_client.py

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,13 @@ async def list_jobs(
228228
229229
.. code-block:: python
230230
231+
# This snippet has been automatically generated and should be regarded as a
232+
# code template only.
233+
# It will require modifications to work:
234+
# - It may require correct/in-range values for request initialization.
235+
# - It may require specifying regional endpoints when creating the service
236+
# client as shown in:
237+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
231238
from google.cloud import scheduler_v1
232239
233240
async def sample_list_jobs():
@@ -347,6 +354,13 @@ async def get_job(
347354
348355
.. code-block:: python
349356
357+
# This snippet has been automatically generated and should be regarded as a
358+
# code template only.
359+
# It will require modifications to work:
360+
# - It may require correct/in-range values for request initialization.
361+
# - It may require specifying regional endpoints when creating the service
362+
# client as shown in:
363+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
350364
from google.cloud import scheduler_v1
351365
352366
async def sample_get_job():
@@ -454,6 +468,13 @@ async def create_job(
454468
455469
.. code-block:: python
456470
471+
# This snippet has been automatically generated and should be regarded as a
472+
# code template only.
473+
# It will require modifications to work:
474+
# - It may require correct/in-range values for request initialization.
475+
# - It may require specifying regional endpoints when creating the service
476+
# client as shown in:
477+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
457478
from google.cloud import scheduler_v1
458479
459480
async def sample_create_job():
@@ -577,6 +598,13 @@ async def update_job(
577598
578599
.. code-block:: python
579600
601+
# This snippet has been automatically generated and should be regarded as a
602+
# code template only.
603+
# It will require modifications to work:
604+
# - It may require correct/in-range values for request initialization.
605+
# - It may require specifying regional endpoints when creating the service
606+
# client as shown in:
607+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
580608
from google.cloud import scheduler_v1
581609
582610
async def sample_update_job():
@@ -686,6 +714,13 @@ async def delete_job(
686714
687715
.. code-block:: python
688716
717+
# This snippet has been automatically generated and should be regarded as a
718+
# code template only.
719+
# It will require modifications to work:
720+
# - It may require correct/in-range values for request initialization.
721+
# - It may require specifying regional endpoints when creating the service
722+
# client as shown in:
723+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
689724
from google.cloud import scheduler_v1
690725
691726
async def sample_delete_job():
@@ -791,6 +826,13 @@ async def pause_job(
791826
792827
.. code-block:: python
793828
829+
# This snippet has been automatically generated and should be regarded as a
830+
# code template only.
831+
# It will require modifications to work:
832+
# - It may require correct/in-range values for request initialization.
833+
# - It may require specifying regional endpoints when creating the service
834+
# client as shown in:
835+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
794836
from google.cloud import scheduler_v1
795837
796838
async def sample_pause_job():
@@ -897,6 +939,13 @@ async def resume_job(
897939
898940
.. code-block:: python
899941
942+
# This snippet has been automatically generated and should be regarded as a
943+
# code template only.
944+
# It will require modifications to work:
945+
# - It may require correct/in-range values for request initialization.
946+
# - It may require specifying regional endpoints when creating the service
947+
# client as shown in:
948+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
900949
from google.cloud import scheduler_v1
901950
902951
async def sample_resume_job():
@@ -995,6 +1044,13 @@ async def run_job(
9951044
9961045
.. code-block:: python
9971046
1047+
# This snippet has been automatically generated and should be regarded as a
1048+
# code template only.
1049+
# It will require modifications to work:
1050+
# - It may require correct/in-range values for request initialization.
1051+
# - It may require specifying regional endpoints when creating the service
1052+
# client as shown in:
1053+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
9981054
from google.cloud import scheduler_v1
9991055
10001056
async def sample_run_job():

packages/google-cloud-scheduler/google/cloud/scheduler_v1/services/cloud_scheduler/client.py

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,13 @@ def list_jobs(
468468
469469
.. code-block:: python
470470
471+
# This snippet has been automatically generated and should be regarded as a
472+
# code template only.
473+
# It will require modifications to work:
474+
# - It may require correct/in-range values for request initialization.
475+
# - It may require specifying regional endpoints when creating the service
476+
# client as shown in:
477+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
471478
from google.cloud import scheduler_v1
472479
473480
def sample_list_jobs():
@@ -577,6 +584,13 @@ def get_job(
577584
578585
.. code-block:: python
579586
587+
# This snippet has been automatically generated and should be regarded as a
588+
# code template only.
589+
# It will require modifications to work:
590+
# - It may require correct/in-range values for request initialization.
591+
# - It may require specifying regional endpoints when creating the service
592+
# client as shown in:
593+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
580594
from google.cloud import scheduler_v1
581595
582596
def sample_get_job():
@@ -674,6 +688,13 @@ def create_job(
674688
675689
.. code-block:: python
676690
691+
# This snippet has been automatically generated and should be regarded as a
692+
# code template only.
693+
# It will require modifications to work:
694+
# - It may require correct/in-range values for request initialization.
695+
# - It may require specifying regional endpoints when creating the service
696+
# client as shown in:
697+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
677698
from google.cloud import scheduler_v1
678699
679700
def sample_create_job():
@@ -797,6 +818,13 @@ def update_job(
797818
798819
.. code-block:: python
799820
821+
# This snippet has been automatically generated and should be regarded as a
822+
# code template only.
823+
# It will require modifications to work:
824+
# - It may require correct/in-range values for request initialization.
825+
# - It may require specifying regional endpoints when creating the service
826+
# client as shown in:
827+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
800828
from google.cloud import scheduler_v1
801829
802830
def sample_update_job():
@@ -906,6 +934,13 @@ def delete_job(
906934
907935
.. code-block:: python
908936
937+
# This snippet has been automatically generated and should be regarded as a
938+
# code template only.
939+
# It will require modifications to work:
940+
# - It may require correct/in-range values for request initialization.
941+
# - It may require specifying regional endpoints when creating the service
942+
# client as shown in:
943+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
909944
from google.cloud import scheduler_v1
910945
911946
def sample_delete_job():
@@ -1001,6 +1036,13 @@ def pause_job(
10011036
10021037
.. code-block:: python
10031038
1039+
# This snippet has been automatically generated and should be regarded as a
1040+
# code template only.
1041+
# It will require modifications to work:
1042+
# - It may require correct/in-range values for request initialization.
1043+
# - It may require specifying regional endpoints when creating the service
1044+
# client as shown in:
1045+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10041046
from google.cloud import scheduler_v1
10051047
10061048
def sample_pause_job():
@@ -1107,6 +1149,13 @@ def resume_job(
11071149
11081150
.. code-block:: python
11091151
1152+
# This snippet has been automatically generated and should be regarded as a
1153+
# code template only.
1154+
# It will require modifications to work:
1155+
# - It may require correct/in-range values for request initialization.
1156+
# - It may require specifying regional endpoints when creating the service
1157+
# client as shown in:
1158+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11101159
from google.cloud import scheduler_v1
11111160
11121161
def sample_resume_job():
@@ -1205,6 +1254,13 @@ def run_job(
12051254
12061255
.. code-block:: python
12071256
1257+
# This snippet has been automatically generated and should be regarded as a
1258+
# code template only.
1259+
# It will require modifications to work:
1260+
# - It may require correct/in-range values for request initialization.
1261+
# - It may require specifying regional endpoints when creating the service
1262+
# client as shown in:
1263+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12081264
from google.cloud import scheduler_v1
12091265
12101266
def sample_run_job():

packages/google-cloud-scheduler/google/cloud/scheduler_v1beta1/services/cloud_scheduler/async_client.py

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,13 @@ async def list_jobs(
228228
229229
.. code-block:: python
230230
231+
# This snippet has been automatically generated and should be regarded as a
232+
# code template only.
233+
# It will require modifications to work:
234+
# - It may require correct/in-range values for request initialization.
235+
# - It may require specifying regional endpoints when creating the service
236+
# client as shown in:
237+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
231238
from google.cloud import scheduler_v1beta1
232239
233240
async def sample_list_jobs():
@@ -347,6 +354,13 @@ async def get_job(
347354
348355
.. code-block:: python
349356
357+
# This snippet has been automatically generated and should be regarded as a
358+
# code template only.
359+
# It will require modifications to work:
360+
# - It may require correct/in-range values for request initialization.
361+
# - It may require specifying regional endpoints when creating the service
362+
# client as shown in:
363+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
350364
from google.cloud import scheduler_v1beta1
351365
352366
async def sample_get_job():
@@ -454,6 +468,13 @@ async def create_job(
454468
455469
.. code-block:: python
456470
471+
# This snippet has been automatically generated and should be regarded as a
472+
# code template only.
473+
# It will require modifications to work:
474+
# - It may require correct/in-range values for request initialization.
475+
# - It may require specifying regional endpoints when creating the service
476+
# client as shown in:
477+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
457478
from google.cloud import scheduler_v1beta1
458479
459480
async def sample_create_job():
@@ -578,6 +599,13 @@ async def update_job(
578599
579600
.. code-block:: python
580601
602+
# This snippet has been automatically generated and should be regarded as a
603+
# code template only.
604+
# It will require modifications to work:
605+
# - It may require correct/in-range values for request initialization.
606+
# - It may require specifying regional endpoints when creating the service
607+
# client as shown in:
608+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
581609
from google.cloud import scheduler_v1beta1
582610
583611
async def sample_update_job():
@@ -687,6 +715,13 @@ async def delete_job(
687715
688716
.. code-block:: python
689717
718+
# This snippet has been automatically generated and should be regarded as a
719+
# code template only.
720+
# It will require modifications to work:
721+
# - It may require correct/in-range values for request initialization.
722+
# - It may require specifying regional endpoints when creating the service
723+
# client as shown in:
724+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
690725
from google.cloud import scheduler_v1beta1
691726
692727
async def sample_delete_job():
@@ -792,6 +827,13 @@ async def pause_job(
792827
793828
.. code-block:: python
794829
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
795837
from google.cloud import scheduler_v1beta1
796838
797839
async def sample_pause_job():
@@ -908,6 +950,13 @@ async def resume_job(
908950
909951
.. code-block:: python
910952
953+
# This snippet has been automatically generated and should be regarded as a
954+
# code template only.
955+
# It will require modifications to work:
956+
# - It may require correct/in-range values for request initialization.
957+
# - It may require specifying regional endpoints when creating the service
958+
# client as shown in:
959+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
911960
from google.cloud import scheduler_v1beta1
912961
913962
async def sample_resume_job():
@@ -1016,6 +1065,13 @@ async def run_job(
10161065
10171066
.. code-block:: python
10181067
1068+
# This snippet has been automatically generated and should be regarded as a
1069+
# code template only.
1070+
# It will require modifications to work:
1071+
# - It may require correct/in-range values for request initialization.
1072+
# - It may require specifying regional endpoints when creating the service
1073+
# client as shown in:
1074+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10191075
from google.cloud import scheduler_v1beta1
10201076
10211077
async def sample_run_job():

0 commit comments

Comments
 (0)