GoogleCloudContentwarehouseV1Value

AI Overview😉

  • The potential purpose of this module is to provide a flexible data structure to store and handle different types of values, such as booleans, dates, enums, floats, integers, strings, and timestamps. This allows the search algorithm to process and compare various types of data in a unified way.
  • This module could impact search results by enabling the algorithm to better understand and differentiate between various data types, leading to more accurate and relevant results. For example, it could help distinguish between a date and a string, or between a float and an integer, which could affect the ranking of search results.
  • To be more favorable for this function, a website could ensure that its data is accurately typed and formatted, making it easier for the search algorithm to understand and process. This could involve using standardized date formats, providing explicit type definitions for data, and ensuring that data is consistently represented across the website. Additionally, websites could consider providing additional metadata or context about their data to help the algorithm better understand its meaning and significance.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Value (google_api_content_warehouse v0.4.0)

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

  • booleanValue (type: boolean(), default: nil) - Represents a boolean value.
  • datetimeValue (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDateTime.t, default: nil) - Represents a datetime value.
  • enumValue (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1EnumValue.t, 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.t, default: nil) - Represents a timestamp value.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@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
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.