Class: Google::Apis::BatchV1::AgentTimingInfo
- Inherits:
-
Object
- Object
- Google::Apis::BatchV1::AgentTimingInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/batch_v1/classes.rb,
lib/google/apis/batch_v1/representations.rb,
lib/google/apis/batch_v1/representations.rb
Overview
VM timing information
Instance Attribute Summary collapse
-
#agent_startup_time ⇒ String
Agent startup time Corresponds to the JSON property
agentStartupTime
. -
#boot_time ⇒ String
Boot timestamp of the VM OS Corresponds to the JSON property
bootTime
. -
#script_startup_time ⇒ String
Startup time of the Batch VM script.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AgentTimingInfo
constructor
A new instance of AgentTimingInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AgentTimingInfo
Returns a new instance of AgentTimingInfo.
293 294 295 |
# File 'lib/google/apis/batch_v1/classes.rb', line 293 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_startup_time ⇒ String
Agent startup time
Corresponds to the JSON property agentStartupTime
281 282 283 |
# File 'lib/google/apis/batch_v1/classes.rb', line 281 def agent_startup_time @agent_startup_time end |
#boot_time ⇒ String
Boot timestamp of the VM OS
Corresponds to the JSON property bootTime
286 287 288 |
# File 'lib/google/apis/batch_v1/classes.rb', line 286 def boot_time @boot_time end |
#script_startup_time ⇒ String
Startup time of the Batch VM script.
Corresponds to the JSON property scriptStartupTime
291 292 293 |
# File 'lib/google/apis/batch_v1/classes.rb', line 291 def script_startup_time @script_startup_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
298 299 300 301 302 |
# File 'lib/google/apis/batch_v1/classes.rb', line 298 def update!(**args) @agent_startup_time = args[:agent_startup_time] if args.key?(:agent_startup_time) @boot_time = args[:boot_time] if args.key?(:boot_time) @script_startup_time = args[:script_startup_time] if args.key?(:script_startup_time) end |