Class: Google::Apis::OsconfigV1beta::OneTimeSchedule

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OneTimeSchedule

Returns a new instance of OneTimeSchedule.



1005
1006
1007
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1005

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)


1003
1004
1005
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1003

def execute_time
  @execute_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1010
1011
1012
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 1010

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