Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::IngestContextReferencesRequest (v1.9.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::IngestContextReferencesRequest.

The request message for [ConversationsService.IngestContextReferences][].

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#context_references

def context_references() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference}) — 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.

#context_references=

def context_references=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference}) — 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.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference}) — 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.

#conversation

def conversation() -> ::String
Returns
  • (::String) — Required. Resource identifier of the conversation to ingest context information for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

#conversation=

def conversation=(value) -> ::String
Parameter
  • value (::String) — Required. Resource identifier of the conversation to ingest context information for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.
Returns
  • (::String) — Required. Resource identifier of the conversation to ingest context information for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.