From 7d8d2a3a290c3dbd6b3aca64ffa44e4d9fcefa6f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 26 Jan 2021 08:06:02 -0800 Subject: [PATCH] chore: update templates (#92) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/008ce5bf-87d6-4df6-a516-9e6d6ecebea4/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/41a4e56982620d3edcf110d76f4fcdfdec471ac8 Source-Link: https://github.com/googleapis/synthtool/commit/f15b57ccfd71106c2299e9b89835fe6e55015662 --- packages/google-cloud-vision/LICENSE | 7 ++++--- packages/google-cloud-vision/docs/_static/custom.css | 7 ++++++- .../google-cloud-vision/google/cloud/vision_v1/__init__.py | 4 ++-- .../google/cloud/vision_v1p3beta1/__init__.py | 4 ++-- packages/google-cloud-vision/synth.metadata | 6 +++--- 5 files changed, 17 insertions(+), 11 deletions(-) diff --git a/packages/google-cloud-vision/LICENSE b/packages/google-cloud-vision/LICENSE index a8ee855de2aa..d64569567334 100644 --- a/packages/google-cloud-vision/LICENSE +++ b/packages/google-cloud-vision/LICENSE @@ -1,6 +1,7 @@ - Apache License + + Apache License Version 2.0, January 2004 - https://www.apache.org/licenses/ + http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -192,7 +193,7 @@ you may not use this file except in compliance with the License. You may obtain a copy of the License at - https://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/packages/google-cloud-vision/docs/_static/custom.css b/packages/google-cloud-vision/docs/_static/custom.css index 0abaf229fce3..bcd37bbd3c4a 100644 --- a/packages/google-cloud-vision/docs/_static/custom.css +++ b/packages/google-cloud-vision/docs/_static/custom.css @@ -1,4 +1,9 @@ div#python2-eol { border-color: red; border-width: medium; -} \ No newline at end of file +} + +/* Ensure minimum width for 'Parameters' / 'Returns' column */ +dl.field-list > dt { + min-width: 100px +} diff --git a/packages/google-cloud-vision/google/cloud/vision_v1/__init__.py b/packages/google-cloud-vision/google/cloud/vision_v1/__init__.py index df7114a854ac..8b1d075ac4a0 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1/__init__.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1/__init__.py @@ -152,6 +152,7 @@ class ImageAnnotatorClient(VisionHelpers, IacImageAnnotatorClient): "GetReferenceImageRequest", "Image", "ImageAnnotationContext", + "ImageAnnotatorClient", "ImageContext", "ImageProperties", "ImageSource", @@ -179,7 +180,6 @@ class ImageAnnotatorClient(VisionHelpers, IacImageAnnotatorClient): "Paragraph", "Position", "Product", - "ProductSearchClient", "ProductSearchParams", "ProductSearchResults", "ProductSet", @@ -198,5 +198,5 @@ class ImageAnnotatorClient(VisionHelpers, IacImageAnnotatorClient): "WebDetection", "WebDetectionParams", "Word", - "ImageAnnotatorClient", + "ProductSearchClient", ) diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/__init__.py b/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/__init__.py index c00754cf6aa4..b38431b4e02a 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/__init__.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/__init__.py @@ -143,7 +143,6 @@ class ImageAnnotatorClient(VisionHelpers, IacImageAnnotatorClient): "GetReferenceImageRequest", "Image", "ImageAnnotationContext", - "ImageAnnotatorClient", "ImageContext", "ImageProperties", "ImageSource", @@ -173,6 +172,7 @@ class ImageAnnotatorClient(VisionHelpers, IacImageAnnotatorClient): "Position", "Product", "ProductSearchCategory", + "ProductSearchClient", "ProductSearchParams", "ProductSearchResults", "ProductSearchResultsView", @@ -190,5 +190,5 @@ class ImageAnnotatorClient(VisionHelpers, IacImageAnnotatorClient): "WebDetection", "WebDetectionParams", "Word", - "ProductSearchClient", + "ImageAnnotatorClient", ) diff --git a/packages/google-cloud-vision/synth.metadata b/packages/google-cloud-vision/synth.metadata index 442a9ce45e8c..a706fe1a5cfa 100644 --- a/packages/google-cloud-vision/synth.metadata +++ b/packages/google-cloud-vision/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-vision.git", - "sha": "a06fb3c54f4210d28baa005dc836b3db82aa56ec" + "sha": "62f5df93426f6d7fd796a470c2fa049f90dd56ed" } }, { @@ -19,14 +19,14 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "373861061648b5fe5e0ac4f8a38b32d639ee93e4" + "sha": "41a4e56982620d3edcf110d76f4fcdfdec471ac8" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "373861061648b5fe5e0ac4f8a38b32d639ee93e4" + "sha": "41a4e56982620d3edcf110d76f4fcdfdec471ac8" } } ],