Skip to content

Commit

Permalink
chore: Update gapic-generator-python to v1.11.9 (#559)
Browse files Browse the repository at this point in the history
* chore: Update gapic-generator-python to v1.11.7

PiperOrigin-RevId: 573230664

Source-Link: googleapis/googleapis@93beed3

Source-Link: googleapis/googleapis-gen@f4a4eda
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjRhNGVkYWE4MDU3NjM5ZmNmNmFkZjkxNzk4NzIyODBkMWE4ZjY1MSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: Update gapic-generator-python to v1.11.8

PiperOrigin-RevId: 574178735

Source-Link: googleapis/googleapis@7307199

Source-Link: googleapis/googleapis-gen@ce3af21
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2UzYWYyMWI3YzU1OWE4N2MyYmVmYzA3NmJlMGUzYWVkYTNhMjZmMCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: Update gapic-generator-python to v1.11.9

PiperOrigin-RevId: 574520922

Source-Link: googleapis/googleapis@5183984

Source-Link: googleapis/googleapis-gen@a59af19
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTU5YWYxOWQ0YWM2NTA5ZmFlZGYxY2MzOTAyOTE0MWI2YTViODk2OCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* update index.rst; remove unused files

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
  • Loading branch information
3 people authored Oct 20, 2023
1 parent 0dc9064 commit ebe236e
Show file tree
Hide file tree
Showing 17 changed files with 1,421 additions and 463 deletions.
16 changes: 8 additions & 8 deletions packages/google-cloud-vision/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ API. By default, you will get ``v1``, the latest stable version.
.. toctree::
:maxdepth: 2

vision_v1/services
vision_v1/types
vision_v1/services_
vision_v1/types_


A new beta release with additional features over the current stable version,
Expand All @@ -96,8 +96,8 @@ usual beta admonishment (changes are possible, etc.) applies.
.. toctree::
:maxdepth: 2

vision_v1p4beta1/services
vision_v1p4beta1/types
vision_v1p4beta1/services_
vision_v1p4beta1/types_

Previous beta releases ``v1p3beta1`` and ``v1p2beta1`` are provided as well.

Expand All @@ -106,17 +106,17 @@ An API and type reference is provided for ``v1p3beta1``:
.. toctree::
:maxdepth: 2

vision_v1p3beta1/services
vision_v1p3beta1/types
vision_v1p3beta1/services_
vision_v1p3beta1/types_


An API and type reference is provided for ``v1p2beta1``:

.. toctree::
:maxdepth: 2

vision_v1p2beta1/services
vision_v1p2beta1/types
vision_v1p2beta1/services_
vision_v1p2beta1/types_

Migration Guide
---------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1585,8 +1585,9 @@ def test_batch_annotate_images_rest(request_type):
# Wrap the value into a proper Response obj
response_value = Response()
response_value.status_code = 200
pb_return_value = image_annotator.BatchAnnotateImagesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateImagesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)

response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value
Expand Down Expand Up @@ -1656,10 +1657,9 @@ def test_batch_annotate_images_rest_required_fields(
response_value = Response()
response_value.status_code = 200

pb_return_value = image_annotator.BatchAnnotateImagesResponse.pb(
return_value
)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateImagesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)

response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value
Expand Down Expand Up @@ -1788,8 +1788,9 @@ def test_batch_annotate_images_rest_flattened():
# Wrap the value into a proper Response obj
response_value = Response()
response_value.status_code = 200
pb_return_value = image_annotator.BatchAnnotateImagesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateImagesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)
response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value

Expand Down Expand Up @@ -1854,8 +1855,9 @@ def test_batch_annotate_files_rest(request_type):
# Wrap the value into a proper Response obj
response_value = Response()
response_value.status_code = 200
pb_return_value = image_annotator.BatchAnnotateFilesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateFilesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)

response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value
Expand Down Expand Up @@ -1925,10 +1927,9 @@ def test_batch_annotate_files_rest_required_fields(
response_value = Response()
response_value.status_code = 200

pb_return_value = image_annotator.BatchAnnotateFilesResponse.pb(
return_value
)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateFilesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)

response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value
Expand Down Expand Up @@ -2059,8 +2060,9 @@ def test_batch_annotate_files_rest_flattened():
# Wrap the value into a proper Response obj
response_value = Response()
response_value.status_code = 200
pb_return_value = image_annotator.BatchAnnotateFilesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateFilesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)
response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value

Expand Down
Loading

0 comments on commit ebe236e

Please sign in to comment.