Class: Google::Cloud::Dialogflow::V2::ImportAgentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/agent.rb

Overview

The request message for Agents.ImportAgent.

Instance Attribute Summary collapse

Instance Attribute Details

#agent_content::String

Returns Zip compressed raw byte content for agent.

Note: The following fields are mutually exclusive: agent_content, agent_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Zip compressed raw byte content for agent.

    Note: The following fields are mutually exclusive: agent_content, agent_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.



285
286
287
288
# File 'proto_docs/google/cloud/dialogflow/v2/agent.rb', line 285

class ImportAgentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#agent_uri::String

Returns 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.

Note: The following fields are mutually exclusive: agent_uri, agent_content. If a field in that set is populated, all other fields in the set will automatically be cleared.

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.

    Note: The following fields are mutually exclusive: agent_uri, agent_content. If a field in that set is populated, all other fields in the set will automatically be cleared.



285
286
287
288
# File 'proto_docs/google/cloud/dialogflow/v2/agent.rb', line 285

class ImportAgentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns 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>.



285
286
287
288
# File 'proto_docs/google/cloud/dialogflow/v2/agent.rb', line 285

class ImportAgentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end