docs: update docs (#916)

* fix: re-run script

* test: fix noxfile
diff --git a/docs/dyn/vision_v1p2beta1.images.html b/docs/dyn/vision_v1p2beta1.images.html
index 70ff199..03fd05b 100644
--- a/docs/dyn/vision_v1p2beta1.images.html
+++ b/docs/dyn/vision_v1p2beta1.images.html
@@ -90,18 +90,6 @@
     The object takes the form of:
 
 { # Multiple image annotation requests are batched into a single service call.
-    "parent": "A String", # Optional. Target project and location to make a call.
-        # 
-        # Format: `projects/{project-id}/locations/{location-id}`.
-        # 
-        # If no parent is specified, a region will be chosen automatically.
-        # 
-        # Supported location-ids:
-        #     `us`: USA country only,
-        #     `asia`: East asia areas, like Japan, Taiwan,
-        #     `eu`: The European Union.
-        # 
-        # Example: `projects/project-A/locations/eu`.
     "requests": [ # Required. Individual image annotation requests for this batch.
       { # Request for performing Google Cloud Vision API tasks over a user-provided
           # image, with user-requested features, and with context information.
@@ -112,6 +100,12 @@
           "source": { # External image source (Google Cloud Storage or web URL image location). # Google Cloud Storage image location, or publicly-accessible image
               # URL. If both `content` and `source` are provided for an image, `content`
               # takes precedence and is used to perform the image annotation request.
+            "gcsImageUri": "A String", # **Use `image_uri` instead.**
+                #
+                # The Google Cloud Storage  URI of the form
+                # `gs://bucket_name/object_name`. Object versioning is not supported. See
+                # [Google Cloud Storage Request
+                # URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.
             "imageUri": "A String", # The URI of the source image. Can be either:
                 #
                 # 1. A Google Cloud Storage URI of the form
@@ -129,12 +123,6 @@
                 #
                 # When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes
                 # precedence.
-            "gcsImageUri": "A String", # **Use `image_uri` instead.**
-                #
-                # The Google Cloud Storage  URI of the form
-                # `gs://bucket_name/object_name`. Object versioning is not supported. See
-                # [Google Cloud Storage Request
-                # URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.
           },
         },
         "features": [ # Requested features.
@@ -150,37 +138,6 @@
           },
         ],
         "imageContext": { # Image context and/or feature-specific parameters. # Additional context that may accompany the image.
-          "languageHints": [ # List of languages to use for TEXT_DETECTION. In most cases, an empty value
-              # yields the best results since it enables automatic language detection. For
-              # languages based on the Latin alphabet, setting `language_hints` is not
-              # needed. In rare cases, when the language of the text in the image is known,
-              # setting a hint will help get better results (although it will be a
-              # significant hindrance if the hint is wrong). Text detection returns an
-              # error if one or more of the specified languages is not one of the
-              # [supported languages](https://cloud.google.com/vision/docs/languages).
-            "A String",
-          ],
-          "webDetectionParams": { # Parameters for web detection request. # Parameters for web detection.
-            "includeGeoResults": True or False, # Whether to include results derived from the geo information in the image.
-          },
-          "latLongRect": { # Rectangle determined by min and max `LatLng` pairs. # Not used.
-            "minLatLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # Min lat/long pair.
-                # of doubles representing degrees latitude and degrees longitude. Unless
-                # specified otherwise, this must conform to the
-                # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
-                # standard</a>. Values must be within normalized ranges.
-              "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
-              "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
-            },
-            "maxLatLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # Max lat/long pair.
-                # of doubles representing degrees latitude and degrees longitude. Unless
-                # specified otherwise, this must conform to the
-                # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
-                # standard</a>. Values must be within normalized ranges.
-              "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
-              "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
-            },
-          },
           "cropHintsParams": { # Parameters for crop hints annotation request. # Parameters for crop hints annotation request.
             "aspectRatios": [ # Aspect ratios in floats, representing the ratio of the width to the height
                 # of the image. For example, if the desired aspect ratio is 4/3, the
@@ -192,28 +149,6 @@
             ],
           },
           "productSearchParams": { # Parameters for a product search request. # Parameters for product search.
-            "productSet": "A String", # The resource name of a ProductSet to be searched for similar images.
-                #
-                # Format is:
-                # `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
-            "boundingPoly": { # A bounding polygon for the detected image annotation. # The bounding polygon around the area of interest in the image.
-                # If it is not specified, system discretion will be applied.
-              "normalizedVertices": [ # The bounding polygon normalized vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the normalized vertex coordinates are relative to the original image
-                    # and range from 0 to 1.
-                  "y": 3.14, # Y coordinate.
-                  "x": 3.14, # X coordinate.
-                },
-              ],
-              "vertices": [ # The bounding polygon vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the vertex coordinates are in the same scale as the original image.
-                  "y": 42, # Y coordinate.
-                  "x": 42, # X coordinate.
-                },
-              ],
-            },
             "productCategories": [ # The list of product categories to search in. Currently, we only consider
                 # the first category, and either "homegoods-v2", "apparel-v2", "toys-v2",
                 # "packagedgoods-v1", or "general-v1" should be specified. The legacy
@@ -231,10 +166,75 @@
                 # For example, "(color = red OR color = blue) AND brand = Google" is
                 # acceptable, but "(color = red OR brand = Google)" is not acceptable.
                 # "color: red" is not acceptable because it uses a ':' instead of an '='.
+            "productSet": "A String", # The resource name of a ProductSet to be searched for similar images.
+                #
+                # Format is:
+                # `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
+            "boundingPoly": { # A bounding polygon for the detected image annotation. # The bounding polygon around the area of interest in the image.
+                # If it is not specified, system discretion will be applied.
+              "normalizedVertices": [ # The bounding polygon normalized vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the normalized vertex coordinates are relative to the original image
+                    # and range from 0 to 1.
+                  "x": 3.14, # X coordinate.
+                  "y": 3.14, # Y coordinate.
+                },
+              ],
+              "vertices": [ # The bounding polygon vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the vertex coordinates are in the same scale as the original image.
+                  "y": 42, # Y coordinate.
+                  "x": 42, # X coordinate.
+                },
+              ],
+            },
+          },
+          "languageHints": [ # List of languages to use for TEXT_DETECTION. In most cases, an empty value
+              # yields the best results since it enables automatic language detection. For
+              # languages based on the Latin alphabet, setting `language_hints` is not
+              # needed. In rare cases, when the language of the text in the image is known,
+              # setting a hint will help get better results (although it will be a
+              # significant hindrance if the hint is wrong). Text detection returns an
+              # error if one or more of the specified languages is not one of the
+              # [supported languages](https://cloud.google.com/vision/docs/languages).
+            "A String",
+          ],
+          "webDetectionParams": { # Parameters for web detection request. # Parameters for web detection.
+            "includeGeoResults": True or False, # Whether to include results derived from the geo information in the image.
+          },
+          "latLongRect": { # Rectangle determined by min and max `LatLng` pairs. # Not used.
+            "maxLatLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # Max lat/long pair.
+                # of doubles representing degrees latitude and degrees longitude. Unless
+                # specified otherwise, this must conform to the
+                # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+                # standard</a>. Values must be within normalized ranges.
+              "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+              "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+            },
+            "minLatLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # Min lat/long pair.
+                # of doubles representing degrees latitude and degrees longitude. Unless
+                # specified otherwise, this must conform to the
+                # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+                # standard</a>. Values must be within normalized ranges.
+              "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+              "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+            },
           },
         },
       },
     ],
+    "parent": "A String", # Optional. Target project and location to make a call.
+        # 
+        # Format: `projects/{project-id}/locations/{location-id}`.
+        # 
+        # If no parent is specified, a region will be chosen automatically.
+        # 
+        # Supported location-ids:
+        #     `us`: USA country only,
+        #     `asia`: East asia areas, like Japan, Taiwan,
+        #     `eu`: The European Union.
+        # 
+        # Example: `projects/project-A/locations/eu`.
   }
 
   x__xgafv: string, V1 error format.
