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).
-
#docker_prep_start_time ⇒ String
The timestamp when docker prepartion begins.
-
#download ⇒ String
The time spent downloading the input files and constructing the working directory.
-
#download_start_time ⇒ String
The timestamp when downloading the input files begins.
-
#exec_start_time ⇒ String
The timestamp when execution begins.
-
#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.
-
#upload_start_time ⇒ String
The timestamp when uploading the output files begins.
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.
2212 2213 2214 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2212 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
2159 2160 2161 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2159 def docker_prep @docker_prep end |
#docker_prep_start_time ⇒ String
The timestamp when docker prepartion begins.
Corresponds to the JSON property dockerPrepStartTime
2164 2165 2166 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2164 def docker_prep_start_time @docker_prep_start_time end |
#download ⇒ String
The time spent downloading the input files and constructing the working
directory.
Corresponds to the JSON property download
2170 2171 2172 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2170 def download @download end |
#download_start_time ⇒ String
The timestamp when downloading the input files begins.
Corresponds to the JSON property downloadStartTime
2175 2176 2177 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2175 def download_start_time @download_start_time end |
#exec_start_time ⇒ String
The timestamp when execution begins.
Corresponds to the JSON property execStartTime
2180 2181 2182 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2180 def exec_start_time @exec_start_time end |
#execution ⇒ String
The time spent executing the command (i.e., doing useful work).
Corresponds to the JSON property execution
2185 2186 2187 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2185 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
2190 2191 2192 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2190 def iso_prep_done @iso_prep_done end |
#overall ⇒ String
The time spent completing the command, in total.
Corresponds to the JSON property overall
2195 2196 2197 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2195 def overall @overall end |
#stdout ⇒ String
The time spent uploading the stdout logs.
Corresponds to the JSON property stdout
2200 2201 2202 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2200 def stdout @stdout end |
#upload ⇒ String
The time spent uploading the output files.
Corresponds to the JSON property upload
2205 2206 2207 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2205 def upload @upload end |
#upload_start_time ⇒ String
The timestamp when uploading the output files begins.
Corresponds to the JSON property uploadStartTime
2210 2211 2212 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2210 def upload_start_time @upload_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2217 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 |