Skip to content

Commit a73e3c8

Browse files
chore: use gapic-generator-python 0.63.4 (#589)
* 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: googleapis/googleapis-gen@ca893ff 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 <8822365+busunkim96@users.noreply.github.com>
1 parent 7f7d5b7 commit a73e3c8

File tree

69 files changed

+310
-341
lines changed

Some content is hidden

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

69 files changed

+310
-341
lines changed

packages/google-cloud-pubsub/google/pubsub_v1/services/publisher/async_client.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ async def create_topic(
221221
(https://cloud.google.com/pubsub/docs/admin#resource_names).
222222
223223
224-
.. code-block::
224+
.. code-block:: python
225225
226226
from google import pubsub_v1
227227
@@ -325,7 +325,7 @@ async def update_topic(
325325
properties of a topic are not modifiable.
326326
327327
328-
.. code-block::
328+
.. code-block:: python
329329
330330
from google import pubsub_v1
331331
@@ -409,7 +409,7 @@ async def publish(
409409
the topic does not exist.
410410
411411
412-
.. code-block::
412+
.. code-block:: python
413413
414414
from google import pubsub_v1
415415
@@ -520,7 +520,7 @@ async def get_topic(
520520
) -> pubsub.Topic:
521521
r"""Gets the configuration of a topic.
522522
523-
.. code-block::
523+
.. code-block:: python
524524
525525
from google import pubsub_v1
526526
@@ -619,7 +619,7 @@ async def list_topics(
619619
) -> pagers.ListTopicsAsyncPager:
620620
r"""Lists matching topics.
621621
622-
.. code-block::
622+
.. code-block:: python
623623
624624
from google import pubsub_v1
625625
@@ -731,7 +731,7 @@ async def list_topic_subscriptions(
731731
topic.
732732
733733
734-
.. code-block::
734+
.. code-block:: python
735735
736736
from google import pubsub_v1
737737
@@ -849,7 +849,7 @@ async def list_topic_snapshots(
849849
in an existing subscription to the state captured by a snapshot.
850850
851851
852-
.. code-block::
852+
.. code-block:: python
853853
854854
from google import pubsub_v1
855855
@@ -967,7 +967,7 @@ async def delete_topic(
967967
field is set to ``_deleted-topic_``.
968968
969969
970-
.. code-block::
970+
.. code-block:: python
971971
972972
from google import pubsub_v1
973973
@@ -1061,7 +1061,7 @@ async def detach_subscription(
10611061
will stop.
10621062
10631063
1064-
.. code-block::
1064+
.. code-block:: python
10651065
10661066
from google import pubsub_v1
10671067

packages/google-cloud-pubsub/google/pubsub_v1/services/publisher/client.py

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,7 @@ def create_topic(
469469
(https://cloud.google.com/pubsub/docs/admin#resource_names).
470470
471471
472-
473-
.. code-block::
472+
.. code-block:: python
474473
475474
from google import pubsub_v1
476475
@@ -566,8 +565,7 @@ def update_topic(
566565
properties of a topic are not modifiable.
567566
568567
569-
570-
.. code-block::
568+
.. code-block:: python
571569
572570
from google import pubsub_v1
573571
@@ -644,8 +642,7 @@ def publish(
644642
the topic does not exist.
645643
646644
647-
648-
.. code-block::
645+
.. code-block:: python
649646
650647
from google import pubsub_v1
651648
@@ -742,8 +739,7 @@ def get_topic(
742739
) -> pubsub.Topic:
743740
r"""Gets the configuration of a topic.
744741
745-
746-
.. code-block::
742+
.. code-block:: python
747743
748744
from google import pubsub_v1
749745
@@ -832,8 +828,7 @@ def list_topics(
832828
) -> pagers.ListTopicsPager:
833829
r"""Lists matching topics.
834830
835-
836-
.. code-block::
831+
.. code-block:: python
837832
838833
from google import pubsub_v1
839834
@@ -935,8 +930,7 @@ def list_topic_subscriptions(
935930
topic.
936931
937932
938-
939-
.. code-block::
933+
.. code-block:: python
940934
941935
from google import pubsub_v1
942936
@@ -1044,8 +1038,7 @@ def list_topic_snapshots(
10441038
in an existing subscription to the state captured by a snapshot.
10451039
10461040
1047-
1048-
.. code-block::
1041+
.. code-block:: python
10491042
10501043
from google import pubsub_v1
10511044
@@ -1153,8 +1146,7 @@ def delete_topic(
11531146
field is set to ``_deleted-topic_``.
11541147
11551148
1156-
1157-
.. code-block::
1149+
.. code-block:: python
11581150
11591151
from google import pubsub_v1
11601152
@@ -1240,8 +1232,7 @@ def detach_subscription(
12401232
will stop.
12411233
12421234
1243-
1244-
.. code-block::
1235+
.. code-block:: python
12451236
12461237
from google import pubsub_v1
12471238

packages/google-cloud-pubsub/google/pubsub_v1/services/schema_service/async_client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ async def create_schema(
218218
) -> gp_schema.Schema:
219219
r"""Creates a schema.
220220
221-
.. code-block::
221+
.. code-block:: python
222222
223223
from google import pubsub_v1
224224
@@ -334,7 +334,7 @@ async def get_schema(
334334
) -> schema.Schema:
335335
r"""Gets a schema.
336336
337-
.. code-block::
337+
.. code-block:: python
338338
339339
from google import pubsub_v1
340340
@@ -421,7 +421,7 @@ async def list_schemas(
421421
) -> pagers.ListSchemasAsyncPager:
422422
r"""Lists schemas in a project.
423423
424-
.. code-block::
424+
.. code-block:: python
425425
426426
from google import pubsub_v1
427427
@@ -520,7 +520,7 @@ async def delete_schema(
520520
) -> None:
521521
r"""Deletes a schema.
522522
523-
.. code-block::
523+
.. code-block:: python
524524
525525
from google import pubsub_v1
526526
@@ -601,7 +601,7 @@ async def validate_schema(
601601
) -> gp_schema.ValidateSchemaResponse:
602602
r"""Validates a schema.
603603
604-
.. code-block::
604+
.. code-block:: python
605605
606606
from google import pubsub_v1
607607
@@ -703,7 +703,7 @@ async def validate_message(
703703
) -> schema.ValidateMessageResponse:
704704
r"""Validates a message against a schema.
705705
706-
.. code-block::
706+
.. code-block:: python
707707
708708
from google import pubsub_v1
709709

packages/google-cloud-pubsub/google/pubsub_v1/services/schema_service/client.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,7 @@ def create_schema(
410410
) -> gp_schema.Schema:
411411
r"""Creates a schema.
412412
413-
414-
.. code-block::
413+
.. code-block:: python
415414
416415
from google import pubsub_v1
417416
@@ -527,8 +526,7 @@ def get_schema(
527526
) -> schema.Schema:
528527
r"""Gets a schema.
529528
530-
531-
.. code-block::
529+
.. code-block:: python
532530
533531
from google import pubsub_v1
534532
@@ -615,8 +613,7 @@ def list_schemas(
615613
) -> pagers.ListSchemasPager:
616614
r"""Lists schemas in a project.
617615
618-
619-
.. code-block::
616+
.. code-block:: python
620617
621618
from google import pubsub_v1
622619
@@ -715,8 +712,7 @@ def delete_schema(
715712
) -> None:
716713
r"""Deletes a schema.
717714
718-
719-
.. code-block::
715+
.. code-block:: python
720716
721717
from google import pubsub_v1
722718
@@ -797,8 +793,7 @@ def validate_schema(
797793
) -> gp_schema.ValidateSchemaResponse:
798794
r"""Validates a schema.
799795
800-
801-
.. code-block::
796+
.. code-block:: python
802797
803798
from google import pubsub_v1
804799
@@ -900,8 +895,7 @@ def validate_message(
900895
) -> schema.ValidateMessageResponse:
901896
r"""Validates a message against a schema.
902897
903-
904-
.. code-block::
898+
.. code-block:: python
905899
906900
from google import pubsub_v1
907901

0 commit comments

Comments
 (0)