GoogleTypeInterval

AI Overview😉

  • The potential purpose of this module is to help Google understand and process time-based information, allowing it to better match search queries with relevant results that are time-sensitive or have specific date ranges.
  • This module could impact search results by allowing Google to filter out results that don't match the desired time interval, providing more accurate and relevant results for users searching for time-specific information. For example, if a user searches for "news from last week", this module could help Google exclude results from outside that time range.
  • A website may change things to be more favorable for this function by providing clear and structured date and time information in their content, such as using schema.org markup for events or articles, and ensuring that their website's internal clock is accurate and synchronized with Google's clock. This could help Google better understand the website's content and provide more accurate results in time-based searches.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.

Attributes

  • endTime (type: DateTime.t, default: nil) - Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
  • startTime (type: DateTime.t, default: nil) - Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.

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.GoogleTypeInterval{
  endTime: DateTime.t() | nil,
  startTime: DateTime.t() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.