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.



221
222
223
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 221

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)


214
215
216
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 214

def assertion
  @assertion
end

#goalString

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

Returns:

  • (String)


219
220
221
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 219

def goal
  @goal
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



226
227
228
229
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 226

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