google_api_vision v0.21.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1InputConfig 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 all bytes fields, 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.GoogleCloudVisionV1p3beta1GcsSource.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

Link to this type

t()

View Source
t() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1InputConfig{
  content: String.t(),
  gcsSource: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1GcsSource.t(),
  mimeType: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.