Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 9c3f8f5

Browse files
chore: use gapic-generator-python 0.63.4 (#153)
* chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: googleapis/googleapis@ea58002 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ca893ff8af25fc7fe001de1405a517d80446ecca Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: delete duplicates Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Bu Sun Kim <[email protected]>
1 parent 5b58dde commit 9c3f8f5

File tree

25 files changed

+110
-121
lines changed

25 files changed

+110
-121
lines changed

google/cloud/functions_v1/services/cloud_functions_service/async_client.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ async def list_functions(
237237
requested project.
238238
239239
240-
.. code-block::
240+
.. code-block:: python
241241
242242
from google.cloud import functions_v1
243243
@@ -326,7 +326,7 @@ async def get_function(
326326
requested project.
327327
328328
329-
.. code-block::
329+
.. code-block:: python
330330
331331
from google.cloud import functions_v1
332332
@@ -433,7 +433,7 @@ async def create_function(
433433
operation will return ``ALREADY_EXISTS`` error.
434434
435435
436-
.. code-block::
436+
.. code-block:: python
437437
438438
from google.cloud import functions_v1
439439
@@ -550,7 +550,7 @@ async def update_function(
550550
) -> operation_async.AsyncOperation:
551551
r"""Updates existing function.
552552
553-
.. code-block::
553+
.. code-block:: python
554554
555555
from google.cloud import functions_v1
556556
@@ -674,7 +674,7 @@ async def delete_function(
674674
function.
675675
676676
677-
.. code-block::
677+
.. code-block:: python
678678
679679
from google.cloud import functions_v1
680680
@@ -804,7 +804,7 @@ async def call_function(
804804
Limits <https://cloud.google.com/functions/quotas#rate_limits>`__.
805805
806806
807-
.. code-block::
807+
.. code-block:: python
808808
809809
from google.cloud import functions_v1
810810
@@ -929,7 +929,7 @@ async def generate_upload_url(
929929
- ``Authorization: Bearer YOUR_TOKEN``
930930
931931
932-
.. code-block::
932+
.. code-block:: python
933933
934934
from google.cloud import functions_v1
935935
@@ -1000,7 +1000,7 @@ async def generate_download_url(
10001000
https://cloud.google.com/storage/docs/access-control/signed-urls
10011001
10021002
1003-
.. code-block::
1003+
.. code-block:: python
10041004
10051005
from google.cloud import functions_v1
10061006
@@ -1067,7 +1067,7 @@ async def set_iam_policy(
10671067
function. Replaces any existing policy.
10681068
10691069
1070-
.. code-block::
1070+
.. code-block:: python
10711071
10721072
from google.cloud import functions_v1
10731073
@@ -1194,7 +1194,7 @@ async def get_iam_policy(
11941194
not have a policy set.
11951195
11961196
1197-
.. code-block::
1197+
.. code-block:: python
11981198
11991199
from google.cloud import functions_v1
12001200
@@ -1321,7 +1321,7 @@ async def test_iam_permissions(
13211321
return an empty set of permissions, not a NOT_FOUND error.
13221322
13231323
1324-
.. code-block::
1324+
.. code-block:: python
13251325
13261326
from google.cloud import functions_v1
13271327

google/cloud/functions_v1/services/cloud_functions_service/client.py

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,7 @@ def list_functions(
460460
requested project.
461461
462462
463-
464-
.. code-block::
463+
.. code-block:: python
465464
466465
from google.cloud import functions_v1
467466
@@ -541,8 +540,7 @@ def get_function(
541540
requested project.
542541
543542
544-
545-
.. code-block::
543+
.. code-block:: python
546544
547545
from google.cloud import functions_v1
548546
@@ -639,8 +637,7 @@ def create_function(
639637
operation will return ``ALREADY_EXISTS`` error.
640638
641639
642-
643-
.. code-block::
640+
.. code-block:: python
644641
645642
from google.cloud import functions_v1
646643
@@ -757,8 +754,7 @@ def update_function(
757754
) -> operation.Operation:
758755
r"""Updates existing function.
759756
760-
761-
.. code-block::
757+
.. code-block:: python
762758
763759
from google.cloud import functions_v1
764760
@@ -872,8 +868,7 @@ def delete_function(
872868
function.
873869
874870
875-
876-
.. code-block::
871+
.. code-block:: python
877872
878873
from google.cloud import functions_v1
879874
@@ -993,8 +988,7 @@ def call_function(
993988
Limits <https://cloud.google.com/functions/quotas#rate_limits>`__.
994989
995990
996-
997-
.. code-block::
991+
.. code-block:: python
998992
999993
from google.cloud import functions_v1
1000994
@@ -1119,8 +1113,7 @@ def generate_upload_url(
11191113
- ``Authorization: Bearer YOUR_TOKEN``
11201114
11211115
1122-
1123-
.. code-block::
1116+
.. code-block:: python
11241117
11251118
from google.cloud import functions_v1
11261119
@@ -1192,8 +1185,7 @@ def generate_download_url(
11921185
https://cloud.google.com/storage/docs/access-control/signed-urls
11931186
11941187
1195-
1196-
.. code-block::
1188+
.. code-block:: python
11971189
11981190
from google.cloud import functions_v1
11991191
@@ -1261,8 +1253,7 @@ def set_iam_policy(
12611253
function. Replaces any existing policy.
12621254
12631255
1264-
1265-
.. code-block::
1256+
.. code-block:: python
12661257
12671258
from google.cloud import functions_v1
12681259
@@ -1388,8 +1379,7 @@ def get_iam_policy(
13881379
not have a policy set.
13891380
13901381
1391-
1392-
.. code-block::
1382+
.. code-block:: python
13931383
13941384
from google.cloud import functions_v1
13951385
@@ -1515,8 +1505,7 @@ def test_iam_permissions(
15151505
return an empty set of permissions, not a NOT_FOUND error.
15161506
15171507
1518-
1519-
.. code-block::
1508+
.. code-block:: python
15201509
15211510
from google.cloud import functions_v1
15221511
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-functions
2424

2525

26-
# [START cloudfunctions_generated_functions_v1_CloudFunctionsService_CallFunction_async]
26+
# [START cloudfunctions_v1_generated_CloudFunctionsService_CallFunction_async]
2727
from google.cloud import functions_v1
2828

2929

@@ -43,4 +43,4 @@ async def sample_call_function():
4343
# Handle the response
4444
print(response)
4545

46-
# [END cloudfunctions_generated_functions_v1_CloudFunctionsService_CallFunction_async]
46+
# [END cloudfunctions_v1_generated_CloudFunctionsService_CallFunction_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-functions
2424

2525

26-
# [START cloudfunctions_generated_functions_v1_CloudFunctionsService_CallFunction_sync]
26+
# [START cloudfunctions_v1_generated_CloudFunctionsService_CallFunction_sync]
2727
from google.cloud import functions_v1
2828

2929

@@ -43,4 +43,4 @@ def sample_call_function():
4343
# Handle the response
4444
print(response)
4545

46-
# [END cloudfunctions_generated_functions_v1_CloudFunctionsService_CallFunction_sync]
46+
# [END cloudfunctions_v1_generated_CloudFunctionsService_CallFunction_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-functions
2424

2525

26-
# [START cloudfunctions_generated_functions_v1_CloudFunctionsService_CreateFunction_async]
26+
# [START cloudfunctions_v1_generated_CloudFunctionsService_CreateFunction_async]
2727
from google.cloud import functions_v1
2828

2929

@@ -50,4 +50,4 @@ async def sample_create_function():
5050
# Handle the response
5151
print(response)
5252

53-
# [END cloudfunctions_generated_functions_v1_CloudFunctionsService_CreateFunction_async]
53+
# [END cloudfunctions_v1_generated_CloudFunctionsService_CreateFunction_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-functions
2424

2525

26-
# [START cloudfunctions_generated_functions_v1_CloudFunctionsService_CreateFunction_sync]
26+
# [START cloudfunctions_v1_generated_CloudFunctionsService_CreateFunction_sync]
2727
from google.cloud import functions_v1
2828

2929

@@ -50,4 +50,4 @@ def sample_create_function():
5050
# Handle the response
5151
print(response)
5252

53-
# [END cloudfunctions_generated_functions_v1_CloudFunctionsService_CreateFunction_sync]
53+
# [END cloudfunctions_v1_generated_CloudFunctionsService_CreateFunction_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-functions
2424

2525

26-
# [START cloudfunctions_generated_functions_v1_CloudFunctionsService_DeleteFunction_async]
26+
# [START cloudfunctions_v1_generated_CloudFunctionsService_DeleteFunction_async]
2727
from google.cloud import functions_v1
2828

2929

@@ -46,4 +46,4 @@ async def sample_delete_function():
4646
# Handle the response
4747
print(response)
4848

49-
# [END cloudfunctions_generated_functions_v1_CloudFunctionsService_DeleteFunction_async]
49+
# [END cloudfunctions_v1_generated_CloudFunctionsService_DeleteFunction_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-functions
2424

2525

26-
# [START cloudfunctions_generated_functions_v1_CloudFunctionsService_DeleteFunction_sync]
26+
# [START cloudfunctions_v1_generated_CloudFunctionsService_DeleteFunction_sync]
2727
from google.cloud import functions_v1
2828

2929

@@ -46,4 +46,4 @@ def sample_delete_function():
4646
# Handle the response
4747
print(response)
4848

49-
# [END cloudfunctions_generated_functions_v1_CloudFunctionsService_DeleteFunction_sync]
49+
# [END cloudfunctions_v1_generated_CloudFunctionsService_DeleteFunction_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-functions
2424

2525

26-
# [START cloudfunctions_generated_functions_v1_CloudFunctionsService_GenerateDownloadUrl_async]
26+
# [START cloudfunctions_v1_generated_CloudFunctionsService_GenerateDownloadUrl_async]
2727
from google.cloud import functions_v1
2828

2929

@@ -41,4 +41,4 @@ async def sample_generate_download_url():
4141
# Handle the response
4242
print(response)
4343

44-
# [END cloudfunctions_generated_functions_v1_CloudFunctionsService_GenerateDownloadUrl_async]
44+
# [END cloudfunctions_v1_generated_CloudFunctionsService_GenerateDownloadUrl_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-functions
2424

2525

26-
# [START cloudfunctions_generated_functions_v1_CloudFunctionsService_GenerateDownloadUrl_sync]
26+
# [START cloudfunctions_v1_generated_CloudFunctionsService_GenerateDownloadUrl_sync]
2727
from google.cloud import functions_v1
2828

2929

@@ -41,4 +41,4 @@ def sample_generate_download_url():
4141
# Handle the response
4242
print(response)
4343

44-
# [END cloudfunctions_generated_functions_v1_CloudFunctionsService_GenerateDownloadUrl_sync]
44+
# [END cloudfunctions_v1_generated_CloudFunctionsService_GenerateDownloadUrl_sync]

0 commit comments

Comments
 (0)