Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepAction
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepAction
- 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::GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation
Observation.
-
#search_action ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction
Search action.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerStepAction
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerStepAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerStepAction
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerStepAction.
6472 6473 6474 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6472 def initialize(**args) update!(**args) end |
Instance Attribute Details
#observation ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation
Observation.
Corresponds to the JSON property observation
6465 6466 6467 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6465 def observation @observation end |
#search_action ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction
Search action.
Corresponds to the JSON property searchAction
6470 6471 6472 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6470 def search_action @search_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6477 6478 6479 6480 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6477 def update!(**args) @observation = args[:observation] if args.key?(:observation) @search_action = args[:search_action] if args.key?(:search_action) end |