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.
19745 19746 19747 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#observation ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation
Observation.
Corresponds to the JSON property observation
19738 19739 19740 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19738 def observation @observation end |
#search_action ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction
Search action.
Corresponds to the JSON property searchAction
19743 19744 19745 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19743 def search_action @search_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19750 19751 19752 19753 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19750 def update!(**args) @observation = args[:observation] if args.key?(:observation) @search_action = args[:search_action] if args.key?(:search_action) end |