Class RestoreAgentRequest (1.36.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: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
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.
git_source google.cloud.dialogflowcx_v3.types.RestoreAgentRequest.GitSource
Setting for restoring from a git branch This field is a member of oneof_ agent.
restore_option google.cloud.dialogflowcx_v3.types.RestoreAgentRequest.RestoreOption
Agent restore mode. If not specified, KEEP is assumed.

Classes

GitSource

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

Settings for restoring from a git branch

RestoreOption

RestoreOption(value)

Restore option.