Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerStepAction
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerStepAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Action.
Instance Attribute Summary collapse
-
#observation ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation
Observation.
-
#search_action ⇒ Google::Apis::DiscoveryengineV1beta::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.
2520 2521 2522 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2520 def initialize(**args) update!(**args) end |
Instance Attribute Details
#observation ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation
Observation.
Corresponds to the JSON property observation
2513 2514 2515 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2513 def observation @observation end |
#search_action ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction
Search action.
Corresponds to the JSON property searchAction
2518 2519 2520 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2518 def search_action @search_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2525 2526 2527 2528 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2525 def update!(**args) @observation = args[:observation] if args.key?(:observation) @search_action = args[:search_action] if args.key?(:search_action) end |