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

PartialRenders can be created using the extension API to store the document state and/or create an image at points before the final render.

Attributes

  • cookie (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoCookie.t), default: nil) - Cookies at the time of snapshot creation.
  • currentClientUrl (type: String.t, default: nil) - Current url as would appear in the web browser's address bar at the time of snapshot creation.
  • document (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoDocument.t, default: nil) - Snapshot of the document DOM + Render trees, if requested
  • id (type: String.t, default: nil) - ID set by the render extension
  • image (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoImage.t, default: nil) - Image of the render, if requested

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoPartialRender{
    cookie:
      [
        GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoCookie.t()
      ]
      | nil,
    currentClientUrl: String.t() | nil,
    document:
      GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoDocument.t()
      | nil,
    id: String.t() | nil,
    image:
      GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoImage.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.