GoogleApi.Language.V2.Model.XPSDataType (google_api_language v0.16.3)

View Source

Indicated the type of data that can be stored in a structured data entity (e.g. a table).

Attributes

  • compatibleDataTypes (type: list(GoogleApi.Language.V2.Model.XPSDataType.t), default: nil) - The highly compatible data types to this data type.
  • listElementType (type: GoogleApi.Language.V2.Model.XPSDataType.t, default: nil) - If type_code == ARRAY, then list_element_type is the type of the elements.
  • nullable (type: boolean(), default: nil) - If true, this DataType can also be null.
  • structType (type: GoogleApi.Language.V2.Model.XPSStructType.t, default: nil) - If type_code == STRUCT, then struct_type provides type information for the struct's fields.
  • timeFormat (type: String.t, default: nil) - If type_code == TIMESTAMP then time_format provides the format in which that time field is expressed. The time_format must be written in strftime syntax. If time_format is not set, then the default format as described on the field is used.
  • typeCode (type: String.t, default: nil) - Required. The TypeCode for this type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Language.V2.Model.XPSDataType{
  compatibleDataTypes: [t()] | nil,
  listElementType: t() | nil,
  nullable: boolean() | nil,
  structType: GoogleApi.Language.V2.Model.XPSStructType.t() | nil,
  timeFormat: String.t() | nil,
  typeCode: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.