Class Response
This message defines attributes for a typical network response. It generally models semantics of an HTTP response.
Implements
Inherited Members
Namespace: Google.Apis.ServiceControl.v2.Data
Assembly: Google.Apis.ServiceControl.v2.dll
Syntax
public class Response : IDirectResponseSchemaProperties
BackendLatency
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.
Declaration
[JsonProperty("backendLatency")]
public virtual object BackendLatency { get; set; }Property Value
| Type | Description | 
|---|---|
| object | 
Code
The HTTP response status code, such as 200 and 404.
Declaration
[JsonProperty("code")]
public virtual long? Code { get; set; }Property Value
| Type | Description | 
|---|---|
| long? | 
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Headers
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.
Declaration
[JsonProperty("headers")]
public virtual IDictionary<string, string> Headers { get; set; }Property Value
| Type | Description | 
|---|---|
| IDictionary<string, string> | 
Size
The HTTP response size in bytes. If unknown, it must be -1.
Declaration
[JsonProperty("size")]
public virtual long? Size { get; set; }Property Value
| Type | Description | 
|---|---|
| long? | 
Time
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use TimeDateTimeOffset instead.")]
public virtual object Time { get; set; }Property Value
| Type | Description | 
|---|---|
| object | 
TimeDateTimeOffset
DateTimeOffset representation of TimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? TimeDateTimeOffset { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTimeOffset? | 
TimeRaw
The timestamp when the destination service sends the last byte of the response.
Declaration
[JsonProperty("time")]
public virtual string TimeRaw { get; set; }Property Value
| Type | Description | 
|---|---|
| string |