Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotCommandDurations
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotCommandDurations
- 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
-
#docker_prep ⇒ String
The time spent preparing the command to be run in a Docker container (includes pulling the Docker image, if necessary).
-
#download ⇒ String
The time spent downloading the input files and constructing the working directory.
-
#execution ⇒ String
The time spent executing the command (i.e., doing useful work).
-
#iso_prep_done ⇒ String
The timestamp when preparation is done and bot starts downloading files.
-
#overall ⇒ String
The time spent completing the command, in total.
-
#stdout ⇒ String
The time spent uploading the stdout logs.
-
#upload ⇒ String
The time spent uploading the output files.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandDurations
constructor
A new instance of GoogleDevtoolsRemotebuildbotCommandDurations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandDurations
Returns a new instance of GoogleDevtoolsRemotebuildbotCommandDurations
2246 2247 2248 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#docker_prep ⇒ String
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
2213 2214 2215 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2213 def docker_prep @docker_prep end |
#download ⇒ String
The time spent downloading the input files and constructing the working
directory.
Corresponds to the JSON property download
2219 2220 2221 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2219 def download @download end |
#execution ⇒ String
The time spent executing the command (i.e., doing useful work).
Corresponds to the JSON property execution
2224 2225 2226 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2224 def execution @execution end |
#iso_prep_done ⇒ String
The timestamp when preparation is done and bot starts downloading files.
Corresponds to the JSON property isoPrepDone
2229 2230 2231 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2229 def iso_prep_done @iso_prep_done end |
#overall ⇒ String
The time spent completing the command, in total.
Corresponds to the JSON property overall
2234 2235 2236 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2234 def overall @overall end |
#stdout ⇒ String
The time spent uploading the stdout logs.
Corresponds to the JSON property stdout
2239 2240 2241 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2239 def stdout @stdout end |
#upload ⇒ String
The time spent uploading the output files.
Corresponds to the JSON property upload
2244 2245 2246 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2244 def upload @upload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2251 2252 2253 2254 2255 2256 2257 2258 2259 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2251 def update!(**args) @docker_prep = args[:docker_prep] if args.key?(:docker_prep) @download = args[:download] if args.key?(:download) @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) end |