View Source GoogleApi.Vision.V1.Model.Image (google_api_vision v0.26.1)
Client image to perform Google Cloud Vision API tasks over.
Attributes
-
content(type:String.t, default:nil) - Image content, represented as a stream of bytes. Note: As with allbytesfields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateImages requests. It does not work for AsyncBatchAnnotateImages requests. -
source(type:GoogleApi.Vision.V1.Model.ImageSource.t, default:nil) - Google Cloud Storage image location, or publicly-accessible image URL. If bothcontentandsourceare provided for an image,contenttakes precedence and is used to perform the image annotation request.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Vision.V1.Model.Image{ content: String.t() | nil, source: GoogleApi.Vision.V1.Model.ImageSource.t() | nil }