Class ImportIntentsRequest (1.28.0)

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

The request message for Intents.ImportIntents.

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

NameDescription
parent str
Required. The agent to import the intents into. Format: projects/.
intents_uri str
The `Google Cloud Storage
intents_content google.cloud.dialogflowcx_v3.types.InlineSource
Uncompressed byte content of intents. This field is a member of oneof_ intents.
merge_option google.cloud.dialogflowcx_v3.types.ImportIntentsRequest.MergeOption
Merge option for importing intents. If not specified, REJECT is assumed.

Classes

MergeOption

MergeOption(value)

Merge option when display name conflicts exist during import.

Values: MERGE_OPTION_UNSPECIFIED (0): Unspecified. Should not be used. REJECT (1): DEPRECATED: Please use REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead. Fail the request if there are intents whose display names conflict with the display names of intents in the agent. REPLACE (2): Replace the original intent in the agent with the new intent when display name conflicts exist. MERGE (3): Merge the original intent with the new intent when display name conflicts exist. RENAME (4): Create new intents with new display names to differentiate them from the existing intents when display name conflicts exist. REPORT_CONFLICT (5): Report conflict information if display names conflict is detected. Otherwise, import intents. KEEP (6): Keep the original intent and discard the conflicting new intent when display name conflicts exist.