google_api_vision v0.4.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1InputConfig View Source

The desired input location and metadata.

Attributes

  • content (binary()): 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. Defaults to: null.
  • gcsSource (GoogleCloudVisionV1p4beta1GcsSource): The Google Cloud Storage location to read the input from. Defaults to: null.
  • mimeType (String.t): The type of the file. Currently only "application/pdf" and "image/tiff" are supported. Wildcards are not supported. Defaults to: null.

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.GoogleCloudVisionV1p4beta1InputConfig{
  content: any(),
  gcsSource: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1GcsSource.t(),
  mimeType: any()
}

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.