@@ -248,401 +248,17 @@
     { # Response to a batch image annotation request.
     "responses": [ # Individual responses to image annotation requests within the batch.
       { # Response to an image annotation request.
-        "context": { # If an image was produced from a file (e.g. a PDF), this message gives # If present, contextual information is needed to understand where this image
-            # comes from.
-            # information about the source of that image.
-          "uri": "A String", # The URI of the file used to produce the image.
-          "pageNumber": 42, # If the file was a PDF or TIFF, this field gives the page number within
-              # the file used to produce the image.
-        },
-        "logoAnnotations": [ # If present, logo detection has completed successfully.
-          { # Set of detected entity features.
-            "properties": [ # Some entities may have optional user-supplied `Property` (name/value)
-                # fields, such a score or string that qualifies the entity.
-              { # A `Property` consists of a user-supplied name/value pair.
-                "uint64Value": "A String", # Value of numeric properties.
-                "name": "A String", # Name of the property.
-                "value": "A String", # Value of the property.
-              },
-            ],
-            "score": 3.14, # Overall score of the result. Range [0, 1].
-            "locations": [ # The location information for the detected entity. Multiple
-                # `LocationInfo` elements can be present because one location may
-                # indicate the location of the scene in the image, and another location
-                # may indicate the location of the place where the image was taken.
-                # Location information is usually present for landmarks.
-              { # Detected entity location information.
-                "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # lat/long location coordinates.
-                    # of doubles representing degrees latitude and degrees longitude. Unless
-                    # specified otherwise, this must conform to the
-                    # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
-                    # standard</a>. Values must be within normalized ranges.
-                  "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
-                  "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
-                },
-              },
-            ],
-            "mid": "A String", # Opaque entity ID. Some IDs may be available in
-                # [Google Knowledge Graph Search
-                # API](https://developers.google.com/knowledge-graph/).
-            "confidence": 3.14, # **Deprecated. Use `score` instead.**
-                # The accuracy of the entity detection in an image.
-                # For example, for an image in which the "Eiffel Tower" entity is detected,
-                # this field represents the confidence that there is a tower in the query
-                # image. Range [0, 1].
-            "locale": "A String", # The language code for the locale in which the entity textual
-                # `description` is expressed.
-            "boundingPoly": { # A bounding polygon for the detected image annotation. # Image region to which this entity belongs. Not produced
-                # for `LABEL_DETECTION` features.
-              "normalizedVertices": [ # The bounding polygon normalized vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the normalized vertex coordinates are relative to the original image
-                    # and range from 0 to 1.
-                  "y": 3.14, # Y coordinate.
-                  "x": 3.14, # X coordinate.
-                },
-              ],
-              "vertices": [ # The bounding polygon vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the vertex coordinates are in the same scale as the original image.
-                  "y": 42, # Y coordinate.
-                  "x": 42, # X coordinate.
-                },
-              ],
-            },
-            "description": "A String", # Entity textual description, expressed in its `locale` language.
-            "topicality": 3.14, # The relevancy of the ICA (Image Content Annotation) label to the
-                # image. For example, the relevancy of "tower" is likely higher to an image
-                # containing the detected "Eiffel Tower" than to an image containing a
-                # detected distant towering building, even though the confidence that
-                # there is a tower in each image may be the same. Range [0, 1].
-          },
-        ],
-        "webDetection": { # Relevant information for the image from the Internet. # If present, web detection has completed successfully.
-          "webEntities": [ # Deduced entities from similar images on the Internet.
-            { # Entity deduced from similar images on the Internet.
-              "entityId": "A String", # Opaque entity ID.
-              "description": "A String", # Canonical description of the entity, in English.
-              "score": 3.14, # Overall relevancy score for the entity.
-                  # Not normalized and not comparable across different image queries.
-            },
-          ],
-          "pagesWithMatchingImages": [ # Web pages containing the matching images from the Internet.
-            { # Metadata for web pages.
-              "score": 3.14, # (Deprecated) Overall relevancy score for the web page.
-              "partialMatchingImages": [ # Partial matching images on the page.
-                  # Those images are similar enough to share some key-point features. For
-                  # example an original image will likely have partial matching for its
-                  # crops.
-                { # Metadata for online images.
-                  "score": 3.14, # (Deprecated) Overall relevancy score for the image.
-                  "url": "A String", # The result image URL.
-                },
-              ],
-              "url": "A String", # The result web page URL.
-              "pageTitle": "A String", # Title for the web page, may contain HTML markups.
-              "fullMatchingImages": [ # Fully matching images on the page.
-                  # Can include resized copies of the query image.
-                { # Metadata for online images.
-                  "score": 3.14, # (Deprecated) Overall relevancy score for the image.
-                  "url": "A String", # The result image URL.
-                },
-              ],
-            },
-          ],
-          "partialMatchingImages": [ # Partial matching images from the Internet.
-              # Those images are similar enough to share some key-point features. For
-              # example an original image will likely have partial matching for its crops.
-            { # Metadata for online images.
-              "score": 3.14, # (Deprecated) Overall relevancy score for the image.
-              "url": "A String", # The result image URL.
-            },
-          ],
-          "visuallySimilarImages": [ # The visually similar image results.
-            { # Metadata for online images.
-              "score": 3.14, # (Deprecated) Overall relevancy score for the image.
-              "url": "A String", # The result image URL.
-            },
-          ],
-          "bestGuessLabels": [ # The service's best guess as to the topic of the request image.
-              # Inferred from similar images on the open web.
-            { # Label to provide extra metadata for the web detection.
-              "label": "A String", # Label for extra metadata.
-              "languageCode": "A String", # The BCP-47 language code for `label`, such as "en-US" or "sr-Latn".
-                  # For more information, see
-                  # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
-            },
-          ],
-          "fullMatchingImages": [ # Fully matching images from the Internet.
-              # Can include resized copies of the query image.
-            { # Metadata for online images.
-              "score": 3.14, # (Deprecated) Overall relevancy score for the image.
-              "url": "A String", # The result image URL.
-            },
-          ],
-        },
-        "safeSearchAnnotation": { # Set of features pertaining to the image, computed by computer vision # If present, safe-search annotation has completed successfully.
-            # methods over safe-search verticals (for example, adult, spoof, medical,
-            # violence).
-          "racy": "A String", # Likelihood that the request image contains racy content. Racy content may
-              # include (but is not limited to) skimpy or sheer clothing, strategically
-              # covered nudity, lewd or provocative poses, or close-ups of sensitive
-              # body areas.
-          "violence": "A String", # Likelihood that this image contains violent content.
-          "adult": "A String", # Represents the adult content likelihood for the image. Adult content may
-              # contain elements such as nudity, pornographic images or cartoons, or
-              # sexual activities.
-          "spoof": "A String", # Spoof likelihood. The likelihood that an modification
-              # was made to the image's canonical version to make it appear
-              # funny or offensive.
-          "medical": "A String", # Likelihood that this is a medical image.
-        },
-        "landmarkAnnotations": [ # If present, landmark detection has completed successfully.
-          { # Set of detected entity features.
-            "properties": [ # Some entities may have optional user-supplied `Property` (name/value)
-                # fields, such a score or string that qualifies the entity.
-              { # A `Property` consists of a user-supplied name/value pair.
-                "uint64Value": "A String", # Value of numeric properties.
-                "name": "A String", # Name of the property.
-                "value": "A String", # Value of the property.
-              },
-            ],
-            "score": 3.14, # Overall score of the result. Range [0, 1].
-            "locations": [ # The location information for the detected entity. Multiple
-                # `LocationInfo` elements can be present because one location may
-                # indicate the location of the scene in the image, and another location
-                # may indicate the location of the place where the image was taken.
-                # Location information is usually present for landmarks.
-              { # Detected entity location information.
-                "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # lat/long location coordinates.
-                    # of doubles representing degrees latitude and degrees longitude. Unless
-                    # specified otherwise, this must conform to the
-                    # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
-                    # standard</a>. Values must be within normalized ranges.
-                  "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
-                  "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
-                },
-              },
-            ],
-            "mid": "A String", # Opaque entity ID. Some IDs may be available in
-                # [Google Knowledge Graph Search
-                # API](https://developers.google.com/knowledge-graph/).
-            "confidence": 3.14, # **Deprecated. Use `score` instead.**
-                # The accuracy of the entity detection in an image.
-                # For example, for an image in which the "Eiffel Tower" entity is detected,
-                # this field represents the confidence that there is a tower in the query
-                # image. Range [0, 1].
-            "locale": "A String", # The language code for the locale in which the entity textual
-                # `description` is expressed.
-            "boundingPoly": { # A bounding polygon for the detected image annotation. # Image region to which this entity belongs. Not produced
-                # for `LABEL_DETECTION` features.
-              "normalizedVertices": [ # The bounding polygon normalized vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the normalized vertex coordinates are relative to the original image
-                    # and range from 0 to 1.
-                  "y": 3.14, # Y coordinate.
-                  "x": 3.14, # X coordinate.
-                },
-              ],
-              "vertices": [ # The bounding polygon vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the vertex coordinates are in the same scale as the original image.
-                  "y": 42, # Y coordinate.
-                  "x": 42, # X coordinate.
-                },
-              ],
-            },
-            "description": "A String", # Entity textual description, expressed in its `locale` language.
-            "topicality": 3.14, # The relevancy of the ICA (Image Content Annotation) label to the
-                # image. For example, the relevancy of "tower" is likely higher to an image
-                # containing the detected "Eiffel Tower" than to an image containing a
-                # detected distant towering building, even though the confidence that
-                # there is a tower in each image may be the same. Range [0, 1].
-          },
-        ],
-        "faceAnnotations": [ # If present, face detection has completed successfully.
-          { # A face annotation object contains the results of face detection.
-            "boundingPoly": { # A bounding polygon for the detected image annotation. # The bounding polygon around the face. The coordinates of the bounding box
-                # are in the original image's scale.
-                # The bounding box is computed to "frame" the face in accordance with human
-                # expectations. It is based on the landmarker results.
-                # Note that one or more x and/or y coordinates may not be generated in the
-                # `BoundingPoly` (the polygon will be unbounded) if only a partial face
-                # appears in the image to be annotated.
-              "normalizedVertices": [ # The bounding polygon normalized vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the normalized vertex coordinates are relative to the original image
-                    # and range from 0 to 1.
-                  "y": 3.14, # Y coordinate.
-                  "x": 3.14, # X coordinate.
-                },
-              ],
-              "vertices": [ # The bounding polygon vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the vertex coordinates are in the same scale as the original image.
-                  "y": 42, # Y coordinate.
-                  "x": 42, # X coordinate.
-                },
-              ],
-            },
-            "rollAngle": 3.14, # Roll angle, which indicates the amount of clockwise/anti-clockwise rotation
-                # of the face relative to the image vertical about the axis perpendicular to
-                # the face. Range [-180,180].
-            "sorrowLikelihood": "A String", # Sorrow likelihood.
-            "tiltAngle": 3.14, # Pitch angle, which indicates the upwards/downwards angle that the face is
-                # pointing relative to the image's horizontal plane. Range [-180,180].
-            "fdBoundingPoly": { # A bounding polygon for the detected image annotation. # The `fd_bounding_poly` bounding polygon is tighter than the
-                # `boundingPoly`, and encloses only the skin part of the face. Typically, it
-                # is used to eliminate the face from any image analysis that detects the
-                # "amount of skin" visible in an image. It is not based on the
-                # landmarker results, only on the initial face detection, hence
-                # the <code>fd</code> (face detection) prefix.
-              "normalizedVertices": [ # The bounding polygon normalized vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the normalized vertex coordinates are relative to the original image
-                    # and range from 0 to 1.
-                  "y": 3.14, # Y coordinate.
-                  "x": 3.14, # X coordinate.
-                },
-              ],
-              "vertices": [ # The bounding polygon vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the vertex coordinates are in the same scale as the original image.
-                  "y": 42, # Y coordinate.
-                  "x": 42, # X coordinate.
-                },
-              ],
-            },
-            "angerLikelihood": "A String", # Anger likelihood.
-            "landmarks": [ # Detected face landmarks.
-              { # A face-specific landmark (for example, a face feature).
-                "position": { # A 3D position in the image, used primarily for Face detection landmarks. # Face landmark position.
-                    # A valid Position must have both x and y coordinates.
-                    # The position coordinates are in the same scale as the original image.
-                  "y": 3.14, # Y coordinate.
-                  "x": 3.14, # X coordinate.
-                  "z": 3.14, # Z coordinate (or depth).
-                },
-                "type": "A String", # Face landmark type.
-              },
-            ],
-            "surpriseLikelihood": "A String", # Surprise likelihood.
-            "landmarkingConfidence": 3.14, # Face landmarking confidence. Range [0, 1].
-            "joyLikelihood": "A String", # Joy likelihood.
-            "underExposedLikelihood": "A String", # Under-exposed likelihood.
-            "panAngle": 3.14, # Yaw angle, which indicates the leftward/rightward angle that the face is
-                # pointing relative to the vertical plane perpendicular to the image. Range
-                # [-180,180].
-            "detectionConfidence": 3.14, # Detection confidence. Range [0, 1].
-            "blurredLikelihood": "A String", # Blurred likelihood.
-            "headwearLikelihood": "A String", # Headwear likelihood.
-          },
-        ],
-        "cropHintsAnnotation": { # Set of crop hints that are used to generate new crops when serving images. # If present, crop hints have completed successfully.
-          "cropHints": [ # Crop hint results.
-            { # Single crop hint that is used to generate a new crop when serving an image.
-              "confidence": 3.14, # Confidence of this being a salient region.  Range [0, 1].
-              "importanceFraction": 3.14, # Fraction of importance of this salient region with respect to the original
-                  # image.
-              "boundingPoly": { # A bounding polygon for the detected image annotation. # The bounding polygon for the crop region. The coordinates of the bounding
-                  # box are in the original image's scale.
-                "normalizedVertices": [ # The bounding polygon normalized vertices.
-                  { # A vertex represents a 2D point in the image.
-                      # NOTE: the normalized vertex coordinates are relative to the original image
-                      # and range from 0 to 1.
-                    "y": 3.14, # Y coordinate.
-                    "x": 3.14, # X coordinate.
-                  },
-                ],
-                "vertices": [ # The bounding polygon vertices.
-                  { # A vertex represents a 2D point in the image.
-                      # NOTE: the vertex coordinates are in the same scale as the original image.
-                    "y": 42, # Y coordinate.
-                    "x": 42, # X coordinate.
-                  },
-                ],
-              },
-            },
-          ],
-        },
-        "labelAnnotations": [ # If present, label detection has completed successfully.
-          { # Set of detected entity features.
-            "properties": [ # Some entities may have optional user-supplied `Property` (name/value)
-                # fields, such a score or string that qualifies the entity.
-              { # A `Property` consists of a user-supplied name/value pair.
-                "uint64Value": "A String", # Value of numeric properties.
-                "name": "A String", # Name of the property.
-                "value": "A String", # Value of the property.
-              },
-            ],
-            "score": 3.14, # Overall score of the result. Range [0, 1].
-            "locations": [ # The location information for the detected entity. Multiple
-                # `LocationInfo` elements can be present because one location may
-                # indicate the location of the scene in the image, and another location
-                # may indicate the location of the place where the image was taken.
-                # Location information is usually present for landmarks.
-              { # Detected entity location information.
-                "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # lat/long location coordinates.
-                    # of doubles representing degrees latitude and degrees longitude. Unless
-                    # specified otherwise, this must conform to the
-                    # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
-                    # standard</a>. Values must be within normalized ranges.
-                  "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
-                  "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
-                },
-              },
-            ],
-            "mid": "A String", # Opaque entity ID. Some IDs may be available in
-                # [Google Knowledge Graph Search
-                # API](https://developers.google.com/knowledge-graph/).
-            "confidence": 3.14, # **Deprecated. Use `score` instead.**
-                # The accuracy of the entity detection in an image.
-                # For example, for an image in which the "Eiffel Tower" entity is detected,
-                # this field represents the confidence that there is a tower in the query
-                # image. Range [0, 1].
-            "locale": "A String", # The language code for the locale in which the entity textual
-                # `description` is expressed.
-            "boundingPoly": { # A bounding polygon for the detected image annotation. # Image region to which this entity belongs. Not produced
-                # for `LABEL_DETECTION` features.
-              "normalizedVertices": [ # The bounding polygon normalized vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the normalized vertex coordinates are relative to the original image
-                    # and range from 0 to 1.
-                  "y": 3.14, # Y coordinate.
-                  "x": 3.14, # X coordinate.
-                },
-              ],
-              "vertices": [ # The bounding polygon vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the vertex coordinates are in the same scale as the original image.
-                  "y": 42, # Y coordinate.
-                  "x": 42, # X coordinate.
-                },
-              ],
-            },
-            "description": "A String", # Entity textual description, expressed in its `locale` language.
-            "topicality": 3.14, # The relevancy of the ICA (Image Content Annotation) label to the
-                # image. For example, the relevancy of "tower" is likely higher to an image
-                # containing the detected "Eiffel Tower" than to an image containing a
-                # detected distant towering building, even though the confidence that
-                # there is a tower in each image may be the same. Range [0, 1].
-          },
-        ],
         "localizedObjectAnnotations": [ # If present, localized object detection has completed successfully.
             # This will be sorted descending by confidence score.
           { # Set of detected objects with bounding boxes.
-            "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
-                # information, see
-                # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
-            "mid": "A String", # Object ID that should align with EntityAnnotation mid.
             "name": "A String", # Object name, expressed in its `language_code` language.
             "boundingPoly": { # A bounding polygon for the detected image annotation. # Image region to which this object belongs. This must be populated.
               "normalizedVertices": [ # The bounding polygon normalized vertices.
                 { # A vertex represents a 2D point in the image.
                     # NOTE: the normalized vertex coordinates are relative to the original image
                     # and range from 0 to 1.
-                  "y": 3.14, # Y coordinate.
                   "x": 3.14, # X coordinate.
+                  "y": 3.14, # Y coordinate.
                 },
               ],
               "vertices": [ # The bounding polygon vertices.
@@ -654,110 +270,18 @@
               ],
             },
             "score": 3.14, # Score of the result. Range [0, 1].
+            "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
+                # information, see
+                # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+            "mid": "A String", # Object ID that should align with EntityAnnotation mid.
           },
         ],
         "productSearchResults": { # Results for a product search request. # If present, product search has completed successfully.
-          "indexTime": "A String", # Timestamp of the index which provided these results. Products added to the
-              # product set and products removed from the product set after this time are
-              # not reflected in the current results.
-          "productGroupedResults": [ # List of results grouped by products detected in the query image. Each entry
-              # corresponds to one bounding polygon in the query image, and contains the
-              # matching products specific to that region. There may be duplicate product
-              # matches in the union of all the per-product results.
-            { # Information about the products similar to a single product in a query
-                # image.
-              "objectAnnotations": [ # List of generic predictions for the object in the bounding box.
-                { # Prediction for what the object in the bounding box is.
-                  "score": 3.14, # Score of the result. Range [0, 1].
-                  "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
-                      # information, see
-                      # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
-                  "mid": "A String", # Object ID that should align with EntityAnnotation mid.
-                  "name": "A String", # Object name, expressed in its `language_code` language.
-                },
-              ],
-              "boundingPoly": { # A bounding polygon for the detected image annotation. # The bounding polygon around the product detected in the query image.
-                "normalizedVertices": [ # The bounding polygon normalized vertices.
-                  { # A vertex represents a 2D point in the image.
-                      # NOTE: the normalized vertex coordinates are relative to the original image
-                      # and range from 0 to 1.
-                    "y": 3.14, # Y coordinate.
-                    "x": 3.14, # X coordinate.
-                  },
-                ],
-                "vertices": [ # The bounding polygon vertices.
-                  { # A vertex represents a 2D point in the image.
-                      # NOTE: the vertex coordinates are in the same scale as the original image.
-                    "y": 42, # Y coordinate.
-                    "x": 42, # X coordinate.
-                  },
-                ],
-              },
-              "results": [ # List of results, one for each product match.
-                { # Information about a product.
-                  "image": "A String", # The resource name of the image from the product that is the closest match
-                      # to the query.
-                  "product": { # A Product contains ReferenceImages. # The Product.
-                    "name": "A String", # The resource name of the product.
-                        #
-                        # Format is:
-                        # `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
-                        #
-                        # This field is ignored when creating a product.
-                    "displayName": "A String", # The user-provided name for this Product. Must not be empty. Must be at most
-                        # 4096 characters long.
-                    "description": "A String", # User-provided metadata to be stored with this product. Must be at most 4096
-                        # characters long.
-                    "productCategory": "A String", # Immutable. The category for the product identified by the reference image. This should
-                        # be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
-                        # "homegoods", "apparel", and "toys" are still supported, but these should
-                        # not be used for new products.
-                    "productLabels": [ # Key-value pairs that can be attached to a product. At query time,
-                        # constraints can be specified based on the product_labels.
-                        #
-                        # Note that integer values can be provided as strings, e.g. "1199". Only
-                        # strings with integer values can match a range-based restriction which is
-                        # to be supported soon.
-                        #
-                        # Multiple values can be assigned to the same key. One product may have up to
-                        # 500 product_labels.
-                        #
-                        # Notice that the total number of distinct product_labels over all products
-                        # in one ProductSet cannot exceed 1M, otherwise the product search pipeline
-                        # will refuse to work for that ProductSet.
-                      { # A product label represented as a key-value pair.
-                        "value": "A String", # The value of the label attached to the product. Cannot be empty and
-                            # cannot exceed 128 bytes.
-                        "key": "A String", # The key of the label attached to the product. Cannot be empty and cannot
-                            # exceed 128 bytes.
-                      },
-                    ],
-                  },
-                  "score": 3.14, # A confidence level on the match, ranging from 0 (no confidence) to
-                      # 1 (full confidence).
-                },
-              ],
-            },
-          ],
           "results": [ # List of results, one for each product match.
             { # Information about a product.
               "image": "A String", # The resource name of the image from the product that is the closest match
                   # to the query.
               "product": { # A Product contains ReferenceImages. # The Product.
-                "name": "A String", # The resource name of the product.
-                    #
-                    # Format is:
-                    # `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
-                    #
-                    # This field is ignored when creating a product.
-                "displayName": "A String", # The user-provided name for this Product. Must not be empty. Must be at most
-                    # 4096 characters long.
-                "description": "A String", # User-provided metadata to be stored with this product. Must be at most 4096
-                    # characters long.
-                "productCategory": "A String", # Immutable. The category for the product identified by the reference image. This should
-                    # be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
-                    # "homegoods", "apparel", and "toys" are still supported, but these should
-                    # not be used for new products.
                 "productLabels": [ # Key-value pairs that can be attached to a product. At query time,
                     # constraints can be specified based on the product_labels.
                     #
@@ -778,11 +302,107 @@
                         # exceed 128 bytes.
                   },
                 ],
+                "name": "A String", # The resource name of the product.
+                    #
+                    # Format is:
+                    # `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
+                    #
+                    # This field is ignored when creating a product.
+                "displayName": "A String", # The user-provided name for this Product. Must not be empty. Must be at most
+                    # 4096 characters long.
+                "description": "A String", # User-provided metadata to be stored with this product. Must be at most 4096
+                    # characters long.
+                "productCategory": "A String", # Immutable. The category for the product identified by the reference image. This should
+                    # be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+                    # "homegoods", "apparel", and "toys" are still supported, but these should
+                    # not be used for new products.
               },
               "score": 3.14, # A confidence level on the match, ranging from 0 (no confidence) to
                   # 1 (full confidence).
             },
           ],
