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

A list of requests to annotate files using the BatchAnnotateFiles API.

Attributes

  • labels (type: map(), default: nil) - Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
  • parent (type: String.t, default: nil) - Optional. Target project and location to make a call. Format: projects/{project-id}/locations/{location-id}. If no parent is specified, a region will be chosen automatically. Supported location-ids: us: USA country only, asia: East asia areas, like Japan, Taiwan, eu: The European Union. Example: projects/project-A/locations/eu.
  • requests (type: list(GoogleApi.Vision.V1.Model.AnnotateFileRequest.t), default: nil) - Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Vision.V1.Model.BatchAnnotateFilesRequest{
  labels: map() | nil,
  parent: String.t() | nil,
  requests: [GoogleApi.Vision.V1.Model.AnnotateFileRequest.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.