Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotCommandEvents
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotCommandEvents
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v1alpha/classes.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb,
generated/google/apis/remotebuildexecution_v1alpha/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
-
#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.
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.
1487 1488 1489 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1487 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
1464 1465 1466 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1464 def docker_cache_hit @docker_cache_hit end |
#docker_image_name ⇒ String
Docker Image name.
Corresponds to the JSON property dockerImageName
1470 1471 1472 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1470 def docker_image_name @docker_image_name end |
#input_cache_miss ⇒ Float
The input cache miss ratio.
Corresponds to the JSON property inputCacheMiss
1475 1476 1477 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1475 def input_cache_miss @input_cache_miss end |
#num_errors ⇒ Fixnum
The number of errors reported.
Corresponds to the JSON property numErrors
1480 1481 1482 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1480 def num_errors @num_errors end |
#num_warnings ⇒ Fixnum
The number of warnings reported.
Corresponds to the JSON property numWarnings
1485 1486 1487 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1485 def num_warnings @num_warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1492 1493 1494 1495 1496 1497 1498 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1492 def update!(**args) @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) end |