Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest.
The request message for Agents.RestoreAgent.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#agent_content
def agent_content() -> ::String- 
        (::String) — Uncompressed raw byte content for agent.
Note: The following fields are mutually exclusive:
agent_content,agent_uri,git_source. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#agent_content=
def agent_content=(value) -> ::String- 
        value (::String) — Uncompressed raw byte content for agent.
Note: The following fields are mutually exclusive:
agent_content,agent_uri,git_source. If a field in that set is populated, all other fields in the set will automatically be cleared. 
- 
        (::String) — Uncompressed raw byte content for agent.
Note: The following fields are mutually exclusive:
agent_content,agent_uri,git_source. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#agent_uri
def agent_uri() -> ::String- 
        (::String) — The Google Cloud Storage URI
to restore agent from. The format of this URI must be
gs://<bucket-name>/<object-name>.Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
Note: The following fields are mutually exclusive:
agent_uri,agent_content,git_source. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#agent_uri=
def agent_uri=(value) -> ::String- 
        value (::String) — The Google Cloud Storage URI
to restore agent from. The format of this URI must be
gs://<bucket-name>/<object-name>.Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
Note: The following fields are mutually exclusive:
agent_uri,agent_content,git_source. If a field in that set is populated, all other fields in the set will automatically be cleared. 
- 
        (::String) — The Google Cloud Storage URI
to restore agent from. The format of this URI must be
gs://<bucket-name>/<object-name>.Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
Note: The following fields are mutually exclusive:
agent_uri,agent_content,git_source. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#git_source
def git_source() -> ::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource- 
        (::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource) — Setting for restoring from a git branch
Note: The following fields are mutually exclusive:
git_source,agent_uri,agent_content. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#git_source=
def git_source=(value) -> ::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource- 
        value (::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource) — Setting for restoring from a git branch
Note: The following fields are mutually exclusive:
git_source,agent_uri,agent_content. If a field in that set is populated, all other fields in the set will automatically be cleared. 
- 
        (::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource) — Setting for restoring from a git branch
Note: The following fields are mutually exclusive:
git_source,agent_uri,agent_content. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#name
def name() -> ::String- 
        (::String) — Required. The name of the agent to restore into.
Format: 
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>. 
#name=
def name=(value) -> ::String- 
        value (::String) — Required. The name of the agent to restore into.
Format: 
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>. 
- 
        (::String) — Required. The name of the agent to restore into.
Format: 
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>. 
#restore_option
def restore_option() -> ::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption- 
        (::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption) — Agent restore mode. If not specified, 
KEEPis assumed. 
#restore_option=
def restore_option=(value) -> ::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption- 
        value (::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption) — Agent restore mode. If not specified, 
KEEPis assumed. 
- 
        (::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption) — Agent restore mode. If not specified, 
KEEPis assumed.