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.
6519 6520 6521 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6519 def initialize(**args) update!(**args) end |
Instance Attribute Details
#observation ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation
Observation.
Corresponds to the JSON property observation
6512 6513 6514 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6512 def observation @observation end |
#search_action ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction
Search action.
Corresponds to the JSON property searchAction
6517 6518 6519 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6517 def search_action @search_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6524 6525 6526 6527 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6524 def update!(**args) @observation = args[:observation] if args.key?(:observation) @search_action = args[:search_action] if args.key?(:search_action) end |