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 Jul 6, 2023. It is now read-only.

Commit fd8e2bc

Browse filesBrowse files
chore: Bump gapic-generator-python version to 1.3.0 (#171)
- [ ] 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 bd36033 commit fd8e2bc
Copy full SHA for fd8e2bc

File tree

Expand file treeCollapse file tree

36 files changed

+769
-321
lines changed
Filter options
Expand file treeCollapse file tree

36 files changed

+769
-321
lines changed

‎google/cloud/eventarc_v1/services/eventarc/async_client.py

Copy file name to clipboardExpand all lines: google/cloud/eventarc_v1/services/eventarc/async_client.py
+112Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,13 @@ async def get_trigger(
235235
236236
.. code-block:: python
237237
238+
# This snippet has been automatically generated and should be regarded as a
239+
# code template only.
240+
# It will require modifications to work:
241+
# - It may require correct/in-range values for request initialization.
242+
# - It may require specifying regional endpoints when creating the service
243+
# client as shown in:
244+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
238245
from google.cloud import eventarc_v1
239246
240247
async def sample_get_trigger():
@@ -330,6 +337,13 @@ async def list_triggers(
330337
331338
.. code-block:: python
332339
340+
# This snippet has been automatically generated and should be regarded as a
341+
# code template only.
342+
# It will require modifications to work:
343+
# - It may require correct/in-range values for request initialization.
344+
# - It may require specifying regional endpoints when creating the service
345+
# client as shown in:
346+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
333347
from google.cloud import eventarc_v1
334348
335349
async def sample_list_triggers():
@@ -440,6 +454,13 @@ async def create_trigger(
440454
441455
.. code-block:: python
442456
457+
# This snippet has been automatically generated and should be regarded as a
458+
# code template only.
459+
# It will require modifications to work:
460+
# - It may require correct/in-range values for request initialization.
461+
# - It may require specifying regional endpoints when creating the service
462+
# client as shown in:
463+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
443464
from google.cloud import eventarc_v1
444465
445466
async def sample_create_trigger():
@@ -578,6 +599,13 @@ async def update_trigger(
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 eventarc_v1
582610
583611
async def sample_update_trigger():
@@ -710,6 +738,13 @@ async def delete_trigger(
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 eventarc_v1
714749
715750
async def sample_delete_trigger():
@@ -831,6 +866,13 @@ async def get_channel(
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 google.cloud import eventarc_v1
835877
836878
async def sample_get_channel():
@@ -932,6 +974,13 @@ async def list_channels(
932974
933975
.. code-block:: python
934976
977+
# This snippet has been automatically generated and should be regarded as a
978+
# code template only.
979+
# It will require modifications to work:
980+
# - It may require correct/in-range values for request initialization.
981+
# - It may require specifying regional endpoints when creating the service
982+
# client as shown in:
983+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
935984
from google.cloud import eventarc_v1
936985
937986
async def sample_list_channels():
@@ -1042,6 +1091,13 @@ async def create_channel(
10421091
10431092
.. code-block:: python
10441093
1094+
# This snippet has been automatically generated and should be regarded as a
1095+
# code template only.
1096+
# It will require modifications to work:
1097+
# - It may require correct/in-range values for request initialization.
1098+
# - It may require specifying regional endpoints when creating the service
1099+
# client as shown in:
1100+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10451101
from google.cloud import eventarc_v1
10461102
10471103
async def sample_create_channel():
@@ -1180,6 +1236,13 @@ async def update_channel(
11801236
11811237
.. code-block:: python
11821238
1239+
# This snippet has been automatically generated and should be regarded as a
1240+
# code template only.
1241+
# It will require modifications to work:
1242+
# - It may require correct/in-range values for request initialization.
1243+
# - It may require specifying regional endpoints when creating the service
1244+
# client as shown in:
1245+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11831246
from google.cloud import eventarc_v1
11841247
11851248
async def sample_update_channel():
@@ -1304,6 +1367,13 @@ async def delete_channel(
13041367
13051368
.. code-block:: python
13061369
1370+
# This snippet has been automatically generated and should be regarded as a
1371+
# code template only.
1372+
# It will require modifications to work:
1373+
# - It may require correct/in-range values for request initialization.
1374+
# - It may require specifying regional endpoints when creating the service
1375+
# client as shown in:
1376+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13071377
from google.cloud import eventarc_v1
13081378
13091379
async def sample_delete_channel():
@@ -1418,6 +1488,13 @@ async def get_provider(
14181488
14191489
.. code-block:: python
14201490
1491+
# This snippet has been automatically generated and should be regarded as a
1492+
# code template only.
1493+
# It will require modifications to work:
1494+
# - It may require correct/in-range values for request initialization.
1495+
# - It may require specifying regional endpoints when creating the service
1496+
# client as shown in:
1497+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
14211498
from google.cloud import eventarc_v1
14221499
14231500
async def sample_get_provider():
@@ -1513,6 +1590,13 @@ async def list_providers(
15131590
15141591
.. code-block:: python
15151592
1593+
# This snippet has been automatically generated and should be regarded as a
1594+
# code template only.
1595+
# It will require modifications to work:
1596+
# - It may require correct/in-range values for request initialization.
1597+
# - It may require specifying regional endpoints when creating the service
1598+
# client as shown in:
1599+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
15161600
from google.cloud import eventarc_v1
15171601
15181602
async def sample_list_providers():
@@ -1620,6 +1704,13 @@ async def get_channel_connection(
16201704
16211705
.. code-block:: python
16221706
1707+
# This snippet has been automatically generated and should be regarded as a
1708+
# code template only.
1709+
# It will require modifications to work:
1710+
# - It may require correct/in-range values for request initialization.
1711+
# - It may require specifying regional endpoints when creating the service
1712+
# client as shown in:
1713+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
16231714
from google.cloud import eventarc_v1
16241715
16251716
async def sample_get_channel_connection():
@@ -1720,6 +1811,13 @@ async def list_channel_connections(
17201811
17211812
.. code-block:: python
17221813
1814+
# This snippet has been automatically generated and should be regarded as a
1815+
# code template only.
1816+
# It will require modifications to work:
1817+
# - It may require correct/in-range values for request initialization.
1818+
# - It may require specifying regional endpoints when creating the service
1819+
# client as shown in:
1820+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
17231821
from google.cloud import eventarc_v1
17241822
17251823
async def sample_list_channel_connections():
@@ -1831,6 +1929,13 @@ async def create_channel_connection(
18311929
18321930
.. code-block:: python
18331931
1932+
# This snippet has been automatically generated and should be regarded as a
1933+
# code template only.
1934+
# It will require modifications to work:
1935+
# - It may require correct/in-range values for request initialization.
1936+
# - It may require specifying regional endpoints when creating the service
1937+
# client as shown in:
1938+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
18341939
from google.cloud import eventarc_v1
18351940
18361941
async def sample_create_channel_connection():
@@ -1967,6 +2072,13 @@ async def delete_channel_connection(
19672072
19682073
.. code-block:: python
19692074
2075+
# This snippet has been automatically generated and should be regarded as a
2076+
# code template only.
2077+
# It will require modifications to work:
2078+
# - It may require correct/in-range values for request initialization.
2079+
# - It may require specifying regional endpoints when creating the service
2080+
# client as shown in:
2081+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
19702082
from google.cloud import eventarc_v1
19712083
19722084
async def sample_delete_channel_connection():

0 commit comments

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