Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotCommandDurations
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotCommandDurations
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v1/classes.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb
Overview
CommandDuration contains the various duration metrics tracked when a bot performs a command.
Instance Attribute Summary collapse
-
#cas_release ⇒ String
The time spent to release the CAS blobs used by the task.
-
#cm_wait_for_assignment ⇒ String
The time spent waiting for Container Manager to assign an asynchronous container for execution.
-
#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 preparation 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.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandDurations
Returns a new instance of GoogleDevtoolsRemotebuildbotCommandDurations.
1565 1566 1567 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1565 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cas_release ⇒ String
The time spent to release the CAS blobs used by the task.
Corresponds to the JSON property casRelease
1500 1501 1502 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1500 def cas_release @cas_release end |
#cm_wait_for_assignment ⇒ String
The time spent waiting for Container Manager to assign an asynchronous
container for execution.
Corresponds to the JSON property cmWaitForAssignment
1506 1507 1508 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1506 def cm_wait_for_assignment @cm_wait_for_assignment end |
#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
1512 1513 1514 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1512 def docker_prep @docker_prep end |
#docker_prep_start_time ⇒ String
The timestamp when docker preparation begins.
Corresponds to the JSON property dockerPrepStartTime
1517 1518 1519 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1517 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
1523 1524 1525 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1523 def download @download end |
#download_start_time ⇒ String
The timestamp when downloading the input files begins.
Corresponds to the JSON property downloadStartTime
1528 1529 1530 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1528 def download_start_time @download_start_time end |
#exec_start_time ⇒ String
The timestamp when execution begins.
Corresponds to the JSON property execStartTime
1533 1534 1535 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1533 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
1538 1539 1540 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1538 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
1543 1544 1545 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1543 def iso_prep_done @iso_prep_done end |
#overall ⇒ String
The time spent completing the command, in total.
Corresponds to the JSON property overall
1548 1549 1550 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1548 def overall @overall end |
#stdout ⇒ String
The time spent uploading the stdout logs.
Corresponds to the JSON property stdout
1553 1554 1555 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1553 def stdout @stdout end |
#upload ⇒ String
The time spent uploading the output files.
Corresponds to the JSON property upload
1558 1559 1560 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1558 def upload @upload end |
#upload_start_time ⇒ String
The timestamp when uploading the output files begins.
Corresponds to the JSON property uploadStartTime
1563 1564 1565 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1563 def upload_start_time @upload_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1570 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 |