Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAssertionDetails

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

Details for an assertion step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaAssertionDetails

Returns a new instance of GoogleFirebaseAppdistroV1alphaAssertionDetails.



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

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

Instance Attribute Details

#explanationString

Output only. An explanation justifying the assertion result. Corresponds to the JSON property explanation

Returns:

  • (String)


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

def explanation
  @explanation
end

#resultBoolean Also known as: result?

Output only. The result of the assertion. Corresponds to the JSON property result

Returns:

  • (Boolean)


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

def result
  @result
end

#screenshotGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot

A device screenshot taken during a test. Corresponds to the JSON property screenshot



408
409
410
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 408

def screenshot
  @screenshot
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @explanation = args[:explanation] if args.key?(:explanation)
  @result = args[:result] if args.key?(:result)
  @screenshot = args[:screenshot] if args.key?(:screenshot)
end