Skip to content

Commit ec61dac

Browse files
chore: use gapic-generator-python 0.63.4 (#308)
* chore: copy samples 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md 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 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 65fedc4 commit ec61dac

File tree

16 files changed

+138
-207
lines changed

16 files changed

+138
-207
lines changed

packages/google-cloud-vision/google/cloud/vision_v1/services/image_annotator/async_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ async def batch_annotate_images(
222222
images.
223223
224224
225-
.. code-block::
225+
.. code-block:: python
226226
227227
from google.cloud import vision_v1
228228
@@ -323,7 +323,7 @@ async def batch_annotate_files(
323323
extracted.
324324
325325
326-
.. code-block::
326+
.. code-block:: python
327327
328328
from google.cloud import vision_v1
329329
@@ -429,7 +429,7 @@ async def async_batch_annotate_images(
429429
BatchAnnotateImagesResponse proto.
430430
431431
432-
.. code-block::
432+
.. code-block:: python
433433
434434
from google.cloud import vision_v1
435435
@@ -553,7 +553,7 @@ async def async_batch_annotate_files(
553553
``AsyncBatchAnnotateFilesResponse`` (results).
554554
555555
556-
.. code-block::
556+
.. code-block:: python
557557
558558
from google.cloud import vision_v1
559559

packages/google-cloud-vision/google/cloud/vision_v1/services/image_annotator/client.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,7 @@ def batch_annotate_images(
433433
images.
434434
435435
436-
437-
.. code-block::
436+
.. code-block:: python
438437
439438
from google.cloud import vision_v1
440439
@@ -528,8 +527,7 @@ def batch_annotate_files(
528527
extracted.
529528
530529
531-
532-
.. code-block::
530+
.. code-block:: python
533531
534532
from google.cloud import vision_v1
535533
@@ -628,8 +626,7 @@ def async_batch_annotate_images(
628626
BatchAnnotateImagesResponse proto.
629627
630628
631-
632-
.. code-block::
629+
.. code-block:: python
633630
634631
from google.cloud import vision_v1
635632
@@ -748,8 +745,7 @@ def async_batch_annotate_files(
748745
``AsyncBatchAnnotateFilesResponse`` (results).
749746
750747
751-
752-
.. code-block::
748+
.. code-block:: python
753749
754750
from google.cloud import vision_v1
755751

packages/google-cloud-vision/google/cloud/vision_v1/services/product_search/async_client.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ async def create_product_set(
252252
longer than 4096 characters.
253253
254254
255-
.. code-block::
255+
.. code-block:: python
256256
257257
from google.cloud import vision_v1
258258
@@ -379,7 +379,7 @@ async def list_product_sets(
379379
less than 1.
380380
381381
382-
.. code-block::
382+
.. code-block:: python
383383
384384
from google.cloud import vision_v1
385385
@@ -495,7 +495,7 @@ async def get_product_set(
495495
- Returns NOT_FOUND if the ProductSet does not exist.
496496
497497
498-
.. code-block::
498+
.. code-block:: python
499499
500500
from google.cloud import vision_v1
501501
@@ -610,7 +610,7 @@ async def update_product_set(
610610
characters.
611611
612612
613-
.. code-block::
613+
.. code-block:: python
614614
615615
from google.cloud import vision_v1
616616
@@ -729,7 +729,7 @@ async def delete_product_set(
729729
Storage.
730730
731731
732-
.. code-block::
732+
.. code-block:: python
733733
734734
from google.cloud import vision_v1
735735
@@ -833,7 +833,7 @@ async def create_product(
833833
invalid.
834834
835835
836-
.. code-block::
836+
.. code-block:: python
837837
838838
from google.cloud import vision_v1
839839
@@ -955,7 +955,7 @@ async def list_products(
955955
less than 1.
956956
957957
958-
.. code-block::
958+
.. code-block:: python
959959
960960
from google.cloud import vision_v1
961961
@@ -1071,7 +1071,7 @@ async def get_product(
10711071
- Returns NOT_FOUND if the Product does not exist.
10721072
10731073
1074-
.. code-block::
1074+
.. code-block:: python
10751075
10761076
from google.cloud import vision_v1
10771077
@@ -1188,7 +1188,7 @@ async def update_product(
11881188
update_mask.
11891189
11901190
1191-
.. code-block::
1191+
.. code-block:: python
11921192
11931193
from google.cloud import vision_v1
11941194
@@ -1306,7 +1306,7 @@ async def delete_product(
13061306
all related caches are refreshed.
13071307
13081308
1309-
.. code-block::
1309+
.. code-block:: python
13101310
13111311
from google.cloud import vision_v1
13121312
@@ -1422,7 +1422,7 @@ async def create_reference_image(
14221422
10 polygons.
14231423
14241424
1425-
.. code-block::
1425+
.. code-block:: python
14261426
14271427
from google.cloud import vision_v1
14281428
@@ -1555,7 +1555,7 @@ async def delete_reference_image(
15551555
Storage.
15561556
15571557
1558-
.. code-block::
1558+
.. code-block:: python
15591559
15601560
from google.cloud import vision_v1
15611561
@@ -1655,7 +1655,7 @@ async def list_reference_images(
16551655
100, or less than 1.
16561656
16571657
1658-
.. code-block::
1658+
.. code-block:: python
16591659
16601660
from google.cloud import vision_v1
16611661
@@ -1772,7 +1772,7 @@ async def get_reference_image(
17721772
- Returns NOT_FOUND if the specified image does not exist.
17731773
17741774
1775-
.. code-block::
1775+
.. code-block:: python
17761776
17771777
from google.cloud import vision_v1
17781778
@@ -1887,7 +1887,7 @@ async def add_product_to_product_set(
18871887
exist.
18881888
18891889
1890-
.. code-block::
1890+
.. code-block:: python
18911891
18921892
from google.cloud import vision_v1
18931893
@@ -1996,7 +1996,7 @@ async def remove_product_from_product_set(
19961996
) -> None:
19971997
r"""Removes a Product from the specified ProductSet.
19981998
1999-
.. code-block::
1999+
.. code-block:: python
20002000
20012001
from google.cloud import vision_v1
20022002
@@ -2112,7 +2112,7 @@ async def list_products_in_product_set(
21122112
less than 1.
21132113
21142114
2115-
.. code-block::
2115+
.. code-block:: python
21162116
21172117
from google.cloud import vision_v1
21182118
@@ -2238,7 +2238,7 @@ async def import_product_sets(
22382238
[ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1.ImportProductSetsGcsSource.csv_file_uri].
22392239
22402240
2241-
.. code-block::
2241+
.. code-block:: python
22422242
22432243
from google.cloud import vision_v1
22442244
@@ -2394,7 +2394,7 @@ async def purge_products(
23942394
``BatchOperationMetadata``. (progress)
23952395
23962396
2397-
.. code-block::
2397+
.. code-block:: python
23982398
23992399
from google.cloud import vision_v1
24002400

0 commit comments

Comments
 (0)