Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerStepAction
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerStepAction
- 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
Action.
Instance Attribute Summary collapse
-
#observation ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation
Observation.
-
#search_action ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction
Search action.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerStepAction
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerStepAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerStepAction
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerStepAction.
3700 3701 3702 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3700 def initialize(**args) update!(**args) end |
Instance Attribute Details
#observation ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation
Observation.
Corresponds to the JSON property observation
3693 3694 3695 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3693 def observation @observation end |
#search_action ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction
Search action.
Corresponds to the JSON property searchAction
3698 3699 3700 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3698 def search_action @search_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3705 3706 3707 3708 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3705 def update!(**args) @observation = args[:observation] if args.key?(:observation) @search_action = args[:search_action] if args.key?(:search_action) end |