Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig

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

Overview

Configuration for tools using Service Directory.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig

Returns a new instance of GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig.



24013
24014
24015
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 24013

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 tool. Corresponds to the JSON property service

Returns:

  • (String)


24011
24012
24013
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 24011

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24018
24019
24020
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 24018

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