Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::GenerateStatelessSuggestionRequest (v1.2.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

#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

#generator=

def generator=(value) -> ::Google::Cloud::Dialogflow::V2::Generator
Parameter
Returns

#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>

#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>
Returns
  • (::String) — The resource name of the existing created generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>

#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