+          "indexTime": "A String", # Timestamp of the index which provided these results. Products added to the
+              # product set and products removed from the product set after this time are
+              # not reflected in the current results.
+          "productGroupedResults": [ # List of results grouped by products detected in the query image. Each entry
+              # corresponds to one bounding polygon in the query image, and contains the
+              # matching products specific to that region. There may be duplicate product
+              # matches in the union of all the per-product results.
+            { # Information about the products similar to a single product in a query
+                # image.
+              "objectAnnotations": [ # List of generic predictions for the object in the bounding box.
+                { # Prediction for what the object in the bounding box is.
+                  "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
+                      # information, see
+                      # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+                  "mid": "A String", # Object ID that should align with EntityAnnotation mid.
+                  "name": "A String", # Object name, expressed in its `language_code` language.
+                  "score": 3.14, # Score of the result. Range [0, 1].
+                },
+              ],
+              "boundingPoly": { # A bounding polygon for the detected image annotation. # The bounding polygon around the product detected in the query image.
+                "normalizedVertices": [ # The bounding polygon normalized vertices.
+                  { # A vertex represents a 2D point in the image.
+                      # NOTE: the normalized vertex coordinates are relative to the original image
+                      # and range from 0 to 1.
+                    "x": 3.14, # X coordinate.
+                    "y": 3.14, # Y coordinate.
+                  },
+                ],
+                "vertices": [ # The bounding polygon vertices.
+                  { # A vertex represents a 2D point in the image.
+                      # NOTE: the vertex coordinates are in the same scale as the original image.
+                    "y": 42, # Y coordinate.
+                    "x": 42, # X coordinate.
+                  },
+                ],
+              },
+              "results": [ # List of results, one for each product match.
+                { # Information about a product.
+                  "image": "A String", # The resource name of the image from the product that is the closest match
+                      # to the query.
+                  "product": { # A Product contains ReferenceImages. # The Product.
+                    "productLabels": [ # Key-value pairs that can be attached to a product. At query time,
+                        # constraints can be specified based on the product_labels.
+                        #
+                        # Note that integer values can be provided as strings, e.g. "1199". Only
+                        # strings with integer values can match a range-based restriction which is
+                        # to be supported soon.
+                        #
+                        # Multiple values can be assigned to the same key. One product may have up to
+                        # 500 product_labels.
+                        #
+                        # Notice that the total number of distinct product_labels over all products
+                        # in one ProductSet cannot exceed 1M, otherwise the product search pipeline
+                        # will refuse to work for that ProductSet.
+                      { # A product label represented as a key-value pair.
+                        "value": "A String", # The value of the label attached to the product. Cannot be empty and
+                            # cannot exceed 128 bytes.
+                        "key": "A String", # The key of the label attached to the product. Cannot be empty and cannot
+                            # exceed 128 bytes.
+                      },
+                    ],
+                    "name": "A String", # The resource name of the product.
+                        #
+                        # Format is:
+                        # `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
+                        #
+                        # This field is ignored when creating a product.
+                    "displayName": "A String", # The user-provided name for this Product. Must not be empty. Must be at most
+                        # 4096 characters long.
+                    "description": "A String", # User-provided metadata to be stored with this product. Must be at most 4096
+                        # characters long.
+                    "productCategory": "A String", # Immutable. The category for the product identified by the reference image. This should
+                        # be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+                        # "homegoods", "apparel", and "toys" are still supported, but these should
+                        # not be used for new products.
+                  },
+                  "score": 3.14, # A confidence level on the match, ranging from 0 (no confidence) to
+                      # 1 (full confidence).
+                },
+              ],
+            },
+          ],
         },
         "error": { # The `Status` type defines a logical error model that is suitable for # If set, represents the error message for the operation.
             # Note that filled-in image annotations are guaranteed to be
@@ -814,6 +434,7 @@
             # properties. Properties describe detected languages, breaks etc.. Please refer
             # to the TextAnnotation.TextProperty message definition below for more
             # detail.
+          "text": "A String", # UTF-8 text detected on the pages.
           "pages": [ # List of pages detected by OCR.
             { # Detected page from OCR.
               "width": 42, # Page width. For PDFs the unit is points. For images (including
@@ -859,8 +480,8 @@
                       { # A vertex represents a 2D point in the image.
                           # NOTE: the normalized vertex coordinates are relative to the original image
                           # and range from 0 to 1.
-                        "y": 3.14, # Y coordinate.
                         "x": 3.14, # X coordinate.
+                        "y": 3.14, # Y coordinate.
                       },
                     ],
                     "vertices": [ # The bounding polygon vertices.
@@ -874,20 +495,6 @@
                   "confidence": 3.14, # Confidence of the OCR results on the block. Range [0, 1].
                   "paragraphs": [ # List of paragraphs in this block (if this blocks is of type text).
                     { # Structural unit of text representing a number of words in certain order.
-                      "property": { # Additional information detected on the structural component. # Additional information detected for the paragraph.
-                        "detectedLanguages": [ # A list of detected languages together with confidence.
-                          { # Detected language for a structural component.
-                            "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
-                                # information, see
-                                # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
-                            "confidence": 3.14, # Confidence of detected language. Range [0, 1].
-                          },
-                        ],
-                        "detectedBreak": { # Detected start or end of a structural component. # Detected start or end of a text segment.
-                          "type": "A String", # Detected break type.
-                          "isPrefix": True or False, # True if break prepends the element.
-                        },
-                      },
                       "boundingBox": { # A bounding polygon for the detected image annotation. # The bounding box for the paragraph.
                           # The vertices are in the order of top-left, top-right, bottom-right,
                           # bottom-left. When a rotation of the bounding box is detected the rotation
@@ -907,8 +514,8 @@
                           { # A vertex represents a 2D point in the image.
                               # NOTE: the normalized vertex coordinates are relative to the original image
                               # and range from 0 to 1.
-                            "y": 3.14, # Y coordinate.
                             "x": 3.14, # X coordinate.
+                            "y": 3.14, # Y coordinate.
                           },
                         ],
                         "vertices": [ # The bounding polygon vertices.
@@ -922,20 +529,6 @@
                       "confidence": 3.14, # Confidence of the OCR results for the paragraph. Range [0, 1].
                       "words": [ # List of all words in this paragraph.
                         { # A word representation.
-                          "property": { # Additional information detected on the structural component. # Additional information detected for the word.
-                            "detectedLanguages": [ # A list of detected languages together with confidence.
-                              { # Detected language for a structural component.
-                                "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
-                                    # information, see
-                                    # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
-                                "confidence": 3.14, # Confidence of detected language. Range [0, 1].
-                              },
-                            ],
-                            "detectedBreak": { # Detected start or end of a structural component. # Detected start or end of a text segment.
-                              "type": "A String", # Detected break type.
-                              "isPrefix": True or False, # True if break prepends the element.
-                            },
-                          },
                           "boundingBox": { # A bounding polygon for the detected image annotation. # The bounding box for the word.
                               # The vertices are in the order of top-left, top-right, bottom-right,
                               # bottom-left. When a rotation of the bounding box is detected the rotation
@@ -955,8 +548,8 @@
                               { # A vertex represents a 2D point in the image.
                                   # NOTE: the normalized vertex coordinates are relative to the original image
                                   # and range from 0 to 1.
-                                "y": 3.14, # Y coordinate.
                                 "x": 3.14, # X coordinate.
+                                "y": 3.14, # Y coordinate.
                               },
                             ],
                             "vertices": [ # The bounding polygon vertices.
@@ -971,6 +564,21 @@
                           "symbols": [ # List of symbols in the word.
                               # The order of the symbols follows the natural reading order.
                             { # A single symbol representation.
+                              "text": "A String", # The actual UTF-8 representation of the symbol.
+                              "property": { # Additional information detected on the structural component. # Additional information detected for the symbol.
+                                "detectedLanguages": [ # A list of detected languages together with confidence.
+                                  { # Detected language for a structural component.
+                                    "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
+                                        # information, see
+                                        # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+                                    "confidence": 3.14, # Confidence of detected language. Range [0, 1].
+                                  },
+                                ],
+                                "detectedBreak": { # Detected start or end of a structural component. # Detected start or end of a text segment.
+                                  "type": "A String", # Detected break type.
+                                  "isPrefix": True or False, # True if break prepends the element.
+                                },
+                              },
                               "boundingBox": { # A bounding polygon for the detected image annotation. # The bounding box for the symbol.
                                   # The vertices are in the order of top-left, top-right, bottom-right,
                                   # bottom-left. When a rotation of the bounding box is detected the rotation
@@ -990,8 +598,8 @@
                                   { # A vertex represents a 2D point in the image.
                                       # NOTE: the normalized vertex coordinates are relative to the original image
                                       # and range from 0 to 1.
-                                    "y": 3.14, # Y coordinate.
                                     "x": 3.14, # X coordinate.
+                                    "y": 3.14, # Y coordinate.
                                   },
                                 ],
                                 "vertices": [ # The bounding polygon vertices.
@@ -1003,25 +611,38 @@
                                 ],
                               },
                               "confidence": 3.14, # Confidence of the OCR results for the symbol. Range [0, 1].
-                              "text": "A String", # The actual UTF-8 representation of the symbol.
-                              "property": { # Additional information detected on the structural component. # Additional information detected for the symbol.
-                                "detectedLanguages": [ # A list of detected languages together with confidence.
-                                  { # Detected language for a structural component.
-                                    "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
-                                        # information, see
-                                        # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
-                                    "confidence": 3.14, # Confidence of detected language. Range [0, 1].
-                                  },
-                                ],
-                                "detectedBreak": { # Detected start or end of a structural component. # Detected start or end of a text segment.
-                                  "type": "A String", # Detected break type.
-                                  "isPrefix": True or False, # True if break prepends the element.
-                                },
-                              },
                             },
                           ],
+                          "property": { # Additional information detected on the structural component. # Additional information detected for the word.
+                            "detectedLanguages": [ # A list of detected languages together with confidence.
+                              { # Detected language for a structural component.
+                                "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
+                                    # information, see
+                                    # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+                                "confidence": 3.14, # Confidence of detected language. Range [0, 1].
+                              },
+                            ],
+                            "detectedBreak": { # Detected start or end of a structural component. # Detected start or end of a text segment.
+                              "type": "A String", # Detected break type.
+                              "isPrefix": True or False, # True if break prepends the element.
+                            },
+                          },
                         },
                       ],
+                      "property": { # Additional information detected on the structural component. # Additional information detected for the paragraph.
+                        "detectedLanguages": [ # A list of detected languages together with confidence.
+                          { # Detected language for a structural component.
+                            "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
+                                # information, see
+                                # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+                            "confidence": 3.14, # Confidence of detected language. Range [0, 1].
+                          },
+                        ],
+                        "detectedBreak": { # Detected start or end of a structural component. # Detected start or end of a text segment.
+                          "type": "A String", # Detected break type.
+                          "isPrefix": True or False, # True if break prepends the element.
+                        },
+                      },
                     },
                   ],
                 },
@@ -1045,16 +666,41 @@
                   # TIFFs) the unit is pixels.
             },
           ],
-          "text": "A String", # UTF-8 text detected on the pages.
         },
         "textAnnotations": [ # If present, text (OCR) detection has completed successfully.
           { # Set of detected entity features.
+            "locale": "A String", # The language code for the locale in which the entity textual
+                # `description` is expressed.
+            "boundingPoly": { # A bounding polygon for the detected image annotation. # Image region to which this entity belongs. Not produced
+                # for `LABEL_DETECTION` features.
+              "normalizedVertices": [ # The bounding polygon normalized vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the normalized vertex coordinates are relative to the original image
+                    # and range from 0 to 1.
+                  "x": 3.14, # X coordinate.
+                  "y": 3.14, # Y coordinate.
+                },
+              ],
+              "vertices": [ # The bounding polygon vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the vertex coordinates are in the same scale as the original image.
+                  "y": 42, # Y coordinate.
+                  "x": 42, # X coordinate.
+                },
+              ],
+            },
+            "description": "A String", # Entity textual description, expressed in its `locale` language.
+            "topicality": 3.14, # The relevancy of the ICA (Image Content Annotation) label to the
+                # image. For example, the relevancy of "tower" is likely higher to an image
+                # containing the detected "Eiffel Tower" than to an image containing a
+                # detected distant towering building, even though the confidence that
+                # there is a tower in each image may be the same. Range [0, 1].
             "properties": [ # Some entities may have optional user-supplied `Property` (name/value)
                 # fields, such a score or string that qualifies the entity.
               { # A `Property` consists of a user-supplied name/value pair.
+                "value": "A String", # Value of the property.
                 "uint64Value": "A String", # Value of numeric properties.
                 "name": "A String", # Name of the property.
-                "value": "A String", # Value of the property.
               },
             ],
             "score": 3.14, # Overall score of the result. Range [0, 1].
