Reference documentation and code samples for the Google Cloud Apigee Connect V1 Client class HttpRequest.
The proto definition of http request.
Generated from protobuf message google.cloud.apigeeconnect.v1.HttpRequest
Namespace
Google \ Cloud \ ApigeeConnect \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
A unique identifier for the request.
↳ method
string
The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
↳ url
↳ headers
↳ body
string
HTTP request body.
getId
A unique identifier for the request.
string
setId
A unique identifier for the request.
var
string
$this
getMethod
The HTTP request method.
Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
string
setMethod
The HTTP request method.
Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
var
string
$this
getUrl
The HTTP request URL.
hasUrl
clearUrl
setUrl
The HTTP request URL.
$this
getHeaders
The HTTP request headers.
setHeaders
The HTTP request headers.
$this
getBody
HTTP request body.
string
setBody
HTTP request body.
var
string
$this