Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Webhook
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Webhook
- 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
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::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService
Corresponds to the JSON property
genericWebService. -
#name ⇒ String
Corresponds to the JSON property
name. -
#service_directory ⇒ Google::Apis::DialogflowV2beta1::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.
2892 2893 2894 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2892 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disabled ⇒ Boolean Also known as: disabled?
Corresponds to the JSON property disabled
2864 2865 2866 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2864 def disabled @disabled end |
#display_name ⇒ String
Corresponds to the JSON property displayName
2870 2871 2872 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2870 def display_name @display_name end |
#generic_web_service ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebService
Corresponds to the JSON property genericWebService
2875 2876 2877 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2875 def generic_web_service @generic_web_service end |
#name ⇒ String
Corresponds to the JSON property name
2880 2881 2882 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2880 def name @name end |
#service_directory ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
Corresponds to the JSON property serviceDirectory
2885 2886 2887 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2885 def service_directory @service_directory end |
#timeout ⇒ String
Corresponds to the JSON property timeout
2890 2891 2892 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2890 def timeout @timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2897 2898 2899 2900 2901 2902 2903 2904 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2897 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 |