Class: Google::Cloud::OsConfig::V1::RecurringSchedule

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1/patch_deployments.rb

Overview

Sets the time for recurring patch deployments.

Defined Under Namespace

Modules: Frequency

Instance Attribute Summary collapse

Instance Attribute Details

#end_time::Google::Protobuf::Timestamp

Returns Optional. The end time at which a recurring patch deployment schedule is no longer active.

Returns:



141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 141

class RecurringSchedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the frequency of the recurring patch deployments.
  module Frequency
    # Invalid. A frequency must be specified.
    FREQUENCY_UNSPECIFIED = 0

    # Indicates that the frequency of recurrence should be expressed in terms
    # of weeks.
    WEEKLY = 1

    # Indicates that the frequency of recurrence should be expressed in terms
    # of months.
    MONTHLY = 2

    # Indicates that the frequency of recurrence should be expressed in terms
    # of days.
    DAILY = 3
  end
end

#frequency::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency

Returns Required. The frequency unit of this recurring schedule.

Returns:



141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 141

class RecurringSchedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the frequency of the recurring patch deployments.
  module Frequency
    # Invalid. A frequency must be specified.
    FREQUENCY_UNSPECIFIED = 0

    # Indicates that the frequency of recurrence should be expressed in terms
    # of weeks.
    WEEKLY = 1

    # Indicates that the frequency of recurrence should be expressed in terms
    # of months.
    MONTHLY = 2

    # Indicates that the frequency of recurrence should be expressed in terms
    # of days.
    DAILY = 3
  end
end

#last_execute_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the last patch job ran successfully.

Returns:



141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 141

class RecurringSchedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the frequency of the recurring patch deployments.
  module Frequency
    # Invalid. A frequency must be specified.
    FREQUENCY_UNSPECIFIED = 0

    # Indicates that the frequency of recurrence should be expressed in terms
    # of weeks.
    WEEKLY = 1

    # Indicates that the frequency of recurrence should be expressed in terms
    # of months.
    MONTHLY = 2

    # Indicates that the frequency of recurrence should be expressed in terms
    # of days.
    DAILY = 3
  end
end

#monthly::Google::Cloud::OsConfig::V1::MonthlySchedule

Returns 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)

    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.



141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 141

class RecurringSchedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the frequency of the recurring patch deployments.
  module Frequency
    # Invalid. A frequency must be specified.
    FREQUENCY_UNSPECIFIED = 0

    # Indicates that the frequency of recurrence should be expressed in terms
    # of weeks.
    WEEKLY = 1

    # Indicates that the frequency of recurrence should be expressed in terms
    # of months.
    MONTHLY = 2

    # Indicates that the frequency of recurrence should be expressed in terms
    # of days.
    DAILY = 3
  end
end

#next_execute_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the next patch job is scheduled to run.

Returns:



141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 141

class RecurringSchedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the frequency of the recurring patch deployments.
  module Frequency
    # Invalid. A frequency must be specified.
    FREQUENCY_UNSPECIFIED = 0

    # Indicates that the frequency of recurrence should be expressed in terms
    # of weeks.
    WEEKLY = 1

    # Indicates that the frequency of recurrence should be expressed in terms
    # of months.
    MONTHLY = 2

    # Indicates that the frequency of recurrence should be expressed in terms
    # of days.
    DAILY = 3
  end
end

#start_time::Google::Protobuf::Timestamp

Returns 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.



141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 141

class RecurringSchedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the frequency of the recurring patch deployments.
  module Frequency
    # Invalid. A frequency must be specified.
    FREQUENCY_UNSPECIFIED = 0

    # Indicates that the frequency of recurrence should be expressed in terms
    # of weeks.
    WEEKLY = 1

    # Indicates that the frequency of recurrence should be expressed in terms
    # of months.
    MONTHLY = 2

    # Indicates that the frequency of recurrence should be expressed in terms
    # of days.
    DAILY = 3
  end
end

#time_of_day::Google::Type::TimeOfDay

Returns Required. Time of the day to run a recurring deployment.

Returns:



141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 141

class RecurringSchedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the frequency of the recurring patch deployments.
  module Frequency
    # Invalid. A frequency must be specified.
    FREQUENCY_UNSPECIFIED = 0

    # Indicates that the frequency of recurrence should be expressed in terms
    # of weeks.
    WEEKLY = 1

    # Indicates that the frequency of recurrence should be expressed in terms
    # of months.
    MONTHLY = 2

    # Indicates that the frequency of recurrence should be expressed in terms
    # of days.
    DAILY = 3
  end
end

#time_zone::Google::Type::TimeZone

Returns 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.



141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 141

class RecurringSchedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the frequency of the recurring patch deployments.
  module Frequency
    # Invalid. A frequency must be specified.
    FREQUENCY_UNSPECIFIED = 0

    # Indicates that the frequency of recurrence should be expressed in terms
    # of weeks.
    WEEKLY = 1

    # Indicates that the frequency of recurrence should be expressed in terms
    # of months.
    MONTHLY = 2

    # Indicates that the frequency of recurrence should be expressed in terms
    # of days.
    DAILY = 3
  end
end

#weekly::Google::Cloud::OsConfig::V1::WeeklySchedule

Returns 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)

    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.



141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 141

class RecurringSchedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the frequency of the recurring patch deployments.
  module Frequency
    # Invalid. A frequency must be specified.
    FREQUENCY_UNSPECIFIED = 0

    # Indicates that the frequency of recurrence should be expressed in terms
    # of weeks.
    WEEKLY = 1

    # Indicates that the frequency of recurrence should be expressed in terms
    # of months.
    MONTHLY = 2

    # Indicates that the frequency of recurrence should be expressed in terms
    # of days.
    DAILY = 3
  end
end