One-time window within which actions are restricted. For
example, blocking actions over New Year's Eve from December 31st
at 5pm to January 1st at 9am.
Attributes
Name
Description
start_date
google.type.date_pb2.Date
Required. Start date.
start_time
google.type.timeofday_pb2.TimeOfDay
Required. Start time (inclusive). Use 00:00
for the beginning of the day.
end_date
google.type.date_pb2.Date
Required. End date.
end_time
google.type.timeofday_pb2.TimeOfDay
Required. End time (exclusive). You may use
24:00 for the end of the day.
[[["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-08-28 UTC."],[],[],null,["# Class OneTimeWindow (2.7.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.1 (latest)](/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.OneTimeWindow)\n- [2.7.0](/python/docs/reference/clouddeploy/2.7.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [2.6.3](/python/docs/reference/clouddeploy/2.6.3/google.cloud.deploy_v1.types.OneTimeWindow)\n- [2.5.0](/python/docs/reference/clouddeploy/2.5.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [2.4.1](/python/docs/reference/clouddeploy/2.4.1/google.cloud.deploy_v1.types.OneTimeWindow)\n- [2.3.0](/python/docs/reference/clouddeploy/2.3.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [2.2.0](/python/docs/reference/clouddeploy/2.2.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [2.1.0](/python/docs/reference/clouddeploy/2.1.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [2.0.0](/python/docs/reference/clouddeploy/2.0.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.19.1](/python/docs/reference/clouddeploy/1.19.1/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.18.1](/python/docs/reference/clouddeploy/1.18.1/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.17.3](/python/docs/reference/clouddeploy/1.17.3/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.16.0](/python/docs/reference/clouddeploy/1.16.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.15.0](/python/docs/reference/clouddeploy/1.15.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.14.0](/python/docs/reference/clouddeploy/1.14.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.13.0](/python/docs/reference/clouddeploy/1.13.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.12.0](/python/docs/reference/clouddeploy/1.12.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.11.1](/python/docs/reference/clouddeploy/1.11.1/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.10.1](/python/docs/reference/clouddeploy/1.10.1/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.9.0](/python/docs/reference/clouddeploy/1.9.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.8.0](/python/docs/reference/clouddeploy/1.8.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.7.0](/python/docs/reference/clouddeploy/1.7.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.6.1](/python/docs/reference/clouddeploy/1.6.1/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.5.0](/python/docs/reference/clouddeploy/1.5.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.4.1](/python/docs/reference/clouddeploy/1.4.1/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.3.1](/python/docs/reference/clouddeploy/1.3.1/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.2.1](/python/docs/reference/clouddeploy/1.2.1/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.1.1](/python/docs/reference/clouddeploy/1.1.1/google.cloud.deploy_v1.types.OneTimeWindow)\n- [1.0.0](/python/docs/reference/clouddeploy/1.0.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [0.3.2](/python/docs/reference/clouddeploy/0.3.2/google.cloud.deploy_v1.types.OneTimeWindow)\n- [0.2.0](/python/docs/reference/clouddeploy/0.2.0/google.cloud.deploy_v1.types.OneTimeWindow)\n- [0.1.1](/python/docs/reference/clouddeploy/0.1.1/google.cloud.deploy_v1.types.OneTimeWindow) \n\n OneTimeWindow(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nOne-time window within which actions are restricted. For\nexample, blocking actions over New Year's Eve from December 31st\nat 5pm to January 1st at 9am."]]