@@ -1082,32 +728,6 @@
                 # For example, for an image in which the "Eiffel Tower" entity is detected,
                 # this field represents the confidence that there is a tower in the query
                 # image. Range [0, 1].
-            "locale": "A String", # The language code for the locale in which the entity textual
-                # `description` is expressed.
-            "boundingPoly": { # A bounding polygon for the detected image annotation. # Image region to which this entity belongs. Not produced
-                # for `LABEL_DETECTION` features.
-              "normalizedVertices": [ # The bounding polygon normalized vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the normalized vertex coordinates are relative to the original image
-                    # and range from 0 to 1.
-                  "y": 3.14, # Y coordinate.
-                  "x": 3.14, # X coordinate.
-                },
-              ],
-              "vertices": [ # The bounding polygon vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the vertex coordinates are in the same scale as the original image.
-                  "y": 42, # Y coordinate.
-                  "x": 42, # X coordinate.
-                },
-              ],
-            },
-            "description": "A String", # Entity textual description, expressed in its `locale` language.
-            "topicality": 3.14, # The relevancy of the ICA (Image Content Annotation) label to the
-                # image. For example, the relevancy of "tower" is likely higher to an image
-                # containing the detected "Eiffel Tower" than to an image containing a
-                # detected distant towering building, even though the confidence that
-                # there is a tower in each image may be the same. Range [0, 1].
           },
         ],
         "imagePropertiesAnnotation": { # Stores image properties, such as dominant colors. # If present, image properties were extracted successfully.
@@ -1236,7 +856,6 @@
                     #     };
                     #
                     #     // ...
-                  "red": 3.14, # The amount of red in the color as a value in the interval [0, 1].
                   "green": 3.14, # The amount of green in the color as a value in the interval [0, 1].
                   "blue": 3.14, # The amount of blue in the color as a value in the interval [0, 1].
                   "alpha": 3.14, # The fraction of this color that should be applied to the pixel. That is,
@@ -1250,12 +869,393 @@
                       # possible to distinguish between a default value and the value being unset.
                       # If omitted, this color object is to be rendered as a solid color
                       # (as if the alpha value had been explicitly given with a value of 1.0).
+                  "red": 3.14, # The amount of red in the color as a value in the interval [0, 1].
                 },
                 "score": 3.14, # Image-specific score for this color. Value in range [0, 1].
               },
             ],
           },
         },
