Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTerminalAction

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

An action taken by the AI to end the goal.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaTerminalAction

Returns a new instance of GoogleFirebaseAppdistroV1alphaTerminalAction.



1612
1613
1614
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1612

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

Instance Attribute Details

#reasonString

Output only. The reason why this goal was ended. Corresponds to the JSON property reason

Returns:

  • (String)


1605
1606
1607
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1605

def reason
  @reason
end

#screenshotGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot

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



1610
1611
1612
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1610

def screenshot
  @screenshot
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1617
1618
1619
1620
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1617

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