class Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotCommandDurations

CommandDuration contains the various duration metrics tracked when a bot performs a command.

Attributes

cas_release[RW]

The time spent to release the CAS blobs used by the task. Corresponds to the JSON property `casRelease` @return [String]

cm_wait_for_assignment[RW]

The time spent waiting for Container Manager to assign an asynchronous container for execution. Corresponds to the JSON property `cmWaitForAssignment` @return [String]

docker_prep[RW]

The time spent preparing the command to be run in a Docker container (includes pulling the Docker image, if necessary). Corresponds to the JSON property `dockerPrep` @return [String]

docker_prep_start_time[RW]

The timestamp when docker preparation begins. Corresponds to the JSON property `dockerPrepStartTime` @return [String]

download[RW]

The time spent downloading the input files and constructing the working directory. Corresponds to the JSON property `download` @return [String]

download_start_time[RW]

The timestamp when downloading the input files begins. Corresponds to the JSON property `downloadStartTime` @return [String]

exec_start_time[RW]

The timestamp when execution begins. Corresponds to the JSON property `execStartTime` @return [String]

execution[RW]

The time spent executing the command (i.e., doing useful work). Corresponds to the JSON property `execution` @return [String]

iso_prep_done[RW]

The timestamp when preparation is done and bot starts downloading files. Corresponds to the JSON property `isoPrepDone` @return [String]

overall[RW]

The time spent completing the command, in total. Corresponds to the JSON property `overall` @return [String]

stdout[RW]

The time spent uploading the stdout logs. Corresponds to the JSON property `stdout` @return [String]

upload[RW]

The time spent uploading the output files. Corresponds to the JSON property `upload` @return [String]

upload_start_time[RW]

The timestamp when uploading the output files begins. Corresponds to the JSON property `uploadStartTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/remotebuildexecution_v1alpha/classes.rb, line 1546
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/remotebuildexecution_v1alpha/classes.rb, line 1551
def update!(**args)
  @cas_release = args[:cas_release] if args.key?(:cas_release)
  @cm_wait_for_assignment = args[:cm_wait_for_assignment] if args.key?(:cm_wait_for_assignment)
  @docker_prep = args[:docker_prep] if args.key?(:docker_prep)
  @docker_prep_start_time = args[:docker_prep_start_time] if args.key?(:docker_prep_start_time)
  @download = args[:download] if args.key?(:download)
  @download_start_time = args[:download_start_time] if args.key?(:download_start_time)
  @exec_start_time = args[:exec_start_time] if args.key?(:exec_start_time)
  @execution = args[:execution] if args.key?(:execution)
  @iso_prep_done = args[:iso_prep_done] if args.key?(:iso_prep_done)
  @overall = args[:overall] if args.key?(:overall)
  @stdout = args[:stdout] if args.key?(:stdout)
  @upload = args[:upload] if args.key?(:upload)
  @upload_start_time = args[:upload_start_time] if args.key?(:upload_start_time)
end