Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolServiceDirectoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolServiceDirectoryConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Configuration for tools using Service Directory.
Instance Attribute Summary collapse
-
#service ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolServiceDirectoryConfig
constructor
A new instance of GoogleCloudDialogflowV2ToolServiceDirectoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolServiceDirectoryConfig
Returns a new instance of GoogleCloudDialogflowV2ToolServiceDirectoryConfig.
19311 19312 19313 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service ⇒ String
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
19309 19310 19311 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19309 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19316 19317 19318 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19316 def update!(**args) @service = args[:service] if args.key?(:service) end |