[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eBackupWindow\u003c/code\u003e class, part of the Google Cloud Backup and DR Service v1 API, defines the time frame during which backup operations will be executed.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eBackupWindow\u003c/code\u003e class is 2.1.0, with previous versions including 2.0.0, 1.2.0, 1.1.0, and 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackupWindow\u003c/code\u003e implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackupWindow\u003c/code\u003e class has two main properties, \u003ccode\u003eEndHourOfDay\u003c/code\u003e and \u003ccode\u003eStartHourOfDay\u003c/code\u003e, which specify the inclusive start and exclusive end hours of the backup window respectively, with the start hour being from 0-23, and the end hour from 1-24.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackupWindow\u003c/code\u003e has two constructors, one is parameterless, and the other takes another \u003ccode\u003eBackupWindow\u003c/code\u003e as a parameter for duplication.\u003c/p\u003e\n"]]],[],null,["# Backup and DR Service v1 API - Class BackupWindow (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupWindow)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.1.0/Google.Cloud.BackupDR.V1.BackupWindow)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.0.0/Google.Cloud.BackupDR.V1.BackupWindow)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.2.0/Google.Cloud.BackupDR.V1.BackupWindow)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.1.0/Google.Cloud.BackupDR.V1.BackupWindow)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.0.0-beta02/Google.Cloud.BackupDR.V1.BackupWindow) \n\n public sealed class BackupWindow : IMessage\u003cBackupWindow\u003e, IEquatable\u003cBackupWindow\u003e, IDeepCloneable\u003cBackupWindow\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup and DR Service v1 API class BackupWindow.\n\n`BackupWindow` defines a window of the day during which backup jobs will run. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BackupWindow \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BackupWindow](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupWindow), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BackupWindow](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupWindow), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BackupWindow](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupWindow), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BackupDR.V1](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BackupDR.V1.dll\n\nConstructors\n------------\n\n### BackupWindow()\n\n public BackupWindow()\n\n### BackupWindow(BackupWindow)\n\n public BackupWindow(BackupWindow other)\n\nProperties\n----------\n\n### EndHourOfDay\n\n public int EndHourOfDay { get; set; }\n\nRequired. The hour of day (1-24) when the window end for e.g. if value of\nend hour of day is 10 that mean backup window end time is 10:00.\n\nEnd hour of day should be greater than start hour of day.\n0 \\\u003c= start_hour_of_day \\\u003c end_hour_of_day \\\u003c= 24\n\nEnd hour of day is not include in backup window that mean if\nend_hour_of_day= 10 jobs should start before 10:00.\n\n### StartHourOfDay\n\n public int StartHourOfDay { get; set; }\n\nRequired. The hour of day (0-23) when the window starts for e.g. if value\nof start hour of day is 6 that mean backup window start at 6:00."]]