gogol-vision-0.5.0: Google Cloud Vision SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Vision

Contents

Description

Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.

See: Cloud Vision API Reference

Synopsis

Service Configuration

visionService :: ServiceConfig Source #

Default request referring to version v1p2beta1 of the Cloud Vision API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudVisionScope :: Proxy '["https://www.googleapis.com/auth/cloud-vision"] Source #

Apply machine learning models to understand and label images

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

API Declaration

type VisionAPI = ImagesAnnotateResource :<|> FilesAsyncBatchAnnotateResource Source #

Represents the entirety of the methods and resources available for the Cloud Vision API service.

Resources

vision.files.asyncBatchAnnotate

vision.images.annotate

Types

GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation

data GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation Source #

Set of detected objects with bounding boxes.

See: googleCloudVisionV1p1beta1LocalizedObjectAnnotation smart constructor.

Instances
Eq GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> c GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation #

toConstr :: GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> Constr #

dataTypeOf :: GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> m GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> m GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation -> m GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation #

Show GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

ToJSON GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation = D1 (MetaData "GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation'" PrefixI True) ((S1 (MetaSel (Just "_gcvvloaLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcvvloaScore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) :*: (S1 (MetaSel (Just "_gcvvloaBoundingPoly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p1beta1BoundingPoly)) :*: (S1 (MetaSel (Just "_gcvvloaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcvvloaMid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

gcvvloaLanguageCode :: Lens' GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation (Maybe Text) Source #

The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

gcvvloaName :: Lens' GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation (Maybe Text) Source #

Object name, expressed in its `language_code` language.

gcvvloaMid :: Lens' GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation (Maybe Text) Source #

Object ID that should align with EntityAnnotation mid.

LatLng

data LatLng Source #

An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.

See: latLng smart constructor.

Instances
Eq LatLng Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

(==) :: LatLng -> LatLng -> Bool #

(/=) :: LatLng -> LatLng -> Bool #

Data LatLng Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LatLng -> c LatLng #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LatLng #

toConstr :: LatLng -> Constr #

dataTypeOf :: LatLng -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LatLng) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LatLng) #

gmapT :: (forall b. Data b => b -> b) -> LatLng -> LatLng #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LatLng -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LatLng -> r #

gmapQ :: (forall d. Data d => d -> u) -> LatLng -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LatLng -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng #

Show LatLng Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic LatLng Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Associated Types

type Rep LatLng :: Type -> Type #

Methods

from :: LatLng -> Rep LatLng x #

to :: Rep LatLng x -> LatLng #

ToJSON LatLng Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON LatLng Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep LatLng Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep LatLng = D1 (MetaData "LatLng" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "LatLng'" PrefixI True) (S1 (MetaSel (Just "_llLatitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_llLongitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))

latLng :: LatLng Source #

Creates a value of LatLng with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

llLatitude :: Lens' LatLng (Maybe Double) Source #

The latitude in degrees. It must be in the range [-90.0, +90.0].

llLongitude :: Lens' LatLng (Maybe Double) Source #

The longitude in degrees. It must be in the range [-180.0, +180.0].

GoogleCloudVisionV1p1beta1OutputConfig

data GoogleCloudVisionV1p1beta1OutputConfig Source #

The desired output location and metadata.

See: googleCloudVisionV1p1beta1OutputConfig smart constructor.

Instances
Eq GoogleCloudVisionV1p1beta1OutputConfig Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p1beta1OutputConfig Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p1beta1OutputConfig -> c GoogleCloudVisionV1p1beta1OutputConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p1beta1OutputConfig #

toConstr :: GoogleCloudVisionV1p1beta1OutputConfig -> Constr #

dataTypeOf :: GoogleCloudVisionV1p1beta1OutputConfig -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p1beta1OutputConfig) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p1beta1OutputConfig) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p1beta1OutputConfig -> GoogleCloudVisionV1p1beta1OutputConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p1beta1OutputConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p1beta1OutputConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p1beta1OutputConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p1beta1OutputConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p1beta1OutputConfig -> m GoogleCloudVisionV1p1beta1OutputConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p1beta1OutputConfig -> m GoogleCloudVisionV1p1beta1OutputConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p1beta1OutputConfig -> m GoogleCloudVisionV1p1beta1OutputConfig #

Show GoogleCloudVisionV1p1beta1OutputConfig Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic GoogleCloudVisionV1p1beta1OutputConfig Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

ToJSON GoogleCloudVisionV1p1beta1OutputConfig Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON GoogleCloudVisionV1p1beta1OutputConfig Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p1beta1OutputConfig Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p1beta1OutputConfig = D1 (MetaData "GoogleCloudVisionV1p1beta1OutputConfig" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "GoogleCloudVisionV1p1beta1OutputConfig'" PrefixI True) (S1 (MetaSel (Just "_gcvvocGcsDestination") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p1beta1GcsDestination)) :*: S1 (MetaSel (Just "_gcvvocBatchSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))

googleCloudVisionV1p1beta1OutputConfig :: GoogleCloudVisionV1p1beta1OutputConfig Source #

Creates a value of GoogleCloudVisionV1p1beta1OutputConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gcvvocBatchSize :: Lens' GoogleCloudVisionV1p1beta1OutputConfig (Maybe Int32) Source #

The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.

GoogleCloudVisionV1p3beta1ProductKeyValue

data GoogleCloudVisionV1p3beta1ProductKeyValue Source #

A product label represented as a key-value pair.

See: googleCloudVisionV1p3beta1ProductKeyValue smart constructor.

Instances
Eq GoogleCloudVisionV1p3beta1ProductKeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p3beta1ProductKeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p3beta1ProductKeyValue -> c GoogleCloudVisionV1p3beta1ProductKeyValue #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p3beta1ProductKeyValue #

toConstr :: GoogleCloudVisionV1p3beta1ProductKeyValue -> Constr #

dataTypeOf :: GoogleCloudVisionV1p3beta1ProductKeyValue -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p3beta1ProductKeyValue) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p3beta1ProductKeyValue) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p3beta1ProductKeyValue -> GoogleCloudVisionV1p3beta1ProductKeyValue #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p3beta1ProductKeyValue -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p3beta1ProductKeyValue -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p3beta1ProductKeyValue -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p3beta1ProductKeyValue -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p3beta1ProductKeyValue -> m GoogleCloudVisionV1p3beta1ProductKeyValue #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p3beta1ProductKeyValue -> m GoogleCloudVisionV1p3beta1ProductKeyValue #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p3beta1ProductKeyValue -> m GoogleCloudVisionV1p3beta1ProductKeyValue #

Show GoogleCloudVisionV1p3beta1ProductKeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic GoogleCloudVisionV1p3beta1ProductKeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

ToJSON GoogleCloudVisionV1p3beta1ProductKeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON GoogleCloudVisionV1p3beta1ProductKeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p3beta1ProductKeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p3beta1ProductKeyValue = D1 (MetaData "GoogleCloudVisionV1p3beta1ProductKeyValue" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "GoogleCloudVisionV1p3beta1ProductKeyValue'" PrefixI True) (S1 (MetaSel (Just "_gcvvpkvValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcvvpkvKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

googleCloudVisionV1p3beta1ProductKeyValue :: GoogleCloudVisionV1p3beta1ProductKeyValue Source #

Creates a value of GoogleCloudVisionV1p3beta1ProductKeyValue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gcvvpkvValue :: Lens' GoogleCloudVisionV1p3beta1ProductKeyValue (Maybe Text) Source #

The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

gcvvpkvKey :: Lens' GoogleCloudVisionV1p3beta1ProductKeyValue (Maybe Text) Source #

The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse

data GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse Source #

Response to an async batch file annotation request.

See: googleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse smart constructor.

Instances
Eq GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> c GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse #

toConstr :: GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> Constr #

dataTypeOf :: GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> m GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> m GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse -> m GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse #

Show GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

ToJSON GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse = D1 (MetaData "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" True) (C1 (MetaCons "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse'" PrefixI True) (S1 (MetaSel (Just "_gcvvabafrResponses") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse]))))

googleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse :: GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse Source #

Creates a value of GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gcvvabafrResponses :: Lens' GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse [GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse] Source #

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

FaceAnnotationUnderExposedLikelihood

data FaceAnnotationUnderExposedLikelihood Source #

Under-exposed likelihood.

Constructors

Unknown

UNKNOWN Unknown likelihood.

VeryUnlikely

VERY_UNLIKELY It is very unlikely that the image belongs to the specified vertical.

Unlikely

UNLIKELY It is unlikely that the image belongs to the specified vertical.

Possible

POSSIBLE It is possible that the image belongs to the specified vertical.

Likely

LIKELY It is likely that the image belongs to the specified vertical.

VeryLikely

VERY_LIKELY It is very likely that the image belongs to the specified vertical.

Instances
Enum FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Eq FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Data FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FaceAnnotationUnderExposedLikelihood -> c FaceAnnotationUnderExposedLikelihood #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FaceAnnotationUnderExposedLikelihood #

toConstr :: FaceAnnotationUnderExposedLikelihood -> Constr #

dataTypeOf :: FaceAnnotationUnderExposedLikelihood -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FaceAnnotationUnderExposedLikelihood) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FaceAnnotationUnderExposedLikelihood) #

gmapT :: (forall b. Data b => b -> b) -> FaceAnnotationUnderExposedLikelihood -> FaceAnnotationUnderExposedLikelihood #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FaceAnnotationUnderExposedLikelihood -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FaceAnnotationUnderExposedLikelihood -> r #

gmapQ :: (forall d. Data d => d -> u) -> FaceAnnotationUnderExposedLikelihood -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FaceAnnotationUnderExposedLikelihood -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FaceAnnotationUnderExposedLikelihood -> m FaceAnnotationUnderExposedLikelihood #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FaceAnnotationUnderExposedLikelihood -> m FaceAnnotationUnderExposedLikelihood #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FaceAnnotationUnderExposedLikelihood -> m FaceAnnotationUnderExposedLikelihood #

Ord FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Read FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Show FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Generic FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Hashable FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

ToJSON FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

FromJSON FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

FromHttpApiData FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

ToHttpApiData FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

type Rep FaceAnnotationUnderExposedLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

type Rep FaceAnnotationUnderExposedLikelihood = D1 (MetaData "FaceAnnotationUnderExposedLikelihood" "Network.Google.Vision.Types.Sum" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) ((C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "VeryUnlikely" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unlikely" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Possible" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Likely" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "VeryLikely" PrefixI False) (U1 :: Type -> Type))))

GoogleCloudVisionV1p3beta1ImageAnnotationContext

data GoogleCloudVisionV1p3beta1ImageAnnotationContext Source #

If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.

See: googleCloudVisionV1p3beta1ImageAnnotationContext smart constructor.

Instances
Eq GoogleCloudVisionV1p3beta1ImageAnnotationContext Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p3beta1ImageAnnotationContext Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p3beta1ImageAnnotationContext -> c GoogleCloudVisionV1p3beta1ImageAnnotationContext #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p3beta1ImageAnnotationContext #

toConstr :: GoogleCloudVisionV1p3beta1ImageAnnotationContext -> Constr #

dataTypeOf :: GoogleCloudVisionV1p3beta1ImageAnnotationContext -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p3beta1ImageAnnotationContext) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p3beta1ImageAnnotationContext) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p3beta1ImageAnnotationContext -> GoogleCloudVisionV1p3beta1ImageAnnotationContext #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p3beta1ImageAnnotationContext -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p3beta1ImageAnnotationContext -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p3beta1ImageAnnotationContext -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p3beta1ImageAnnotationContext -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p3beta1ImageAnnotationContext -> m GoogleCloudVisionV1p3beta1ImageAnnotationContext #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p3beta1ImageAnnotationContext -> m GoogleCloudVisionV1p3beta1ImageAnnotationContext #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p3beta1ImageAnnotationContext -> m GoogleCloudVisionV1p3beta1ImageAnnotationContext #

Show GoogleCloudVisionV1p3beta1ImageAnnotationContext Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic GoogleCloudVisionV1p3beta1ImageAnnotationContext Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

ToJSON GoogleCloudVisionV1p3beta1ImageAnnotationContext Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON GoogleCloudVisionV1p3beta1ImageAnnotationContext Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p3beta1ImageAnnotationContext Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p3beta1ImageAnnotationContext = D1 (MetaData "GoogleCloudVisionV1p3beta1ImageAnnotationContext" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "GoogleCloudVisionV1p3beta1ImageAnnotationContext'" PrefixI True) (S1 (MetaSel (Just "_gcvviacURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcvviacPageNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))

googleCloudVisionV1p3beta1ImageAnnotationContext :: GoogleCloudVisionV1p3beta1ImageAnnotationContext Source #

Creates a value of GoogleCloudVisionV1p3beta1ImageAnnotationContext with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gcvviacURI :: Lens' GoogleCloudVisionV1p3beta1ImageAnnotationContext (Maybe Text) Source #

The URI of the file used to produce the image.

gcvviacPageNumber :: Lens' GoogleCloudVisionV1p3beta1ImageAnnotationContext (Maybe Int32) Source #

If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.

GoogleCloudVisionV1p3beta1Property

data GoogleCloudVisionV1p3beta1Property Source #

A `Property` consists of a user-supplied name/value pair.

See: googleCloudVisionV1p3beta1Property smart constructor.

Instances
Eq GoogleCloudVisionV1p3beta1Property Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p3beta1Property Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p3beta1Property -> c GoogleCloudVisionV1p3beta1Property #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p3beta1Property #

toConstr :: GoogleCloudVisionV1p3beta1Property -> Constr #

dataTypeOf :: GoogleCloudVisionV1p3beta1Property -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p3beta1Property) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p3beta1Property) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p3beta1Property -> GoogleCloudVisionV1p3beta1Property #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p3beta1Property -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p3beta1Property -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p3beta1Property -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p3beta1Property -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p3beta1Property -> m GoogleCloudVisionV1p3beta1Property #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p3beta1Property -> m GoogleCloudVisionV1p3beta1Property #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p3beta1Property -> m GoogleCloudVisionV1p3beta1Property #

Show GoogleCloudVisionV1p3beta1Property Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic GoogleCloudVisionV1p3beta1Property Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Associated Types

type Rep GoogleCloudVisionV1p3beta1Property :: Type -> Type #

ToJSON GoogleCloudVisionV1p3beta1Property Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON GoogleCloudVisionV1p3beta1Property Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p3beta1Property Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p3beta1Property = D1 (MetaData "GoogleCloudVisionV1p3beta1Property" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "GoogleCloudVisionV1p3beta1Property'" PrefixI True) (S1 (MetaSel (Just "_gcvvpUint64Value") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))) :*: (S1 (MetaSel (Just "_gcvvpValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcvvpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

googleCloudVisionV1p3beta1Property :: GoogleCloudVisionV1p3beta1Property Source #

Creates a value of GoogleCloudVisionV1p3beta1Property with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage

data GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage Source #

Detected language for a structural component.

See: googleCloudVisionV1p2beta1TextAnnotationDetectedLanguage smart constructor.

Instances
Eq GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> c GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage #

toConstr :: GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> Constr #

dataTypeOf :: GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> m GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> m GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage -> m GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage #

Show GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

ToJSON GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage = D1 (MetaData "GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage'" PrefixI True) (S1 (MetaSel (Just "_gcvvtadlLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcvvtadlConfidence") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))

googleCloudVisionV1p2beta1TextAnnotationDetectedLanguage :: GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage Source #

Creates a value of GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gcvvtadlLanguageCode :: Lens' GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage (Maybe Text) Source #

The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood

data GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source #

Surprise likelihood.

Constructors

GCVVFASLUnknown

UNKNOWN Unknown likelihood.

GCVVFASLVeryUnlikely

VERY_UNLIKELY It is very unlikely that the image belongs to the specified vertical.

GCVVFASLUnlikely

UNLIKELY It is unlikely that the image belongs to the specified vertical.

GCVVFASLPossible

POSSIBLE It is possible that the image belongs to the specified vertical.

GCVVFASLLikely

LIKELY It is likely that the image belongs to the specified vertical.

GCVVFASLVeryLikely

VERY_LIKELY It is very likely that the image belongs to the specified vertical.

Instances
Enum GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Eq GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Data GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> c GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood #

toConstr :: GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> Constr #

dataTypeOf :: GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> m GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> m GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood -> m GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood #

Ord GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Read GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Show GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Generic GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

Hashable GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

ToJSON GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

FromJSON GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

FromHttpApiData GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

ToHttpApiData GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

type Rep GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood Source # 
Instance details

Defined in Network.Google.Vision.Types.Sum

type Rep GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood = D1 (MetaData "GoogleCloudVisionV1p1beta1FaceAnnotationSurpriseLikelihood" "Network.Google.Vision.Types.Sum" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) ((C1 (MetaCons "GCVVFASLUnknown" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "GCVVFASLVeryUnlikely" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "GCVVFASLUnlikely" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "GCVVFASLPossible" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "GCVVFASLLikely" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "GCVVFASLVeryLikely" PrefixI False) (U1 :: Type -> Type))))

KeyValue

data KeyValue Source #

A product label represented as a key-value pair.

See: keyValue smart constructor.

Instances
Eq KeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data KeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KeyValue -> c KeyValue #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyValue #

toConstr :: KeyValue -> Constr #

dataTypeOf :: KeyValue -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c KeyValue) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyValue) #

gmapT :: (forall b. Data b => b -> b) -> KeyValue -> KeyValue #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyValue -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyValue -> r #

gmapQ :: (forall d. Data d => d -> u) -> KeyValue -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyValue -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyValue -> m KeyValue #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyValue -> m KeyValue #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyValue -> m KeyValue #

Show KeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic KeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Associated Types

type Rep KeyValue :: Type -> Type #

Methods

from :: KeyValue -> Rep KeyValue x #

to :: Rep KeyValue x -> KeyValue #

ToJSON KeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON KeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep KeyValue Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep KeyValue = D1 (MetaData "KeyValue" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "KeyValue'" PrefixI True) (S1 (MetaSel (Just "_kvValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_kvKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

keyValue :: KeyValue Source #

Creates a value of KeyValue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

kvValue :: Lens' KeyValue (Maybe Text) Source #

The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

kvKey :: Lens' KeyValue (Maybe Text) Source #

The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

GoogleCloudVisionV1p2beta1AnnotateImageResponse

data GoogleCloudVisionV1p2beta1AnnotateImageResponse Source #

Response to an image annotation request.

See: googleCloudVisionV1p2beta1AnnotateImageResponse smart constructor.

Instances
Eq GoogleCloudVisionV1p2beta1AnnotateImageResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p2beta1AnnotateImageResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p2beta1AnnotateImageResponse -> c GoogleCloudVisionV1p2beta1AnnotateImageResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p2beta1AnnotateImageResponse #

toConstr :: GoogleCloudVisionV1p2beta1AnnotateImageResponse -> Constr #

dataTypeOf :: GoogleCloudVisionV1p2beta1AnnotateImageResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p2beta1AnnotateImageResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p2beta1AnnotateImageResponse) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p2beta1AnnotateImageResponse -> GoogleCloudVisionV1p2beta1AnnotateImageResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1AnnotateImageResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1AnnotateImageResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1AnnotateImageResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1AnnotateImageResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1AnnotateImageResponse -> m GoogleCloudVisionV1p2beta1AnnotateImageResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1AnnotateImageResponse -> m GoogleCloudVisionV1p2beta1AnnotateImageResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1AnnotateImageResponse -> m GoogleCloudVisionV1p2beta1AnnotateImageResponse #

Show GoogleCloudVisionV1p2beta1AnnotateImageResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic GoogleCloudVisionV1p2beta1AnnotateImageResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

ToJSON GoogleCloudVisionV1p2beta1AnnotateImageResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON GoogleCloudVisionV1p2beta1AnnotateImageResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p2beta1AnnotateImageResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p2beta1AnnotateImageResponse = D1 (MetaData "GoogleCloudVisionV1p2beta1AnnotateImageResponse" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "GoogleCloudVisionV1p2beta1AnnotateImageResponse'" PrefixI True) (((S1 (MetaSel (Just "_gcvvairLogoAnnotations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleCloudVisionV1p2beta1EntityAnnotation])) :*: (S1 (MetaSel (Just "_gcvvairProductSearchResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1ProductSearchResults)) :*: S1 (MetaSel (Just "_gcvvairContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1ImageAnnotationContext)))) :*: ((S1 (MetaSel (Just "_gcvvairLabelAnnotations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleCloudVisionV1p2beta1EntityAnnotation])) :*: S1 (MetaSel (Just "_gcvvairFaceAnnotations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleCloudVisionV1p2beta1FaceAnnotation]))) :*: (S1 (MetaSel (Just "_gcvvairError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status)) :*: S1 (MetaSel (Just "_gcvvairWebDetection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1WebDetection))))) :*: ((S1 (MetaSel (Just "_gcvvairSafeSearchAnnotation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1SafeSearchAnnotation)) :*: (S1 (MetaSel (Just "_gcvvairLandmarkAnnotations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleCloudVisionV1p2beta1EntityAnnotation])) :*: S1 (MetaSel (Just "_gcvvairLocalizedObjectAnnotations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation])))) :*: ((S1 (MetaSel (Just "_gcvvairTextAnnotations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleCloudVisionV1p2beta1EntityAnnotation])) :*: S1 (MetaSel (Just "_gcvvairCropHintsAnnotation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1CropHintsAnnotation))) :*: (S1 (MetaSel (Just "_gcvvairFullTextAnnotation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1TextAnnotation)) :*: S1 (MetaSel (Just "_gcvvairImagePropertiesAnnotation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1ImageProperties)))))))

gcvvairContext :: Lens' GoogleCloudVisionV1p2beta1AnnotateImageResponse (Maybe GoogleCloudVisionV1p2beta1ImageAnnotationContext) Source #

If present, contextual information is needed to understand where this image comes from.

gcvvairError :: Lens' GoogleCloudVisionV1p2beta1AnnotateImageResponse (Maybe Status) Source #

If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.

gcvvairLocalizedObjectAnnotations :: Lens' GoogleCloudVisionV1p2beta1AnnotateImageResponse [GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation] Source #

If present, localized object detection has completed successfully. This will be sorted descending by confidence score.

gcvvairFullTextAnnotation :: Lens' GoogleCloudVisionV1p2beta1AnnotateImageResponse (Maybe GoogleCloudVisionV1p2beta1TextAnnotation) Source #

If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.

ImportProductSetsResponse

data ImportProductSetsResponse Source #

Response message for the `ImportProductSets` method. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.

See: importProductSetsResponse smart constructor.

Instances
Eq ImportProductSetsResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data ImportProductSetsResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImportProductSetsResponse -> c ImportProductSetsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImportProductSetsResponse #

toConstr :: ImportProductSetsResponse -> Constr #

dataTypeOf :: ImportProductSetsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ImportProductSetsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImportProductSetsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ImportProductSetsResponse -> ImportProductSetsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImportProductSetsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImportProductSetsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ImportProductSetsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImportProductSetsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImportProductSetsResponse -> m ImportProductSetsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImportProductSetsResponse -> m ImportProductSetsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImportProductSetsResponse -> m ImportProductSetsResponse #

Show ImportProductSetsResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic ImportProductSetsResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Associated Types

type Rep ImportProductSetsResponse :: Type -> Type #

ToJSON ImportProductSetsResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON ImportProductSetsResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep ImportProductSetsResponse Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep ImportProductSetsResponse = D1 (MetaData "ImportProductSetsResponse" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "ImportProductSetsResponse'" PrefixI True) (S1 (MetaSel (Just "_ipsrReferenceImages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ReferenceImage])) :*: S1 (MetaSel (Just "_ipsrStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Status]))))

