Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Webhook
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Webhook
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#disabled ⇒ Boolean
(also: #disabled?)
Corresponds to the JSON property
disabled. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#generic_web_service ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService
Corresponds to the JSON property
genericWebService. -
#name ⇒ String
Corresponds to the JSON property
name. -
#service_directory ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
Corresponds to the JSON property
serviceDirectory. -
#timeout ⇒ String
Corresponds to the JSON property
timeout.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Webhook
constructor
A new instance of GoogleCloudDialogflowCxV3Webhook.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Webhook
Returns a new instance of GoogleCloudDialogflowCxV3Webhook.
2898 2899 2900 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2898 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disabled ⇒ Boolean Also known as: disabled?
Corresponds to the JSON property disabled
2870 2871 2872 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2870 def disabled @disabled end |
#display_name ⇒ String
Corresponds to the JSON property displayName
2876 2877 2878 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2876 def display_name @display_name end |
#generic_web_service ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService
Corresponds to the JSON property genericWebService
2881 2882 2883 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2881 def generic_web_service @generic_web_service end |
#name ⇒ String
Corresponds to the JSON property name
2886 2887 2888 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2886 def name @name end |
#service_directory ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
Corresponds to the JSON property serviceDirectory
2891 2892 2893 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2891 def service_directory @service_directory end |
#timeout ⇒ String
Corresponds to the JSON property timeout
2896 2897 2898 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2896 def timeout @timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2903 2904 2905 2906 2907 2908 2909 2910 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2903 def update!(**args) @disabled = args[:disabled] if args.key?(:disabled) @display_name = args[:display_name] if args.key?(:display_name) @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service) @name = args[:name] if args.key?(:name) @service_directory = args[:service_directory] if args.key?(:service_directory) @timeout = args[:timeout] if args.key?(:timeout) end |