AppsPeopleOzExternalMergedpeopleapiEvent

AI Overview😉

  • The potential purpose of this module is to accurately represent events or dates associated with people, such as birthdays or anniversaries, in a way that is consistent and not prone to errors. It does this by using a calendar day representation instead of a timestamp.
  • This module could impact search results by allowing Google to better understand and process date-related information associated with people, which could lead to more accurate and relevant search results, especially in cases where dates are important (e.g., searching for someone's birthday).
  • A website may change things to be more favorable for this function by providing clear and consistent date-related information about people, using a format that can be easily understood and processed by Google's algorithm. This could include using standardized date formats and providing additional context about the type of event or date being represented.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Attributes

  • calendarDay (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t, default: nil) - Event are more accurately represented as a calendar day that does not depend on a timestamp representation at all. When given a timestamp, there are lots of opportunities to make mistakes, so a CalendarDay proto is replacing timestamps. PeopleApi will return these values on reads, and unless the client is a legacy caller in the legacy_timestamp_event_write_behavior_enabled capability allowlist, this value is what is used for Person writes.
  • formattedType (type: String.t, default: nil) - The type translated and formatted in the request locale. See go/people-api-howto/localization for details on how to usage.
  • metadata (type: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t, default: nil) -
  • prompt (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPrompt.t, default: nil) - People Prompts settings for contact event data.
  • timestampMillis (type: String.t, default: nil) - Clients are recommended to read the calendar_day field instead of timestamp_millis. When writing events, new clients must set calendar_day instead of timestamp_millis. Events are currently represented as timestamp values, although the interpretation of these timestamp values is a calendar date. There are a few important details about how this value should be mapped to a calendar date that should be consistent among all clients. For detailed information, see Birthday.date_ms.
  • type (type: String.t, default: nil) - The type of the event. The type can be free form or one of these predefined values: anniversary other

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.AppsPeopleOzExternalMergedpeopleapiEvent{
    calendarDay: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t() | nil,
    formattedType: String.t() | nil,
    metadata:
      GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t()
      | nil,
    prompt:
      GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPrompt.t() | nil,
    timestampMillis: String.t() | nil,
    type: String.t() | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.