Method: networks.lines.patch
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
PATCH https://middlemileoptimization.googleapis.com/v1/{line.name=networks/*/lines/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
line.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 Line
.
Response body
If successful, the response body contains an instance of Line
.
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 Line resource using the HTTP PATCH method."],["The request must specify the Line's identifier in the URL path and can include a field mask to control which fields are updated."],["The request body should contain the updated Line data, and a successful response will return the updated Line resource."]]],["This outlines how to update a Line using a PATCH request to the specified URL, which includes a fixed identifier in the path. The `updateMask` query parameter specifies the fields to be modified, accepting a comma-separated list of field names. The request body should contain the updated `Line` instance. Upon success, the response will include the modified `Line` object. The identifier of `Line` is immutable.\n"]]