Bump version, regen APIs

This commit is contained in:
Steve Bazyl committed 2017-05-26 10:44:32 -06:00
1 parent b8f6f7c2fe
commit 9237ba59cb
241 files changed
+53894 -50212

No files matched your search

File diff suppressed because it is too large. Load diff
+214 -214
View File
@@ -22,72 +22,6 @@ module Google
module Apis
module VisionV1
class CropHintsParams
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Block
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WebDetection
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchAnnotateImagesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Property
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ImageSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Position
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WebPage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ColorInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EntityAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CropHint
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -112,13 +46,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Image
class Paragraph
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Paragraph
class Image
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@@ -166,13 +100,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LatLongRect
class Symbol
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Symbol
class LatLongRect
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@@ -196,13 +130,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ImageProperties
class Feature
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Feature
class ImageProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@@ -244,13 +178,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class WebEntity
class BoundingPoly
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BoundingPoly
class WebEntity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@@ -263,117 +197,69 @@ module Google
end
class CropHintsParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :aspect_ratios, as: 'aspectRatios'
end
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Block
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
class Representation < Google::Apis::Core::JsonRepresentation; end
property :block_type, as: 'blockType'
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
end
end
class WebDetection
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
end
end
class BatchAnnotateImagesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
end
include Google::Apis::Core::JsonObjectSupport
end
class Property
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uint64_value, :numeric_string => true, as: 'uint64Value'
property :name, as: 'name'
property :value, as: 'value'
end
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
class Representation < Google::Apis::Core::JsonRepresentation; end
end
include Google::Apis::Core::JsonObjectSupport
end
class ImageSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_image_uri, as: 'gcsImageUri'
property :image_uri, as: 'imageUri'
end
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchAnnotateImagesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WebDetection
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Position
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :y, as: 'y'
property :x, as: 'x'
property :z, as: 'z'
end
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WebPage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :score, as: 'score'
property :url, as: 'url'
end
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ColorInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :score, as: 'score'
property :pixel_fraction, as: 'pixelFraction'
property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
class Representation < Google::Apis::Core::JsonRepresentation; end
end
include Google::Apis::Core::JsonObjectSupport
end
class EntityAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :score, as: 'score'
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
class Representation < Google::Apis::Core::JsonRepresentation; end
property :mid, as: 'mid'
property :confidence, as: 'confidence'
property :locale, as: 'locale'
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
property :topicality, as: 'topicality'
property :description, as: 'description'
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
end
include Google::Apis::Core::JsonObjectSupport
end
class CropHint
@@ -389,9 +275,9 @@ module Google
class Landmark
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
property :type, as: 'type'
end
end
@@ -406,12 +292,24 @@ module Google
class Word
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
end
end
class Paragraph
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
end
end
@@ -424,39 +322,27 @@ module Google
end
end
class Paragraph
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
end
end
class FaceAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :sorrow_likelihood, as: 'sorrowLikelihood'
property :tilt_angle, as: 'tiltAngle'
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
property :anger_likelihood, as: 'angerLikelihood'
property :surprise_likelihood, as: 'surpriseLikelihood'
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
property :surprise_likelihood, as: 'surpriseLikelihood'
property :anger_likelihood, as: 'angerLikelihood'
property :joy_likelihood, as: 'joyLikelihood'
property :landmarking_confidence, as: 'landmarkingConfidence'
property :under_exposed_likelihood, as: 'underExposedLikelihood'
property :pan_angle, as: 'panAngle'
property :detection_confidence, as: 'detectionConfidence'
property :pan_angle, as: 'panAngle'
property :under_exposed_likelihood, as: 'underExposedLikelihood'
property :blurred_likelihood, as: 'blurredLikelihood'
property :headwear_likelihood, as: 'headwearLikelihood'
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
property :roll_angle, as: 'rollAngle'
property :sorrow_likelihood, as: 'sorrowLikelihood'
end
end
@@ -471,19 +357,19 @@ module Google
class DetectedBreak
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
property :is_prefix, as: 'isPrefix'
property :type, as: 'type'
end
end
class ImageContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
collection :language_hints, as: 'languageHints'
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
end
end
@@ -520,6 +406,17 @@ module Google
end
end
class Symbol
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
property :text, as: 'text'
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
end
end
class LatLongRect
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -530,17 +427,6 @@ module Google
end
end
class Symbol
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
property :text, as: 'text'
end
end
class CropHintsAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -552,8 +438,8 @@ module Google
class LatLng
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :latitude, as: 'latitude'
property :longitude, as: 'longitude'
property :latitude, as: 'latitude'
end
end
@@ -567,14 +453,6 @@ module Google
end
end
class ImageProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
end
end
class Feature
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -583,13 +461,21 @@ module Google
end
end
class ImageProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
end
end
class SafeSearchAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :spoof, as: 'spoof'
property :medical, as: 'medical'
property :violence, as: 'violence'
property :adult, as: 'adult'
property :spoof, as: 'spoof'
end
end
@@ -621,17 +507,25 @@ module Google
class Vertex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
property :x, as: 'x'
end
end
class TextProperty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
end
end
class BoundingPoly
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
end
end
@@ -645,17 +539,19 @@ module Google
end
end
class BoundingPoly
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
end
end
class AnnotateImageResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
@@ -668,18 +564,122 @@ module Google
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
end
end
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
class CropHintsParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :aspect_ratios, as: 'aspectRatios'
end
end
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
class Block
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
property :block_type, as: 'blockType'
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
end
end
class Property
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uint64_value, :numeric_string => true, as: 'uint64Value'
property :name, as: 'name'
property :value, as: 'value'
end
end
class LocationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
end
end
class ImageSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_image_uri, as: 'gcsImageUri'
property :image_uri, as: 'imageUri'
end
end
class BatchAnnotateImagesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
end
end
class WebDetection
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
end
end
class Position
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :y, as: 'y'
property :x, as: 'x'
property :z, as: 'z'
end
end
class WebPage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :score, as: 'score'
property :url, as: 'url'
end
end
class ColorInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :pixel_fraction, as: 'pixelFraction'
property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
property :score, as: 'score'
end
end
class EntityAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
property :score, as: 'score'
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
property :mid, as: 'mid'
property :confidence, as: 'confidence'
property :locale, as: 'locale'
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
property :description, as: 'description'
property :topicality, as: 'topicality'
end
end
end
end
end
+4 -4
View File
@@ -51,11 +51,11 @@ module Google
# Run image detection and annotation for a batch of images.
# @param [Google::Apis::VisionV1::BatchAnnotateImagesRequest] batch_annotate_images_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -68,14 +68,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def annotate_image(batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
def annotate_image(batch_annotate_images_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/images:annotate', options)
command.request_representation = Google::Apis::VisionV1::BatchAnnotateImagesRequest::Representation
command.request_object = batch_annotate_images_request_object
command.response_representation = Google::Apis::VisionV1::BatchAnnotateImagesResponse::Representation
command.response_class = Google::Apis::VisionV1::BatchAnnotateImagesResponse
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
execute_or_queue_command(command, &block)
end