Reference documentation and code samples for the Apigee Connect V1 API class Google::Cloud::ApigeeConnect::V1::HttpRequest.
The proto definition of http request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#body
def body() -> ::String
Returns
- (::String) — HTTP request body.
#body=
def body=(value) -> ::String
Parameter
- value (::String) — HTTP request body.
Returns
- (::String) — HTTP request body.
#headers
def headers() -> ::Array<::Google::Cloud::ApigeeConnect::V1::Header>
Returns
- (::Array<::Google::Cloud::ApigeeConnect::V1::Header>) — The HTTP request headers.
#headers=
def headers=(value) -> ::Array<::Google::Cloud::ApigeeConnect::V1::Header>
Parameter
- value (::Array<::Google::Cloud::ApigeeConnect::V1::Header>) — The HTTP request headers.
Returns
- (::Array<::Google::Cloud::ApigeeConnect::V1::Header>) — The HTTP request headers.
#id
def id() -> ::String
Returns
- (::String) — A unique identifier for the request.
#id=
def id=(value) -> ::String
Parameter
- value (::String) — A unique identifier for the request.
Returns
- (::String) — A unique identifier for the request.
#method
def method() -> ::String
Returns
- (::String) — The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
#method=
def method=(value) -> ::String
Parameter
- value (::String) — The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
Returns
- (::String) — The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
#url
def url() -> ::Google::Cloud::ApigeeConnect::V1::Url
Returns
- (::Google::Cloud::ApigeeConnect::V1::Url) — The HTTP request URL.
#url=
def url=(value) -> ::Google::Cloud::ApigeeConnect::V1::Url
Parameter
- value (::Google::Cloud::ApigeeConnect::V1::Url) — The HTTP request URL.
Returns
- (::Google::Cloud::ApigeeConnect::V1::Url) — The HTTP request URL.