Method: networks.lines.rotations.create
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
एक LineRotation बनाता है.
एचटीटीपी अनुरोध
POST https://middlemileoptimization.googleapis.com/v1/{parent=networks/*/lines/*}/rotations
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
| पैरामीटर |
parent |
string
ज़रूरी है. वह पैरंट संसाधन जहां लाइन का यह रोटेशन बनाया जाएगा. फ़ॉर्मैट: "networks/{network}/lines/{line}"
|
क्वेरी पैरामीटर
| पैरामीटर |
lineRotationId |
string
ज़रूरी है. बनाए जाने वाले लाइन रोटेशन का आइडेंटिफ़ायर.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में LineRotation का उदाहरण है.
जवाब का मुख्य भाग
कामयाब होने पर, जवाब के मुख्य हिस्से में LineRotation का नया इंस्टेंस शामिल किया जाता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-09 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-08-09 (UTC) को अपडेट किया गया."],[],["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"]]