REST Resource: scheduling
Stay organized with collections
Save and categorize content based on your preferences.
Resource
There is no persistent data associated with this resource.
Methods |
|
Solves a shift generation problem from the given SolveShiftGenerationRequest by generating shifts from given shift templates in order to cover the employee demand. |
|
Solves a fixed shift scheduling problem from the given SolveShiftSchedulingRequest by assigning employees to shifts such that employees' scheduling preferences are maximized and scheduling constraint violations are minimized. |
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-02-06 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-02-06 UTC."],[[["The Optimization API's scheduling resource facilitates shift generation and scheduling solutions without storing persistent data."],["It offers the `solveShiftGeneration` method to create shifts from templates, ensuring employee demand is met."],["The `solveShiftScheduling` method optimizes employee assignments to fixed shifts, balancing preferences and constraints."]]],["The resource has no persistent data. It offers two methods: `solveShiftGeneration` and `solveShiftScheduling`. `solveShiftGeneration` creates shifts from templates to meet employee demand using a `SolveShiftGenerationRequest`. `solveShiftScheduling` assigns employees to predefined shifts, optimizing for employee preferences and minimizing constraint violations, based on a `SolveShiftSchedulingRequest`. These methods address shift creation and employee allocation.\n"]]