Method: networks.lines.rotations.create
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Yêu cầu HTTP
POST https://middlemileoptimization.googleapis.com/v1/{parent=networks/*/lines/*}/rotations
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
| Tham số |
parent |
string
Bắt buộc. Tài nguyên mẹ nơi chế độ xoay đường kẻ này sẽ được tạo. Định dạng: "networks/{network}/lines/{line}"
|
Tham số truy vấn
| Tham số |
lineRotationId |
string
Bắt buộc. Giá trị nhận dạng của thao tác xoay đường kẻ cần tạo.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của LineRotation.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một thực thể mới tạo của LineRotation.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-09 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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"]]