View Source GoogleApi.ServiceControl.V2.Model.Response (google_api_service_control v0.40.0)
This message defines attributes for a typical network response. It generally models semantics of an HTTP response.
Attributes
-
backendLatency
(type:String.t
, default:nil
) - The amount of time it takes the backend service to fully respond to a request. Measured from when the destination service starts to send the request to the backend until when the destination service receives the complete response from the backend. -
code
(type:String.t
, default:nil
) - The HTTP response status code, such as200
and404
. -
headers
(type:map()
, default:nil
) - The HTTP response headers. If multiple headers share the same key, they must be merged according to HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive. -
size
(type:String.t
, default:nil
) - The HTTP response size in bytes. If unknown, it must be -1. -
time
(type:DateTime.t
, default:nil
) - The timestamp when thedestination
service sends the last byte of the response.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ServiceControl.V2.Model.Response{ backendLatency: String.t() | nil, code: String.t() | nil, headers: map() | nil, size: String.t() | nil, time: DateTime.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.