EmbedsEmbedClientItem

AI Overview😉

  • The potential purpose of this module is to help Google understand the structure and content of embedded objects within a webpage, such as videos, images, or other multimedia content. It appears to be a way to standardize and extract metadata from these embedded objects, which can then be used to improve search results and provide more accurate information to users.
  • This module could impact search results by allowing Google to better understand the context and relevance of embedded objects within a webpage. This could lead to more accurate and relevant search results, as well as improved snippet and preview generation. Additionally, it could enable Google to provide more detailed and informative search results, such as displaying metadata about the embedded object, like its title, description, or author.
  • A website may change things to be more favorable for this function by ensuring that their embedded objects are properly structured and contain accurate and relevant metadata. This could include using schema.org markup to provide additional context about the embedded object, as well as ensuring that the object's ID, canonical ID, and other metadata are correctly set. Additionally, websites could consider using deep-linking data to provide a better user experience and improve attribution.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Represents an embedded object in an update. This is a wrapper class that can contain a single specific item proto in an extension field. Think of it as a base class like Message in Java. Each item proto must declare that it extends this proto: message ExampleObject { option (item_type) = EXAMPLE_OBJECT; extend EmbedClientItem { optional ExampleObject example_object = ; } } See go/es-embeds for details.

Attributes

  • canonicalId (type: String.t, default: nil) - The canonical ID of the embed. If absent, the canonical ID is equal to the ID; if present, then the canonical ID represents an "equivalence class" of embeds which really refer to the same object. (For example, the URLs http://www.foo.com/ and http://foo.com/ refer to the same object) This field may be updated periodically by background processes.
  • deepLinkData (type: GoogleApi.ContentWarehouse.V1.Model.EmbedsDeepLinkData.t, default: nil) - Deep-linking data to take the user to the right place in a mobile app. This is only used for preview and attribution. Links that are specific to a given embed type should live on that specific embed's proto by using Link. See http://goto.google.com/mariana-design.
  • id (type: String.t, default: nil) - The ID of the embed. This corresponds to the schema.org ID, as represented in the ItemScope.id field.
  • provenance (type: GoogleApi.ContentWarehouse.V1.Model.EmbedsProvenance.t, default: nil) - The provenance of the embed, populated when the embed originated from a web fetch. The provenance captures information about the web page the embed had originated, like the URL that was retrieved and the retrieved URL's canonical form. This is useful in the case where the URL shared by the URL redirects (e.g., in the case of a shortened URL).
  • renderId (type: String.t, default: nil) - The ID used to identify the embed during rendering. This field will match ID, if set, otherwise it will be the ID of the parent activity. This field is only populated on the server for client use and is not persisted to storage.
  • signature (type: String.t, default: nil) - Signature of the embed, used for verification.
  • transientData (type: GoogleApi.ContentWarehouse.V1.Model.EmbedsTransientData.t, default: nil) - Transient generic data that will not be saved on the server.
  • type (type: list(String.t), default: nil) - The first value in type determines which extension field will be set. When creating an EmbedClientItem, you only need to set the first (primary) type in this field. When the server receives the item, it will populate the full type list using the parent annotations in the ItemType enum.

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.EmbedsEmbedClientItem{
  canonicalId: String.t() | nil,
  deepLinkData:
    GoogleApi.ContentWarehouse.V1.Model.EmbedsDeepLinkData.t() | nil,
  id: String.t() | nil,
  provenance: GoogleApi.ContentWarehouse.V1.Model.EmbedsProvenance.t() | nil,
  renderId: String.t() | nil,
  signature: String.t() | nil,
  transientData:
    GoogleApi.ContentWarehouse.V1.Model.EmbedsTransientData.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.