Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStep

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

A step to be accomplished by the AI

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#assertionString

An assertion to be checked by the AI Corresponds to the JSON property assertion

Returns:

  • (String)


239
240
241
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 239

def assertion
  @assertion
end

#goalString

A goal to be accomplished by the AI Corresponds to the JSON property goal

Returns:

  • (String)


244
245
246
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 244

def goal
  @goal
end

#hintString

Optional. Hint text containing suggestions to help the agent accomplish the goal Corresponds to the JSON property hint

Returns:

  • (String)


250
251
252
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 250

def hint
  @hint
end

#success_criteriaString

Optional. A description of criteria the agent should use to determine if the goal has been successfully completed Corresponds to the JSON property successCriteria

Returns:

  • (String)


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