Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#context_references ⇒ Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReference>
Corresponds to the JSON property
contextReferences. -
#conversation_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContext
Corresponds to the JSON property
conversationContext. -
#generator ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator
Corresponds to the JSON property
generator. -
#generator_name ⇒ String
Corresponds to the JSON property
generatorName. -
#security_settings ⇒ String
Corresponds to the JSON property
securitySettings. -
#trigger_events ⇒ Array<String>
Corresponds to the JSON property
triggerEvents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
constructor
A new instance of GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
Returns a new instance of GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest.
10130 10131 10132 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10130 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context_references ⇒ Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReference>
Corresponds to the JSON property contextReferences
10103 10104 10105 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10103 def context_references @context_references end |
#conversation_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContext
Corresponds to the JSON property conversationContext
10108 10109 10110 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10108 def conversation_context @conversation_context end |
#generator ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator
Corresponds to the JSON property generator
10113 10114 10115 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10113 def generator @generator end |
#generator_name ⇒ String
Corresponds to the JSON property generatorName
10118 10119 10120 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10118 def generator_name @generator_name end |
#security_settings ⇒ String
Corresponds to the JSON property securitySettings
10123 10124 10125 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10123 def security_settings @security_settings end |
#trigger_events ⇒ Array<String>
Corresponds to the JSON property triggerEvents
10128 10129 10130 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10128 def trigger_events @trigger_events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10135 10136 10137 10138 10139 10140 10141 10142 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10135 def update!(**args) @context_references = args[:context_references] if args.key?(:context_references) @conversation_context = args[:conversation_context] if args.key?(:conversation_context) @generator = args[:generator] if args.key?(:generator) @generator_name = args[:generator_name] if args.key?(:generator_name) @security_settings = args[:security_settings] if args.key?(:security_settings) @trigger_events = args[:trigger_events] if args.key?(:trigger_events) end |