Page Summary
-
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.
Updates a Line.
HTTP request
PATCH https://middlemileoptimization.googleapis.com/v1/{line.name=networks/*/lines/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
line. |
Identifier. Cannot be updated. |
Query parameters
| Parameters | |
|---|---|
update |
Optional. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Line.
Response body
If successful, the response body contains an instance of Line.