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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/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.



2230
2231
2232
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2230

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

Instance Attribute Details

#cas_releaseString

The time spent to release the CAS blobs used by the task. Corresponds to the JSON property casRelease

Returns:

  • (String)


2165
2166
2167
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2165

def cas_release
  @cas_release
end

#cm_wait_for_assignmentString

The time spent waiting for Container Manager to assign an asynchronous container for execution. Corresponds to the JSON property cmWaitForAssignment

Returns:

  • (String)


2171
2172
2173
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2171

def cm_wait_for_assignment
  @cm_wait_for_assignment
end

#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)


2177
2178
2179
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2177

def docker_prep
  @docker_prep
end

#docker_prep_start_timeString

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

Returns:

  • (String)


2182
2183
2184
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2182

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)


2188
2189
2190
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2188

def download
  @download
end

#download_start_timeString

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

Returns:

  • (String)


2193
2194
2195
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2193

def download_start_time
  @download_start_time
end

#exec_start_timeString

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

Returns:

  • (String)


2198
2199
2200
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2198

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)


2203
2204
2205
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2203

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)


2208
2209
2210
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2208

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)


2213
2214
2215
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2213

def overall
  @overall
end

#stdoutString

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

Returns:

  • (String)


2218
2219
2220
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2218

def stdout
  @stdout
end

#uploadString

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

Returns:

  • (String)


2223
2224
2225
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2223

def upload
  @upload
end

#upload_start_timeString

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

Returns:

  • (String)


2228
2229
2230
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2228

def upload_start_time
  @upload_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2235

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