google_api_vision v0.9.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1InputConfig View Source
The desired input location and metadata.
Attributes
content(type:String.t, default:nil) - File 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 BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.
gcsSource(type:GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1GcsSource.t, default:nil) - The Google Cloud Storage location to read the input from.mimeType(type:String.t, default:nil) - The type of the file. Currently only "application/pdf", "image/tiff" and "image/gif" are supported. Wildcards are not supported.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1InputConfig{
content: String.t(),
gcsSource: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1GcsSource.t(),
mimeType: String.t()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.