google_api_vision v0.13.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p5beta1KeyValuePair View Source

Proto for a key value pair.

Attributes

  • key (type: String.t, default: nil) - The key string value.
  • keyBlock (type: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p5beta1Block.t, default: nil) - Key block of the pair containing the normalized bounding box and key text.
  • normalizedKey (type: String.t, default: nil) - Optional. The translation of key text if the text is not in English.
  • valueBlock (type: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p5beta1Block.t, default: nil) - Value block of the pair containing the normalized bounding box and value text, including potentially deeper structures within the value text.
  • valueType (type: String.t, default: nil) - Type of the value. Valid strings are the following:

    "generic" - For generic text that is mapped to a value. "number" - for numeric types "id" - for generic identifiers. "currency" - for currency values. "date" - for dates. "time" - for time and duration values. "date_range" - for date ranges. "address" - for address values (can be long). "person" - for names of people or other personal identifiers. "phone" - for phone numbers.

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.GoogleCloudVisionV1p5beta1KeyValuePair{
  key: String.t(),
  keyBlock: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p5beta1Block.t(),
  normalizedKey: String.t(),
  valueBlock: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p5beta1Block.t(),
  valueType: 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.