class Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotCommandEvents

CommandEvents contains counters for the number of warnings and errors that occurred during the execution of a command.

Attributes

cm_usage[RW]

Indicates if and how Container Manager is being used for task execution. Corresponds to the JSON property `cmUsage` @return [String]

docker_cache_hit[RW]

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` @return [Boolean]

docker_cache_hit?[RW]

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` @return [Boolean]

docker_image_name[RW]

Docker Image name. Corresponds to the JSON property `dockerImageName` @return [String]

input_cache_miss[RW]

The input cache miss ratio. Corresponds to the JSON property `inputCacheMiss` @return [Float]

num_errors[RW]

The number of errors reported. Corresponds to the JSON property `numErrors` @return [Fixnum]

num_warnings[RW]

The number of warnings reported. Corresponds to the JSON property `numWarnings` @return [Fixnum]

output_location[RW]

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` @return [String]

used_async_container[RW]

Indicates whether an asynchronous container was used for execution. Corresponds to the JSON property `usedAsyncContainer` @return [Boolean]

used_async_container?[RW]

Indicates whether an asynchronous container was used for execution. Corresponds to the JSON property `usedAsyncContainer` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2301
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2306
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