importProductSetsResponse :: ImportProductSetsResponse Source #

Creates a value of ImportProductSetsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ipsrReferenceImages :: Lens' ImportProductSetsResponse [ReferenceImage] Source #

The list of reference_images that are imported successfully.

ipsrStatuses :: Lens' ImportProductSetsResponse [Status] Source #

The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.

GoogleCloudVisionV1p2beta1Symbol

data GoogleCloudVisionV1p2beta1Symbol Source #

A single symbol representation.

See: googleCloudVisionV1p2beta1Symbol smart constructor.

Instances
Eq GoogleCloudVisionV1p2beta1Symbol Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p2beta1Symbol Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p2beta1Symbol -> c GoogleCloudVisionV1p2beta1Symbol #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p2beta1Symbol #

toConstr :: GoogleCloudVisionV1p2beta1Symbol -> Constr #

dataTypeOf :: GoogleCloudVisionV1p2beta1Symbol -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p2beta1Symbol) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p2beta1Symbol) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p2beta1Symbol -> GoogleCloudVisionV1p2beta1Symbol #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1Symbol -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1Symbol -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1Symbol -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1Symbol -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1Symbol -> m GoogleCloudVisionV1p2beta1Symbol #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1Symbol -> m GoogleCloudVisionV1p2beta1Symbol #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1Symbol -> m GoogleCloudVisionV1p2beta1Symbol #

