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
- (::Google::Cloud::Dialogflow::V2::ConversationContext) — Optional. Context of the conversation, including transcripts.
#conversation_context=
def conversation_context=(value) -> ::Google::Cloud::Dialogflow::V2::ConversationContext
Parameter
- value (::Google::Cloud::Dialogflow::V2::ConversationContext) — Optional. Context of the conversation, including transcripts.
Returns
- (::Google::Cloud::Dialogflow::V2::ConversationContext) — Optional. Context of the conversation, including transcripts.
#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.
#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.
Returns
- (::Google::Cloud::Dialogflow::V2::Generator) — Uncreated generator. It should be a complete generator that includes all information about the generator.
#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
- (::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>) — Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
#trigger_events=
def trigger_events=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>) — Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>) — Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.