Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepAction
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Action.
Instance Attribute Summary collapse
-
#observation ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservation
Observation.
-
#search_action ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction
Search action.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerStepAction
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerStepAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerStepAction
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerStepAction.
1933 1934 1935 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1933 def initialize(**args) update!(**args) end |
Instance Attribute Details
#observation ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservation
Observation.
Corresponds to the JSON property observation
1926 1927 1928 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1926 def observation @observation end |
#search_action ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction
Search action.
Corresponds to the JSON property searchAction
1931 1932 1933 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1931 def search_action @search_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1938 1939 1940 1941 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1938 def update!(**args) @observation = args[:observation] if args.key?(:observation) @search_action = args[:search_action] if args.key?(:search_action) end |