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.



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

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)


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

def reason
  @reason
end

#screenshotGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot

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



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

def screenshot
  @screenshot
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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