Show GoogleCloudVisionV1p2beta1Symbol Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic GoogleCloudVisionV1p2beta1Symbol Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Associated Types

type Rep GoogleCloudVisionV1p2beta1Symbol :: Type -> Type #

ToJSON GoogleCloudVisionV1p2beta1Symbol Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON GoogleCloudVisionV1p2beta1Symbol Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p2beta1Symbol Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p2beta1Symbol = D1 (MetaData "GoogleCloudVisionV1p2beta1Symbol" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "GoogleCloudVisionV1p2beta1Symbol'" PrefixI True) ((S1 (MetaSel (Just "_gcvvsProperty") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1TextAnnotationTextProperty)) :*: S1 (MetaSel (Just "_gcvvsBoundingBox") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1BoundingPoly))) :*: (S1 (MetaSel (Just "_gcvvsText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcvvsConfidence") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))))

googleCloudVisionV1p2beta1Symbol :: GoogleCloudVisionV1p2beta1Symbol Source #

Creates a value of GoogleCloudVisionV1p2beta1Symbol with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gcvvsBoundingBox :: Lens' GoogleCloudVisionV1p2beta1Symbol (Maybe GoogleCloudVisionV1p2beta1BoundingPoly) Source #

The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertice order will still be (0, 1, 2, 3).

gcvvsText :: Lens' GoogleCloudVisionV1p2beta1Symbol (Maybe Text) Source #

