# Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::RecurringSchedule (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.16.0 0.15.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::RecurringSchedule.

Sets the time for recurring patch deployments.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #end_time

    def end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Protobuf-Timestamp)) --- Optional. The end time at which a recurring patch deployment schedule is no longer active.

### #end_time=

    def end_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Protobuf-Timestamp)) --- Optional. The end time at which a recurring patch deployment schedule is no longer active.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Protobuf-Timestamp)) --- Optional. The end time at which a recurring patch deployment schedule is no longer active.

### #frequency

    def frequency() -> ::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency

**Returns**

- ([::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-RecurringSchedule-Frequency)) --- Required. The frequency unit of this recurring schedule.

### #frequency=

    def frequency=(value) -> ::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-RecurringSchedule-Frequency)) --- Required. The frequency unit of this recurring schedule.
**Returns**

- ([::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-RecurringSchedule-Frequency)) --- Required. The frequency unit of this recurring schedule.

### #last_execute_time

    def last_execute_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time the last patch job ran successfully.

### #monthly

    def monthly() -> ::Google::Cloud::OsConfig::V1::MonthlySchedule

**Returns**

- ([::Google::Cloud::OsConfig::V1::MonthlySchedule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-MonthlySchedule)) --- Required. Schedule with monthly executions.


  Note: The following fields are mutually exclusive: `monthly`, `weekly`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #monthly=

    def monthly=(value) -> ::Google::Cloud::OsConfig::V1::MonthlySchedule

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::MonthlySchedule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-MonthlySchedule)) --- Required. Schedule with monthly executions.


  Note: The following fields are mutually exclusive: `monthly`, `weekly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::MonthlySchedule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-MonthlySchedule)) --- Required. Schedule with monthly executions.


  Note: The following fields are mutually exclusive: `monthly`, `weekly`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #next_execute_time

    def next_execute_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time the next patch job is scheduled to run.

### #start_time

    def start_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Protobuf-Timestamp)) --- Optional. The time that the recurring schedule becomes effective. Defaults to `create_time` of the patch deployment.

### #start_time=

    def start_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Protobuf-Timestamp)) --- Optional. The time that the recurring schedule becomes effective. Defaults to `create_time` of the patch deployment.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Protobuf-Timestamp)) --- Optional. The time that the recurring schedule becomes effective. Defaults to `create_time` of the patch deployment.

### #time_of_day

    def time_of_day() -> ::Google::Type::TimeOfDay

**Returns**

- ([::Google::Type::TimeOfDay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Type-TimeOfDay)) --- Required. Time of the day to run a recurring deployment.

### #time_of_day=

    def time_of_day=(value) -> ::Google::Type::TimeOfDay

**Parameter**

- **value** ([::Google::Type::TimeOfDay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Type-TimeOfDay)) --- Required. Time of the day to run a recurring deployment.
**Returns**

- ([::Google::Type::TimeOfDay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Type-TimeOfDay)) --- Required. Time of the day to run a recurring deployment.

### #time_zone

    def time_zone() -> ::Google::Type::TimeZone

**Returns**

- ([::Google::Type::TimeZone](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Type-TimeZone)) --- Required. Defines the time zone that `time_of_day` is relative to. The rules for daylight saving time are determined by the chosen time zone.

### #time_zone=

    def time_zone=(value) -> ::Google::Type::TimeZone

**Parameter**

- **value** ([::Google::Type::TimeZone](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Type-TimeZone)) --- Required. Defines the time zone that `time_of_day` is relative to. The rules for daylight saving time are determined by the chosen time zone.
**Returns**

- ([::Google::Type::TimeZone](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Type-TimeZone)) --- Required. Defines the time zone that `time_of_day` is relative to. The rules for daylight saving time are determined by the chosen time zone.

### #weekly

    def weekly() -> ::Google::Cloud::OsConfig::V1::WeeklySchedule

**Returns**

- ([::Google::Cloud::OsConfig::V1::WeeklySchedule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-WeeklySchedule)) --- Required. Schedule with weekly executions.


  Note: The following fields are mutually exclusive: `weekly`, `monthly`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #weekly=

    def weekly=(value) -> ::Google::Cloud::OsConfig::V1::WeeklySchedule

**Parameter**

- **value** ([::Google::Cloud::OsConfig::V1::WeeklySchedule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-WeeklySchedule)) --- Required. Schedule with weekly executions.


  Note: The following fields are mutually exclusive: `weekly`, `monthly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::OsConfig::V1::WeeklySchedule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-WeeklySchedule)) --- Required. Schedule with weekly executions.


  Note: The following fields are mutually exclusive: `weekly`, `monthly`. If a field in that set is populated, all other fields in the set will automatically be cleared.