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

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

The request message for Conversations.GenerateStatelessSuggestion.

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}) — Optional. A section of ingested context information. 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}) — Optional. A section of ingested context information. 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}) — Optional. A section of ingested context information. 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_context

def conversation_context() -> ::Google::Cloud::Dialogflow::V2::ConversationContext
Returns

#conversation_context=

def conversation_context=(value) -> ::Google::Cloud::Dialogflow::V2::ConversationContext
Parameter
Returns

#generator

def generator() -> ::Google::Cloud::Dialogflow::V2::Generator
Returns
  • (::Google::Cloud::Dialogflow::V2::Generator) — Uncreated generator. It should be a complete generator that includes all information about the generator.

    Note: The following fields are mutually exclusive: generator, generator_name. If a field in that set is populated, all other fields in the set will automatically be cleared.

#generator=

def generator=(value) -> ::Google::Cloud::Dialogflow::V2::Generator
Parameter
  • value (::Google::Cloud::Dialogflow::V2::Generator) — Uncreated generator. It should be a complete generator that includes all information about the generator.

    Note: The following fields are mutually exclusive: generator, generator_name. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::V2::Generator) — Uncreated generator. It should be a complete generator that includes all information about the generator.

    Note: The following fields are mutually exclusive: generator, generator_name. If a field in that set is populated, all other fields in the set will automatically be cleared.

#generator_name

def generator_name() -> ::String
Returns
  • (::String) — The resource name of the existing created generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>

    Note: The following fields are mutually exclusive: generator_name, generator. If a field in that set is populated, all other fields in the set will automatically be cleared.

#generator_name=

def generator_name=(value) -> ::String
Parameter
  • value (::String) — The resource name of the existing created generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>

    Note: The following fields are mutually exclusive: generator_name, generator. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — The resource name of the existing created generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>

    Note: The following fields are mutually exclusive: generator_name, generator. If a field in that set is populated, all other fields in the set will automatically be cleared.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent resource to charge for the Suggestion's generation. Format: projects/<Project ID>/locations/<Location ID>.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent resource to charge for the Suggestion's generation. Format: projects/<Project ID>/locations/<Location ID>.
Returns
  • (::String) — Required. The parent resource to charge for the Suggestion's generation. Format: projects/<Project ID>/locations/<Location ID>.

#trigger_events

def trigger_events() -> ::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>
Returns

#trigger_events=

def trigger_events=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>
Parameter
Returns