View Source GoogleApi.ContentWarehouse.V1.Model.EmbedsProvenance (google_api_content_warehouse v0.4.0)

This field records where the ItemScope was retrieved, if it was created via a web fetch.

Attributes

  • annotationBlob (type: String.t, default: nil) - Annotation blob from Annotation Service.
  • canonicalUrl (type: String.t, default: nil) - Canonical url of the retrieved_url, if one was resolved during retrieval, for example, if a rel="canonical" link tag was provided in the retrieved web page.
  • inputUrl (type: String.t, default: nil) - The url originally passed in the PRS request, which should be used to re-discover the content. Note that this URL may be a forwarding service or link shortener (bit.ly), so it should not be assumed to be canonical, but should be used for navigation back to the original source of the itemscope.
  • itemtype (type: list(String.t), default: nil) - Contains exact types as parsed, whether or not we recognized that type at parse time. If an itemscope is created by merging SchemaOrg markup and open graph markup then the first itemtype would be schemaorg type, the second would be open graph and so on. example: http://schema.org/VideoObject, og:video.movie Plain text; usually a URL
  • retrievedTimestampMsec (type: String.t, default: nil) - The server retrieved timestamp (in msec).
  • retrievedUrl (type: String.t, default: nil) - The final URL that was the actual source of the itemscope, after any redirects.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.EmbedsProvenance{
  annotationBlob: String.t() | nil,
  canonicalUrl: String.t() | nil,
  inputUrl: String.t() | nil,
  itemtype: [String.t()] | nil,
  retrievedTimestampMsec: String.t() | nil,
  retrievedUrl: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.