The actual UTF-8 representation of the symbol.

gcvvsConfidence :: Lens' GoogleCloudVisionV1p2beta1Symbol (Maybe Double) Source #

Confidence of the OCR results for the symbol. Range [0, 1].

GoogleCloudVisionV1p2beta1Paragraph

data GoogleCloudVisionV1p2beta1Paragraph Source #

Structural unit of text representing a number of words in certain order.

See: googleCloudVisionV1p2beta1Paragraph smart constructor.

Instances
Eq GoogleCloudVisionV1p2beta1Paragraph Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p2beta1Paragraph Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p2beta1Paragraph -> c GoogleCloudVisionV1p2beta1Paragraph #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p2beta1Paragraph #

toConstr :: GoogleCloudVisionV1p2beta1Paragraph -> Constr #

dataTypeOf :: GoogleCloudVisionV1p2beta1Paragraph -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p2beta1Paragraph) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p2beta1Paragraph) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p2beta1Paragraph -> GoogleCloudVisionV1p2beta1Paragraph #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1Paragraph -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1Paragraph -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1Paragraph -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1Paragraph -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1Paragraph -> m GoogleCloudVisionV1p2beta1Paragraph #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1Paragraph -> m GoogleCloudVisionV1p2beta1Paragraph #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1Paragraph -> m GoogleCloudVisionV1p2beta1Paragraph #

