parent
552c2fa71e
commit
4d029c8b30
|
@ -61237,6 +61237,198 @@
|
||||||
"/vision:v1/Feature": feature
|
"/vision:v1/Feature": feature
|
||||||
"/vision:v1/Feature/maxResults": max_results
|
"/vision:v1/Feature/maxResults": max_results
|
||||||
"/vision:v1/Feature/type": type
|
"/vision:v1/Feature/type": type
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageRequest": google_cloud_vision_v1_annotate_image_request
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageRequest/features": features
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageRequest/features/feature": feature
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageRequest/image": image
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageRequest/imageContext": image_context
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse": google_cloud_vision_v1_annotate_image_response
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/error": error
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/faceAnnotations": face_annotations
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/faceAnnotations/face_annotation": face_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/fullTextAnnotation": full_text_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/imagePropertiesAnnotation": image_properties_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/labelAnnotations": label_annotations
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/landmarkAnnotations": landmark_annotations
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/logoAnnotations": logo_annotations
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/textAnnotations": text_annotations
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/textAnnotations/text_annotation": text_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1AnnotateImageResponse/webDetection": web_detection
|
||||||
|
"/vision:v1/GoogleCloudVisionV1BatchAnnotateImagesRequest": google_cloud_vision_v1_batch_annotate_images_request
|
||||||
|
"/vision:v1/GoogleCloudVisionV1BatchAnnotateImagesRequest/requests": requests
|
||||||
|
"/vision:v1/GoogleCloudVisionV1BatchAnnotateImagesRequest/requests/request": request
|
||||||
|
"/vision:v1/GoogleCloudVisionV1BatchAnnotateImagesResponse": google_cloud_vision_v1_batch_annotate_images_response
|
||||||
|
"/vision:v1/GoogleCloudVisionV1BatchAnnotateImagesResponse/responses": responses
|
||||||
|
"/vision:v1/GoogleCloudVisionV1BatchAnnotateImagesResponse/responses/response": response
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Block": google_cloud_vision_v1_block
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Block/blockType": block_type
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Block/boundingBox": bounding_box
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Block/paragraphs": paragraphs
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Block/paragraphs/paragraph": paragraph
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Block/property": property
|
||||||
|
"/vision:v1/GoogleCloudVisionV1BoundingPoly": google_cloud_vision_v1_bounding_poly
|
||||||
|
"/vision:v1/GoogleCloudVisionV1BoundingPoly/vertices": vertices
|
||||||
|
"/vision:v1/GoogleCloudVisionV1BoundingPoly/vertices/vertex": vertex
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ColorInfo": google_cloud_vision_v1_color_info
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ColorInfo/color": color
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ColorInfo/pixelFraction": pixel_fraction
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ColorInfo/score": score
|
||||||
|
"/vision:v1/GoogleCloudVisionV1CropHint": google_cloud_vision_v1_crop_hint
|
||||||
|
"/vision:v1/GoogleCloudVisionV1CropHint/boundingPoly": bounding_poly
|
||||||
|
"/vision:v1/GoogleCloudVisionV1CropHint/confidence": confidence
|
||||||
|
"/vision:v1/GoogleCloudVisionV1CropHint/importanceFraction": importance_fraction
|
||||||
|
"/vision:v1/GoogleCloudVisionV1CropHintsAnnotation": google_cloud_vision_v1_crop_hints_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1CropHintsAnnotation/cropHints": crop_hints
|
||||||
|
"/vision:v1/GoogleCloudVisionV1CropHintsAnnotation/cropHints/crop_hint": crop_hint
|
||||||
|
"/vision:v1/GoogleCloudVisionV1CropHintsParams": google_cloud_vision_v1_crop_hints_params
|
||||||
|
"/vision:v1/GoogleCloudVisionV1CropHintsParams/aspectRatios": aspect_ratios
|
||||||
|
"/vision:v1/GoogleCloudVisionV1CropHintsParams/aspectRatios/aspect_ratio": aspect_ratio
|
||||||
|
"/vision:v1/GoogleCloudVisionV1DominantColorsAnnotation": google_cloud_vision_v1_dominant_colors_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1DominantColorsAnnotation/colors": colors
|
||||||
|
"/vision:v1/GoogleCloudVisionV1DominantColorsAnnotation/colors/color": color
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation": google_cloud_vision_v1_entity_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/boundingPoly": bounding_poly
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/confidence": confidence
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/description": description
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/locale": locale
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/locations": locations
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/locations/location": location
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/mid": mid
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/properties": properties
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/properties/property": property
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/score": score
|
||||||
|
"/vision:v1/GoogleCloudVisionV1EntityAnnotation/topicality": topicality
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation": google_cloud_vision_v1_face_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/angerLikelihood": anger_likelihood
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/blurredLikelihood": blurred_likelihood
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/boundingPoly": bounding_poly
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/detectionConfidence": detection_confidence
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/fdBoundingPoly": fd_bounding_poly
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/headwearLikelihood": headwear_likelihood
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/joyLikelihood": joy_likelihood
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/landmarkingConfidence": landmarking_confidence
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/landmarks": landmarks
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/landmarks/landmark": landmark
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/panAngle": pan_angle
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/rollAngle": roll_angle
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/sorrowLikelihood": sorrow_likelihood
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/surpriseLikelihood": surprise_likelihood
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/tiltAngle": tilt_angle
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotation/underExposedLikelihood": under_exposed_likelihood
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotationLandmark": google_cloud_vision_v1_face_annotation_landmark
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotationLandmark/position": position
|
||||||
|
"/vision:v1/GoogleCloudVisionV1FaceAnnotationLandmark/type": type
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Feature": google_cloud_vision_v1_feature
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Feature/maxResults": max_results
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Feature/type": type
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Image": google_cloud_vision_v1_image
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Image/content": content
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Image/source": source
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ImageContext": google_cloud_vision_v1_image_context
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ImageContext/cropHintsParams": crop_hints_params
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ImageContext/languageHints": language_hints
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ImageContext/languageHints/language_hint": language_hint
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ImageContext/latLongRect": lat_long_rect
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ImageProperties": google_cloud_vision_v1_image_properties
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ImageProperties/dominantColors": dominant_colors
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ImageSource": google_cloud_vision_v1_image_source
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ImageSource/gcsImageUri": gcs_image_uri
|
||||||
|
"/vision:v1/GoogleCloudVisionV1ImageSource/imageUri": image_uri
|
||||||
|
"/vision:v1/GoogleCloudVisionV1LatLongRect": google_cloud_vision_v1_lat_long_rect
|
||||||
|
"/vision:v1/GoogleCloudVisionV1LatLongRect/maxLatLng": max_lat_lng
|
||||||
|
"/vision:v1/GoogleCloudVisionV1LatLongRect/minLatLng": min_lat_lng
|
||||||
|
"/vision:v1/GoogleCloudVisionV1LocationInfo": google_cloud_vision_v1_location_info
|
||||||
|
"/vision:v1/GoogleCloudVisionV1LocationInfo/latLng": lat_lng
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Page": google_cloud_vision_v1_page
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Page/blocks": blocks
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Page/blocks/block": block
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Page/height": height
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Page/property": property
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Page/width": width
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Paragraph": google_cloud_vision_v1_paragraph
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Paragraph/boundingBox": bounding_box
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Paragraph/property": property
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Paragraph/words": words
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Paragraph/words/word": word
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Position": google_cloud_vision_v1_position
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Position/x": x
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Position/y": y
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Position/z": z
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Property": google_cloud_vision_v1_property
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Property/name": name
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Property/uint64Value": uint64_value
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Property/value": value
|
||||||
|
"/vision:v1/GoogleCloudVisionV1SafeSearchAnnotation": google_cloud_vision_v1_safe_search_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1SafeSearchAnnotation/adult": adult
|
||||||
|
"/vision:v1/GoogleCloudVisionV1SafeSearchAnnotation/medical": medical
|
||||||
|
"/vision:v1/GoogleCloudVisionV1SafeSearchAnnotation/spoof": spoof
|
||||||
|
"/vision:v1/GoogleCloudVisionV1SafeSearchAnnotation/violence": violence
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Symbol": google_cloud_vision_v1_symbol
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Symbol/boundingBox": bounding_box
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Symbol/property": property
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Symbol/text": text
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotation": google_cloud_vision_v1_text_annotation
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotation/pages": pages
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotation/pages/page": page
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotation/text": text
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotationDetectedBreak": google_cloud_vision_v1_text_annotation_detected_break
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotationDetectedBreak/isPrefix": is_prefix
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotationDetectedBreak/type": type
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotationDetectedLanguage": google_cloud_vision_v1_text_annotation_detected_language
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotationDetectedLanguage/confidence": confidence
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotationDetectedLanguage/languageCode": language_code
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotationTextProperty": google_cloud_vision_v1_text_annotation_text_property
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotationTextProperty/detectedBreak": detected_break
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotationTextProperty/detectedLanguages": detected_languages
|
||||||
|
"/vision:v1/GoogleCloudVisionV1TextAnnotationTextProperty/detectedLanguages/detected_language": detected_language
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Vertex": google_cloud_vision_v1_vertex
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Vertex/x": x
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Vertex/y": y
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection": google_cloud_vision_v1_web_detection
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection/fullMatchingImages": full_matching_images
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection/fullMatchingImages/full_matching_image": full_matching_image
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection/pagesWithMatchingImages": pages_with_matching_images
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection/pagesWithMatchingImages/pages_with_matching_image": pages_with_matching_image
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection/partialMatchingImages": partial_matching_images
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection/partialMatchingImages/partial_matching_image": partial_matching_image
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection/visuallySimilarImages": visually_similar_images
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection/visuallySimilarImages/visually_similar_image": visually_similar_image
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection/webEntities": web_entities
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetection/webEntities/web_entity": web_entity
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetectionWebEntity": google_cloud_vision_v1_web_detection_web_entity
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetectionWebEntity/description": description
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetectionWebEntity/entityId": entity_id
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetectionWebEntity/score": score
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetectionWebImage": google_cloud_vision_v1_web_detection_web_image
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetectionWebImage/score": score
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetectionWebImage/url": url
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetectionWebPage": google_cloud_vision_v1_web_detection_web_page
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetectionWebPage/score": score
|
||||||
|
"/vision:v1/GoogleCloudVisionV1WebDetectionWebPage/url": url
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Word": google_cloud_vision_v1_word
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Word/boundingBox": bounding_box
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Word/property": property
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Word/symbols": symbols
|
||||||
|
"/vision:v1/GoogleCloudVisionV1Word/symbols/symbol": symbol
|
||||||
|
"/vision:v1/GoogleRpcStatus": google_rpc_status
|
||||||
|
"/vision:v1/GoogleRpcStatus/code": code
|
||||||
|
"/vision:v1/GoogleRpcStatus/details": details
|
||||||
|
"/vision:v1/GoogleRpcStatus/details/detail": detail
|
||||||
|
"/vision:v1/GoogleRpcStatus/details/detail/detail": detail
|
||||||
|
"/vision:v1/GoogleRpcStatus/message": message
|
||||||
|
"/vision:v1/GoogleTypeColor": google_type_color
|
||||||
|
"/vision:v1/GoogleTypeColor/alpha": alpha
|
||||||
|
"/vision:v1/GoogleTypeColor/blue": blue
|
||||||
|
"/vision:v1/GoogleTypeColor/green": green
|
||||||
|
"/vision:v1/GoogleTypeColor/red": red
|
||||||
|
"/vision:v1/GoogleTypeLatLng": google_type_lat_lng
|
||||||
|
"/vision:v1/GoogleTypeLatLng/latitude": latitude
|
||||||
|
"/vision:v1/GoogleTypeLatLng/longitude": longitude
|
||||||
"/vision:v1/Image": image
|
"/vision:v1/Image": image
|
||||||
"/vision:v1/Image/content": content
|
"/vision:v1/Image/content": content
|
||||||
"/vision:v1/Image/source": source
|
"/vision:v1/Image/source": source
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/vision/
|
# @see https://cloud.google.com/vision/
|
||||||
module VisionV1
|
module VisionV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20171003'
|
REVISION = '20171102'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,424 +22,398 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module VisionV1
|
module VisionV1
|
||||||
|
|
||||||
class AnnotateImageRequest
|
class GoogleCloudVisionV1AnnotateImageRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class AnnotateImageResponse
|
class GoogleCloudVisionV1AnnotateImageResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class BatchAnnotateImagesRequest
|
class GoogleCloudVisionV1BatchAnnotateImagesRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class BatchAnnotateImagesResponse
|
class GoogleCloudVisionV1BatchAnnotateImagesResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Block
|
class GoogleCloudVisionV1Block
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class BoundingPoly
|
class GoogleCloudVisionV1BoundingPoly
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Color
|
class GoogleCloudVisionV1ColorInfo
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ColorInfo
|
class GoogleCloudVisionV1CropHint
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CropHint
|
class GoogleCloudVisionV1CropHintsAnnotation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CropHintsAnnotation
|
class GoogleCloudVisionV1CropHintsParams
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CropHintsParams
|
class GoogleCloudVisionV1DominantColorsAnnotation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class DetectedBreak
|
class GoogleCloudVisionV1EntityAnnotation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class DetectedLanguage
|
class GoogleCloudVisionV1FaceAnnotation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class DominantColorsAnnotation
|
class GoogleCloudVisionV1FaceAnnotationLandmark
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class EntityAnnotation
|
class GoogleCloudVisionV1Feature
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class FaceAnnotation
|
class GoogleCloudVisionV1Image
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Feature
|
class GoogleCloudVisionV1ImageContext
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Image
|
class GoogleCloudVisionV1ImageProperties
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ImageContext
|
class GoogleCloudVisionV1ImageSource
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ImageProperties
|
class GoogleCloudVisionV1LatLongRect
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ImageSource
|
class GoogleCloudVisionV1LocationInfo
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Landmark
|
class GoogleCloudVisionV1Page
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class LatLng
|
class GoogleCloudVisionV1Paragraph
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class LatLongRect
|
class GoogleCloudVisionV1Position
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class LocationInfo
|
class GoogleCloudVisionV1Property
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Page
|
class GoogleCloudVisionV1SafeSearchAnnotation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Paragraph
|
class GoogleCloudVisionV1Symbol
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Position
|
class GoogleCloudVisionV1TextAnnotation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Property
|
class GoogleCloudVisionV1TextAnnotationDetectedBreak
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class SafeSearchAnnotation
|
class GoogleCloudVisionV1TextAnnotationDetectedLanguage
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Status
|
class GoogleCloudVisionV1TextAnnotationTextProperty
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Symbol
|
class GoogleCloudVisionV1Vertex
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class TextAnnotation
|
class GoogleCloudVisionV1WebDetection
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class TextProperty
|
class GoogleCloudVisionV1WebDetectionWebEntity
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Vertex
|
class GoogleCloudVisionV1WebDetectionWebImage
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class WebDetection
|
class GoogleCloudVisionV1WebDetectionWebPage
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class WebEntity
|
class GoogleCloudVisionV1Word
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class WebImage
|
class GoogleRpcStatus
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class WebPage
|
class GoogleTypeColor
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Word
|
class GoogleTypeLatLng
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class AnnotateImageRequest
|
class GoogleCloudVisionV1AnnotateImageRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
|
collection :features, as: 'features', class: Google::Apis::VisionV1::GoogleCloudVisionV1Feature, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Feature::Representation
|
||||||
|
|
||||||
property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
|
property :image, as: 'image', class: Google::Apis::VisionV1::GoogleCloudVisionV1Image, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Image::Representation
|
||||||
|
|
||||||
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
|
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::GoogleCloudVisionV1ImageContext, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1ImageContext::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class AnnotateImageResponse
|
class GoogleCloudVisionV1AnnotateImageResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
|
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1CropHintsAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1CropHintsAnnotation::Representation
|
||||||
|
|
||||||
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
|
property :error, as: 'error', class: Google::Apis::VisionV1::GoogleRpcStatus, decorator: Google::Apis::VisionV1::GoogleRpcStatus::Representation
|
||||||
|
|
||||||
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
|
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1FaceAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1FaceAnnotation::Representation
|
||||||
|
|
||||||
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
|
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotation::Representation
|
||||||
|
|
||||||
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1ImageProperties, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1ImageProperties::Representation
|
||||||
|
|
||||||
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1EntityAnnotation::Representation
|
||||||
|
|
||||||
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1EntityAnnotation::Representation
|
||||||
|
|
||||||
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1EntityAnnotation::Representation
|
||||||
|
|
||||||
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1SafeSearchAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1SafeSearchAnnotation::Representation
|
||||||
|
|
||||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1EntityAnnotation::Representation
|
||||||
|
|
||||||
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
|
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetection, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetection::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class BatchAnnotateImagesRequest
|
class GoogleCloudVisionV1BatchAnnotateImagesRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
|
collection :requests, as: 'requests', class: Google::Apis::VisionV1::GoogleCloudVisionV1AnnotateImageRequest, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1AnnotateImageRequest::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class BatchAnnotateImagesResponse
|
class GoogleCloudVisionV1BatchAnnotateImagesResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1::GoogleCloudVisionV1AnnotateImageResponse, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1AnnotateImageResponse::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Block
|
class GoogleCloudVisionV1Block
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :block_type, as: 'blockType'
|
property :block_type, as: 'blockType'
|
||||||
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly::Representation
|
||||||
|
|
||||||
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::GoogleCloudVisionV1Paragraph, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Paragraph::Representation
|
||||||
|
|
||||||
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class BoundingPoly
|
class GoogleCloudVisionV1BoundingPoly
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
|
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::GoogleCloudVisionV1Vertex, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Vertex::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Color
|
class GoogleCloudVisionV1ColorInfo
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :alpha, as: 'alpha'
|
property :color, as: 'color', class: Google::Apis::VisionV1::GoogleTypeColor, decorator: Google::Apis::VisionV1::GoogleTypeColor::Representation
|
||||||
property :blue, as: 'blue'
|
|
||||||
property :green, as: 'green'
|
|
||||||
property :red, as: 'red'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ColorInfo
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
|
|
||||||
|
|
||||||
property :pixel_fraction, as: 'pixelFraction'
|
property :pixel_fraction, as: 'pixelFraction'
|
||||||
property :score, as: 'score'
|
property :score, as: 'score'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CropHint
|
class GoogleCloudVisionV1CropHint
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly::Representation
|
||||||
|
|
||||||
property :confidence, as: 'confidence'
|
property :confidence, as: 'confidence'
|
||||||
property :importance_fraction, as: 'importanceFraction'
|
property :importance_fraction, as: 'importanceFraction'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CropHintsAnnotation
|
class GoogleCloudVisionV1CropHintsAnnotation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation
|
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::GoogleCloudVisionV1CropHint, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1CropHint::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CropHintsParams
|
class GoogleCloudVisionV1CropHintsParams
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :aspect_ratios, as: 'aspectRatios'
|
collection :aspect_ratios, as: 'aspectRatios'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class DetectedBreak
|
class GoogleCloudVisionV1DominantColorsAnnotation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :is_prefix, as: 'isPrefix'
|
collection :colors, as: 'colors', class: Google::Apis::VisionV1::GoogleCloudVisionV1ColorInfo, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1ColorInfo::Representation
|
||||||
property :type, as: 'type'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class DetectedLanguage
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :confidence, as: 'confidence'
|
|
||||||
property :language_code, as: 'languageCode'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class DominantColorsAnnotation
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class EntityAnnotation
|
class GoogleCloudVisionV1EntityAnnotation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly::Representation
|
||||||
|
|
||||||
property :confidence, as: 'confidence'
|
property :confidence, as: 'confidence'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :locale, as: 'locale'
|
property :locale, as: 'locale'
|
||||||
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
|
collection :locations, as: 'locations', class: Google::Apis::VisionV1::GoogleCloudVisionV1LocationInfo, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1LocationInfo::Representation
|
||||||
|
|
||||||
property :mid, as: 'mid'
|
property :mid, as: 'mid'
|
||||||
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
|
collection :properties, as: 'properties', class: Google::Apis::VisionV1::GoogleCloudVisionV1Property, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Property::Representation
|
||||||
|
|
||||||
property :score, as: 'score'
|
property :score, as: 'score'
|
||||||
property :topicality, as: 'topicality'
|
property :topicality, as: 'topicality'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class FaceAnnotation
|
class GoogleCloudVisionV1FaceAnnotation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :anger_likelihood, as: 'angerLikelihood'
|
property :anger_likelihood, as: 'angerLikelihood'
|
||||||
property :blurred_likelihood, as: 'blurredLikelihood'
|
property :blurred_likelihood, as: 'blurredLikelihood'
|
||||||
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly::Representation
|
||||||
|
|
||||||
property :detection_confidence, as: 'detectionConfidence'
|
property :detection_confidence, as: 'detectionConfidence'
|
||||||
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly::Representation
|
||||||
|
|
||||||
property :headwear_likelihood, as: 'headwearLikelihood'
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
||||||
property :joy_likelihood, as: 'joyLikelihood'
|
property :joy_likelihood, as: 'joyLikelihood'
|
||||||
property :landmarking_confidence, as: 'landmarkingConfidence'
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
||||||
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
|
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::GoogleCloudVisionV1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1FaceAnnotationLandmark::Representation
|
||||||
|
|
||||||
property :pan_angle, as: 'panAngle'
|
property :pan_angle, as: 'panAngle'
|
||||||
property :roll_angle, as: 'rollAngle'
|
property :roll_angle, as: 'rollAngle'
|
||||||
|
@ -450,7 +424,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Feature
|
class GoogleCloudVisionV1FaceAnnotationLandmark
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :position, as: 'position', class: Google::Apis::VisionV1::GoogleCloudVisionV1Position, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Position::Representation
|
||||||
|
|
||||||
|
property :type, as: 'type'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVisionV1Feature
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :max_results, as: 'maxResults'
|
property :max_results, as: 'maxResults'
|
||||||
|
@ -458,35 +441,35 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Image
|
class GoogleCloudVisionV1Image
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :content, :base64 => true, as: 'content'
|
property :content, :base64 => true, as: 'content'
|
||||||
property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation
|
property :source, as: 'source', class: Google::Apis::VisionV1::GoogleCloudVisionV1ImageSource, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1ImageSource::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ImageContext
|
class GoogleCloudVisionV1ImageContext
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
|
property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::GoogleCloudVisionV1CropHintsParams, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1CropHintsParams::Representation
|
||||||
|
|
||||||
collection :language_hints, as: 'languageHints'
|
collection :language_hints, as: 'languageHints'
|
||||||
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
|
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::GoogleCloudVisionV1LatLongRect, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1LatLongRect::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ImageProperties
|
class GoogleCloudVisionV1ImageProperties
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
|
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::GoogleCloudVisionV1DominantColorsAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1DominantColorsAnnotation::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ImageSource
|
class GoogleCloudVisionV1ImageSource
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :gcs_image_uri, as: 'gcsImageUri'
|
property :gcs_image_uri, as: 'gcsImageUri'
|
||||||
|
@ -494,66 +477,49 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Landmark
|
class GoogleCloudVisionV1LatLongRect
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
|
property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::GoogleTypeLatLng, decorator: Google::Apis::VisionV1::GoogleTypeLatLng::Representation
|
||||||
|
|
||||||
property :type, as: 'type'
|
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::GoogleTypeLatLng, decorator: Google::Apis::VisionV1::GoogleTypeLatLng::Representation
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class LatLng
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :latitude, as: 'latitude'
|
|
||||||
property :longitude, as: 'longitude'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class LatLongRect
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
|
||||||
|
|
||||||
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class LocationInfo
|
class GoogleCloudVisionV1LocationInfo
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::GoogleTypeLatLng, decorator: Google::Apis::VisionV1::GoogleTypeLatLng::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Page
|
class GoogleCloudVisionV1Page
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation
|
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::GoogleCloudVisionV1Block, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Block::Representation
|
||||||
|
|
||||||
property :height, as: 'height'
|
property :height, as: 'height'
|
||||||
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty::Representation
|
||||||
|
|
||||||
property :width, as: 'width'
|
property :width, as: 'width'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Paragraph
|
class GoogleCloudVisionV1Paragraph
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly::Representation
|
||||||
|
|
||||||
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty::Representation
|
||||||
|
|
||||||
collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
|
collection :words, as: 'words', class: Google::Apis::VisionV1::GoogleCloudVisionV1Word, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Word::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Position
|
class GoogleCloudVisionV1Position
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :x, as: 'x'
|
property :x, as: 'x'
|
||||||
|
@ -562,7 +528,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Property
|
class GoogleCloudVisionV1Property
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
@ -571,7 +537,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class SafeSearchAnnotation
|
class GoogleCloudVisionV1SafeSearchAnnotation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :adult, as: 'adult'
|
property :adult, as: 'adult'
|
||||||
|
@ -581,46 +547,53 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Status
|
class GoogleCloudVisionV1Symbol
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :code, as: 'code'
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly::Representation
|
||||||
collection :details, as: 'details'
|
|
||||||
property :message, as: 'message'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Symbol
|
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty::Representation
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
||||||
|
|
||||||
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
||||||
|
|
||||||
property :text, as: 'text'
|
property :text, as: 'text'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class TextAnnotation
|
class GoogleCloudVisionV1TextAnnotation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
|
collection :pages, as: 'pages', class: Google::Apis::VisionV1::GoogleCloudVisionV1Page, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Page::Representation
|
||||||
|
|
||||||
property :text, as: 'text'
|
property :text, as: 'text'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class TextProperty
|
class GoogleCloudVisionV1TextAnnotationDetectedBreak
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
|
property :is_prefix, as: 'isPrefix'
|
||||||
|
property :type, as: 'type'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
|
class GoogleCloudVisionV1TextAnnotationDetectedLanguage
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :confidence, as: 'confidence'
|
||||||
|
property :language_code, as: 'languageCode'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVisionV1TextAnnotationTextProperty
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationDetectedBreak::Representation
|
||||||
|
|
||||||
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationDetectedLanguage::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Vertex
|
class GoogleCloudVisionV1Vertex
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :x, as: 'x'
|
property :x, as: 'x'
|
||||||
|
@ -628,23 +601,23 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class WebDetection
|
class GoogleCloudVisionV1WebDetection
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetectionWebImage::Representation
|
||||||
|
|
||||||
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
|
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetectionWebPage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetectionWebPage::Representation
|
||||||
|
|
||||||
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetectionWebImage::Representation
|
||||||
|
|
||||||
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetectionWebImage::Representation
|
||||||
|
|
||||||
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
|
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetectionWebEntity, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1WebDetectionWebEntity::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class WebEntity
|
class GoogleCloudVisionV1WebDetectionWebEntity
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
|
@ -653,7 +626,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class WebImage
|
class GoogleCloudVisionV1WebDetectionWebImage
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :score, as: 'score'
|
property :score, as: 'score'
|
||||||
|
@ -661,7 +634,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class WebPage
|
class GoogleCloudVisionV1WebDetectionWebPage
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :score, as: 'score'
|
property :score, as: 'score'
|
||||||
|
@ -669,17 +642,44 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Word
|
class GoogleCloudVisionV1Word
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1BoundingPoly::Representation
|
||||||
|
|
||||||
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty::Representation
|
||||||
|
|
||||||
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::GoogleCloudVisionV1Symbol, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Symbol::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleRpcStatus
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :code, as: 'code'
|
||||||
|
collection :details, as: 'details'
|
||||||
|
property :message, as: 'message'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleTypeColor
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :alpha, as: 'alpha'
|
||||||
|
property :blue, as: 'blue'
|
||||||
|
property :green, as: 'green'
|
||||||
|
property :red, as: 'red'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleTypeLatLng
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :latitude, as: 'latitude'
|
||||||
|
property :longitude, as: 'longitude'
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Run image detection and annotation for a batch of images.
|
# Run image detection and annotation for a batch of images.
|
||||||
# @param [Google::Apis::VisionV1::BatchAnnotateImagesRequest] batch_annotate_images_request_object
|
# @param [Google::Apis::VisionV1::GoogleCloudVisionV1BatchAnnotateImagesRequest] google_cloud_vision_v1_batch_annotate_images_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -60,20 +60,20 @@ module Google
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
# @yield [result, err] Result & error if block supplied
|
# @yield [result, err] Result & error if block supplied
|
||||||
# @yieldparam result [Google::Apis::VisionV1::BatchAnnotateImagesResponse] parsed result object
|
# @yieldparam result [Google::Apis::VisionV1::GoogleCloudVisionV1BatchAnnotateImagesResponse] parsed result object
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
#
|
#
|
||||||
# @return [Google::Apis::VisionV1::BatchAnnotateImagesResponse]
|
# @return [Google::Apis::VisionV1::GoogleCloudVisionV1BatchAnnotateImagesResponse]
|
||||||
#
|
#
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
# @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::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @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(google_cloud_vision_v1_batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, 'v1/images:annotate', options)
|
command = make_simple_command(:post, 'v1/images:annotate', options)
|
||||||
command.request_representation = Google::Apis::VisionV1::BatchAnnotateImagesRequest::Representation
|
command.request_representation = Google::Apis::VisionV1::GoogleCloudVisionV1BatchAnnotateImagesRequest::Representation
|
||||||
command.request_object = batch_annotate_images_request_object
|
command.request_object = google_cloud_vision_v1_batch_annotate_images_request_object
|
||||||
command.response_representation = Google::Apis::VisionV1::BatchAnnotateImagesResponse::Representation
|
command.response_representation = Google::Apis::VisionV1::GoogleCloudVisionV1BatchAnnotateImagesResponse::Representation
|
||||||
command.response_class = Google::Apis::VisionV1::BatchAnnotateImagesResponse
|
command.response_class = Google::Apis::VisionV1::GoogleCloudVisionV1BatchAnnotateImagesResponse
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
|
|
Loading…
Reference in New Issue