HtmlrenderWebkitHeadlessProtoResource

GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoResource


Table of Contents ▼

Jump to a specific part of the page:

Description

Next id: 9.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. content (type: String.t, default: nil)
    - content contains a complete HTTP response message including the HTTP status line, headers and body. For example: HTTP/1.1 200 OK\r\n Content-Type: text/html\r\n \r\n ... content ... For inputs (RenderRequest.resource): Any HTTP content encoding (e.g. gzip) and transfer encoding (e.g. chunked) MUST be decoded. HTTP content and transfer encoding headers will be ignored if present. For outputs (RenderResponse.referenced_resource_content): The body will be decoded (no content or transfer encoding) however any content or transfer encoding headers present in the original fetch response will be passed through. Decoding this field requires a correct text encoding. The charset field of Document proto can be a good guess but is not guaranteed to be correct.
  2. fetchSourceInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.WirelessTranscoderFetchFetchSourceInfo), default: nil)
    - Where this resource comes from.
  3. finalContentUrl (type: String.t, default: nil)
    - The url that contributes the final content. Only existed when metadata contains FetchReplyData.
  4. metadata (type: list(GoogleApi.ContentWarehouse.V1.Model.WirelessTranscoderFetchFetchMetadata), default: nil)
    -
  5. method (type: integer(), default: nil)
    - The HTTP request method (GET, HEAD, POST, etc) used for this request. Values are taken from the HTTPHeaders::Protocol enum in webutil/http/httputils.h. If it's not set, we will infer GET or POST based on the presence of post_data.
  6. postData (type: String.t, default: nil)
    -
  7. requestHeader (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoResourceHttpHeader), default: nil)
    - Only necessary headers are included in the resource key by default. See google3/htmlrender/webkit_headless/resource_key.cc
  8. url (type: String.t, default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoResource{
content: String.t() | nil,
fetchSourceInfo: [ GoogleApi.ContentWarehouse.V1.Model.WirelessTranscoderFetchFetchSourceInfo.t() ] | nil,
finalContentUrl: String.t() | nil,
metadata: [ GoogleApi.ContentWarehouse.V1.Model.WirelessTranscoderFetchFetchMetadata.t() ] | nil,
method: integer() | nil,
postData: String.t() | nil,
requestHeader: [ GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoResourceHttpHeader.t() ] | nil,
url: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoResource