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.
#agent_content=
def agent_content=(value) -> ::String
- value (::String) — Uncompressed raw byte content for agent.
- (::String) — Uncompressed raw byte content for agent.
#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.
#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.
-
(::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.
#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
#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
- (::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource) — Setting for restoring from a git branch
#name
def name() -> ::String
-
(::String) — Required. The name of the agent to restore into.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
#name=
def name=(value) -> ::String
-
value (::String) — Required. The name of the agent to restore into.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
-
(::String) — Required. The name of the agent to restore into.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
#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,
KEEP
is 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,
KEEP
is assumed.
-
(::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption) — Agent restore mode. If not specified,
KEEP
is assumed.