Class: Google::Apis::BatchV1::AgentTimingInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AgentTimingInfo

Returns a new instance of AgentTimingInfo.



601
602
603
# File 'lib/google/apis/batch_v1/classes.rb', line 601

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

Instance Attribute Details

#agent_startup_timeString

Agent startup time Corresponds to the JSON property agentStartupTime

Returns:

  • (String)


589
590
591
# File 'lib/google/apis/batch_v1/classes.rb', line 589

def agent_startup_time
  @agent_startup_time
end

#boot_timeString

Boot timestamp of the VM OS Corresponds to the JSON property bootTime

Returns:

  • (String)


594
595
596
# File 'lib/google/apis/batch_v1/classes.rb', line 594

def boot_time
  @boot_time
end

#script_startup_timeString

Startup time of the Batch VM script. Corresponds to the JSON property scriptStartupTime

Returns:

  • (String)


599
600
601
# File 'lib/google/apis/batch_v1/classes.rb', line 599

def script_startup_time
  @script_startup_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



606
607
608
609
610
# File 'lib/google/apis/batch_v1/classes.rb', line 606

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