GoogleCloudContentwarehouseV1Value

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Value


Table of Contents ▼

Jump to a specific part of the page:

Description

Value represents a dynamically typed value which can be either be a float, a integer, a string, or a datetime value. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. booleanValue (type: boolean(), default: nil)
    - Represents a boolean value.
  2. datetimeValue (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDateTime, default: nil)
    - Represents a datetime value.
  3. enumValue (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1EnumValue, default: nil)
    - Represents an enum value.
  4. floatValue (type: number(), default: nil)
    - Represents a float value.
  5. intValue (type: integer(), default: nil)
    - Represents a integer value.
  6. stringValue (type: String.t, default: nil)
    - Represents a string value.
  7. timestampValue (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1TimestampValue, default: nil)
    - Represents a timestamp value.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Value{
booleanValue: boolean() | nil,
datetimeValue: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDateTime.t() | nil,
enumValue: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1EnumValue.t() | nil,
floatValue: number() | nil,
intValue: integer() | nil,
stringValue: String.t() | nil,
timestampValue: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1TimestampValue.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Value