Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaGoalAction
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaGoalAction
- 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 agent while attempting to accomplish a goal.
Instance Attribute Summary collapse
-
#device_action ⇒ Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceAction
A high level action taken by the AI on the device, potentially involving multiple taps, text entries, waits, etc.
-
#explanation ⇒ String
Output only.
-
#terminal_action ⇒ Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTerminalAction
An action taken by the AI to end the goal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaGoalAction
constructor
A new instance of GoogleFirebaseAppdistroV1alphaGoalAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaGoalAction
Returns a new instance of GoogleFirebaseAppdistroV1alphaGoalAction.
821 822 823 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 821 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_action ⇒ Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceAction
A high level action taken by the AI on the device, potentially involving
multiple taps, text entries, waits, etc.
Corresponds to the JSON property deviceAction
809 810 811 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 809 def device_action @device_action end |
#explanation ⇒ String
Output only. An explanation justifying why the action was taken.
Corresponds to the JSON property explanation
814 815 816 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 814 def explanation @explanation end |
#terminal_action ⇒ Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTerminalAction
An action taken by the AI to end the goal.
Corresponds to the JSON property terminalAction
819 820 821 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 819 def terminal_action @terminal_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
826 827 828 829 830 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 826 def update!(**args) @device_action = args[:device_action] if args.key?(:device_action) @explanation = args[:explanation] if args.key?(:explanation) @terminal_action = args[:terminal_action] if args.key?(:terminal_action) end |