Show GoogleCloudVisionV1p2beta1Paragraph Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic GoogleCloudVisionV1p2beta1Paragraph Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

ToJSON GoogleCloudVisionV1p2beta1Paragraph Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON GoogleCloudVisionV1p2beta1Paragraph Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p2beta1Paragraph Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep GoogleCloudVisionV1p2beta1Paragraph = D1 (MetaData "GoogleCloudVisionV1p2beta1Paragraph" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "GoogleCloudVisionV1p2beta1Paragraph'" PrefixI True) ((S1 (MetaSel (Just "_gcvvpProperty") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1TextAnnotationTextProperty)) :*: S1 (MetaSel (Just "_gcvvpBoundingBox") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleCloudVisionV1p2beta1BoundingPoly))) :*: (S1 (MetaSel (Just "_gcvvpConfidence") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_gcvvpWords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleCloudVisionV1p2beta1Word])))))

googleCloudVisionV1p2beta1Paragraph :: GoogleCloudVisionV1p2beta1Paragraph Source #

Creates a value of GoogleCloudVisionV1p2beta1Paragraph with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gcvvpBoundingBox :: Lens' GoogleCloudVisionV1p2beta1Paragraph (Maybe GoogleCloudVisionV1p2beta1BoundingPoly) Source #

The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3).

