Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotCommandEvents
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotCommandEvents
- 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
CommandEvents contains counters for the number of warnings and errors that occurred during the execution of a command.
Instance Attribute Summary collapse
-
#cm_usage ⇒ String
Indicates if and how Container Manager is being used for task execution.
-
#docker_cache_hit ⇒ Boolean
(also: #docker_cache_hit?)
Indicates whether we are using a cached Docker image (true) or had to pull the Docker image (false) for this command.
-
#docker_image_name ⇒ String
Docker Image name.
-
#input_cache_miss ⇒ Float
The input cache miss ratio.
-
#num_errors ⇒ Fixnum
The number of errors reported.
-
#num_warnings ⇒ Fixnum
The number of warnings reported.
-
#output_location ⇒ String
Indicates whether output files and/or output directories were found relative to the execution root or to the user provided work directory or both or none.
-
#used_async_container ⇒ Boolean
(also: #used_async_container?)
Indicates whether an asynchronous container was used for execution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandEvents
constructor
A new instance of GoogleDevtoolsRemotebuildbotCommandEvents.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandEvents
Returns a new instance of GoogleDevtoolsRemotebuildbotCommandEvents.
1636 1637 1638 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1636 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cm_usage ⇒ String
Indicates if and how Container Manager is being used for task execution.
Corresponds to the JSON property cmUsage
1595 1596 1597 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1595 def cm_usage @cm_usage end |
#docker_cache_hit ⇒ Boolean Also known as: docker_cache_hit?
Indicates whether we are using a cached Docker image (true) or had to pull the
Docker image (false) for this command.
Corresponds to the JSON property dockerCacheHit
1601 1602 1603 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1601 def docker_cache_hit @docker_cache_hit end |
#docker_image_name ⇒ String
Docker Image name.
Corresponds to the JSON property dockerImageName
1607 1608 1609 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1607 def docker_image_name @docker_image_name end |
#input_cache_miss ⇒ Float
The input cache miss ratio.
Corresponds to the JSON property inputCacheMiss
1612 1613 1614 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1612 def input_cache_miss @input_cache_miss end |
#num_errors ⇒ Fixnum
The number of errors reported.
Corresponds to the JSON property numErrors
1617 1618 1619 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1617 def num_errors @num_errors end |
#num_warnings ⇒ Fixnum
The number of warnings reported.
Corresponds to the JSON property numWarnings
1622 1623 1624 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1622 def num_warnings @num_warnings end |
#output_location ⇒ String
Indicates whether output files and/or output directories were found relative
to the execution root or to the user provided work directory or both or none.
Corresponds to the JSON property outputLocation
1628 1629 1630 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1628 def output_location @output_location end |
#used_async_container ⇒ Boolean Also known as: used_async_container?
Indicates whether an asynchronous container was used for execution.
Corresponds to the JSON property usedAsyncContainer
1633 1634 1635 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1633 def used_async_container @used_async_container end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1641 def update!(**args) @cm_usage = args[:cm_usage] if args.key?(:cm_usage) @docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit) @docker_image_name = args[:docker_image_name] if args.key?(:docker_image_name) @input_cache_miss = args[:input_cache_miss] if args.key?(:input_cache_miss) @num_errors = args[:num_errors] if args.key?(:num_errors) @num_warnings = args[:num_warnings] if args.key?(:num_warnings) @output_location = args[:output_location] if args.key?(:output_location) @used_async_container = args[:used_async_container] if args.key?(:used_async_container) end |