Google Cloud Apigee Connect V1 Client - Class HttpRequest (2.0.5)
Stay organized with collections
Save and categorize content based on your preferences.
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 \ V1
Methods
__construct
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
Url
The HTTP request URL.
↳ headers
array< Header
>
The HTTP request headers.
↳ body
string
HTTP request body.
getId
A unique identifier for the request.
setId
A unique identifier for the request.
getMethod
The HTTP request method.
Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
setMethod
The HTTP request method.
Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
getUrl
hasUrl
clearUrl
setUrl
The HTTP request headers.
The HTTP request headers.
getBody
setBody
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Apigee Connect V1 Client - Class HttpRequest (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-apigee-connect/latest/V1.HttpRequest)\n- [2.0.4](/php/docs/reference/cloud-apigee-connect/2.0.4/V1.HttpRequest)\n- [1.2.5](/php/docs/reference/cloud-apigee-connect/1.2.5/V1.HttpRequest)\n- [1.1.3](/php/docs/reference/cloud-apigee-connect/1.1.3/V1.HttpRequest)\n- [1.0.5](/php/docs/reference/cloud-apigee-connect/1.0.5/V1.HttpRequest) \nReference documentation and code samples for the Google Cloud Apigee Connect V1 Client class HttpRequest.\n\nThe proto definition of http request.\n\nGenerated from protobuf message `google.cloud.apigeeconnect.v1.HttpRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ApigeeConnect \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getId\n\nA unique identifier for the request.\n\n### setId\n\nA unique identifier for the request.\n\n### getMethod\n\nThe HTTP request method.\n\nValid methods: \"GET\", \"HEAD\", \"POST\", \"PUT\", \"PATCH\",\"DELETE\".\n\n### setMethod\n\nThe HTTP request method.\n\nValid methods: \"GET\", \"HEAD\", \"POST\", \"PUT\", \"PATCH\",\"DELETE\".\n\n### getUrl\n\nThe HTTP request URL.\n\n### hasUrl\n\n### clearUrl\n\n### setUrl\n\nThe HTTP request URL.\n\n### getHeaders\n\nThe HTTP request headers.\n\n### setHeaders\n\nThe HTTP request headers.\n\n### getBody\n\nHTTP request body.\n\n### setBody\n\nHTTP request body."]]