gcvvpConfidence :: Lens' GoogleCloudVisionV1p2beta1Paragraph (Maybe Double) Source #

Confidence of the OCR results for the paragraph. Range [0, 1].

Status

data Status Source #

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.

See: status smart constructor.

Instances
Eq Status Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Data Status Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status #

toConstr :: Status -> Constr #

dataTypeOf :: Status -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) #

gmapT :: (forall b. Data b => b -> b) -> Status -> Status #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

Show Status Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.Vision.Types.Product" "gogol-vision-0.5.0-FlBgp1i0SdS3a2jUoL1erl" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

status :: Status Source #

Creates a value of Status with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sDetails :: Lens' Status [StatusDetailsItem] Source #

A list of messages that carry the error details. There is a common set of message types for APIs to use.

sCode :: Lens' Status (Maybe Int32) Source #

The status code, which should be an enum value of google.rpc.Code.

sMessage :: Lens' Status (Maybe Text) Source #

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

GoogleCloudVisionV1p2beta1FaceAnnotation

data GoogleCloudVisionV1p2beta1FaceAnnotation Source #

A face annotation object contains the results of face detection.

See: googleCloudVisionV1p2beta1FaceAnnotation smart constructor.

Instances
Eq GoogleCloudVisionV1p2beta1FaceAnnotation Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Data GoogleCloudVisionV1p2beta1FaceAnnotation Source # 
Instance details

