Apigee Connect V1 API - Class Google::Cloud::ApigeeConnect::V1::HttpRequest (v0.6.2)

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

#headers=

def headers=(value) -> ::Array<::Google::Cloud::ApigeeConnect::V1::Header>
Parameter
Returns

#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

#url=

def url=(value) -> ::Google::Cloud::ApigeeConnect::V1::Url
Parameter
Returns