Page Summary
-
Creates a new Hub within a specified network using an HTTP POST request.
-
Requires a parent network and a unique hub ID for creation.
-
The request body should contain a Hub object with configuration details.
-
If successful, the response includes the newly created Hub object with assigned values.
Creates a Hub.
HTTP request
POST https://middlemileoptimization.googleapis.com/v1/{parent=networks/*}/hubs
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource where this hub will be created. Format: "networks/{network}" |
Query parameters
| Parameters | |
|---|---|
hub |
Required. Identifier of the hub to create. |
Request body
The request body contains an instance of Hub.
Response body
If successful, the response body contains a newly created instance of Hub.