2016-02-25 23:16:53 +00:00
|
|
|
# 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 VisionV1
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class AnnotateImageRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class AnnotateImageResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class BatchAnnotateImagesRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class BatchAnnotateImagesResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Block
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class BoundingPoly
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class CancelOperationRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Color
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class ColorInfo
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class CropHint
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class CropHintsAnnotation
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class CropHintsParams
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class DetectedBreak
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class DetectedLanguage
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class DominantColorsAnnotation
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class Empty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class EntityAnnotation
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class FaceAnnotation
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Feature
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-04-19 00:36:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1AnnotateFileResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1AnnotateImageResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-04-19 00:36:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Block
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1BoundingPoly
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1ColorInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1CropHint
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1CropHintsAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1DominantColorsAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1EntityAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1FaceAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1GcsDestination
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-04-19 00:36:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1GcsSource
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1ImageAnnotationContext
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1ImageProperties
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1InputConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1LocationInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1NormalizedVertex
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1OperationMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1OutputConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-04-19 00:36:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Page
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Paragraph
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Position
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Property
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1SafeSearchAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Symbol
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Vertex
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1WebDetection
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebEntity
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebImage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebLabel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebPage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Word
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Image
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class ImageContext
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class ImageProperties
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class ImageSource
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Landmark
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class LatLng
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class LatLongRect
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class ListOperationsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class LocationInfo
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class Operation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Page
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Paragraph
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Position
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Property
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class SafeSearchAnnotation
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Status
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Symbol
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class TextAnnotation
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-01-28 03:38:40 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2017-01-28 03:38:40 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class TextProperty
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Vertex
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class WebDetection
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
|
2018-01-24 00:35:28 +00:00
|
|
|
class WebDetectionParams
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class WebEntity
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-02-13 23:28:52 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class WebImage
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
|
2018-01-24 00:35:28 +00:00
|
|
|
class WebLabel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class WebPage
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Word
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class AnnotateImageRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class AnnotateImageResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class BatchAnnotateImagesRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2017-02-13 23:28:52 +00:00
|
|
|
end
|
2017-01-28 03:38:40 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class BatchAnnotateImagesResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Block
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :block_type, as: 'blockType'
|
2017-11-08 00:35:15 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2018-01-24 00:35:28 +00:00
|
|
|
property :confidence, as: 'confidence'
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
2017-03-30 22:30:51 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
|
|
|
end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class BoundingPoly
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
|
2017-04-03 20:18:48 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class CancelOperationRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Color
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :alpha, as: 'alpha'
|
|
|
|
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
|
2017-08-25 19:54:22 +00:00
|
|
|
|
|
|
|
property :pixel_fraction, as: 'pixelFraction'
|
|
|
|
property :score, as: 'score'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class CropHint
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :importance_fraction, as: 'importanceFraction'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class CropHintsAnnotation
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class CropHintsParams
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :aspect_ratios, as: 'aspectRatios'
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class DetectedBreak
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :is_prefix, as: 'isPrefix'
|
|
|
|
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
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class Empty
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class EntityAnnotation
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :locale, as: 'locale'
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :mid, as: 'mid'
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :score, as: 'score'
|
|
|
|
property :topicality, as: 'topicality'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class FaceAnnotation
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :anger_likelihood, as: 'angerLikelihood'
|
|
|
|
property :blurred_likelihood, as: 'blurredLikelihood'
|
2017-11-08 00:35:15 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :detection_confidence, as: 'detectionConfidence'
|
2017-11-08 00:35:15 +00:00
|
|
|
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
|
|
|
property :joy_likelihood, as: 'joyLikelihood'
|
|
|
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
|
|
|
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'
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Feature
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-05 00:34:55 +00:00
|
|
|
property :max_results, as: 'maxResults'
|
2018-01-24 00:35:28 +00:00
|
|
|
property :model, as: 'model'
|
2017-11-05 00:34:55 +00:00
|
|
|
property :type, as: 'type'
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-04-19 00:36:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1AnnotateFileResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1InputConfig, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1InputConfig::Representation
|
|
|
|
|
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1AnnotateImageResponse::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1AnnotateImageResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :context, as: 'context', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ImageAnnotationContext, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ImageAnnotationContext::Representation
|
|
|
|
|
|
|
|
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1CropHintsAnnotation::Representation
|
|
|
|
|
|
|
|
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
|
|
|
|
|
|
|
|
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1FaceAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1FaceAnnotation::Representation
|
|
|
|
|
|
|
|
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotation::Representation
|
|
|
|
|
|
|
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ImageProperties, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ImageProperties::Representation
|
|
|
|
|
|
|
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
|
|
|
|
|
|
|
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
|
|
|
|
|
|
|
|
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
|
|
|
|
|
|
|
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation::Representation
|
|
|
|
|
|
|
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
|
|
|
|
|
|
|
|
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetection, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetection::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1OutputConfig, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1OutputConfig::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-04-19 00:36:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Block
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :block_type, as: 'blockType'
|
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Paragraph, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Paragraph::Representation
|
|
|
|
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1BoundingPoly
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1NormalizedVertex, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1NormalizedVertex::Representation
|
|
|
|
|
|
|
|
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Vertex, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Vertex::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1ColorInfo
|
|
|
|
# @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 :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1CropHint
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :importance_fraction, as: 'importanceFraction'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1CropHintsAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1CropHint, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1CropHint::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1DominantColorsAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :colors, as: 'colors', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ColorInfo, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ColorInfo::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1EntityAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :locale, as: 'locale'
|
|
|
|
collection :locations, as: 'locations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1LocationInfo, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1LocationInfo::Representation
|
|
|
|
|
|
|
|
property :mid, as: 'mid'
|
|
|
|
collection :properties, as: 'properties', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Property, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Property::Representation
|
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :topicality, as: 'topicality'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1FaceAnnotation
|
|
|
|
# @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::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :detection_confidence, as: 'detectionConfidence'
|
|
|
|
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
|
|
|
property :joy_likelihood, as: 'joyLikelihood'
|
|
|
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
|
|
|
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1FaceAnnotationLandmark::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 GoogleCloudVisionV1p2beta1FaceAnnotationLandmark
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :position, as: 'position', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Position, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Position::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1GcsDestination
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-04-19 00:36:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1GcsSource
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1ImageAnnotationContext
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :page_number, as: 'pageNumber'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1ImageProperties
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1DominantColorsAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1DominantColorsAnnotation::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1InputConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsSource, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsSource::Representation
|
|
|
|
|
|
|
|
property :mime_type, as: 'mimeType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1LocationInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1NormalizedVertex
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1OperationMetadata
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1OutputConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_size, as: 'batchSize'
|
|
|
|
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsDestination, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsDestination::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-04-19 00:36:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Page
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Block, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Block::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :height, as: 'height'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::Representation
|
|
|
|
|
|
|
|
property :width, as: 'width'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Paragraph
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::Representation
|
|
|
|
|
|
|
|
collection :words, as: 'words', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Word, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Word::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Position
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
property :z, as: 'z'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Property
|
|
|
|
# @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 GoogleCloudVisionV1p2beta1SafeSearchAnnotation
|
|
|
|
# @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 GoogleCloudVisionV1p2beta1Symbol
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::Representation
|
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :pages, as: 'pages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Page, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Page::Representation
|
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :is_prefix, as: 'isPrefix'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak::Representation
|
|
|
|
|
|
|
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Vertex
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1WebDetection
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebLabel, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebLabel::Representation
|
|
|
|
|
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage::Representation
|
|
|
|
|
|
|
|
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebPage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebPage::Representation
|
|
|
|
|
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage::Representation
|
|
|
|
|
|
|
|
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage::Representation
|
|
|
|
|
|
|
|
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebEntity, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebEntity::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebEntity
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :entity_id, as: 'entityId'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebImage
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebLabel
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :label, as: 'label'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebPage
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage::Representation
|
|
|
|
|
|
|
|
property :page_title, as: 'pageTitle'
|
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1WebDetectionWebImage::Representation
|
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1Word
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::Representation
|
|
|
|
|
|
|
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Symbol, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Symbol::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Image
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-05 00:34:55 +00:00
|
|
|
property :content, :base64 => true, as: 'content'
|
2017-11-08 00:35:15 +00:00
|
|
|
property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class ImageContext
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-05 00:34:55 +00:00
|
|
|
collection :language_hints, as: 'languageHints'
|
2017-11-08 00:35:15 +00:00
|
|
|
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
|
2017-03-27 22:14:47 +00:00
|
|
|
|
2018-01-24 00:35:28 +00:00
|
|
|
property :web_detection_params, as: 'webDetectionParams', class: Google::Apis::VisionV1::WebDetectionParams, decorator: Google::Apis::VisionV1::WebDetectionParams::Representation
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
2017-04-03 20:18:48 +00:00
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class ImageProperties
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class ImageSource
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-05 00:34:55 +00:00
|
|
|
property :gcs_image_uri, as: 'gcsImageUri'
|
|
|
|
property :image_uri, as: 'imageUri'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Landmark
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LatLng
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :latitude, as: 'latitude'
|
|
|
|
property :longitude, as: 'longitude'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LatLongRect
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
2017-03-31 19:53:27 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class ListOperationsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :operations, as: 'operations', class: Google::Apis::VisionV1::Operation, decorator: Google::Apis::VisionV1::Operation::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class LocationInfo
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-02-23 00:36:45 +00:00
|
|
|
class Operation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :done, as: 'done'
|
|
|
|
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
|
|
|
|
|
|
|
|
hash :metadata, as: 'metadata'
|
|
|
|
property :name, as: 'name'
|
|
|
|
hash :response, as: 'response'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Page
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2018-01-24 00:35:28 +00:00
|
|
|
property :confidence, as: 'confidence'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :height, as: 'height'
|
2017-11-08 00:35:15 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :width, as: 'width'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Paragraph
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2018-01-24 00:35:28 +00:00
|
|
|
property :confidence, as: 'confidence'
|
2017-11-08 00:35:15 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Position
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
property :z, as: 'z'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Property
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :uint64_value, :numeric_string => true, as: 'uint64Value'
|
|
|
|
property :value, as: 'value'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class SafeSearchAnnotation
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :adult, as: 'adult'
|
|
|
|
property :medical, as: 'medical'
|
2018-01-24 00:35:28 +00:00
|
|
|
property :racy, as: 'racy'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :spoof, as: 'spoof'
|
|
|
|
property :violence, as: 'violence'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Status
|
2016-02-25 23:16:53 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :code, as: 'code'
|
|
|
|
collection :details, as: 'details'
|
|
|
|
property :message, as: 'message'
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Symbol
|
2016-02-25 23:16:53 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
|
|
|
2018-01-24 00:35:28 +00:00
|
|
|
property :confidence, as: 'confidence'
|
2017-11-08 00:35:15 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :text, as: 'text'
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class TextAnnotation
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
property :text, as: 'text'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class TextProperty
|
2016-02-25 23:16:53 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Vertex
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class WebDetection
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-24 00:35:28 +00:00
|
|
|
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1::WebLabel, decorator: Google::Apis::VisionV1::WebLabel::Representation
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-24 00:35:28 +00:00
|
|
|
class WebDetectionParams
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :include_geo_results, as: 'includeGeoResults'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class WebEntity
|
2017-03-30 22:30:51 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :description, as: 'description'
|
|
|
|
property :entity_id, as: 'entityId'
|
|
|
|
property :score, as: 'score'
|
2017-03-30 22:30:51 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class WebImage
|
2017-03-30 22:30:51 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
2017-03-30 22:30:51 +00:00
|
|
|
|
2018-01-24 00:35:28 +00:00
|
|
|
class WebLabel
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :label, as: 'label'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class WebPage
|
2017-08-25 19:54:22 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-24 00:35:28 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
|
|
|
|
|
|
|
property :page_title, as: 'pageTitle'
|
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
2017-03-30 22:30:51 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Word
|
2016-02-25 23:16:53 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2018-01-24 00:35:28 +00:00
|
|
|
property :confidence, as: 'confidence'
|
2017-11-08 00:35:15 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
|
2017-08-25 19:54:22 +00:00
|
|
|
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
|
|
|
end
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|