Class: Google::Apis::ComputeBeta::ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

Returns a new instance of ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.



30444
30445
30446
# File 'lib/google/apis/compute_beta/classes.rb', line 30444

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)


30436
30437
30438
# File 'lib/google/apis/compute_beta/classes.rb', line 30436

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)


30442
30443
30444
# File 'lib/google/apis/compute_beta/classes.rb', line 30442

def next_run_start_time
  @next_run_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30449
30450
30451
30452
# File 'lib/google/apis/compute_beta/classes.rb', line 30449

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