Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest (v0.20.0)

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
Returns
  • (::String) — Uncompressed raw byte content for agent.

#agent_content=

def agent_content=(value) -> ::String
Parameter
  • value (::String) — Uncompressed raw byte content for agent.
Returns
  • (::String) — Uncompressed raw byte content for agent.

#agent_uri

def agent_uri() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns

#git_source=

def git_source=(value) -> ::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — Required. The name of the agent to restore into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
Returns
  • (::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
Returns

#restore_option=

def restore_option=(value) -> ::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption
Parameter
Returns