+        "logoAnnotations": [ # If present, logo detection has completed successfully.
+          { # Set of detected entity features.
+            "locale": "A String", # The language code for the locale in which the entity textual
+                # `description` is expressed.
+            "boundingPoly": { # A bounding polygon for the detected image annotation. # Image region to which this entity belongs. Not produced
+                # for `LABEL_DETECTION` features.
+              "normalizedVertices": [ # The bounding polygon normalized vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the normalized vertex coordinates are relative to the original image
+                    # and range from 0 to 1.
+                  "x": 3.14, # X coordinate.
+                  "y": 3.14, # Y coordinate.
+                },
+              ],
+              "vertices": [ # The bounding polygon vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the vertex coordinates are in the same scale as the original image.
+                  "y": 42, # Y coordinate.
+                  "x": 42, # X coordinate.
+                },
+              ],
+            },
+            "description": "A String", # Entity textual description, expressed in its `locale` language.
+            "topicality": 3.14, # The relevancy of the ICA (Image Content Annotation) label to the
+                # image. For example, the relevancy of "tower" is likely higher to an image
+                # containing the detected "Eiffel Tower" than to an image containing a
+                # detected distant towering building, even though the confidence that
+                # there is a tower in each image may be the same. Range [0, 1].
+            "properties": [ # Some entities may have optional user-supplied `Property` (name/value)
+                # fields, such a score or string that qualifies the entity.
+              { # A `Property` consists of a user-supplied name/value pair.
+                "value": "A String", # Value of the property.
+                "uint64Value": "A String", # Value of numeric properties.
+                "name": "A String", # Name of the property.
+              },
+            ],
+            "score": 3.14, # Overall score of the result. Range [0, 1].
+            "locations": [ # The location information for the detected entity. Multiple
+                # `LocationInfo` elements can be present because one location may
+                # indicate the location of the scene in the image, and another location
+                # may indicate the location of the place where the image was taken.
+                # Location information is usually present for landmarks.
+              { # Detected entity location information.
+                "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # lat/long location coordinates.
+                    # of doubles representing degrees latitude and degrees longitude. Unless
+                    # specified otherwise, this must conform to the
+                    # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+                    # standard</a>. Values must be within normalized ranges.
+                  "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+                  "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+                },
+              },
+            ],
+            "mid": "A String", # Opaque entity ID. Some IDs may be available in
+                # [Google Knowledge Graph Search
+                # API](https://developers.google.com/knowledge-graph/).
+            "confidence": 3.14, # **Deprecated. Use `score` instead.**
+                # The accuracy of the entity detection in an image.
+                # For example, for an image in which the "Eiffel Tower" entity is detected,
+                # this field represents the confidence that there is a tower in the query
+                # image. Range [0, 1].
+          },
+        ],
+        "context": { # If an image was produced from a file (e.g. a PDF), this message gives # If present, contextual information is needed to understand where this image
+            # comes from.
+            # information about the source of that image.
+          "uri": "A String", # The URI of the file used to produce the image.
+          "pageNumber": 42, # If the file was a PDF or TIFF, this field gives the page number within
+              # the file used to produce the image.
+        },
+        "webDetection": { # Relevant information for the image from the Internet. # If present, web detection has completed successfully.
+          "visuallySimilarImages": [ # The visually similar image results.
+            { # Metadata for online images.
+              "score": 3.14, # (Deprecated) Overall relevancy score for the image.
+              "url": "A String", # The result image URL.
+            },
+          ],
+          "bestGuessLabels": [ # The service's best guess as to the topic of the request image.
+              # Inferred from similar images on the open web.
+            { # Label to provide extra metadata for the web detection.
+              "label": "A String", # Label for extra metadata.
+              "languageCode": "A String", # The BCP-47 language code for `label`, such as "en-US" or "sr-Latn".
+                  # For more information, see
+                  # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+            },
+          ],
+          "fullMatchingImages": [ # Fully matching images from the Internet.
+              # Can include resized copies of the query image.
+            { # Metadata for online images.
+              "score": 3.14, # (Deprecated) Overall relevancy score for the image.
+              "url": "A String", # The result image URL.
+            },
+          ],
+          "webEntities": [ # Deduced entities from similar images on the Internet.
+            { # Entity deduced from similar images on the Internet.
+              "entityId": "A String", # Opaque entity ID.
+              "description": "A String", # Canonical description of the entity, in English.
+              "score": 3.14, # Overall relevancy score for the entity.
+                  # Not normalized and not comparable across different image queries.
+            },
+          ],
+          "pagesWithMatchingImages": [ # Web pages containing the matching images from the Internet.
+            { # Metadata for web pages.
+              "score": 3.14, # (Deprecated) Overall relevancy score for the web page.
+              "partialMatchingImages": [ # Partial matching images on the page.
+                  # Those images are similar enough to share some key-point features. For
+                  # example an original image will likely have partial matching for its
+                  # crops.
+                { # Metadata for online images.
+                  "score": 3.14, # (Deprecated) Overall relevancy score for the image.
+                  "url": "A String", # The result image URL.
+                },
+              ],
+              "url": "A String", # The result web page URL.
+              "pageTitle": "A String", # Title for the web page, may contain HTML markups.
+              "fullMatchingImages": [ # Fully matching images on the page.
+                  # Can include resized copies of the query image.
+                { # Metadata for online images.
+                  "score": 3.14, # (Deprecated) Overall relevancy score for the image.
+                  "url": "A String", # The result image URL.
+                },
+              ],
+            },
+          ],
+          "partialMatchingImages": [ # Partial matching images from the Internet.
+              # Those images are similar enough to share some key-point features. For
+              # example an original image will likely have partial matching for its crops.
+            { # Metadata for online images.
+              "score": 3.14, # (Deprecated) Overall relevancy score for the image.
+              "url": "A String", # The result image URL.
+            },
+          ],
+        },
+        "safeSearchAnnotation": { # Set of features pertaining to the image, computed by computer vision # If present, safe-search annotation has completed successfully.
+            # methods over safe-search verticals (for example, adult, spoof, medical,
+            # violence).
+          "adult": "A String", # Represents the adult content likelihood for the image. Adult content may
+              # contain elements such as nudity, pornographic images or cartoons, or
+              # sexual activities.
+          "spoof": "A String", # Spoof likelihood. The likelihood that an modification
+              # was made to the image's canonical version to make it appear
+              # funny or offensive.
+          "medical": "A String", # Likelihood that this is a medical image.
+          "racy": "A String", # Likelihood that the request image contains racy content. Racy content may
+              # include (but is not limited to) skimpy or sheer clothing, strategically
+              # covered nudity, lewd or provocative poses, or close-ups of sensitive
+              # body areas.
+          "violence": "A String", # Likelihood that this image contains violent content.
+        },
+        "landmarkAnnotations": [ # If present, landmark detection has completed successfully.
+          { # Set of detected entity features.
+            "locale": "A String", # The language code for the locale in which the entity textual
+                # `description` is expressed.
+            "boundingPoly": { # A bounding polygon for the detected image annotation. # Image region to which this entity belongs. Not produced
+                # for `LABEL_DETECTION` features.
+              "normalizedVertices": [ # The bounding polygon normalized vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the normalized vertex coordinates are relative to the original image
+                    # and range from 0 to 1.
+                  "x": 3.14, # X coordinate.
+                  "y": 3.14, # Y coordinate.
+                },
+              ],
+              "vertices": [ # The bounding polygon vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the vertex coordinates are in the same scale as the original image.
+                  "y": 42, # Y coordinate.
+                  "x": 42, # X coordinate.
+                },
+              ],
+            },
+            "description": "A String", # Entity textual description, expressed in its `locale` language.
+            "topicality": 3.14, # The relevancy of the ICA (Image Content Annotation) label to the
+                # image. For example, the relevancy of "tower" is likely higher to an image
+                # containing the detected "Eiffel Tower" than to an image containing a
+                # detected distant towering building, even though the confidence that
+                # there is a tower in each image may be the same. Range [0, 1].
+            "properties": [ # Some entities may have optional user-supplied `Property` (name/value)
+                # fields, such a score or string that qualifies the entity.
+              { # A `Property` consists of a user-supplied name/value pair.
+                "value": "A String", # Value of the property.
+                "uint64Value": "A String", # Value of numeric properties.
+                "name": "A String", # Name of the property.
+              },
+            ],
+            "score": 3.14, # Overall score of the result. Range [0, 1].
+            "locations": [ # The location information for the detected entity. Multiple
+                # `LocationInfo` elements can be present because one location may
+                # indicate the location of the scene in the image, and another location
+                # may indicate the location of the place where the image was taken.
+                # Location information is usually present for landmarks.
+              { # Detected entity location information.
+                "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # lat/long location coordinates.
+                    # of doubles representing degrees latitude and degrees longitude. Unless
+                    # specified otherwise, this must conform to the
+                    # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+                    # standard</a>. Values must be within normalized ranges.
+                  "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+                  "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+                },
+              },
+            ],
+            "mid": "A String", # Opaque entity ID. Some IDs may be available in
+                # [Google Knowledge Graph Search
+                # API](https://developers.google.com/knowledge-graph/).
+            "confidence": 3.14, # **Deprecated. Use `score` instead.**
+                # The accuracy of the entity detection in an image.
+                # For example, for an image in which the "Eiffel Tower" entity is detected,
+                # this field represents the confidence that there is a tower in the query
+                # image. Range [0, 1].
+          },
+        ],
+        "faceAnnotations": [ # If present, face detection has completed successfully.
+          { # A face annotation object contains the results of face detection.
+            "underExposedLikelihood": "A String", # Under-exposed likelihood.
+            "panAngle": 3.14, # Yaw angle, which indicates the leftward/rightward angle that the face is
+                # pointing relative to the vertical plane perpendicular to the image. Range
+                # [-180,180].
+            "detectionConfidence": 3.14, # Detection confidence. Range [0, 1].
+            "blurredLikelihood": "A String", # Blurred likelihood.
+            "headwearLikelihood": "A String", # Headwear likelihood.
+            "boundingPoly": { # A bounding polygon for the detected image annotation. # The bounding polygon around the face. The coordinates of the bounding box
+                # are in the original image's scale.
+                # The bounding box is computed to "frame" the face in accordance with human
+                # expectations. It is based on the landmarker results.
+                # Note that one or more x and/or y coordinates may not be generated in the
+                # `BoundingPoly` (the polygon will be unbounded) if only a partial face
+                # appears in the image to be annotated.
+              "normalizedVertices": [ # The bounding polygon normalized vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the normalized vertex coordinates are relative to the original image
+                    # and range from 0 to 1.
+                  "x": 3.14, # X coordinate.
+                  "y": 3.14, # Y coordinate.
+                },
+              ],
+              "vertices": [ # The bounding polygon vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the vertex coordinates are in the same scale as the original image.
+                  "y": 42, # Y coordinate.
+                  "x": 42, # X coordinate.
+                },
+              ],
+            },
+            "rollAngle": 3.14, # Roll angle, which indicates the amount of clockwise/anti-clockwise rotation
+                # of the face relative to the image vertical about the axis perpendicular to
+                # the face. Range [-180,180].
+            "sorrowLikelihood": "A String", # Sorrow likelihood.
+            "tiltAngle": 3.14, # Pitch angle, which indicates the upwards/downwards angle that the face is
+                # pointing relative to the image's horizontal plane. Range [-180,180].
+            "fdBoundingPoly": { # A bounding polygon for the detected image annotation. # The `fd_bounding_poly` bounding polygon is tighter than the
+                # `boundingPoly`, and encloses only the skin part of the face. Typically, it
+                # is used to eliminate the face from any image analysis that detects the
+                # "amount of skin" visible in an image. It is not based on the
+                # landmarker results, only on the initial face detection, hence
+                # the <code>fd</code> (face detection) prefix.
+              "normalizedVertices": [ # The bounding polygon normalized vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the normalized vertex coordinates are relative to the original image
+                    # and range from 0 to 1.
+                  "x": 3.14, # X coordinate.
+                  "y": 3.14, # Y coordinate.
+                },
+              ],
+              "vertices": [ # The bounding polygon vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the vertex coordinates are in the same scale as the original image.
+                  "y": 42, # Y coordinate.
+                  "x": 42, # X coordinate.
+                },
+              ],
+            },
+            "angerLikelihood": "A String", # Anger likelihood.
+            "landmarks": [ # Detected face landmarks.
+              { # A face-specific landmark (for example, a face feature).
+                "type": "A String", # Face landmark type.
+                "position": { # A 3D position in the image, used primarily for Face detection landmarks. # Face landmark position.
+                    # A valid Position must have both x and y coordinates.
+                    # The position coordinates are in the same scale as the original image.
+                  "x": 3.14, # X coordinate.
+                  "z": 3.14, # Z coordinate (or depth).
+                  "y": 3.14, # Y coordinate.
+                },
+              },
+            ],
+            "surpriseLikelihood": "A String", # Surprise likelihood.
+            "landmarkingConfidence": 3.14, # Face landmarking confidence. Range [0, 1].
+            "joyLikelihood": "A String", # Joy likelihood.
+          },
+        ],
+        "cropHintsAnnotation": { # Set of crop hints that are used to generate new crops when serving images. # If present, crop hints have completed successfully.
+          "cropHints": [ # Crop hint results.
+            { # Single crop hint that is used to generate a new crop when serving an image.
+              "confidence": 3.14, # Confidence of this being a salient region.  Range [0, 1].
+              "importanceFraction": 3.14, # Fraction of importance of this salient region with respect to the original
+                  # image.
+              "boundingPoly": { # A bounding polygon for the detected image annotation. # The bounding polygon for the crop region. The coordinates of the bounding
+                  # box are in the original image's scale.
+                "normalizedVertices": [ # The bounding polygon normalized vertices.
+                  { # A vertex represents a 2D point in the image.
+                      # NOTE: the normalized vertex coordinates are relative to the original image
+                      # and range from 0 to 1.
+                    "x": 3.14, # X coordinate.
+                    "y": 3.14, # Y coordinate.
+                  },
+                ],
+                "vertices": [ # The bounding polygon vertices.
+                  { # A vertex represents a 2D point in the image.
+                      # NOTE: the vertex coordinates are in the same scale as the original image.
+                    "y": 42, # Y coordinate.
+                    "x": 42, # X coordinate.
+                  },
+                ],
+              },
+            },
+          ],
+        },
+        "labelAnnotations": [ # If present, label detection has completed successfully.
+          { # Set of detected entity features.
+            "locale": "A String", # The language code for the locale in which the entity textual
+                # `description` is expressed.
+            "boundingPoly": { # A bounding polygon for the detected image annotation. # Image region to which this entity belongs. Not produced
+                # for `LABEL_DETECTION` features.
+              "normalizedVertices": [ # The bounding polygon normalized vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the normalized vertex coordinates are relative to the original image
+                    # and range from 0 to 1.
+                  "x": 3.14, # X coordinate.
+                  "y": 3.14, # Y coordinate.
+                },
+              ],
+              "vertices": [ # The bounding polygon vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the vertex coordinates are in the same scale as the original image.
+                  "y": 42, # Y coordinate.
+                  "x": 42, # X coordinate.
+                },
+              ],
+            },
+            "description": "A String", # Entity textual description, expressed in its `locale` language.
+            "topicality": 3.14, # The relevancy of the ICA (Image Content Annotation) label to the
+                # image. For example, the relevancy of "tower" is likely higher to an image
+                # containing the detected "Eiffel Tower" than to an image containing a
+                # detected distant towering building, even though the confidence that
+                # there is a tower in each image may be the same. Range [0, 1].
+            "properties": [ # Some entities may have optional user-supplied `Property` (name/value)
+                # fields, such a score or string that qualifies the entity.
+              { # A `Property` consists of a user-supplied name/value pair.
+                "value": "A String", # Value of the property.
+                "uint64Value": "A String", # Value of numeric properties.
+                "name": "A String", # Name of the property.
+              },
+            ],
+            "score": 3.14, # Overall score of the result. Range [0, 1].
+            "locations": [ # The location information for the detected entity. Multiple
+                # `LocationInfo` elements can be present because one location may
+                # indicate the location of the scene in the image, and another location
+                # may indicate the location of the place where the image was taken.
+                # Location information is usually present for landmarks.
+              { # Detected entity location information.
+                "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # lat/long location coordinates.
+                    # of doubles representing degrees latitude and degrees longitude. Unless
+                    # specified otherwise, this must conform to the
+                    # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+                    # standard</a>. Values must be within normalized ranges.
+                  "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+                  "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+                },
+              },
+            ],
+            "mid": "A String", # Opaque entity ID. Some IDs may be available in
+                # [Google Knowledge Graph Search
+                # API](https://developers.google.com/knowledge-graph/).
+            "confidence": 3.14, # **Deprecated. Use `score` instead.**
+                # The accuracy of the entity detection in an image.
+                # For example, for an image in which the "Eiffel Tower" entity is detected,
+                # this field represents the confidence that there is a tower in the query
+                # image. Range [0, 1].
+          },
+        ],
       },
     ],
   }</pre>
