Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig

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

Represents configuration for a Service Directory service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig.



7801
7802
7803
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7801

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

Instance Attribute Details

#generic_web_serviceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService

Represents configuration for a generic web service. Corresponds to the JSON property genericWebService



7791
7792
7793
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7791

def generic_web_service
  @generic_web_service
end

#serviceString

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

Returns:

  • (String)


7799
7800
7801
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7799

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7806
7807
7808
7809
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7806

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