Class RestoreAgentRequest (1.20.1)

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

The request message for Agents.RestoreAgent.

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
name str
Required. The name of the agent to restore into. Format: projects/.
agent_uri str
The `Google Cloud Storage
agent_content bytes
Uncompressed raw byte content for agent. This field is a member of oneof_ agent.
restore_option google.cloud.dialogflowcx_v3beta1.types.RestoreAgentRequest.RestoreOption
Agent restore mode. If not specified, KEEP is assumed.

Classes

RestoreOption

RestoreOption(value)

Restore option.

Values: RESTORE_OPTION_UNSPECIFIED (0): Unspecified. Treated as KEEP. KEEP (1): Always respect the settings from the exported agent file. It may cause a restoration failure if some settings (e.g. model type) are not supported in the target agent. FALLBACK (2): Fallback to default settings if some settings are not supported in the target agent.