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.



463
464
465
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 463

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)


450
451
452
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 450

def explanation
  @explanation
end

#resultBoolean Also known as: result?

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

Returns:

  • (Boolean)


455
456
457
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 455

def result
  @result
end

#screenshotGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot

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



461
462
463
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 461

def screenshot
  @screenshot
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



468
469
470
471
472
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 468

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