Class: Google::Apis::ComputeV1::ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#last_run_start_time ⇒ String
Output only.
-
#next_run_start_time ⇒ String
Output only.
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.
44325 44326 44327 |
# File 'lib/google/apis/compute_v1/classes.rb', line 44325 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_run_start_time ⇒ String
Output only. [Output Only] The last time the schedule successfully ran.
The timestamp is an RFC3339 string.
Corresponds to the JSON property lastRunStartTime
44316 44317 44318 |
# File 'lib/google/apis/compute_v1/classes.rb', line 44316 def last_run_start_time @last_run_start_time end |
#next_run_start_time ⇒ String
Output only. [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
44323 44324 44325 |
# File 'lib/google/apis/compute_v1/classes.rb', line 44323 def next_run_start_time @next_run_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44330 44331 44332 44333 |
# File 'lib/google/apis/compute_v1/classes.rb', line 44330 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 |