Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotCommandDurations

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/remotebuildexecution_v2/classes.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandDurations

Returns a new instance of GoogleDevtoolsRemotebuildbotCommandDurations.



2108
2109
2110
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2108

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

Instance Attribute Details

#docker_prepString

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

Returns:

  • (String)


2055
2056
2057
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2055

def docker_prep
  @docker_prep
end

#docker_prep_start_timeString

The timestamp when docker preparation begins. Corresponds to the JSON property dockerPrepStartTime

Returns:

  • (String)


2060
2061
2062
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2060

def docker_prep_start_time
  @docker_prep_start_time
end

#downloadString

The time spent downloading the input files and constructing the working directory. Corresponds to the JSON property download

Returns:

  • (String)


2066
2067
2068
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2066

def download
  @download
end

#download_start_timeString

The timestamp when downloading the input files begins. Corresponds to the JSON property downloadStartTime

Returns:

  • (String)


2071
2072
2073
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2071

def download_start_time
  @download_start_time
end

#exec_start_timeString

The timestamp when execution begins. Corresponds to the JSON property execStartTime

Returns:

  • (String)


2076
2077
2078
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2076

def exec_start_time
  @exec_start_time
end

#executionString

The time spent executing the command (i.e., doing useful work). Corresponds to the JSON property execution

Returns:

  • (String)


2081
2082
2083
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2081

def execution
  @execution
end

#iso_prep_doneString

The timestamp when preparation is done and bot starts downloading files. Corresponds to the JSON property isoPrepDone

Returns:

  • (String)


2086
2087
2088
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2086

def iso_prep_done
  @iso_prep_done
end

#overallString

The time spent completing the command, in total. Corresponds to the JSON property overall

Returns:

  • (String)


2091
2092
2093
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2091

def overall
  @overall
end

#stdoutString

The time spent uploading the stdout logs. Corresponds to the JSON property stdout

Returns:

  • (String)


2096
2097
2098
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2096

def stdout
  @stdout
end

#uploadString

The time spent uploading the output files. Corresponds to the JSON property upload

Returns:

  • (String)


2101
2102
2103
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2101

def upload
  @upload
end

#upload_start_timeString

The timestamp when uploading the output files begins. Corresponds to the JSON property uploadStartTime

Returns:

  • (String)


2106
2107
2108
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2106

def upload_start_time
  @upload_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2113

def update!(**args)
  @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