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.
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.
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.
value (::Google::Protobuf::Timestamp) — Optional. The time that the recurring schedule becomes effective.
Defaults to create_time of the patch deployment.
Returns
(::Google::Protobuf::Timestamp) — Optional. The time that the recurring schedule becomes effective.
Defaults to create_time of the patch deployment.
(::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=
deftime_zone=(value)->::Google::Type::TimeZone
Parameter
value (::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) — 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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::RecurringSchedule (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [1.3.0](/ruby/docs/reference/google-cloud-os_config-v1/1.3.0/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [1.2.1](/ruby/docs/reference/google-cloud-os_config-v1/1.2.1/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [1.1.0](/ruby/docs/reference/google-cloud-os_config-v1/1.1.0/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [1.0.1](/ruby/docs/reference/google-cloud-os_config-v1/1.0.1/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [0.16.0](/ruby/docs/reference/google-cloud-os_config-v1/0.16.0/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [0.15.2](/ruby/docs/reference/google-cloud-os_config-v1/0.15.2/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [0.14.0](/ruby/docs/reference/google-cloud-os_config-v1/0.14.0/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [0.13.0](/ruby/docs/reference/google-cloud-os_config-v1/0.13.0/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [0.12.0](/ruby/docs/reference/google-cloud-os_config-v1/0.12.0/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [0.11.0](/ruby/docs/reference/google-cloud-os_config-v1/0.11.0/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [0.10.0](/ruby/docs/reference/google-cloud-os_config-v1/0.10.0/Google-Cloud-OsConfig-V1-RecurringSchedule)\n- [0.9.1](/ruby/docs/reference/google-cloud-os_config-v1/0.9.1/Google-Cloud-OsConfig-V1-RecurringSchedule) \nReference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::RecurringSchedule.\n\nSets the time for recurring patch deployments. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #end_time\n\n def end_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Optional. The end time at which a recurring patch deployment schedule is no longer active.\n\n### #end_time=\n\n def end_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Optional. The end time at which a recurring patch deployment schedule is no longer active. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Optional. The end time at which a recurring patch deployment schedule is no longer active.\n\n### #frequency\n\n def frequency() -\u003e ::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency\n\n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency](./Google-Cloud-OsConfig-V1-RecurringSchedule-Frequency)) --- Required. The frequency unit of this recurring schedule.\n\n### #frequency=\n\n def frequency=(value) -\u003e ::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency\n\n**Parameter**\n\n- **value** ([::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency](./Google-Cloud-OsConfig-V1-RecurringSchedule-Frequency)) --- Required. The frequency unit of this recurring schedule. \n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency](./Google-Cloud-OsConfig-V1-RecurringSchedule-Frequency)) --- Required. The frequency unit of this recurring schedule.\n\n### #last_execute_time\n\n def last_execute_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The time the last patch job ran successfully.\n\n### #monthly\n\n def monthly() -\u003e ::Google::Cloud::OsConfig::V1::MonthlySchedule\n\n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::MonthlySchedule](./Google-Cloud-OsConfig-V1-MonthlySchedule)) --- Required. Schedule with monthly executions.\n\n\n 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.\n\n### #monthly=\n\n def monthly=(value) -\u003e ::Google::Cloud::OsConfig::V1::MonthlySchedule\n\n**Parameter**\n\n- **value** ([::Google::Cloud::OsConfig::V1::MonthlySchedule](./Google-Cloud-OsConfig-V1-MonthlySchedule)) --- Required. Schedule with monthly executions.\n\n\nNote: 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. \n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::MonthlySchedule](./Google-Cloud-OsConfig-V1-MonthlySchedule)) --- Required. Schedule with monthly executions.\n\n\n 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.\n\n### #next_execute_time\n\n def next_execute_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The time the next patch job is scheduled to run.\n\n### #start_time\n\n def start_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Optional. The time that the recurring schedule becomes effective. Defaults to `create_time` of the patch deployment.\n\n### #start_time=\n\n def start_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Optional. The time that the recurring schedule becomes effective. Defaults to `create_time` of the patch deployment. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Optional. The time that the recurring schedule becomes effective. Defaults to `create_time` of the patch deployment.\n\n### #time_of_day\n\n def time_of_day() -\u003e ::Google::Type::TimeOfDay\n\n**Returns**\n\n- ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Required. Time of the day to run a recurring deployment.\n\n### #time_of_day=\n\n def time_of_day=(value) -\u003e ::Google::Type::TimeOfDay\n\n**Parameter**\n\n- **value** ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Required. Time of the day to run a recurring deployment. \n**Returns**\n\n- ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Required. Time of the day to run a recurring deployment.\n\n### #time_zone\n\n def time_zone() -\u003e ::Google::Type::TimeZone\n\n**Returns**\n\n- ([::Google::Type::TimeZone](./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.\n\n### #time_zone=\n\n def time_zone=(value) -\u003e ::Google::Type::TimeZone\n\n**Parameter**\n\n- **value** ([::Google::Type::TimeZone](./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. \n**Returns**\n\n- ([::Google::Type::TimeZone](./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.\n\n### #weekly\n\n def weekly() -\u003e ::Google::Cloud::OsConfig::V1::WeeklySchedule\n\n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::WeeklySchedule](./Google-Cloud-OsConfig-V1-WeeklySchedule)) --- Required. Schedule with weekly executions.\n\n\n 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.\n\n### #weekly=\n\n def weekly=(value) -\u003e ::Google::Cloud::OsConfig::V1::WeeklySchedule\n\n**Parameter**\n\n- **value** ([::Google::Cloud::OsConfig::V1::WeeklySchedule](./Google-Cloud-OsConfig-V1-WeeklySchedule)) --- Required. Schedule with weekly executions.\n\n\nNote: 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. \n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::WeeklySchedule](./Google-Cloud-OsConfig-V1-WeeklySchedule)) --- Required. Schedule with weekly executions.\n\n\n 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."]]