Class: Google::Apis::DialogflowV2beta1::ExportAgentRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v2beta1/classes.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb

Overview

The request message for Agents.ExportAgent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ExportAgentRequest

Returns a new instance of ExportAgentRequest



700
701
702
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 700

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agent_uriString

Warning: Exporting agents to a URI is not implemented yet. This feature is coming soon. Optional. The Google Cloud Storage URI to export the agent to. Note: The URI must start with "gs://". If left unspecified, the serialized agent is returned inline. Corresponds to the JSON property agentUri

Returns:

  • (String)


698
699
700
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 698

def agent_uri
  @agent_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



705
706
707
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 705

def update!(**args)
  @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
end