# Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::BackupWindow (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::BackupWindow.

`BackupWindow` defines a window of the day during which backup jobs will run.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #end_hour_of_day

    def end_hour_of_day() -> ::Integer

**Returns**

- (::Integer) --- Required. The hour of day (1-24) when the window end for e.g. if value of end hour of day is 10 that mean backup window end time is 10:00.

  End hour of day should be greater than start hour of day.
  0 \<= start_hour_of_day \< end_hour_of_day \<= 24

  End hour of day is not include in backup window that mean if
  end_hour_of_day= 10 jobs should start before 10:00.

### #end_hour_of_day=

    def end_hour_of_day=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Required. The hour of day (1-24) when the window end for e.g. if value of end hour of day is 10 that mean backup window end time is 10:00.


  End hour of day should be greater than start hour of day.
  0 \<= start_hour_of_day \< end_hour_of_day \<= 24

  End hour of day is not include in backup window that mean if
  end_hour_of_day= 10 jobs should start before 10:00.
**Returns**

- (::Integer) --- Required. The hour of day (1-24) when the window end for e.g. if value of end hour of day is 10 that mean backup window end time is 10:00.

  End hour of day should be greater than start hour of day.
  0 \<= start_hour_of_day \< end_hour_of_day \<= 24

  End hour of day is not include in backup window that mean if
  end_hour_of_day= 10 jobs should start before 10:00.

### #start_hour_of_day

    def start_hour_of_day() -> ::Integer

**Returns**

- (::Integer) --- Required. The hour of day (0-23) when the window starts for e.g. if value of start hour of day is 6 that mean backup window start at 6:00.

### #start_hour_of_day=

    def start_hour_of_day=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Required. The hour of day (0-23) when the window starts for e.g. if value of start hour of day is 6 that mean backup window start at 6:00.
**Returns**

- (::Integer) --- Required. The hour of day (0-23) when the window starts for e.g. if value of start hour of day is 6 that mean backup window start at 6:00.