Class GenerateStatelessSuggestionRequest (2.40.0)

GenerateStatelessSuggestionRequest(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The request message for Conversations.GenerateStatelessSuggestion.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
parent str
Required. The parent resource to charge for the Suggestion's generation. Format: projects/.
generator google.cloud.dialogflow_v2.types.Generator
Uncreated generator. It should be a complete generator that includes all information about the generator. This field is a member of oneof_ generator_resource.
generator_name str
The resource name of the existing created generator. Format: projects/ This field is a member of oneof_ generator_resource.
context_references MutableMapping[str, google.cloud.dialogflow_v2.types.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 google.cloud.dialogflow_v2.types.ConversationContext
Optional. Context of the conversation, including transcripts.
trigger_events MutableSequence[google.cloud.dialogflow_v2.types.TriggerEvent]
Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.

Classes

ContextReferencesEntry

ContextReferencesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.