Class DaiSession.Types.HttpRequest
An HTTP request made by DAI.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DaiSession.Types.HttpRequest : IMessage<DaiSession.Types.HttpRequest>, IEquatable<DaiSession.Types.HttpRequest>, IDeepCloneable<DaiSession.Types.HttpRequest>, IBufferMessage, IMessage
Constructors
HttpRequest()
Declaration
public HttpRequest()
HttpRequest(HttpRequest)
Declaration
public HttpRequest(DaiSession.Types.HttpRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| DaiSession.Types.HttpRequest | other |
Properties
HasResponseBody
Gets whether the "response_body" field is set
Declaration
public bool HasResponseBody { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasResponseCode
Gets whether the "response_code" field is set
Declaration
public bool HasResponseCode { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasUrl
Gets whether the "url" field is set
Declaration
public bool HasUrl { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasUserAgent
Gets whether the "user_agent" field is set
Declaration
public bool HasUserAgent { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Latency
Output only. How long the request took to complete.
Declaration
public Duration Latency { get; set; }
Property Value
| Type | Description |
|---|---|
| Duration |
RequestTime
Output only. The time when the request was made.
Declaration
public Timestamp RequestTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
ResponseBody
Output only. The full response body.
Declaration
public string ResponseBody { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResponseCode
Output only. The HTTP response code.
Declaration
public int ResponseCode { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Url
Output only. The URL sent in the request.
Declaration
public string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserAgent
Output only. The user agent sent with the request.
Declaration
public string UserAgent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |