public sealed class HttpResponse : IMessage<HttpResponse>, IEquatable<HttpResponse>, IDeepCloneable<HttpResponse>, IBufferMessage, IMessageThe proto definition of http response.
Implements
IMessage<HttpResponse>, IEquatable<HttpResponse>, IDeepCloneable<HttpResponse>, IBufferMessage, IMessageNamespace
Google.Cloud.ApigeeConnect.V1Assembly
Google.Cloud.ApigeeConnect.V1.dll
Constructors
HttpResponse()
public HttpResponse()HttpResponse(HttpResponse)
public HttpResponse(HttpResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
HttpResponse |
Properties
Body
public ByteString Body { get; set; }The HTTP 1.1 response body.
| Property Value | |
|---|---|
| Type | Description |
ByteString |
|
ContentLength
public long ContentLength { get; set; }Content length records the length of the associated content. The value -1 indicates that the length is unknown. Unless http method is "HEAD", values >= 0 indicate that the given number of bytes may be read from Body.
| Property Value | |
|---|---|
| Type | Description |
Int64 |
|
Headers
public RepeatedField<Header> Headers { get; }The HTTP response headers.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<Header> |
|
Id
public string Id { get; set; }A unique identifier that matches the request ID.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Status
public string Status { get; set; }Status of http response, e.g. "200 OK".
| Property Value | |
|---|---|
| Type | Description |
String |
|
StatusCode
public int StatusCode { get; set; }Status code of http response, e.g. 200.
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|