Method: networks.hubs.patch
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
PATCH https://middlemileoptimization.googleapis.com/v1/{hub.name=networks/*/hubs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
hub.name |
string
Identifier. Cannot be updated.
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
Optional. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Request body
The request body contains an instance of Hub
.
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 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."],[[["Updates an existing Hub using the HTTP PATCH method."],["The request must specify the Hub's identifier in the URL path and can optionally include a field mask to control which fields are updated."],["The request body should contain the updated Hub data in JSON format, adhering to the Hub resource schema."],["A successful response will return the updated Hub resource in JSON format."]]],["This documentation describes how to update a Hub using a PATCH request to a specific URL. The URL contains a hub identifier, which cannot be modified. The `updateMask` query parameter specifies which fields to update, using a comma-separated list of field names. The request body must contain a `Hub` instance with the desired changes. Upon successful update, the response body returns the updated `Hub` instance.\n"]]