Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IngestContextReferencesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IngestContextReferencesRequest
- 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
Overview
The request message for ConversationsService.IngestContextReferences.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2IngestContextReferencesRequest
constructor
A new instance of GoogleCloudDialogflowV2IngestContextReferencesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2IngestContextReferencesRequest
Returns a new instance of GoogleCloudDialogflowV2IngestContextReferencesRequest.
13296 13297 13298 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context_references ⇒ Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReference>
Required. The context references to ingest. The key is the name of the context
reference and the value contains the contents of the context reference. The
key is used to incorporate ingested context references to enhance the
generator.
Corresponds to the JSON property contextReferences
13294 13295 13296 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13294 def context_references @context_references end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13301 13302 13303 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13301 def update!(**args) @context_references = args[:context_references] if args.key?(:context_references) end |