Defined in Network.Google.Vision.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleCloudVisionV1p2beta1FaceAnnotation -> c GoogleCloudVisionV1p2beta1FaceAnnotation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleCloudVisionV1p2beta1FaceAnnotation #

toConstr :: GoogleCloudVisionV1p2beta1FaceAnnotation -> Constr #

dataTypeOf :: GoogleCloudVisionV1p2beta1FaceAnnotation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleCloudVisionV1p2beta1FaceAnnotation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleCloudVisionV1p2beta1FaceAnnotation) #

gmapT :: (forall b. Data b => b -> b) -> GoogleCloudVisionV1p2beta1FaceAnnotation -> GoogleCloudVisionV1p2beta1FaceAnnotation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1FaceAnnotation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleCloudVisionV1p2beta1FaceAnnotation -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1FaceAnnotation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleCloudVisionV1p2beta1FaceAnnotation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1FaceAnnotation -> m GoogleCloudVisionV1p2beta1FaceAnnotation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1FaceAnnotation -> m GoogleCloudVisionV1p2beta1FaceAnnotation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleCloudVisionV1p2beta1FaceAnnotation -> m GoogleCloudVisionV1p2beta1FaceAnnotation #

Show GoogleCloudVisionV1p2beta1FaceAnnotation Source # 
Instance details

Defined in Network.Google.Vision.Types.Product