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.
12003 12004 12005 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12003 def initialize(**args) update!(**args) end |
Instance Attribute Details
#observation ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation
Observation.
Corresponds to the JSON property observation
11996 11997 11998 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11996 def observation @observation end |
#search_action ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction
Search action.
Corresponds to the JSON property searchAction
12001 12002 12003 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12001 def search_action @search_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12008 12009 12010 12011 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12008 def update!(**args) @observation = args[:observation] if args.key?(:observation) @search_action = args[:search_action] if args.key?(:search_action) end |