View Source GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoResource (google_api_content_warehouse v0.3.0)
Next id: 9.
Attributes
-
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. -
fetchSourceInfo
(type:list(GoogleApi.ContentWarehouse.V1.Model.WirelessTranscoderFetchFetchSourceInfo.t)
, default:nil
) - Where this resource comes from. -
finalContentUrl
(type:String.t
, default:nil
) - The url that contributes the final content. Only existed when metadata contains FetchReplyData. -
metadata
(type:list(GoogleApi.ContentWarehouse.V1.Model.WirelessTranscoderFetchFetchMetadata.t)
, default:nil
) - -
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. -
postData
(type:String.t
, default:nil
) - -
requestHeader
(type:list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoResourceHttpHeader.t)
, default:nil
) - Only necessary headers are included in the resource key by default. See google3/htmlrender/webkit_headless/resource_key.cc -
url
(type:String.t
, default:nil
) -
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@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 }
Functions
Unwrap a decoded JSON object into its complex fields.