Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerStep

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

Step information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerStep

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerStep.



2646
2647
2648
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2646

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

Instance Attribute Details

#actionsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerStepAction>

Actions. Corresponds to the JSON property actions



2629
2630
2631
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2629

def actions
  @actions
end

#descriptionString

The description of the step. Corresponds to the JSON property description

Returns:

  • (String)


2634
2635
2636
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2634

def description
  @description
end

#stateString

The state of the step. Corresponds to the JSON property state

Returns:

  • (String)


2639
2640
2641
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2639

def state
  @state
end

#thoughtString

The thought of the step. Corresponds to the JSON property thought

Returns:

  • (String)


2644
2645
2646
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2644

def thought
  @thought
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2651
2652
2653
2654
2655
2656
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2651

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