Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Webhook
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Webhook
- 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::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
Corresponds to the JSON property
genericWebService. -
#name ⇒ String
Corresponds to the JSON property
name. -
#service_directory ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
Corresponds to the JSON property
serviceDirectory. -
#timeout ⇒ String
Corresponds to the JSON property
timeout.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Webhook
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Webhook.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Webhook
Returns a new instance of GoogleCloudDialogflowCxV3beta1Webhook.
12597 12598 12599 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12597 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disabled ⇒ Boolean Also known as: disabled?
Corresponds to the JSON property disabled
12569 12570 12571 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12569 def disabled @disabled end |
#display_name ⇒ String
Corresponds to the JSON property displayName
12575 12576 12577 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12575 def display_name @display_name end |
#generic_web_service ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
Corresponds to the JSON property genericWebService
12580 12581 12582 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12580 def generic_web_service @generic_web_service end |
#name ⇒ String
Corresponds to the JSON property name
12585 12586 12587 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12585 def name @name end |
#service_directory ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
Corresponds to the JSON property serviceDirectory
12590 12591 12592 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12590 def service_directory @service_directory end |
#timeout ⇒ String
Corresponds to the JSON property timeout
12595 12596 12597 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12595 def timeout @timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12602 12603 12604 12605 12606 12607 12608 12609 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12602 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 |