Autogenerated update (2017-11-07)
Update: - cloudtasks_v2beta2
This commit is contained in:
parent
1499735ecb
commit
2a1ac83df9
|
@ -61561,6 +61561,222 @@
|
|||
"/vision:v1/key": key
|
||||
"/vision:v1/quotaUser": quota_user
|
||||
"/vision:v1/vision.images.annotate": annotate_image
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageRequest": google_cloud_vision_v1p1beta1_annotate_image_request
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageRequest/features": features
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageRequest/features/feature": feature
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageRequest/image": image
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageRequest/imageContext": image_context
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse": google_cloud_vision_v1p1beta1_annotate_image_response
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/error": error
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/faceAnnotations": face_annotations
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/faceAnnotations/face_annotation": face_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/fullTextAnnotation": full_text_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/imagePropertiesAnnotation": image_properties_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/labelAnnotations": label_annotations
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/landmarkAnnotations": landmark_annotations
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/logoAnnotations": logo_annotations
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/textAnnotations": text_annotations
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/textAnnotations/text_annotation": text_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1AnnotateImageResponse/webDetection": web_detection
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest": google_cloud_vision_v1p1beta1_batch_annotate_images_request
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest/requests": requests
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest/requests/request": request
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse": google_cloud_vision_v1p1beta1_batch_annotate_images_response
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse/responses": responses
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse/responses/response": response
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Block": google_cloud_vision_v1p1beta1_block
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Block/blockType": block_type
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Block/boundingBox": bounding_box
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Block/confidence": confidence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Block/paragraphs": paragraphs
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Block/paragraphs/paragraph": paragraph
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Block/property": property
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BoundingPoly": google_cloud_vision_v1p1beta1_bounding_poly
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BoundingPoly/vertices": vertices
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1BoundingPoly/vertices/vertex": vertex
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ColorInfo": google_cloud_vision_v1p1beta1_color_info
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ColorInfo/color": color
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ColorInfo/pixelFraction": pixel_fraction
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ColorInfo/score": score
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1CropHint": google_cloud_vision_v1p1beta1_crop_hint
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1CropHint/boundingPoly": bounding_poly
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1CropHint/confidence": confidence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1CropHint/importanceFraction": importance_fraction
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1CropHintsAnnotation": google_cloud_vision_v1p1beta1_crop_hints_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1CropHintsAnnotation/cropHints": crop_hints
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1CropHintsAnnotation/cropHints/crop_hint": crop_hint
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1CropHintsParams": google_cloud_vision_v1p1beta1_crop_hints_params
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1CropHintsParams/aspectRatios": aspect_ratios
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1CropHintsParams/aspectRatios/aspect_ratio": aspect_ratio
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1DominantColorsAnnotation": google_cloud_vision_v1p1beta1_dominant_colors_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1DominantColorsAnnotation/colors": colors
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1DominantColorsAnnotation/colors/color": color
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation": google_cloud_vision_v1p1beta1_entity_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/boundingPoly": bounding_poly
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/confidence": confidence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/description": description
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/locale": locale
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/locations": locations
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/locations/location": location
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/mid": mid
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/properties": properties
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/properties/property": property
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/score": score
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1EntityAnnotation/topicality": topicality
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation": google_cloud_vision_v1p1beta1_face_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/angerLikelihood": anger_likelihood
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/blurredLikelihood": blurred_likelihood
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/boundingPoly": bounding_poly
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/detectionConfidence": detection_confidence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/fdBoundingPoly": fd_bounding_poly
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/headwearLikelihood": headwear_likelihood
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/joyLikelihood": joy_likelihood
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/landmarkingConfidence": landmarking_confidence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/landmarks": landmarks
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/landmarks/landmark": landmark
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/panAngle": pan_angle
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/rollAngle": roll_angle
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/sorrowLikelihood": sorrow_likelihood
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/surpriseLikelihood": surprise_likelihood
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/tiltAngle": tilt_angle
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotation/underExposedLikelihood": under_exposed_likelihood
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotationLandmark": google_cloud_vision_v1p1beta1_face_annotation_landmark
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotationLandmark/position": position
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1FaceAnnotationLandmark/type": type
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Feature": google_cloud_vision_v1p1beta1_feature
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Feature/maxResults": max_results
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Feature/model": model
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Feature/type": type
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Image": google_cloud_vision_v1p1beta1_image
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Image/content": content
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Image/source": source
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageContext": google_cloud_vision_v1p1beta1_image_context
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageContext/cropHintsParams": crop_hints_params
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageContext/languageHints": language_hints
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageContext/languageHints/language_hint": language_hint
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageContext/latLongRect": lat_long_rect
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageContext/webDetectionParams": web_detection_params
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageProperties": google_cloud_vision_v1p1beta1_image_properties
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageProperties/dominantColors": dominant_colors
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageSource": google_cloud_vision_v1p1beta1_image_source
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageSource/gcsImageUri": gcs_image_uri
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1ImageSource/imageUri": image_uri
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LatLongRect": google_cloud_vision_v1p1beta1_lat_long_rect
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LatLongRect/maxLatLng": max_lat_lng
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LatLongRect/minLatLng": min_lat_lng
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LocationInfo": google_cloud_vision_v1p1beta1_location_info
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1LocationInfo/latLng": lat_lng
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Page": google_cloud_vision_v1p1beta1_page
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Page/blocks": blocks
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Page/blocks/block": block
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Page/confidence": confidence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Page/height": height
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Page/property": property
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Page/width": width
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Paragraph": google_cloud_vision_v1p1beta1_paragraph
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Paragraph/boundingBox": bounding_box
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Paragraph/confidence": confidence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Paragraph/property": property
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Paragraph/words": words
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Paragraph/words/word": word
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Position": google_cloud_vision_v1p1beta1_position
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Position/x": x
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Position/y": y
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Position/z": z
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Property": google_cloud_vision_v1p1beta1_property
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Property/name": name
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Property/uint64Value": uint64_value
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Property/value": value
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1SafeSearchAnnotation": google_cloud_vision_v1p1beta1_safe_search_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1SafeSearchAnnotation/adult": adult
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1SafeSearchAnnotation/medical": medical
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1SafeSearchAnnotation/racy": racy
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1SafeSearchAnnotation/spoof": spoof
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1SafeSearchAnnotation/violence": violence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Symbol": google_cloud_vision_v1p1beta1_symbol
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Symbol/boundingBox": bounding_box
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Symbol/confidence": confidence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Symbol/property": property
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Symbol/text": text
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotation": google_cloud_vision_v1p1beta1_text_annotation
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotation/pages": pages
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotation/pages/page": page
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotation/text": text
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak": google_cloud_vision_v1p1beta1_text_annotation_detected_break
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak/isPrefix": is_prefix
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak/type": type
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage": google_cloud_vision_v1p1beta1_text_annotation_detected_language
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage/confidence": confidence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage/languageCode": language_code
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotationTextProperty": google_cloud_vision_v1p1beta1_text_annotation_text_property
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotationTextProperty/detectedBreak": detected_break
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotationTextProperty/detectedLanguages": detected_languages
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1TextAnnotationTextProperty/detectedLanguages/detected_language": detected_language
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Vertex": google_cloud_vision_v1p1beta1_vertex
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Vertex/x": x
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Vertex/y": y
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection": google_cloud_vision_v1p1beta1_web_detection
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/bestGuessLabels": best_guess_labels
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/bestGuessLabels/best_guess_label": best_guess_label
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/fullMatchingImages": full_matching_images
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/fullMatchingImages/full_matching_image": full_matching_image
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/pagesWithMatchingImages": pages_with_matching_images
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/pagesWithMatchingImages/pages_with_matching_image": pages_with_matching_image
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/partialMatchingImages": partial_matching_images
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/partialMatchingImages/partial_matching_image": partial_matching_image
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/visuallySimilarImages": visually_similar_images
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/visuallySimilarImages/visually_similar_image": visually_similar_image
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/webEntities": web_entities
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetection/webEntities/web_entity": web_entity
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionParams": google_cloud_vision_v1p1beta1_web_detection_params
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionParams/includeGeoResults": include_geo_results
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebEntity": google_cloud_vision_v1p1beta1_web_detection_web_entity
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebEntity/description": description
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebEntity/entityId": entity_id
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebEntity/score": score
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebImage": google_cloud_vision_v1p1beta1_web_detection_web_image
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebImage/score": score
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebImage/url": url
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebLabel": google_cloud_vision_v1p1beta1_web_detection_web_label
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebLabel/label": label
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebLabel/languageCode": language_code
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebPage": google_cloud_vision_v1p1beta1_web_detection_web_page
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebPage/fullMatchingImages": full_matching_images
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebPage/fullMatchingImages/full_matching_image": full_matching_image
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebPage/pageTitle": page_title
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebPage/partialMatchingImages": partial_matching_images
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebPage/partialMatchingImages/partial_matching_image": partial_matching_image
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebPage/score": score
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1WebDetectionWebPage/url": url
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Word": google_cloud_vision_v1p1beta1_word
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Word/boundingBox": bounding_box
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Word/confidence": confidence
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Word/property": property
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Word/symbols": symbols
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Word/symbols/symbol": symbol
|
||||
"/vision:v1p1beta1/GoogleRpcStatus": google_rpc_status
|
||||
"/vision:v1p1beta1/GoogleRpcStatus/code": code
|
||||
"/vision:v1p1beta1/GoogleRpcStatus/details": details
|
||||
"/vision:v1p1beta1/GoogleRpcStatus/details/detail": detail
|
||||
"/vision:v1p1beta1/GoogleRpcStatus/details/detail/detail": detail
|
||||
"/vision:v1p1beta1/GoogleRpcStatus/message": message
|
||||
"/vision:v1p1beta1/GoogleTypeColor": google_type_color
|
||||
"/vision:v1p1beta1/GoogleTypeColor/alpha": alpha
|
||||
"/vision:v1p1beta1/GoogleTypeColor/blue": blue
|
||||
"/vision:v1p1beta1/GoogleTypeColor/green": green
|
||||
"/vision:v1p1beta1/GoogleTypeColor/red": red
|
||||
"/vision:v1p1beta1/GoogleTypeLatLng": google_type_lat_lng
|
||||
"/vision:v1p1beta1/GoogleTypeLatLng/latitude": latitude
|
||||
"/vision:v1p1beta1/GoogleTypeLatLng/longitude": longitude
|
||||
"/vision:v1p1beta1/fields": fields
|
||||
"/vision:v1p1beta1/key": key
|
||||
"/vision:v1p1beta1/quotaUser": quota_user
|
||||
"/vision:v1p1beta1/vision.images.annotate": annotate_image
|
||||
"/webfonts:v1/Webfont": webfont
|
||||
"/webfonts:v1/Webfont/category": category
|
||||
"/webfonts:v1/Webfont/family": family
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/cloud-tasks/
|
||||
module CloudtasksV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20171101'
|
||||
REVISION = '20171106'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -511,6 +511,8 @@ module Google
|
|||
|
||||
# Sets the access control policy for a Queue. Replaces any existing
|
||||
# policy.
|
||||
# Note: The Cloud Console does not check queue-level IAM permissions yet.
|
||||
# Project-level permissions are required to use the Cloud Console.
|
||||
# Authorization requires the following [Google IAM](/iam) permission on the
|
||||
# specified resource parent:
|
||||
# * `cloudtasks.queues.setIamPolicy`
|
||||
|
|
|
@ -522,6 +522,7 @@ module Google
|
|||
|
||||
# The list of transformations to apply to the fields of the document, in
|
||||
# order.
|
||||
# This must not be empty.
|
||||
# Corresponds to the JSON property `fieldTransforms`
|
||||
# @return [Array<Google::Apis::FirestoreV1beta1::FieldTransform>]
|
||||
attr_accessor :field_transforms
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/vision_v1p1beta1/service.rb'
|
||||
require 'google/apis/vision_v1p1beta1/classes.rb'
|
||||
require 'google/apis/vision_v1p1beta1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Cloud Vision API
|
||||
#
|
||||
# Integrates Google Vision features, including image labeling, face, logo, and
|
||||
# landmark detection, optical character recognition (OCR), and detection of
|
||||
# explicit content, into applications.
|
||||
#
|
||||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20171102'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
# Apply machine learning models to understand and label images
|
||||
AUTH_CLOUD_VISION = 'https://www.googleapis.com/auth/cloud-vision'
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,728 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'date'
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module VisionV1p1beta1
|
||||
|
||||
class GoogleCloudVisionV1p1beta1AnnotateImageRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1AnnotateImageResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Block
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1BoundingPoly
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1ColorInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1CropHint
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1CropHintsAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1CropHintsParams
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1DominantColorsAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1EntityAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1FaceAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Feature
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Image
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1ImageContext
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1ImageProperties
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1ImageSource
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1LatLongRect
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1LocationInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Page
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Paragraph
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Position
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Property
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1SafeSearchAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Symbol
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1TextAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Vertex
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetection
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetectionParams
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetectionWebEntity
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetectionWebImage
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetectionWebLabel
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetectionWebPage
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Word
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleRpcStatus
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleTypeColor
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleTypeLatLng
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1AnnotateImageRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :features, as: 'features', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature::Representation
|
||||
|
||||
property :image, as: 'image', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Image, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Image::Representation
|
||||
|
||||
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1AnnotateImageResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHintsAnnotation::Representation
|
||||
|
||||
property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::GoogleRpcStatus, decorator: Google::Apis::VisionV1p1beta1::GoogleRpcStatus::Representation
|
||||
|
||||
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1FaceAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1FaceAnnotation::Representation
|
||||
|
||||
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotation::Representation
|
||||
|
||||
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageProperties, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageProperties::Representation
|
||||
|
||||
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
|
||||
|
||||
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
|
||||
|
||||
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
|
||||
|
||||
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
|
||||
|
||||
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetection, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetection::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :requests, as: 'requests', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageResponse::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Block
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :block_type, as: 'blockType'
|
||||
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
||||
|
||||
property :confidence, as: 'confidence'
|
||||
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Paragraph, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Paragraph::Representation
|
||||
|
||||
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1BoundingPoly
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Vertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Vertex::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1ColorInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :color, as: 'color', class: Google::Apis::VisionV1p1beta1::GoogleTypeColor, decorator: Google::Apis::VisionV1p1beta1::GoogleTypeColor::Representation
|
||||
|
||||
property :pixel_fraction, as: 'pixelFraction'
|
||||
property :score, as: 'score'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1CropHint
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
||||
|
||||
property :confidence, as: 'confidence'
|
||||
property :importance_fraction, as: 'importanceFraction'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1CropHintsAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHint, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHint::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1CropHintsParams
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :aspect_ratios, as: 'aspectRatios'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1DominantColorsAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :colors, as: 'colors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ColorInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ColorInfo::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1EntityAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
||||
|
||||
property :confidence, as: 'confidence'
|
||||
property :description, as: 'description'
|
||||
property :locale, as: 'locale'
|
||||
collection :locations, as: 'locations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LocationInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LocationInfo::Representation
|
||||
|
||||
property :mid, as: 'mid'
|
||||
collection :properties, as: 'properties', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Property, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Property::Representation
|
||||
|
||||
property :score, as: 'score'
|
||||
property :topicality, as: 'topicality'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1FaceAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :anger_likelihood, as: 'angerLikelihood'
|
||||
property :blurred_likelihood, as: 'blurredLikelihood'
|
||||
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
||||
|
||||
property :detection_confidence, as: 'detectionConfidence'
|
||||
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
||||
|
||||
property :headwear_likelihood, as: 'headwearLikelihood'
|
||||
property :joy_likelihood, as: 'joyLikelihood'
|
||||
property :landmarking_confidence, as: 'landmarkingConfidence'
|
||||
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1FaceAnnotationLandmark::Representation
|
||||
|
||||
property :pan_angle, as: 'panAngle'
|
||||
property :roll_angle, as: 'rollAngle'
|
||||
property :sorrow_likelihood, as: 'sorrowLikelihood'
|
||||
property :surprise_likelihood, as: 'surpriseLikelihood'
|
||||
property :tilt_angle, as: 'tiltAngle'
|
||||
property :under_exposed_likelihood, as: 'underExposedLikelihood'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :position, as: 'position', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Position, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Position::Representation
|
||||
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Feature
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_results, as: 'maxResults'
|
||||
property :model, as: 'model'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Image
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :content, :base64 => true, as: 'content'
|
||||
property :source, as: 'source', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageSource, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageSource::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1ImageContext
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHintsParams, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHintsParams::Representation
|
||||
|
||||
collection :language_hints, as: 'languageHints'
|
||||
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LatLongRect, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LatLongRect::Representation
|
||||
|
||||
property :web_detection_params, as: 'webDetectionParams', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionParams, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionParams::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1ImageProperties
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1DominantColorsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1DominantColorsAnnotation::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1ImageSource
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :gcs_image_uri, as: 'gcsImageUri'
|
||||
property :image_uri, as: 'imageUri'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1LatLongRect
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1p1beta1::GoogleTypeLatLng, decorator: Google::Apis::VisionV1p1beta1::GoogleTypeLatLng::Representation
|
||||
|
||||
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1p1beta1::GoogleTypeLatLng, decorator: Google::Apis::VisionV1p1beta1::GoogleTypeLatLng::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1LocationInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1p1beta1::GoogleTypeLatLng, decorator: Google::Apis::VisionV1p1beta1::GoogleTypeLatLng::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Page
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Block, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Block::Representation
|
||||
|
||||
property :confidence, as: 'confidence'
|
||||
property :height, as: 'height'
|
||||
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::Representation
|
||||
|
||||
property :width, as: 'width'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Paragraph
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
||||
|
||||
property :confidence, as: 'confidence'
|
||||
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::Representation
|
||||
|
||||
collection :words, as: 'words', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Word, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Word::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Position
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :x, as: 'x'
|
||||
property :y, as: 'y'
|
||||
property :z, as: 'z'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Property
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :uint64_value, :numeric_string => true, as: 'uint64Value'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1SafeSearchAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :adult, as: 'adult'
|
||||
property :medical, as: 'medical'
|
||||
property :racy, as: 'racy'
|
||||
property :spoof, as: 'spoof'
|
||||
property :violence, as: 'violence'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Symbol
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
||||
|
||||
property :confidence, as: 'confidence'
|
||||
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::Representation
|
||||
|
||||
property :text, as: 'text'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1TextAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :pages, as: 'pages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Page, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Page::Representation
|
||||
|
||||
property :text, as: 'text'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :is_prefix, as: 'isPrefix'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
property :language_code, as: 'languageCode'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak::Representation
|
||||
|
||||
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Vertex
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :x, as: 'x'
|
||||
property :y, as: 'y'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetection
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebLabel, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebLabel::Representation
|
||||
|
||||
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage::Representation
|
||||
|
||||
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebPage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebPage::Representation
|
||||
|
||||
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage::Representation
|
||||
|
||||
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage::Representation
|
||||
|
||||
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebEntity, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebEntity::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetectionParams
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :include_geo_results, as: 'includeGeoResults'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetectionWebEntity
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :entity_id, as: 'entityId'
|
||||
property :score, as: 'score'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetectionWebImage
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :score, as: 'score'
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetectionWebLabel
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :label, as: 'label'
|
||||
property :language_code, as: 'languageCode'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1WebDetectionWebPage
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage::Representation
|
||||
|
||||
property :page_title, as: 'pageTitle'
|
||||
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage::Representation
|
||||
|
||||
property :score, as: 'score'
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p1beta1Word
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
||||
|
||||
property :confidence, as: 'confidence'
|
||||
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::Representation
|
||||
|
||||
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Symbol, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Symbol::Representation
|
||||
|
||||
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
|
|
@ -0,0 +1,91 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module VisionV1p1beta1
|
||||
# Google Cloud Vision API
|
||||
#
|
||||
# Integrates Google Vision features, including image labeling, face, logo, and
|
||||
# landmark detection, optical character recognition (OCR), and detection of
|
||||
# explicit content, into applications.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/vision_v1p1beta1'
|
||||
#
|
||||
# Vision = Google::Apis::VisionV1p1beta1 # Alias the module
|
||||
# service = Vision::VisionService.new
|
||||
#
|
||||
# @see https://cloud.google.com/vision/
|
||||
class VisionService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||
attr_accessor :key
|
||||
|
||||
# @return [String]
|
||||
# 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.
|
||||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://vision.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Run image detection and annotation for a batch of images.
|
||||
# @param [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest] google_cloud_vision_v1p1beta1_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 [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse]
|
||||
#
|
||||
# @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(google_cloud_vision_v1p1beta1_batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1p1beta1/images:annotate', options)
|
||||
command.request_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest::Representation
|
||||
command.request_object = google_cloud_vision_v1p1beta1_batch_annotate_images_request_object
|
||||
command.response_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse::Representation
|
||||
command.response_class = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def apply_command_defaults(command)
|
||||
command.query['key'] = key unless key.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue