Class: Google::Apis::ComputeBeta::ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
- 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
-
#last_run_start_time ⇒ String
[Output Only] The last time the schedule successfully ran.
-
#next_run_start_time ⇒ String
[Output Only] The next time the schedule is planned to run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
constructor
A new instance of ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
Returns a new instance of ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.
28825 28826 28827 |
# File 'lib/google/apis/compute_beta/classes.rb', line 28825 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_run_start_time ⇒ String
[Output Only] The last time the schedule successfully ran. The timestamp is an
RFC3339 string.
Corresponds to the JSON property lastRunStartTime
28817 28818 28819 |
# File 'lib/google/apis/compute_beta/classes.rb', line 28817 def last_run_start_time @last_run_start_time end |
#next_run_start_time ⇒ String
[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
28823 28824 28825 |
# File 'lib/google/apis/compute_beta/classes.rb', line 28823 def next_run_start_time @next_run_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
28830 28831 28832 28833 |
# File 'lib/google/apis/compute_beta/classes.rb', line 28830 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 |