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
- (::Google::Cloud::Dialogflow::V2::ConversationContext) — Optional. Context of the conversation, including transcripts.
#conversation_context=
def conversation_context=(value) -> ::Google::Cloud::Dialogflow::V2::ConversationContext
- value (::Google::Cloud::Dialogflow::V2::ConversationContext) — Optional. Context of the conversation, including transcripts.
- (::Google::Cloud::Dialogflow::V2::ConversationContext) — Optional. Context of the conversation, including transcripts.
#generator
def generator() -> ::Google::Cloud::Dialogflow::V2::Generator
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
-
(::String) — Required. The parent resource to charge for the Suggestion's generation.
Format:
projects/<Project ID>/locations/<Location ID>
.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The parent resource to charge for the Suggestion's generation.
Format:
projects/<Project ID>/locations/<Location ID>
.
-
(::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>
- (::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>
- 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.
- (::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.