public sealed class HttpRequest : IMessage<HttpRequest>, IEquatable<HttpRequest>, IDeepCloneable<HttpRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Apigee Connect v1 API class HttpRequest.
The proto definition of http request.
Implements
IMessageHttpRequest, IEquatableHttpRequest, IDeepCloneableHttpRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ApigeeConnect.V1Assembly
Google.Cloud.ApigeeConnect.V1.dll
Constructors
HttpRequest()
public HttpRequest()
HttpRequest(HttpRequest)
public HttpRequest(HttpRequest other)
Parameter | |
---|---|
Name | Description |
other |
HttpRequest |
Properties
Body
public ByteString Body { get; set; }
HTTP request body.
Property Value | |
---|---|
Type | Description |
ByteString |
Headers
public RepeatedField<Header> Headers { get; }
The HTTP request headers.
Property Value | |
---|---|
Type | Description |
RepeatedFieldHeader |
Id
public string Id { get; set; }
A unique identifier for the request.
Property Value | |
---|---|
Type | Description |
string |
Method
public string Method { get; set; }
The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
Property Value | |
---|---|
Type | Description |
string |
Url
public Url Url { get; set; }
The HTTP request URL.
Property Value | |
---|---|
Type | Description |
Url |