GoogleApi.ServiceControl.V2.Model.Response (google_api_service_control v0.35.1) View Source
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 length 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.ServiceControl.V2.Model.Response{ backendLatency: String.t(), code: String.t(), headers: map(), size: String.t(), time: DateTime.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.