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

A redirect event represents a change in the resource URL for a document. This includes HTTP redirects, as well things which trigger client navigations such as script changing window.location, tags, HTTP Refresh headers, etc.

Attributes

  • httpMethod (type: String.t, default: nil) - The HTTP method of the request for the redirect target.
  • httpStatusCode (type: integer(), default: nil) - For HTTP redirects, the HTTP status code returned in the initial HTTP response.
  • refreshType (type: String.t, default: nil) -
  • targetContentDownloaded (type: boolean(), default: nil) - True if the redirect led to a download instead of loading a new page. Note that such redirects can appear anywhere in the list of redirect events.
  • targetUrl (type: String.t, default: nil) -
  • type (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRedirectEvent{
    httpMethod: String.t() | nil,
    httpStatusCode: integer() | nil,
    refreshType: String.t() | nil,
    targetContentDownloaded: boolean() | nil,
    targetUrl: String.t() | nil,
    type: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.