8000 chore: Bump gapic-generator-python version to 1.3.0 (#209) · googleapis/google-cloud-python@7100534 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7100534

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

File tree

32 files changed

+665
-273
lines changed
  • 32 files changed

    +665
    -273
    lines changed

    packages/grafeas/grafeas/grafeas_v1/services/grafeas/async_client.py

    Lines changed: 98 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -156,6 +156,13 @@ async def get_occurrence(
    156156
    157157
    .. code-block:: python
    158158
    159+
    # This snippet has been automatically generated and should be regarded as a
    160+
    # code template only.
    161+
    # It will require modifications to work:
    162+
    # - It may require correct/in-range values for request initialization.
    163+
    # - It may require specifying regional endpoints when creating the service
    164+
    # client as shown in:
    165+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    159166
    from grafeas import grafeas_v1
    160167
    161168
    async def sample_get_occurrence():
    @@ -261,6 +268,13 @@ async def list_occurrences(
    261268
    262269
    .. code-block:: python
    263270
    271+
    # This snippet has been automatically generated and should be regarded as a
    272+
    # code template only.
    273+
    # It will require modifications to work:
    274+
    # - It may require correct/in-range values for request initialization.
    275+
    # - It may require specifying regional endpoints when creating the service
    276+
    # client as shown in:
    277+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    264278
    from grafeas import grafeas_v1
    265279
    266280
    async def sample_list_occurrences():
    @@ -386,6 +400,13 @@ async def delete_occurrence(
    386400
    387401
    .. code-block:: python
    388402
    403+
    # This snippet has been automatically generated and should be regarded as a
    404+
    # code template only.
    405+
    # It will require modifications to work:
    406+
    # - It may require correct/in-range values for request initialization.
    407+
    # - It may require specifying regional endpoints when creating the service
    408+
    # client as shown in:
    409+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    389410
    from grafeas import grafeas_v1
    390411
    391412
    async def sample_delete_occurrence():
    @@ -479,6 +500,13 @@ async def create_occurrence(
    479500
    480501
    .. code-block:: python
    481502
    503+
    # This snippet has been automatically generated and should be regarded as a
    504+
    # code template only.
    505+
    # It will require modifications to work:
    506+
    # - It may require correct/in-range values for request initialization.
    507+
    # - It may require specifying regional endpoints when creating the service
    508+
    # client as shown in:
    509+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    482510
    from grafeas import grafeas_v1
    483511
    484512
    async def sample_create_occurrence():
    @@ -582,6 +610,13 @@ async def batch_create_occurrences(
    582610
    583611
    .. code-block:: python
    584612
    613+
    # This snippet has been automatically generated and should be regarded as a
    614+
    # code template only.
    615+
    # It will require modifications to work:
    616+
    # - It may require correct/in-range values for request initialization.
    617+
    # - It may require specifying regional endpoints when creating the service
    618+
    # client as shown in:
    619+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    585620
    from grafeas import grafeas_v1
    586621
    587622
    async def sample_batch_create_occurrences():
    @@ -689,6 +724,13 @@ async def update_occurrence(
    689724
    690725
    .. code-block:: python
    691726
    727+
    # This snippet has been automatically generated and should be regarded as a
    728+
    # code template only.
    729+
    # It will require modifications to work:
    730+
    # - It may require correct/in-range values for request initialization.
    731+
    # - It may require specifying regional endpoints when creating the service
    732+
    # client as shown in:
    733+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    692734
    from grafeas import grafeas_v1
    693735
    694736
    async def sample_update_occurrence():
    @@ -799,6 +841,13 @@ async def get_occurrence_note(
    799841
    800842
    .. code-block:: python
    801843
    844+
    # This snippet has been automatically generated and should be regarded as a
    845+
    # code template only.
    846+
    # It will require modifications to work:
    847+
    # - It may require correct/in-range values for request initialization.
    848+
    # - It may require specifying regional endpoints when creating the service
    849+
    # client as shown in:
    850+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    802851
    from grafeas import grafeas_v1
    803852
    804853
    async def sample_get_occurrence_note():
    @@ -904,6 +953,13 @@ async def get_note(
    904953
    905954
    .. code-block:: python
    906955
    956+
    # This snippet has been automatically generated and should be regarded as a
    957+
    # code template only.
    958+
    # It will require modifications to work:
    959+
    # - It may require correct/in-range values for request initialization.
    960+
    # - It may require specifying regional endpoints when creating the service
    961+
    # client as shown in:
    962+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    907963
    from grafeas import grafeas_v1
    908964
    909965
    async def sample_get_note():
    @@ -1009,6 +1065,13 @@ async def list_notes(
    10091065
    10101066
    .. code-block:: python
    10111067
    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
    10121075
    from grafeas import grafeas_v1
    10131076
    10141077
    async def sample_list_notes():
    @@ -1132,6 +1195,13 @@ async def delete_note(
    11321195
    11331196
    .. code-block:: python
    11341197
    1198+
    # This snippet has been automatically generated and should be regarded as a
    1199+
    # code template only.
    1200+
    # It will require modifications to work:
    1201+
    # - It may require correct/in-range values for request initialization.
    1202+
    # - It may require specifying regional endpoints when creating the service
    1203+
    # client as shown in:
    1204+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    11351205
    from grafeas import grafeas_v1
    11361206
    11371207
    async def sample_delete_note():
    @@ -1226,6 +1296,13 @@ async def create_note(
    12261296
    12271297
    .. code-block:: python
    12281298
    1299+
    # This snippet has been automatically generated and should be regarded as a
    1300+
    # code template only.
    1301+
    # It will require modifications to work:
    1302+
    # - It may require correct/in-range values for request initialization.
    1303+
    # - It may require specifying regional endpoints when creating the service
    1304+
    # client as shown in:
    1305+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    12291306
    from grafeas import grafeas_v1
    12301307
    12311308
    async def sample_create_note():
    @@ -1337,6 +1414,13 @@ async def batch_create_notes(
    13371414
    13381415
    .. code-block:: python
    13391416
    1417+
    # This snippet has been automatically generated and should be regarded as a
    1418+
    # code template only.
    1419+
    # It will require modifications to work:
    1420+
    # - It may require correct/in-range values for request initialization.
    1421+
    # - It may require specifying regional endpoints when creating the service
    1422+
    # client as shown in:
    1423+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    13401424
    from grafeas import grafeas_v1
    13411425
    13421426
    async def sample_batch_create_notes():
    @@ -1442,6 +1526,13 @@ async def update_note(
    14421526
    14431527
    .. code-block:: python
    14441528
    1529+
    # This snippet has been automatically generated and should be regarded as a
    1530+
    # code template only.
    1531+
    # It will require modifications to work:
    1532+
    # - It may require correct/in-range values for request initialization.
    1533+
    # - It may require specifying regional endpoints when creating the service
    1534+
    # client as shown in:
    1535+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    14451536
    from grafeas import grafeas_v1
    14461537
    14471538
    async def sample_update_note():
    @@ -1554,6 +1645,13 @@ async def list_note_occurrences(
    15541645
    15551646
    .. code-block:: python
    15561647
    1648+
    # This snippet has been automatically generated and should be regarded as a
    1649+
    # code template only.
    1650+
    # It will require modifications to work:
    1651+
    # - It may require correct/in-range values for request initialization.
    1652+
    # - It may require specifying regional endpoints when creating the service
    1653+
    # client as shown in:
    1654+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    15571655
    from grafeas import grafeas_v1
    15581656
    15591657
    async def sample_list_note_occurrences():

    packages/grafeas/grafeas/grafeas_v1/services/grafeas/client.py

    Lines changed: 98 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -328,6 +328,13 @@ def get_occurrence(
    328328
    329329
    .. code-block:: python
    330330
    331+
    # This snippet has been automatically generated and should be regarded as a
    332+
    # code template only.
    333+
    # It will require modifications to work:
    334+
    # - It may require correct/in-range values for request initialization.
    335+
    # - It may require specifying regional endpoints when creating the service
    336+
    # client as shown in:
    337+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    331338
    from grafeas import grafeas_v1
    332339
    333340
    def sample_get_occurrence():
    @@ -423,6 +430,13 @@ def list_occurrences(
    423430
    424431
    .. code-block:: python
    425432
    433+
    # This snippet has been automatically generated and should be regarded as a
    434+
    # code template only.
    435+
    # It will require modifications to work:
    436+
    # - It may require correct/in-range values for request initialization.
    437+
    # - It may require specifying regional endpoints when creating the service
    438+
    # client as shown in:
    439+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    426440
    from grafeas import grafeas_v1
    427441
    428442
    def sample_list_occurrences():
    @@ -538,6 +552,13 @@ def delete_occurrence(
    538552
    539553
    .. code-block:: python
    540554
    555+
    # This snippet has been automatically generated and should be regarded as a
    556+
    # code template only.
    557+
    # It will require modifications to work:
    558+
    # - It may require correct/in-range values for request initialization.
    559+
    # - It may require specifying regional endpoints when creating the service
    560+
    # client as shown in:
    561+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    541562
    from grafeas import grafeas_v1
    542563
    543564
    def sample_delete_occurrence():
    @@ -621,6 +642,13 @@ def create_occurrence(
    621642
    622643
    .. code-block:: python
    623644
    645+
    # This snippet has been automatically generated and should be regarded as a
    646+
    # code template only.
    647+
    # It will require modifications to work:
    648+
    # - It may require correct/in-range values for request initialization.
    649+
    # - It may require specifying regional endpoints when creating the service
    650+
    # client as shown in:
    651+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    624652
    from grafeas import grafeas_v1
    625653
    626654
    def sample_create_occurrence():
    @@ -724,6 +752,13 @@ def batch_create_occurrences(
    724752
    725753
    .. code-block:: python
    726754
    755+
    # This snippet has been automatically generated and should be regarded as a
    756+
    # code template only.
    757+
    # It will require modifications to work:
    758+
    # - It may require correct/in-range values for request initialization.
    759+
    # - It may require specifying regional endpoints when creating the service
    760+
    # client as shown in:
    761+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    727762
    from grafeas import grafeas_v1
    728763
    729764
    def sample_batch_create_occurrences():
    @@ -831,6 +866,13 @@ def update_occurrence(
    831866
    832867
    .. code-block:: python
    833868
    869+
    # This snippet has been automatically generated and should be regarded as a
    870+
    # code template only.
    871+
    # It will require modifications to work:
    872+
    # - It may require correct/in-range values for request initialization.
    873+
    # - It may require specifying regional endpoints when creating the service
    874+
    # client as shown in:
    875+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    834876
    from grafeas import grafeas_v1
    835877
    836878
    def sample_update_occurrence():
    @@ -941,6 +983,13 @@ def get_occurrence_note(
    941983
    942984
    .. code-block:: python
    943985
    986+
    # This snippet has been automatically generated and should be regarded as a
    987+
    # code template only.
    988+
    # It will require modifications to work:
    989+
    # - It may require correct/in-range values for request initialization.
    990+
    # - It may require specifying regional endpoints when creating the service
    991+
    # client as shown in:
    992+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    944993
    from grafeas import grafeas_v1
    945994
    946995
    def sample_get_occurrence_note():
    @@ -1036,6 +1085,13 @@ def get_note(
    10361085
    10371086
    .. code-block:: python
    10381087
    1088+
    # This snippet has been automatically generated and should be regarded as a
    1089+
    # code template only.
    1090+
    # It will require modifications to work:
    1091+
    # - It may require correct/in-range values for request initialization.
    1092+
    # - It may require specifying regional endpoints when creating the service
    1093+
    # client as shown in:
    1094+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    10391095
    from grafeas import grafeas_v1
    10401096
    10411097
    def sample_get_note():
    @@ -1131,6 +1187,13 @@ def list_notes(
    11311187
    11321188
    .. code-block:: python
    11331189
    1190+
    # This snippet has been automatically generated and should be regarded as a
    1191+
    # code template only.
    1192+
    # It will require modifications to work:
    1193+
    # - It may require correct/in-range values for request initialization.
    1194+
    # - It may require specifying regional endpoints when creating the service
    1195+
    # client as shown in:
    1196+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    11341197
    from grafeas import grafeas_v1
    11351198
    11361199
    def sample_list_notes():
    @@ -1244,6 +1307,13 @@ def delete_note(
    12441307
    12451308
    .. code-block:: python
    12461309
    1310+
    # This snippet has been automatically generated and should be regarded as a
    1311+
    # code template only.
    1312+
    # It will require modifications to work:
    1313+
    # - It may require correct/in-range values for request initialization.
    1314+
    # - It may require specifying regional endpoints when creating the service
    1315+
    # client as shown in:
    1316+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    12471317
    from grafeas import grafeas_v1
    12481318
    12491319
    def sample_delete_note():
    @@ -1328,6 +1398,13 @@ def create_note(
    13281398
    13291399
    .. code-block:: python
    13301400
    1401+
    # This snippet has been automatically generated and should be regarded as a
    1402+
    # code template only.
    1403+
    # It will require modifications to work:
    1404+
    # - It may require correct/in-range values for request initialization.
    1405+
    # - It may require specifying regional endpoints when creating the service
    1406+
    # client as shown in:
    1407+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    13311408
    from grafeas import grafeas_v1
    13321409
    13331410
    def sample_create_note():
    @@ -1439,6 +1516,13 @@ def batch_create_notes(
    14391516
    14401517
    .. code-block:: python
    14411518
    1519+
    # This snippet has been automatically generated and should be regarded as a
    1520+
    # code template only.
    1521+
    # It will require modifications to work:
    1522+
    # - It may require correct/in-range values for request initialization.
    1523+
    # - It may require specifying regional endpoints when creating the service
    1524+
    # client as shown in:
    1525+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    14421526
    from grafeas import grafeas_v1
    14431527
    14441528
    def sample_batch_create_notes():
    @@ -1543,6 +1627,13 @@ def update_note(
    15431627
    15441628
    .. code-block:: python
    15451629
    1630+
    # This snippet has been automatically generated and should be regarded as a
    1631+
    # code template only.
    1632+
    # It will require modifications to work:
    1633+
    # - It may require correct/in-range values for request initialization.
    1634+
    # - It may require specifying regional endpoints when creating the service
    1635+
    # client as shown in:
    1636+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    15461637
    from grafeas import grafeas_v1
    15471638
    15481639
    def sample_update_note():
    @@ -1655,6 +1746,13 @@ def list_note_occurrences(
    16551746
    16561747
    .. code-block:: python
    16571748
    1749+
    # This snippet has been automatically generated and should be regarded as a
    1750+
    # code template only.
    1751+
    # It will require modifications to work:
    1752+
    # - It may require correct/in-range values for request initialization.
    1753+
    # - It may require specifying regional endpoints when creating the service
    1754+
    # client as shown in:
    1755+
    # https://googleapis.dev/python/google-api-core/latest/client_options.html
    16581756
    from grafeas import grafeas_v1
    16591757
    16601758
    def sample_list_note_occurrences():

    packages/grafeas/mypy.ini

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -1,3 +1,3 @@
    11
    [mypy]
    2-
    python_version = 3.6
    2+
    python_version = 3.7
    33
    namespace_packages = True

    0 commit comments

    Comments
     (0)
    0