@@ -1337,6 +1337,12 @@
           &quot;source&quot;: { # External image source (Google Cloud Storage or web URL image location). # Google Cloud Storage image location, or publicly-accessible image
               # URL. If both `content` and `source` are provided for an image, `content`
               # takes precedence and is used to perform the image annotation request.
+            &quot;gcsImageUri&quot;: &quot;A String&quot;, # **Use `image_uri` instead.**
+                #
+                # The Google Cloud Storage  URI of the form
+                # `gs://bucket_name/object_name`. Object versioning is not supported. See
+                # [Google Cloud Storage Request
+                # URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.
             &quot;imageUri&quot;: &quot;A String&quot;, # The URI of the source image. Can be either:
                 #
                 # 1. A Google Cloud Storage URI of the form
@@ -1354,12 +1360,6 @@
                 #
                 # When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes
                 # precedence.
-            &quot;gcsImageUri&quot;: &quot;A String&quot;, # **Use `image_uri` instead.**
-                #
-                # The Google Cloud Storage  URI of the form
-                # `gs://bucket_name/object_name`. Object versioning is not supported. See
-                # [Google Cloud Storage Request
-                # URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.
           },
         },
         &quot;features&quot;: [ # Requested features.
@@ -1375,37 +1375,6 @@
           },
         ],
         &quot;imageContext&quot;: { # Image context and/or feature-specific parameters. # Additional context that may accompany the image.
-          &quot;languageHints&quot;: [ # List of languages to use for TEXT_DETECTION. In most cases, an empty value
-              # yields the best results since it enables automatic language detection. For
-              # languages based on the Latin alphabet, setting `language_hints` is not
-              # needed. In rare cases, when the language of the text in the image is known,
-              # setting a hint will help get better results (although it will be a
-              # significant hindrance if the hint is wrong). Text detection returns an
-              # error if one or more of the specified languages is not one of the
-              # [supported languages](https://cloud.google.com/vision/docs/languages).
-            &quot;A String&quot;,
-          ],
-          &quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
-            &quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
-          },
-          &quot;latLongRect&quot;: { # Rectangle determined by min and max `LatLng` pairs. # Not used.
-            &quot;minLatLng&quot;: { # An object representing a latitude/longitude pair. This is expressed as a pair # Min lat/long pair.
-                # of doubles representing degrees latitude and degrees longitude. Unless
-                # specified otherwise, this must conform to the
-                # &lt;a href=&quot;http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf&quot;&gt;WGS84
-                # standard&lt;/a&gt;. Values must be within normalized ranges.
-              &quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
-              &quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
-            },
-            &quot;maxLatLng&quot;: { # An object representing a latitude/longitude pair. This is expressed as a pair # Max lat/long pair.
-                # of doubles representing degrees latitude and degrees longitude. Unless
-                # specified otherwise, this must conform to the
-                # &lt;a href=&quot;http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf&quot;&gt;WGS84
-                # standard&lt;/a&gt;. Values must be within normalized ranges.
-              &quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
-              &quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
-            },
-          },
           &quot;cropHintsParams&quot;: { # Parameters for crop hints annotation request. # Parameters for crop hints annotation request.
             &quot;aspectRatios&quot;: [ # Aspect ratios in floats, representing the ratio of the width to the height
                 # of the image. For example, if the desired aspect ratio is 4/3, the
@@ -1417,28 +1386,6 @@
             ],
           },
           &quot;productSearchParams&quot;: { # Parameters for a product search request. # Parameters for product search.
-            &quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images.
-                #
-                # Format is:
-                # `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
-            &quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon around the area of interest in the image.
-                # If it is not specified, system discretion will be applied.
-              &quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the normalized vertex coordinates are relative to the original image
-                    # and range from 0 to 1.
-                  &quot;y&quot;: 3.14, # Y coordinate.
-                  &quot;x&quot;: 3.14, # X coordinate.
-                },
-              ],
-              &quot;vertices&quot;: [ # The bounding polygon vertices.
-                { # A vertex represents a 2D point in the image.
-                    # NOTE: the vertex coordinates are in the same scale as the original image.
-                  &quot;y&quot;: 42, # Y coordinate.
-                  &quot;x&quot;: 42, # X coordinate.
-                },
-              ],
-            },
             &quot;productCategories&quot;: [ # The list of product categories to search in. Currently, we only consider
                 # the first category, and either &quot;homegoods-v2&quot;, &quot;apparel-v2&quot;, &quot;toys-v2&quot;,
                 # &quot;packagedgoods-v1&quot;, or &quot;general-v1&quot; should be specified. The legacy
@@ -1456,6 +1403,59 @@
                 # For example, &quot;(color = red OR color = blue) AND brand = Google&quot; is
                 # acceptable, but &quot;(color = red OR brand = Google)&quot; is not acceptable.
                 # &quot;color: red&quot; is not acceptable because it uses a &#x27;:&#x27; instead of an &#x27;=&#x27;.
+            &quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images.
+                #
+                # Format is:
+                # `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
+            &quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon around the area of interest in the image.
+                # If it is not specified, system discretion will be applied.
+              &quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the normalized vertex coordinates are relative to the original image
+                    # and range from 0 to 1.
+                  &quot;x&quot;: 3.14, # X coordinate.
+                  &quot;y&quot;: 3.14, # Y coordinate.
+                },
+              ],
+              &quot;vertices&quot;: [ # The bounding polygon vertices.
+                { # A vertex represents a 2D point in the image.
+                    # NOTE: the vertex coordinates are in the same scale as the original image.
+                  &quot;y&quot;: 42, # Y coordinate.
+                  &quot;x&quot;: 42, # X coordinate.
+                },
+              ],
+            },
+          },
+          &quot;languageHints&quot;: [ # List of languages to use for TEXT_DETECTION. In most cases, an empty value
+              # yields the best results since it enables automatic language detection. For
+              # languages based on the Latin alphabet, setting `language_hints` is not
+              # needed. In rare cases, when the language of the text in the image is known,
+              # setting a hint will help get better results (although it will be a
+              # significant hindrance if the hint is wrong). Text detection returns an
+              # error if one or more of the specified languages is not one of the
+              # [supported languages](https://cloud.google.com/vision/docs/languages).
+            &quot;A String&quot;,
+          ],
+          &quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
+            &quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
+          },
+          &quot;latLongRect&quot;: { # Rectangle determined by min and max `LatLng` pairs. # Not used.
+            &quot;maxLatLng&quot;: { # An object representing a latitude/longitude pair. This is expressed as a pair # Max lat/long pair.
+                # of doubles representing degrees latitude and degrees longitude. Unless
+                # specified otherwise, this must conform to the
+                # &lt;a href=&quot;http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf&quot;&gt;WGS84
+                # standard&lt;/a&gt;. Values must be within normalized ranges.
+              &quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+              &quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+            },
+            &quot;minLatLng&quot;: { # An object representing a latitude/longitude pair. This is expressed as a pair # Min lat/long pair.
+                # of doubles representing degrees latitude and degrees longitude. Unless
+                # specified otherwise, this must conform to the
+                # &lt;a href=&quot;http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf&quot;&gt;WGS84
+                # standard&lt;/a&gt;. Values must be within normalized ranges.
+              &quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+              &quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+            },
           },
         },
       },