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.



433
434
435
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 433

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

Instance Attribute Details

#ai_step_resultsArray<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStepResult>

Output only. Results of the AI steps if passed in Corresponds to the JSON property aiStepResults



378
379
380
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 378

def ai_step_results
  @ai_step_results
end

#app_crashGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAppCrash

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



383
384
385
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 383

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)


388
389
390
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 388

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



393
394
395
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 393

def device
  @device
end

#failed_reasonString

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

Returns:

  • (String)


398
399
400
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 398

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)


403
404
405
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 403

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)


410
411
412
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 410

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



415
416
417
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 415

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


421
422
423
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 421

def screenshot_uris
  @screenshot_uris
end

#stateString

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

Returns:

  • (String)


426
427
428
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 426

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)


431
432
433
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 431

def video_uri
  @video_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



438
439
440
441
442
443
444
445
446
447
448
449
450
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 438

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