Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig

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

Overview

Configuration for tools using Service Directory.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig

Returns a new instance of GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig.



9525
9526
9527
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9525

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

Instance Attribute Details

#serviceString

Required. The name of Service Directory service. Format: projects//locations//namespaces//services/. LocationID of the service directory must be the same as the location of the agent. Corresponds to the JSON property service

Returns:

  • (String)


9523
9524
9525
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9523

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9530
9531
9532
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9530

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