Class: Google::Apis::OsconfigV1beta::OneTimeSchedule
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::OneTimeSchedule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1beta/classes.rb,
lib/google/apis/osconfig_v1beta/representations.rb,
lib/google/apis/osconfig_v1beta/representations.rb
Overview
Sets the time for a one time patch deployment. Timestamp is in RFC3339 text format.
Instance Attribute Summary collapse
-
#execute_time ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OneTimeSchedule
constructor
A new instance of OneTimeSchedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OneTimeSchedule
Returns a new instance of OneTimeSchedule.
946 947 948 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 946 def initialize(**args) update!(**args) end |
Instance Attribute Details
#execute_time ⇒ String
Required. The desired patch job execution time.
Corresponds to the JSON property executeTime
944 945 946 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 944 def execute_time @execute_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
951 952 953 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 951 def update!(**args) @execute_time = args[:execute_time] if args.key?(:execute_time) end |