View Source GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1InputConfig (google_api_vision v0.25.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1InputConfig{
  content: String.t() | nil,
  gcsSource:
    GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1GcsSource.t() | nil,
  mimeType: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.