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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotCommandEvents

Returns a new instance of GoogleDevtoolsRemotebuildbotCommandEvents.



2301
2302
2303
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2301

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

Instance Attribute Details

#cm_usageString

Indicates if and how Container Manager is being used for task execution. Corresponds to the JSON property cmUsage

Returns:

  • (String)


2260
2261
2262
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2260

def cm_usage
  @cm_usage
end

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


2266
2267
2268
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2266

def docker_cache_hit
  @docker_cache_hit
end

#docker_image_nameString

Docker Image name. Corresponds to the JSON property dockerImageName

Returns:

  • (String)


2272
2273
2274
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2272

def docker_image_name
  @docker_image_name
end

#input_cache_missFloat

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

Returns:

  • (Float)


2277
2278
2279
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2277

def input_cache_miss
  @input_cache_miss
end

#num_errorsFixnum

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

Returns:

  • (Fixnum)


2282
2283
2284
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2282

def num_errors
  @num_errors
end

#num_warningsFixnum

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

Returns:

  • (Fixnum)


2287
2288
2289
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2287

def num_warnings
  @num_warnings
end

#output_locationString

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

Returns:

  • (String)


2293
2294
2295
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2293

def output_location
  @output_location
end

#used_async_containerBoolean Also known as: used_async_container?

Indicates whether an asynchronous container was used for execution. Corresponds to the JSON property usedAsyncContainer

Returns:

  • (Boolean)


2298
2299
2300
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2298

def used_async_container
  @used_async_container
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
# 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