Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::ImportAgentRequest (v0.16.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ImportAgentRequest.

The request message for Agents.ImportAgent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#agent_content

def agent_content() -> ::String
Returns
  • (::String) — Zip compressed raw byte content for agent.

#agent_content=

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

#agent_uri

def agent_uri() -> ::String
Returns
  • (::String) — The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with "gs://".

    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 URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with "gs://".

    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 URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with "gs://".

    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.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The project that the agent to import is associated with. Format: projects/<Project ID>.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The project that the agent to import is associated with. Format: projects/<Project ID>.
Returns
  • (::String) — Required. The project that the agent to import is associated with. Format: projects/<Project ID>.