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.



1598
1599
1600
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1598

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)


1591
1592
1593
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1591

def reason
  @reason
end

#screenshotGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot

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



1596
1597
1598
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1596

def screenshot
  @screenshot
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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