Show / Hide Table of Contents

Class Response

This message defines attributes for a typical network response. It generally models semantics of an HTTP response.

Inheritance
object
Response
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceControl.v2.Data
Assembly: Google.Apis.ServiceControl.v2.dll
Syntax
public class Response : IDirectResponseSchema

Properties

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

object representation of TimeRaw.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX