Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStepResult

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

Captures the results of an AiStep

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaAiStepResult

Returns a new instance of GoogleFirebaseAppdistroV1alphaAiStepResult.



295
296
297
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 295

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#assertion_detailsGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAssertionDetails

Details for an assertion step. Corresponds to the JSON property assertionDetails



278
279
280
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 278

def assertion_details
  @assertion_details
end

#goal_detailsGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaGoalDetails

Details for a goal step. Corresponds to the JSON property goalDetails



283
284
285
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 283

def goal_details
  @goal_details
end

#stateString

Output only. The current state of the step Corresponds to the JSON property state

Returns:

  • (String)


288
289
290
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 288

def state
  @state
end

#stepGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStep

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



293
294
295
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 293

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



300
301
302
303
304
305
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 300

def update!(**args)
  @assertion_details = args[:assertion_details] if args.key?(:assertion_details)
  @goal_details = args[:goal_details] if args.key?(:goal_details)
  @state = args[:state] if args.key?(:state)
  @step = args[:step] if args.key?(:step)
end