Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStep
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStep
- 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
A step to be accomplished by the AI
Instance Attribute Summary collapse
-
#assertion ⇒ String
An assertion to be checked by the AI Corresponds to the JSON property
assertion. -
#goal ⇒ String
A goal to be accomplished by the AI Corresponds to the JSON property
goal. -
#hint ⇒ String
Optional.
-
#success_criteria ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaAiStep
constructor
A new instance of GoogleFirebaseAppdistroV1alphaAiStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaAiStep
Returns a new instance of GoogleFirebaseAppdistroV1alphaAiStep.
258 259 260 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 258 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assertion ⇒ String
An assertion to be checked by the AI
Corresponds to the JSON property assertion
239 240 241 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 239 def assertion @assertion end |
#goal ⇒ String
A goal to be accomplished by the AI
Corresponds to the JSON property goal
244 245 246 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 244 def goal @goal end |
#hint ⇒ String
Optional. Hint text containing suggestions to help the agent accomplish the
goal
Corresponds to the JSON property hint
250 251 252 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 250 def hint @hint end |
#success_criteria ⇒ String
Optional. A description of criteria the agent should use to determine if the
goal has been successfully completed
Corresponds to the JSON property successCriteria
256 257 258 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 256 def success_criteria @success_criteria end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
263 264 265 266 267 268 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 263 def update!(**args) @assertion = args[:assertion] if args.key?(:assertion) @goal = args[:goal] if args.key?(:goal) @hint = args[:hint] if args.key?(:hint) @success_criteria = args[:success_criteria] if args.key?(:success_criteria) end |