Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
- 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
Represents configuration for a Service Directory service.
Instance Attribute Summary collapse
-
#generic_web_service ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService
Represents configuration for a generic web service.
-
#service ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
constructor
A new instance of GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
Returns a new instance of GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig.
8844 8845 8846 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8844 def initialize(**args) update!(**args) end |
Instance Attribute Details
#generic_web_service ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService
Represents configuration for a generic web service.
Corresponds to the JSON property genericWebService
8834 8835 8836 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8834 def generic_web_service @generic_web_service end |
#service ⇒ String
Required. The name of Service Directory service. Format: projects//locations//namespaces//services/
.
Location ID
of the service directory must be the same as the location of the
agent.
Corresponds to the JSON property service
8842 8843 8844 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8842 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8849 8850 8851 8852 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8849 def update!(**args) @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service) @service = args[:service] if args.key?(:service) end |