Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest

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) ⇒ GoogleCloudDialogflowV2beta1ExportAgentRequest

Returns a new instance of GoogleCloudDialogflowV2beta1ExportAgentRequest



2311
2312
2313
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2311

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

Instance Attribute Details

#agent_uriString

Optional. The Google Cloud Storage URI to export the agent to. The format of this URI must be gs://<bucket-name>/<object-name>. If left unspecified, the serialized agent is returned inline. Corresponds to the JSON property agentUri

Returns:

  • (String)


2309
2310
2311
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2309

def agent_uri
  @agent_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2316
2317
2318
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2316

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