Class RestoreAgentRequest (1.18.0)

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:


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.
Agent restore mode. If not specified, KEEP is assumed.




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.