Class: Google::Apis::ComputeAlpha::ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

Returns a new instance of ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.



36926
36927
36928
# File 'lib/google/apis/compute_alpha/classes.rb', line 36926

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

Instance Attribute Details

#last_run_start_timeString

[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string. Corresponds to the JSON property lastRunStartTime

Returns:

  • (String)


36918
36919
36920
# File 'lib/google/apis/compute_alpha/classes.rb', line 36918

def last_run_start_time
  @last_run_start_time
end

#next_run_start_timeString

[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string. Corresponds to the JSON property nextRunStartTime

Returns:

  • (String)


36924
36925
36926
# File 'lib/google/apis/compute_alpha/classes.rb', line 36924

def next_run_start_time
  @next_run_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36931
36932
36933
36934
# File 'lib/google/apis/compute_alpha/classes.rb', line 36931

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