Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotCommandEvents

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandEvents

Returns a new instance of GoogleDevtoolsRemotebuildbotCommandEvents



2190
2191
2192
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2190

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#docker_cache_hitBoolean 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

Returns:

  • (Boolean)


2172
2173
2174
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2172

def docker_cache_hit
  @docker_cache_hit
end

#input_cache_missFloat

The input cache miss ratio. Corresponds to the JSON property inputCacheMiss

Returns:

  • (Float)


2178
2179
2180
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2178

def input_cache_miss
  @input_cache_miss
end

#num_errorsFixnum

The number of errors reported. Corresponds to the JSON property numErrors

Returns:

  • (Fixnum)


2183
2184
2185
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2183

def num_errors
  @num_errors
end

#num_warningsFixnum

The number of warnings reported. Corresponds to the JSON property numWarnings

Returns:

  • (Fixnum)


2188
2189
2190
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2188

def num_warnings
  @num_warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2195
2196
2197
2198
2199
2200
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2195

def update!(**args)
  @docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit)
  @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