Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceExecution

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseappdistribution_v1alpha/classes.rb,
lib/google/apis/firebaseappdistribution_v1alpha/representations.rb,
lib/google/apis/firebaseappdistribution_v1alpha/representations.rb

Overview

The results of running an automated test on a particular device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaDeviceExecution

Returns a new instance of GoogleFirebaseAppdistroV1alphaDeviceExecution.



353
354
355
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 353

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

Instance Attribute Details

#app_crashGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAppCrash

An app crash that occurred during an automated test. Corresponds to the JSON property appCrash



303
304
305
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 303

def app_crash
  @app_crash
end

#crawl_graph_uriString

Output only. A URI to an image of the Robo crawl graph. Corresponds to the JSON property crawlGraphUri

Returns:

  • (String)


308
309
310
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 308

def crawl_graph_uri
  @crawl_graph_uri
end

#deviceGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestDevice

A device on which automated tests can be run. Corresponds to the JSON property device



313
314
315
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 313

def device
  @device
end

#failed_reasonString

Output only. The reason why the test failed. Corresponds to the JSON property failedReason

Returns:

  • (String)


318
319
320
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 318

def failed_reason
  @failed_reason
end

#inconclusive_reasonString

Output only. The reason why the test was inconclusive. Corresponds to the JSON property inconclusiveReason

Returns:

  • (String)


323
324
325
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 323

def inconclusive_reason
  @inconclusive_reason
end

#results_storage_pathString

Output only. The path to a directory in Cloud Storage that will eventually contain the results for this execution. For example, gs://bucket/Nexus5-18-en- portrait. Corresponds to the JSON property resultsStoragePath

Returns:

  • (String)


330
331
332
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 330

def results_storage_path
  @results_storage_path
end

#robo_statsGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaRoboStats

Statistics collected during a Robo test. Corresponds to the JSON property roboStats



335
336
337
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 335

def robo_stats
  @robo_stats
end

#screenshot_urisArray<String>

Output only. A list of screenshot image URIs taken from the Robo crawl. The file names are numbered by the order in which they were taken. Corresponds to the JSON property screenshotUris

Returns:

  • (Array<String>)


341
342
343
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 341

def screenshot_uris
  @screenshot_uris
end

#stateString

Output only. The state of the test. Corresponds to the JSON property state

Returns:

  • (String)


346
347
348
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 346

def state
  @state
end

#video_uriString

Output only. A URI to a video of the test run. Corresponds to the JSON property videoUri

Returns:

  • (String)


351
352
353
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 351

def video_uri
  @video_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



358
359
360
361
362
363
364
365
366
367
368
369
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 358

def update!(**args)
  @app_crash = args[:app_crash] if args.key?(:app_crash)
  @crawl_graph_uri = args[:crawl_graph_uri] if args.key?(:crawl_graph_uri)
  @device = args[:device] if args.key?(:device)
  @failed_reason = args[:failed_reason] if args.key?(:failed_reason)
  @inconclusive_reason = args[:inconclusive_reason] if args.key?(:inconclusive_reason)
  @results_storage_path = args[:results_storage_path] if args.key?(:results_storage_path)
  @robo_stats = args[:robo_stats] if args.key?(:robo_stats)
  @screenshot_uris = args[:screenshot_uris] if args.key?(:screenshot_uris)
  @state = args[:state] if args.key?(:state)
  @video_uri = args[:video_uri] if args.key?(:video_uri)
end