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.
6316 6317 6318 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#observation ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation
Observation.
Corresponds to the JSON property observation
6309 6310 6311 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6309 def observation @observation end |
#search_action ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction
Search action.
Corresponds to the JSON property searchAction
6314 6315 6316 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6314 def search_action @search_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6321 6322 6323 6324 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6321 def update!(**args) @observation = args[:observation] if args.key?(:observation) @search_action = args[:search_action] if args.key?(:search_action) end |