2017-11-07 00:35:11 +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 VisionV1p1beta1
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class AnnotateFileResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AnnotateImageResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AsyncAnnotateFileResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AsyncBatchAnnotateFilesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class AsyncBatchAnnotateImagesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class BatchAnnotateFilesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-11-06 00:31:47 +00:00
|
|
|
class BatchOperationMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class Block
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class BoundingPoly
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Color
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class ColorInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CropHint
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CropHintsAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DetectedBreak
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DetectedLanguage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DominantColorsAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class EntityAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class FaceAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GcsDestination
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GcsSource
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AnnotateFileRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AnnotateFileResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-07 00:35:11 +00:00
|
|
|
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
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-07 00:35:11 +00:00
|
|
|
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
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1GcsDestination
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1GcsSource
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-07 00:35:11 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Image
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1ImageAnnotationContext
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-07 00:35:11 +00:00
|
|
|
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
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1InputConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-07 00:35:11 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1LatLongRect
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-09-11 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-07 00:35:11 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1LocationInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-11-14 00:36:33 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1NormalizedVertex
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1OperationMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1OutputConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-07 00:35:11 +00:00
|
|
|
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
|
|
|
|
|
2018-11-06 00:31:47 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Product
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1ProductKeyValue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1ProductSearchParams
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1ProductSearchResults
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1ProductSearchResultsResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-07 00:35:11 +00:00
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
2018-09-11 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-04-19 00:36:08 +00:00
|
|
|
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
|
|
|
|
|
2018-11-06 00:31:47 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Product
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1ProductKeyValue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1ProductSearchResults
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p2beta1ProductSearchResultsResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-04-19 00:36:08 +00:00
|
|
|
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
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1AnnotateFileResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1AnnotateImageResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1BatchOperationMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Block
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1BoundingPoly
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ColorInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1CropHint
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1CropHintsAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1DominantColorsAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1EntityAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1FaceAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1GcsDestination
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1GcsSource
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1ImageAnnotationContext
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1ImageProperties
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ImportProductSetsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1InputConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1LocationInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1NormalizedVertex
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1OperationMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1OutputConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1Page
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1Paragraph
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1Position
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1Product
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1ProductKeyValue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1ProductSearchResults
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-11-06 00:31:47 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ProductSearchResultsResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1Property
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ReferenceImage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1SafeSearchAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1Symbol
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1TextAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1TextAnnotationTextProperty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Vertex
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1WebDetection
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1WebDetectionWebEntity
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1WebDetectionWebImage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1WebDetectionWebLabel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1WebDetectionWebPage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p3beta1Word
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1AnnotateFileResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1AnnotateImageResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1BatchOperationMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1Block
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1BoundingPoly
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1ColorInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1CropHint
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1CropHintsAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1DominantColorsAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1EntityAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1FaceAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1GcsDestination
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1GcsSource
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1ImageAnnotationContext
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1ImageProperties
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ImageQuality
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ImportProductSetsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1InputConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1LocationInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1NormalizedVertex
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1OperationMetadata
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1OutputConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1Page
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1Paragraph
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1Position
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1Product
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1ProductKeyValue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1ProductSearchResults
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1ProductSearchResultsResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1Property
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ReferenceImage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1SafeSearchAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1Symbol
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1TextAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1TextAnnotationTextProperty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1Vertex
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1WebDetection
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1WebDetectionWebEntity
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1WebDetectionWebImage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1WebDetectionWebLabel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1WebDetectionWebPage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p4beta1Word
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1AnnotateFileResponse
|
2018-11-06 00:31:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1AnnotateImageResponse
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1AsyncAnnotateFileResponse
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1AsyncBatchAnnotateFilesResponse
|
2018-11-06 00:31:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1AsyncBatchAnnotateImagesResponse
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1BatchAnnotateFilesResponse
|
2018-11-06 00:31:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1BatchOperationMetadata
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Block
|
2017-11-07 00:35:11 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1BoundingPoly
|
2018-09-11 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ColorInfo
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1CropHint
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1CropHintsAnnotation
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1DominantColorsAnnotation
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1EntityAnnotation
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1FaceAnnotation
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1FaceAnnotationLandmark
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1GcsDestination
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1GcsSource
|
2018-11-06 00:31:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ImageAnnotationContext
|
2018-11-06 00:31:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ImageProperties
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ImportProductSetsResponse
|
2018-11-06 00:31:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1InputConfig
|
2018-11-06 00:31:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1KeyValuePair
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation
|
2017-11-07 00:35:11 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1LocationInfo
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1NormalizedVertex
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1OperationMetadata
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1OutputConfig
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Page
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Paragraph
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Position
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Product
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ProductKeyValue
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ProductSearchResults
|
2018-05-17 00:36:16 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ProductSearchResultsResult
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Property
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ReferenceImage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1SafeSearchAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Symbol
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Table
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-09-11 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1TableTableCell
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-11-06 00:31:47 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1TableTableRow
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1TextAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1TextAnnotationDetectedBreak
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1TextAnnotationDetectedLanguage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1TextAnnotationTextProperty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-11-06 00:31:47 +00:00
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Vertex
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1WebDetection
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1WebDetectionWebEntity
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1WebDetectionWebImage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1WebDetectionWebLabel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2017-11-07 00:35:11 +00:00
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1WebDetectionWebPage
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Word
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GroupedResult
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class ImageAnnotationContext
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class ImageProperties
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class ImportProductSetsResponse
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class InputConfig
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class KeyValue
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Landmark
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class LatLng
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class LocalizedObjectAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class LocationInfo
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class NormalizedVertex
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Operation
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class OperationMetadata
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class OutputConfig
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Page
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Paragraph
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Position
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Product
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class ProductSearchResults
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Property
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class ReferenceImage
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Result
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class SafeSearchAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Status
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Symbol
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class TextAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class TextProperty
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Vertex
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class WebDetection
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class WebEntity
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class WebImage
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class WebLabel
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class WebPage
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Word
|
2019-05-10 00:37:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class AnnotateFileResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::InputConfig, decorator: Google::Apis::VisionV1p1beta1::InputConfig::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::AnnotateImageResponse::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :total_pages, as: 'totalPages'
|
|
|
|
end
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class AnnotateImageResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :context, as: 'context', class: Google::Apis::VisionV1p1beta1::ImageAnnotationContext, decorator: Google::Apis::VisionV1p1beta1::ImageAnnotationContext::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p1beta1::CropHintsAnnotation, decorator: Google::Apis::VisionV1p1beta1::CropHintsAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p1beta1::FaceAnnotation, decorator: Google::Apis::VisionV1p1beta1::FaceAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p1beta1::TextAnnotation, decorator: Google::Apis::VisionV1p1beta1::TextAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::ImageProperties, decorator: Google::Apis::VisionV1p1beta1::ImageProperties::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::EntityAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::EntityAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p1beta1::LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::LocalizedObjectAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::EntityAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p1beta1::ProductSearchResults, decorator: Google::Apis::VisionV1p1beta1::ProductSearchResults::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::SafeSearchAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::EntityAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p1beta1::WebDetection, decorator: Google::Apis::VisionV1p1beta1::WebDetection::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class AsyncAnnotateFileResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::OutputConfig, decorator: Google::Apis::VisionV1p1beta1::OutputConfig::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class AsyncBatchAnnotateFilesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::AsyncAnnotateFileResponse::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class AsyncBatchAnnotateImagesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::OutputConfig, decorator: Google::Apis::VisionV1p1beta1::OutputConfig::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class BatchAnnotateFilesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::AnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::AnnotateFileResponse::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class BatchOperationMetadata
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :end_time, as: 'endTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :submit_time, as: 'submitTime'
|
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Block
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :block_type, as: 'blockType'
|
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p1beta1::Paragraph, decorator: Google::Apis::VisionV1p1beta1::Paragraph::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::TextProperty, decorator: Google::Apis::VisionV1p1beta1::TextProperty::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class BoundingPoly
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p1beta1::NormalizedVertex, decorator: Google::Apis::VisionV1p1beta1::NormalizedVertex::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p1beta1::Vertex, decorator: Google::Apis::VisionV1p1beta1::Vertex::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class Color
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :alpha, as: 'alpha'
|
|
|
|
property :blue, as: 'blue'
|
|
|
|
property :green, as: 'green'
|
|
|
|
property :red, as: 'red'
|
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class ColorInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :color, as: 'color', class: Google::Apis::VisionV1p1beta1::Color, decorator: Google::Apis::VisionV1p1beta1::Color::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :pixel_fraction, as: 'pixelFraction'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class CropHint
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :importance_fraction, as: 'importanceFraction'
|
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class CropHintsAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p1beta1::CropHint, decorator: Google::Apis::VisionV1p1beta1::CropHint::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class DetectedBreak
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :is_prefix, as: 'isPrefix'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class DetectedLanguage
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class DominantColorsAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :colors, as: 'colors', class: Google::Apis::VisionV1p1beta1::ColorInfo, decorator: Google::Apis::VisionV1p1beta1::ColorInfo::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class EntityAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :locale, as: 'locale'
|
|
|
|
collection :locations, as: 'locations', class: Google::Apis::VisionV1p1beta1::LocationInfo, decorator: Google::Apis::VisionV1p1beta1::LocationInfo::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :mid, as: 'mid'
|
|
|
|
collection :properties, as: 'properties', class: Google::Apis::VisionV1p1beta1::Property, decorator: Google::Apis::VisionV1p1beta1::Property::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :score, as: 'score'
|
|
|
|
property :topicality, as: 'topicality'
|
|
|
|
end
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class FaceAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :anger_likelihood, as: 'angerLikelihood'
|
|
|
|
property :blurred_likelihood, as: 'blurredLikelihood'
|
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :detection_confidence, as: 'detectionConfidence'
|
|
|
|
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
|
|
|
property :joy_likelihood, as: 'joyLikelihood'
|
|
|
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
|
|
|
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p1beta1::Landmark, decorator: Google::Apis::VisionV1p1beta1::Landmark::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +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'
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GcsDestination
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :uri, as: 'uri'
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GcsSource
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :uri, as: 'uri'
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AnnotateFileRequest
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :features, as: 'features', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages, as: 'pages'
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AnnotateFileResponse
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageResponse::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :total_pages, as: 'totalPages'
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AnnotateImageRequest
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :features, as: 'features', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image, as: 'image', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Image, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Image::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
|
|
|
end
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AnnotateImageResponse
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :context, as: 'context', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageAnnotationContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageAnnotationContext::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHintsAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1FaceAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1FaceAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageProperties, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageProperties::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResults, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResults::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetection, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetection::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :features, as: 'features', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-08-14 00:38:24 +00:00
|
|
|
property :parent, as: 'parent'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :requests, as: 'requests', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-08-14 00:38:24 +00:00
|
|
|
property :parent, as: 'parent'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :requests, as: 'requests', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
|
|
|
end
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-08-14 00:38:24 +00:00
|
|
|
property :parent, as: 'parent'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :requests, as: 'requests', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateFileRequest, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateFileRequest::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
|
|
|
end
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateFileResponse::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-08-14 00:38:24 +00:00
|
|
|
property :parent, as: 'parent'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :requests, as: 'requests', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageResponse::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Block
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :block_type, as: 'blockType'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Paragraph, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Paragraph::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1BoundingPoly
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1NormalizedVertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1NormalizedVertex::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Vertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Vertex::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1ColorInfo
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :color, as: 'color', class: Google::Apis::VisionV1p1beta1::Color, decorator: Google::Apis::VisionV1p1beta1::Color::Representation
|
|
|
|
|
|
|
|
property :pixel_fraction, as: 'pixelFraction'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1CropHint
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :importance_fraction, as: 'importanceFraction'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1CropHintsAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHint, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHint::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1CropHintsParams
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
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
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1EntityAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :locale, as: 'locale'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :locations, as: 'locations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LocationInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1LocationInfo::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :mid, as: 'mid'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :properties, as: 'properties', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Property, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Property::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :topicality, as: 'topicality'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1FaceAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-05-17 00:36:16 +00:00
|
|
|
property :anger_likelihood, as: 'angerLikelihood'
|
|
|
|
property :blurred_likelihood, as: 'blurredLikelihood'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :detection_confidence, as: 'detectionConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
|
|
|
property :joy_likelihood, as: 'joyLikelihood'
|
|
|
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1FaceAnnotationLandmark::Representation
|
2019-05-10 00:37:26 +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'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :position, as: 'position', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Position, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Position::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
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 GoogleCloudVisionV1p1beta1GcsDestination
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1GcsSource
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
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 GoogleCloudVisionV1p1beta1ImageAnnotationContext
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :page_number, as: 'pageNumber'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1ImageContext
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
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 :product_search_params, as: 'productSearchParams', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchParams, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchParams::Representation
|
|
|
|
|
|
|
|
property :web_detection_params, as: 'webDetectionParams', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionParams, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionParams::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
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 GoogleCloudVisionV1p1beta1InputConfig
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content, :base64 => true, as: 'content'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1GcsSource, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1GcsSource::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :mime_type, as: 'mimeType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1LatLongRect
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1p1beta1::LatLng, decorator: Google::Apis::VisionV1p1beta1::LatLng::Representation
|
|
|
|
|
|
|
|
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1p1beta1::LatLng, decorator: Google::Apis::VisionV1p1beta1::LatLng::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :mid, as: 'mid'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1LocationInfo
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1p1beta1::LatLng, decorator: Google::Apis::VisionV1p1beta1::LatLng::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1NormalizedVertex
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1OperationMetadata
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1OutputConfig
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_size, as: 'batchSize'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1GcsDestination::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Page
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Block, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Block::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :height, as: 'height'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :width, as: 'width'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Paragraph
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :words, as: 'words', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Word, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Word::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Position
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
property :z, as: 'z'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Product
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :product_category, as: 'productCategory'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductKeyValue, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductKeyValue::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1ProductKeyValue
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1ProductSearchParams
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :filter, as: 'filter'
|
|
|
|
collection :product_categories, as: 'productCategories'
|
|
|
|
property :product_set, as: 'productSet'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1ProductSearchResults
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :index_time, as: 'indexTime'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1ProductSearchResultsResult
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :image, as: 'image'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product, as: 'product', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Product, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Product::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Property
|
2019-05-10 00:37:26 +00:00
|
|
|
# @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
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1SafeSearchAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
# @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
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Symbol
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1TextAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages, as: 'pages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Page, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Page::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :is_prefix, as: 'isPrefix'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Vertex
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1WebDetection
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebLabel, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebLabel::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebPage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebPage::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebEntity, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebEntity::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1WebDetectionParams
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :include_geo_results, as: 'includeGeoResults'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p1beta1WebDetectionWebEntity
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-05-10 00:37:26 +00:00
|
|
|
property :description, as: 'description'
|
|
|
|
property :entity_id, as: 'entityId'
|
|
|
|
property :score, as: 'score'
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1WebDetectionWebImage
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-05-10 00:37:26 +00:00
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
2018-08-22 21:14:52 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1WebDetectionWebLabel
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-05-10 00:37:26 +00:00
|
|
|
property :label, as: 'label'
|
|
|
|
property :language_code, as: 'languageCode'
|
2017-11-07 00:35:11 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1WebDetectionWebPage
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
property :page_title, as: 'pageTitle'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
2017-11-07 00:35:11 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p1beta1Word
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Symbol, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Symbol::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1AnnotateFileResponse
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1InputConfig::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1AnnotateImageResponse::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
property :total_pages, as: 'totalPages'
|
2018-08-22 21:14:52 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1AnnotateImageResponse
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :context, as: 'context', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ImageAnnotationContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ImageAnnotationContext::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1CropHintsAnnotation::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1FaceAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1FaceAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ImageProperties, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ImageProperties::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResults, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResults::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetection, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetection::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1OutputConfig::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Block
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :block_type, as: 'blockType'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Paragraph, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Paragraph::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1BoundingPoly
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1NormalizedVertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1NormalizedVertex::Representation
|
2018-11-14 00:36:33 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Vertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Vertex::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1ColorInfo
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :color, as: 'color', class: Google::Apis::VisionV1p1beta1::Color, decorator: Google::Apis::VisionV1p1beta1::Color::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :pixel_fraction, as: 'pixelFraction'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1CropHint
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :importance_fraction, as: 'importanceFraction'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1CropHintsAnnotation
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1CropHint, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1CropHint::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1DominantColorsAnnotation
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :colors, as: 'colors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ColorInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ColorInfo::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1EntityAnnotation
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :locale, as: 'locale'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :locations, as: 'locations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1LocationInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1LocationInfo::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :mid, as: 'mid'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :properties, as: 'properties', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Property, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Property::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :topicality, as: 'topicality'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1FaceAnnotation
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :anger_likelihood, as: 'angerLikelihood'
|
|
|
|
property :blurred_likelihood, as: 'blurredLikelihood'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :detection_confidence, as: 'detectionConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
|
|
|
property :joy_likelihood, as: 'joyLikelihood'
|
|
|
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1FaceAnnotationLandmark::Representation
|
2017-11-07 00:35:11 +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'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :position, as: 'position', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Position, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Position::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1GcsDestination
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1GcsSource
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1ImageAnnotationContext
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :page_number, as: 'pageNumber'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1ImageProperties
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1DominantColorsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1DominantColorsAnnotation::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1InputConfig
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-05-10 00:37:26 +00:00
|
|
|
property :content, :base64 => true, as: 'content'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsSource, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsSource::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
|
|
|
property :mime_type, as: 'mimeType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
|
2018-09-11 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
2018-09-11 00:36:16 +00:00
|
|
|
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :mid, as: 'mid'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1LocationInfo
|
2017-11-07 00:35:11 +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::VisionV1p1beta1::LatLng, decorator: Google::Apis::VisionV1p1beta1::LatLng::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1NormalizedVertex
|
2018-11-14 00:36:33 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1OperationMetadata
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1OutputConfig
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_size, as: 'batchSize'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsDestination::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Page
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Block, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Block::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :height, as: 'height'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :width, as: 'width'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Paragraph
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :words, as: 'words', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Word, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Word::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Position
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
property :z, as: 'z'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Product
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :product_category, as: 'productCategory'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductKeyValue, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductKeyValue::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1ProductKeyValue
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1ProductSearchResults
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :index_time, as: 'indexTime'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1ProductSearchResultsResult
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :image, as: 'image'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product, as: 'product', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Product, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Product::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Property
|
2017-11-07 00:35:11 +00:00
|
|
|
# @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
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1SafeSearchAnnotation
|
2017-11-07 00:35:11 +00:00
|
|
|
# @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
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Symbol
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotation
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages, as: 'pages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Page, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Page::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :is_prefix, as: 'isPrefix'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Vertex
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1WebDetection
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebLabel, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebLabel::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebImage::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebPage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebPage::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebImage::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebImage::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebEntity, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebEntity::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebEntity
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :entity_id, as: 'entityId'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebImage
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebLabel
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :label, as: 'label'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1WebDetectionWebPage
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebImage::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :page_title, as: 'pageTitle'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1WebDetectionWebImage::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p2beta1Word
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Symbol, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1Symbol::Representation
|
2017-11-07 00:35:11 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1AnnotateFileResponse
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1InputConfig::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1AnnotateImageResponse::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
property :total_pages, as: 'totalPages'
|
2018-04-19 00:36:08 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1AnnotateImageResponse
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :context, as: 'context', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ImageAnnotationContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ImageAnnotationContext::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1CropHintsAnnotation::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1FaceAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1FaceAnnotation::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotation::Representation
|
2018-09-11 00:36:16 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ImageProperties, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ImageProperties::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1EntityAnnotation::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1EntityAnnotation::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1EntityAnnotation::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResults, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResults::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1SafeSearchAnnotation::Representation
|
2018-02-23 00:36:45 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1EntityAnnotation::Representation
|
2018-02-23 00:36:45 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetection, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetection::Representation
|
2018-02-23 00:36:45 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1OutputConfig::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1BatchOperationMetadata
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :end_time, as: 'endTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :submit_time, as: 'submitTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Block
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :block_type, as: 'blockType'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Paragraph, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Paragraph::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationTextProperty::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1BoundingPoly
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1NormalizedVertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1NormalizedVertex::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Vertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Vertex::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ColorInfo
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :color, as: 'color', class: Google::Apis::VisionV1p1beta1::Color, decorator: Google::Apis::VisionV1p1beta1::Color::Representation
|
|
|
|
|
|
|
|
property :pixel_fraction, as: 'pixelFraction'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1CropHint
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :importance_fraction, as: 'importanceFraction'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1CropHintsAnnotation
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1CropHint, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1CropHint::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1DominantColorsAnnotation
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :colors, as: 'colors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ColorInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ColorInfo::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1EntityAnnotation
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :locale, as: 'locale'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :locations, as: 'locations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1LocationInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1LocationInfo::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :mid, as: 'mid'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :properties, as: 'properties', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Property, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Property::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :topicality, as: 'topicality'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1FaceAnnotation
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :anger_likelihood, as: 'angerLikelihood'
|
|
|
|
property :blurred_likelihood, as: 'blurredLikelihood'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :detection_confidence, as: 'detectionConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
|
|
|
property :joy_likelihood, as: 'joyLikelihood'
|
|
|
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1FaceAnnotationLandmark::Representation
|
2018-04-19 00:36:08 +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'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1FaceAnnotationLandmark
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :position, as: 'position', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Position, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Position::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1GcsDestination
|
2018-02-23 00:36:45 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1GcsSource
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ImageAnnotationContext
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :page_number, as: 'pageNumber'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ImageProperties
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1DominantColorsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1DominantColorsAnnotation::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ImportProductSetsResponse
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ReferenceImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ReferenceImage::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
collection :statuses, as: 'statuses', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1InputConfig
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content, :base64 => true, as: 'content'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1GcsSource, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1GcsSource::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :mime_type, as: 'mimeType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation
|
2018-09-11 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2018-09-11 00:36:16 +00:00
|
|
|
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :mid, as: 'mid'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1LocationInfo
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1p1beta1::LatLng, decorator: Google::Apis::VisionV1p1beta1::LatLng::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1NormalizedVertex
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1OperationMetadata
|
2018-02-23 00:36:45 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1OutputConfig
|
2018-02-23 00:36:45 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_size, as: 'batchSize'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1GcsDestination::Representation
|
2018-02-23 00:36:45 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Page
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Block, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Block::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :height, as: 'height'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationTextProperty::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :width, as: 'width'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Paragraph
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationTextProperty::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :words, as: 'words', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Word, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Word::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Position
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
property :z, as: 'z'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Product
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :product_category, as: 'productCategory'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductKeyValue, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductKeyValue::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ProductKeyValue
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ProductSearchResults
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :index_time, as: 'indexTime'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ProductSearchResultsResult
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :image, as: 'image'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product, as: 'product', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Product, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Product::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Property
|
2018-04-19 00:36:08 +00:00
|
|
|
# @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
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1ReferenceImage
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :bounding_polys, as: 'boundingPolys', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1SafeSearchAnnotation
|
2018-04-19 00:36:08 +00:00
|
|
|
# @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
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Symbol
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationTextProperty::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1TextAnnotation
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages, as: 'pages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Page, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Page::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :is_prefix, as: 'isPrefix'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1TextAnnotationTextProperty
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Vertex
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1WebDetection
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebLabel, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebLabel::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebImage::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebPage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebPage::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebImage::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebImage::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebEntity, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebEntity::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1WebDetectionWebEntity
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :entity_id, as: 'entityId'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1WebDetectionWebImage
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1WebDetectionWebLabel
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :label, as: 'label'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1WebDetectionWebPage
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebImage::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :page_title, as: 'pageTitle'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1WebDetectionWebImage::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p3beta1Word
|
2018-04-19 00:36:08 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1TextAnnotationTextProperty::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Symbol, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Symbol::Representation
|
2018-04-19 00:36:08 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1AnnotateFileResponse
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1InputConfig::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1AnnotateImageResponse::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
property :total_pages, as: 'totalPages'
|
2018-08-22 21:14:52 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1AnnotateImageResponse
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :context, as: 'context', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageAnnotationContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageAnnotationContext::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1CropHintsAnnotation::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1FaceAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1FaceAnnotation::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotation::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageProperties, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageProperties::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image_quality_annotation, as: 'imageQualityAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageQuality, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageQuality::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResults, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResults::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :quality_optimization_result, as: 'qualityOptimizationResult', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation::Representation
|
|
|
|
|
|
|
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
|
|
|
|
|
|
|
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetection, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetection::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1OutputConfig::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1OutputConfig::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1AnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1AnnotateFileResponse::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1BatchOperationMetadata
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :end_time, as: 'endTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :submit_time, as: 'submitTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1Block
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :block_type, as: 'blockType'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Paragraph, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Paragraph::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationTextProperty::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1BoundingPoly
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1NormalizedVertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1NormalizedVertex::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Vertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Vertex::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ColorInfo
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :color, as: 'color', class: Google::Apis::VisionV1p1beta1::Color, decorator: Google::Apis::VisionV1p1beta1::Color::Representation
|
|
|
|
|
|
|
|
property :pixel_fraction, as: 'pixelFraction'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1CropHint
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :importance_fraction, as: 'importanceFraction'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1CropHintsAnnotation
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1CropHint, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1CropHint::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1DominantColorsAnnotation
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :colors, as: 'colors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ColorInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ColorInfo::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1EntityAnnotation
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :locale, as: 'locale'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :locations, as: 'locations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1LocationInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1LocationInfo::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :mid, as: 'mid'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :properties, as: 'properties', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Property, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Property::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :topicality, as: 'topicality'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1FaceAnnotation
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :anger_likelihood, as: 'angerLikelihood'
|
|
|
|
property :blurred_likelihood, as: 'blurredLikelihood'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :detection_confidence, as: 'detectionConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
|
|
|
property :joy_likelihood, as: 'joyLikelihood'
|
|
|
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1FaceAnnotationLandmark::Representation
|
2018-08-22 21:14:52 +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'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1FaceAnnotationLandmark
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :position, as: 'position', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Position, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Position::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1GcsDestination
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1GcsSource
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ImageAnnotationContext
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :page_number, as: 'pageNumber'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ImageProperties
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1DominantColorsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1DominantColorsAnnotation::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ImageQuality
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-08-14 00:38:24 +00:00
|
|
|
property :quality_score, as: 'qualityScore'
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ImportProductSetsResponse
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ReferenceImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ReferenceImage::Representation
|
|
|
|
|
|
|
|
collection :statuses, as: 'statuses', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1InputConfig
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :content, :base64 => true, as: 'content'
|
|
|
|
property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1GcsSource, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1GcsSource::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :mime_type, as: 'mimeType'
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :mid, as: 'mid'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1LocationInfo
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1p1beta1::LatLng, decorator: Google::Apis::VisionV1p1beta1::LatLng::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1NormalizedVertex
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1OperationMetadata
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1OutputConfig
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_size, as: 'batchSize'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1GcsDestination::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1Page
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Block, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Block::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :height, as: 'height'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationTextProperty::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :width, as: 'width'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1Paragraph
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationTextProperty::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :words, as: 'words', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Word, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Word::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1Position
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
property :z, as: 'z'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1Product
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :product_category, as: 'productCategory'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductKeyValue, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductKeyValue::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ProductKeyValue
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ProductSearchResults
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :index_time, as: 'indexTime'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsResult::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult
|
2018-11-06 00:31:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
2018-11-06 00:31:47 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsResult::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ProductSearchResultsResult
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :image, as: 'image'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product, as: 'product', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Product, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Product::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1Property
|
2018-08-22 21:14:52 +00:00
|
|
|
# @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
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image, :base64 => true, as: 'image'
|
|
|
|
property :mime_type, as: 'mimeType'
|
|
|
|
property :quality_optimization_type, as: 'qualityOptimizationType'
|
2019-07-10 00:37:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1ReferenceImage
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :bounding_polys, as: 'boundingPolys', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
2018-05-17 00:36:16 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :uri, as: 'uri'
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1SafeSearchAnnotation
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :adult, as: 'adult'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :adult_confidence, as: 'adultConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :medical, as: 'medical'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :medical_confidence, as: 'medicalConfidence'
|
|
|
|
property :nsfw_confidence, as: 'nsfwConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :racy, as: 'racy'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :racy_confidence, as: 'racyConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :spoof, as: 'spoof'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :spoof_confidence, as: 'spoofConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :violence, as: 'violence'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :violence_confidence, as: 'violenceConfidence'
|
2018-08-22 21:14:52 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1Symbol
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationTextProperty::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :text, as: 'text'
|
2018-08-22 21:14:52 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1TextAnnotation
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages, as: 'pages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Page, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Page::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :is_prefix, as: 'isPrefix'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1TextAnnotationTextProperty
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1Vertex
|
2018-05-17 00:36:16 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1WebDetection
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebLabel, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebLabel::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebImage::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebPage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebPage::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebImage::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebImage::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebEntity, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebEntity::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1WebDetectionWebEntity
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :entity_id, as: 'entityId'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1WebDetectionWebImage
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1WebDetectionWebLabel
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :label, as: 'label'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1WebDetectionWebPage
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebImage::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :page_title, as: 'pageTitle'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1WebDetectionWebImage::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p4beta1Word
|
2018-08-22 21:14:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1TextAnnotationTextProperty::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Symbol, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1Symbol::Representation
|
2018-08-22 21:14:52 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1AnnotateFileResponse
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1InputConfig::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1AnnotateImageResponse::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :total_pages, as: 'totalPages'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1AnnotateImageResponse
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :context, as: 'context', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ImageAnnotationContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ImageAnnotationContext::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1CropHintsAnnotation::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1FaceAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1FaceAnnotation::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotation::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ImageProperties, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ImageProperties::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1EntityAnnotation::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1EntityAnnotation::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :localized_object_annotations, as: 'localizedObjectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1EntityAnnotation::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResults, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResults::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1SafeSearchAnnotation::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1EntityAnnotation::Representation
|
2019-07-10 00:37:46 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetection, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetection::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1AsyncAnnotateFileResponse
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1OutputConfig::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1AsyncBatchAnnotateFilesResponse
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1AsyncAnnotateFileResponse::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1AsyncBatchAnnotateImagesResponse
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1OutputConfig::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1BatchAnnotateFilesResponse
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1AnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1AnnotateFileResponse::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1BatchOperationMetadata
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :end_time, as: 'endTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :submit_time, as: 'submitTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Block
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :block_type, as: 'blockType'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :key_value_pair, as: 'keyValuePair', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1KeyValuePair, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1KeyValuePair::Representation
|
|
|
|
|
|
|
|
property :merged_text, as: 'mergedText'
|
|
|
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Paragraph, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Paragraph::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationTextProperty::Representation
|
|
|
|
|
|
|
|
property :table, as: 'table', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Table, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Table::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1BoundingPoly
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1NormalizedVertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1NormalizedVertex::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Vertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Vertex::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ColorInfo
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :color, as: 'color', class: Google::Apis::VisionV1p1beta1::Color, decorator: Google::Apis::VisionV1p1beta1::Color::Representation
|
|
|
|
|
|
|
|
property :pixel_fraction, as: 'pixelFraction'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1CropHint
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :importance_fraction, as: 'importanceFraction'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1CropHintsAnnotation
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1CropHint, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1CropHint::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1DominantColorsAnnotation
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :colors, as: 'colors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ColorInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ColorInfo::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1EntityAnnotation
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :locale, as: 'locale'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :locations, as: 'locations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1LocationInfo, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1LocationInfo::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :mid, as: 'mid'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :properties, as: 'properties', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Property, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Property::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :topicality, as: 'topicality'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1FaceAnnotation
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :anger_likelihood, as: 'angerLikelihood'
|
|
|
|
property :blurred_likelihood, as: 'blurredLikelihood'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :detection_confidence, as: 'detectionConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
|
|
|
property :joy_likelihood, as: 'joyLikelihood'
|
|
|
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1FaceAnnotationLandmark::Representation
|
2019-02-20 02:14:27 +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'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1FaceAnnotationLandmark
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :position, as: 'position', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Position, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Position::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1GcsDestination
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1GcsSource
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ImageAnnotationContext
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :page_number, as: 'pageNumber'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ImageProperties
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1DominantColorsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1DominantColorsAnnotation::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ImportProductSetsResponse
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ReferenceImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ReferenceImage::Representation
|
|
|
|
|
|
|
|
collection :statuses, as: 'statuses', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1InputConfig
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :content, :base64 => true, as: 'content'
|
|
|
|
property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1GcsSource, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1GcsSource::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :mime_type, as: 'mimeType'
|
2019-02-20 02:14:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1KeyValuePair
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :key, as: 'key'
|
|
|
|
property :key_block, as: 'keyBlock', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Block, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Block::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
property :normalized_key, as: 'normalizedKey'
|
|
|
|
property :value_block, as: 'valueBlock', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Block, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Block::Representation
|
|
|
|
|
|
|
|
property :value_type, as: 'valueType'
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :mid, as: 'mid'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1LocationInfo
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1p1beta1::LatLng, decorator: Google::Apis::VisionV1p1beta1::LatLng::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1NormalizedVertex
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1OperationMetadata
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1OutputConfig
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_size, as: 'batchSize'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1GcsDestination::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Page
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Block, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Block::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :height, as: 'height'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :merged_text, as: 'mergedText'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationTextProperty::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :width, as: 'width'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Paragraph
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :merged_text, as: 'mergedText'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationTextProperty::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :words, as: 'words', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Word, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Word::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Position
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
property :z, as: 'z'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Product
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :product_category, as: 'productCategory'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductKeyValue, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductKeyValue::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ProductKeyValue
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ProductSearchResults
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :index_time, as: 'indexTime'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsResult::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsResult::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ProductSearchResultsResult
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :image, as: 'image'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :product, as: 'product', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Product, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Product::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Property
|
2019-02-20 02:14:27 +00:00
|
|
|
# @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
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1ReferenceImage
|
2019-07-10 00:37:46 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :bounding_polys, as: 'boundingPolys', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1SafeSearchAnnotation
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :adult, as: 'adult'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :adult_confidence, as: 'adultConfidence'
|
2019-02-20 02:14:27 +00:00
|
|
|
property :medical, as: 'medical'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :medical_confidence, as: 'medicalConfidence'
|
|
|
|
property :nsfw_confidence, as: 'nsfwConfidence'
|
2019-02-20 02:14:27 +00:00
|
|
|
property :racy, as: 'racy'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :racy_confidence, as: 'racyConfidence'
|
2019-02-20 02:14:27 +00:00
|
|
|
property :spoof, as: 'spoof'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :spoof_confidence, as: 'spoofConfidence'
|
2019-02-20 02:14:27 +00:00
|
|
|
property :violence, as: 'violence'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :violence_confidence, as: 'violenceConfidence'
|
2019-02-20 02:14:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Symbol
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationTextProperty::Representation
|
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p5beta1Table
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :body_rows, as: 'bodyRows', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TableTableRow, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TableTableRow::Representation
|
|
|
|
|
|
|
|
collection :header_rows, as: 'headerRows', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TableTableRow, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TableTableRow::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p5beta1TableTableCell
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :col_span, as: 'colSpan'
|
|
|
|
property :row_span, as: 'rowSpan'
|
2019-02-20 02:14:27 +00:00
|
|
|
property :text, as: 'text'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :text_block, as: 'textBlock', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Block, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Block::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoogleCloudVisionV1p5beta1TableTableRow
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :cells, as: 'cells', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TableTableCell, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TableTableCell::Representation
|
|
|
|
|
2019-05-10 00:37:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1TextAnnotation
|
2019-05-10 00:37:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages, as: 'pages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Page, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Page::Representation
|
2019-05-10 00:37:26 +00:00
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1TextAnnotationDetectedBreak
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :is_prefix, as: 'isPrefix'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1TextAnnotationDetectedLanguage
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1TextAnnotationTextProperty
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationDetectedBreak, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationDetectedBreak::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationDetectedLanguage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationDetectedLanguage::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Vertex
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1WebDetection
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebLabel, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebLabel::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebImage::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebPage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebPage::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebImage::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebImage::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebEntity, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebEntity::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1WebDetectionWebEntity
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :entity_id, as: 'entityId'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1WebDetectionWebImage
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1WebDetectionWebLabel
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :label, as: 'label'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1WebDetectionWebPage
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebImage::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :page_title, as: 'pageTitle'
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1WebDetectionWebImage::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
class GoogleCloudVisionV1p5beta1Word
|
2019-02-20 02:14:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-24 00:38:08 +00:00
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
2019-07-24 00:38:08 +00:00
|
|
|
property :merged_text, as: 'mergedText'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TextAnnotationTextProperty::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
2019-07-24 00:38:08 +00:00
|
|
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Symbol, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Symbol::Representation
|
2019-02-20 02:14:27 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-11-06 00:31:47 +00:00
|
|
|
class GroupedResult
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
|
|
|
|
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::Result, decorator: Google::Apis::VisionV1p1beta1::Result::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class ImageAnnotationContext
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :page_number, as: 'pageNumber'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ImageProperties
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1p1beta1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1p1beta1::DominantColorsAnnotation::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-11-06 00:31:47 +00:00
|
|
|
class ImportProductSetsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1p1beta1::ReferenceImage, decorator: Google::Apis::VisionV1p1beta1::ReferenceImage::Representation
|
|
|
|
|
|
|
|
collection :statuses, as: 'statuses', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class InputConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-05-10 00:37:26 +00:00
|
|
|
property :content, :base64 => true, as: 'content'
|
2018-05-17 00:36:16 +00:00
|
|
|
property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p1beta1::GcsSource, decorator: Google::Apis::VisionV1p1beta1::GcsSource::Representation
|
|
|
|
|
|
|
|
property :mime_type, as: 'mimeType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-11-06 00:31:47 +00:00
|
|
|
class KeyValue
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class Landmark
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :position, as: 'position', class: Google::Apis::VisionV1p1beta1::Position, decorator: Google::Apis::VisionV1p1beta1::Position::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class LatLng
|
2017-11-07 00:35:11 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-08 00:35:15 +00:00
|
|
|
property :latitude, as: 'latitude'
|
|
|
|
property :longitude, as: 'longitude'
|
2017-11-07 00:35:11 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-09-11 00:36:16 +00:00
|
|
|
class LocalizedObjectAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :mid, as: 'mid'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class LocationInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1p1beta1::LatLng, decorator: Google::Apis::VisionV1p1beta1::LatLng::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class NormalizedVertex
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Operation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :done, as: 'done'
|
|
|
|
property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
|
|
|
|
|
|
|
|
hash :metadata, as: 'metadata'
|
|
|
|
property :name, as: 'name'
|
|
|
|
hash :response, as: 'response'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OperationMetadata
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OutputConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_size, as: 'batchSize'
|
|
|
|
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p1beta1::GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GcsDestination::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Page
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p1beta1::Block, decorator: Google::Apis::VisionV1p1beta1::Block::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :height, as: 'height'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::TextProperty, decorator: Google::Apis::VisionV1p1beta1::TextProperty::Representation
|
|
|
|
|
|
|
|
property :width, as: 'width'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Paragraph
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::TextProperty, decorator: Google::Apis::VisionV1p1beta1::TextProperty::Representation
|
|
|
|
|
|
|
|
collection :words, as: 'words', class: Google::Apis::VisionV1p1beta1::Word, decorator: Google::Apis::VisionV1p1beta1::Word::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Position
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
property :z, as: 'z'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-11-06 00:31:47 +00:00
|
|
|
class Product
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :product_category, as: 'productCategory'
|
|
|
|
collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1p1beta1::KeyValue, decorator: Google::Apis::VisionV1p1beta1::KeyValue::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductSearchResults
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :index_time, as: 'indexTime'
|
|
|
|
collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1p1beta1::GroupedResult, decorator: Google::Apis::VisionV1p1beta1::GroupedResult::Representation
|
|
|
|
|
|
|
|
collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::Result, decorator: Google::Apis::VisionV1p1beta1::Result::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class Property
|
|
|
|
# @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
|
|
|
|
|
2018-11-06 00:31:47 +00:00
|
|
|
class ReferenceImage
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :bounding_polys, as: 'boundingPolys', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :uri, as: 'uri'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Result
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :image, as: 'image'
|
|
|
|
property :product, as: 'product', class: Google::Apis::VisionV1p1beta1::Product, decorator: Google::Apis::VisionV1p1beta1::Product::Representation
|
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-05-17 00:36:16 +00:00
|
|
|
class SafeSearchAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :adult, as: 'adult'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :adult_confidence, as: 'adultConfidence'
|
2018-05-17 00:36:16 +00:00
|
|
|
property :medical, as: 'medical'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :medical_confidence, as: 'medicalConfidence'
|
|
|
|
property :nsfw_confidence, as: 'nsfwConfidence'
|
2018-05-17 00:36:16 +00:00
|
|
|
property :racy, as: 'racy'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :racy_confidence, as: 'racyConfidence'
|
2018-05-17 00:36:16 +00:00
|
|
|
property :spoof, as: 'spoof'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :spoof_confidence, as: 'spoofConfidence'
|
2018-05-17 00:36:16 +00:00
|
|
|
property :violence, as: 'violence'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :violence_confidence, as: 'violenceConfidence'
|
2018-05-17 00:36:16 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-08 00:35:15 +00:00
|
|
|
class Status
|
2017-11-07 00:35:11 +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'
|
2017-11-07 00:35:11 +00:00
|
|
|
end
|
|
|
|
end
|
2018-05-17 00:36:16 +00:00
|
|
|
|
|
|
|
class Symbol
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::TextProperty, decorator: Google::Apis::VisionV1p1beta1::TextProperty::Representation
|
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TextAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :pages, as: 'pages', class: Google::Apis::VisionV1p1beta1::Page, decorator: Google::Apis::VisionV1p1beta1::Page::Representation
|
|
|
|
|
|
|
|
property :text, as: 'text'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TextProperty
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p1beta1::DetectedBreak, decorator: Google::Apis::VisionV1p1beta1::DetectedBreak::Representation
|
|
|
|
|
|
|
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p1beta1::DetectedLanguage, decorator: Google::Apis::VisionV1p1beta1::DetectedLanguage::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Vertex
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :x, as: 'x'
|
|
|
|
property :y, as: 'y'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class WebDetection
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p1beta1::WebLabel, decorator: Google::Apis::VisionV1p1beta1::WebLabel::Representation
|
|
|
|
|
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::WebImage, decorator: Google::Apis::VisionV1p1beta1::WebImage::Representation
|
|
|
|
|
|
|
|
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p1beta1::WebPage, decorator: Google::Apis::VisionV1p1beta1::WebPage::Representation
|
|
|
|
|
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::WebImage, decorator: Google::Apis::VisionV1p1beta1::WebImage::Representation
|
|
|
|
|
|
|
|
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p1beta1::WebImage, decorator: Google::Apis::VisionV1p1beta1::WebImage::Representation
|
|
|
|
|
|
|
|
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p1beta1::WebEntity, decorator: Google::Apis::VisionV1p1beta1::WebEntity::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class WebEntity
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :entity_id, as: 'entityId'
|
|
|
|
property :score, as: 'score'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class WebImage
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class WebLabel
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :label, as: 'label'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class WebPage
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::WebImage, decorator: Google::Apis::VisionV1p1beta1::WebImage::Representation
|
|
|
|
|
|
|
|
property :page_title, as: 'pageTitle'
|
|
|
|
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::WebImage, decorator: Google::Apis::VisionV1p1beta1::WebImage::Representation
|
|
|
|
|
|
|
|
property :score, as: 'score'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Word
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
|
|
|
|
|
|
|
|
property :confidence, as: 'confidence'
|
|
|
|
property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::TextProperty, decorator: Google::Apis::VisionV1p1beta1::TextProperty::Representation
|
|
|
|
|
|
|
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p1beta1::Symbol, decorator: Google::Apis::VisionV1p1beta1::Symbol::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
2017-11-07 00:35:11 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|