Method: networks.lines.rotations.create
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
POST https://middlemileoptimization.googleapis.com/v1/{parent=networks/*/lines/*}/rotations
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The parent resource where this line rotation will be created. Format: "networks/{network}/lines/{line}"
|
Query parameters
Parameters |
lineRotationId |
string
Required. Identifier of the line rotation to create.
|
Request body
The request body contains an instance of LineRotation
.
Response body
If successful, the response body contains a newly created instance of LineRotation
.
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 LineRotation resource within a specified network and line using a POST request."],["Requires a parent resource in the format \"networks/{network}/lines/{line}\" and a unique lineRotationId as parameters."],["The request body should contain a LineRotation object defining the rotation details."],["A successful response returns the newly created LineRotation object."]]],["A `LineRotation` is created via a POST request to a specific URL structure: `https://middlemileoptimization.googleapis.com/v1/{parent=networks/*/lines/*}/rotations`. The `parent` parameter, in the format \"networks/{network}/lines/{line}\", is required and identifies the location. The request must include a `lineRotationId` query parameter for the identifier and the request body needs an instance of `LineRotation`. Successful creation returns the newly created `LineRotation` instance.\n"]]