Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Webhook
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Webhook
- 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
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::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService
Corresponds to the JSON property
genericWebService. -
#name ⇒ String
Corresponds to the JSON property
name. -
#service_directory ⇒ Google::Apis::DialogflowV3::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.
9217 9218 9219 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9217 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disabled ⇒ Boolean Also known as: disabled?
Corresponds to the JSON property disabled
9189 9190 9191 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9189 def disabled @disabled end |
#display_name ⇒ String
Corresponds to the JSON property displayName
9195 9196 9197 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9195 def display_name @display_name end |
#generic_web_service ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService
Corresponds to the JSON property genericWebService
9200 9201 9202 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9200 def generic_web_service @generic_web_service end |
#name ⇒ String
Corresponds to the JSON property name
9205 9206 9207 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9205 def name @name end |
#service_directory ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
Corresponds to the JSON property serviceDirectory
9210 9211 9212 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9210 def service_directory @service_directory end |
#timeout ⇒ String
Corresponds to the JSON property timeout
9215 9216 9217 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9215 def timeout @timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9222 9223 9224 9225 9226 9227 9228 9229 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9222 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 |