Method: networks.hubs.get
Stay organized with collections
Save and categorize content based on your preferences.
Gets the details of a Hub.
HTTP request
GET https://middlemileoptimization.googleapis.com/v1/{name=networks/*/hubs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the hub to retrieve. Format: "networks/{network}/hubs/{hub}"
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an 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 2024-08-06 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 2024-08-06 UTC."],[[["Retrieves detailed information about a specific network Hub."],["Uses a GET request with the format `https://middlemileoptimization.googleapis.com/v1/{name=networks/*/hubs/*}` to access Hub details."],["Requires specifying the Hub's network and name in the URL path."],["Returns a `Hub` object containing the requested Hub's information upon successful retrieval."]]],["This describes how to retrieve details about a specific Hub. A `GET` request is sent to the provided URL, using gRPC Transcoding syntax. The URL requires the `name` parameter, a string specifying the hub's unique identifier in the format \"networks/{network}/hubs/{hub}\". The request body must be empty. Upon successful execution, the response contains the details of the requested Hub, formatted as an instance of the Hub object.\n"]]