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.



246
247
248
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 246

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

Instance Attribute Details

#stateString

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

Returns:

  • (String)


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

def state
  @state
end

#stepGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStep

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



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

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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