Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class RequestBuilder (1.69.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class RequestBuilder.
Builds a PSR7 request from a service definition.
Namespace
Google \ Cloud \ CoreMethods
__construct
| Parameters | |
|---|---|
| Name | Description |
servicePath |
string
|
baseUri |
string
|
resourceRoot |
array
[optional] |
build
Build the request.
| Parameters | |
|---|---|
| Name | Description |
resource |
string
|
method |
string
|
options |
array
[optional] |
| Returns | |
|---|---|
| Type | Description |
Psr\Http\Message\RequestInterface |
|