Method: networks.hubs.create
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
POST https://middlemileoptimization.googleapis.com/v1/{parent=networks/*}/hubs
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The parent resource where this hub will be created. Format: "networks/{network}"
|
Query parameters
Parameters |
hubId |
string
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
.
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-01-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-14 UTC."],[[["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."]]],["This outlines the creation of a \"Hub\" resource via a `POST` HTTP request to a specific URL. The URL requires a `parent` parameter, specifying the network where the hub will reside, using the format \"networks/{network}\". A required `hubId` query parameter uniquely identifies the new hub. The request body contains the details for creating the hub instance, and a successful response returns the newly created hub instance.\n"]]