Class: Google::Apis::OsconfigV1::OneTimeSchedule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/osconfig_v1/classes.rb,
lib/google/apis/osconfig_v1/representations.rb,
lib/google/apis/osconfig_v1/representations.rb

Overview

Sets the time for a one time patch deployment. Timestamp is in RFC3339 text format.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OneTimeSchedule

Returns a new instance of OneTimeSchedule.



2269
2270
2271
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2269

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#execute_timeString

Required. The desired patch job execution time. Corresponds to the JSON property executeTime

Returns:

  • (String)


2267
2268
2269
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2267

def execute_time
  @execute_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2274
2275
2276
# File 'lib/google/apis/osconfig_v1/classes.rb', line 2274

def update!(**args)
  @execute_time = args[:execute_time] if args.key?(:execute_time)
end