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.



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

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



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

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)


358
359
360
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 358

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



363
364
365
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 363

def device
  @device
end

#failed_reasonString

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

Returns:

  • (String)


368
369
370
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 368

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)


373
374
375
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 373

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)


380
381
382
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 380

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



385
386
387
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 385

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


391
392
393
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 391

def screenshot_uris
  @screenshot_uris
end

#stateString

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

Returns:

  • (String)


396
397
398
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 396

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)


401
402
403
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 401

def video_uri
  @video_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 408

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