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):
Attributes
-
booleanValue
(type:boolean()
, default:nil
)
- Represents a boolean value. -
datetimeValue
(type:GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDateTime
, default:nil
)
- Represents a datetime value. -
enumValue
(type:GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1EnumValue
, default:nil
)
- Represents an enum value. -
floatValue
(type:number()
, default:nil
)
- Represents a float value. -
intValue
(type:integer()
, default:nil
)
- Represents a integer value. -
stringValue
(type:String.t
, default:nil
)
- Represents a string value. -
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
}
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