Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotCommandEvents
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotCommandEvents
- 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
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.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandEvents
Returns a new instance of GoogleDevtoolsRemotebuildbotCommandEvents
2284 2285 2286 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2284 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
2271 2272 2273 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2271 def docker_cache_hit @docker_cache_hit end |
#num_errors ⇒ Fixnum
The number of errors reported.
Corresponds to the JSON property numErrors
2277 2278 2279 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2277 def num_errors @num_errors end |
#num_warnings ⇒ Fixnum
The number of warnings reported.
Corresponds to the JSON property numWarnings
2282 2283 2284 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2282 def num_warnings @num_warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2289 2290 2291 2292 2293 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2289 def update!(**args) @docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit) @num_errors = args[:num_errors] if args.key?(:num_errors) @num_warnings = args[:num_warnings] if args.key?(:num_warnings) end |