Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IngestContextReferencesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IngestContextReferencesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
The request message for ConversationsService.IngestContextReferences.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IngestContextReferencesRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1IngestContextReferencesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IngestContextReferencesRequest
Returns a new instance of GoogleCloudDialogflowV2beta1IngestContextReferencesRequest.
16997 16998 16999 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16997 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context_references ⇒ Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReference>
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
16995 16996 16997 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16995 def context_references @context_references end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17002 17003 17004 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17002 def update!(**args) @context_references = args[:context_references] if args.key?(:context_references) end |