Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment
- 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
-
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#enabled ⇒ Boolean
(also: #enabled?)
Corresponds to the JSON property
enabled. -
#features ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentFeature>
Corresponds to the JSON property
features. -
#generic_web_service ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
Corresponds to the JSON property
genericWebService. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Fulfillment
constructor
A new instance of GoogleCloudDialogflowV2beta1Fulfillment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Fulfillment
Returns a new instance of GoogleCloudDialogflowV2beta1Fulfillment.
13607 13608 13609 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
13584 13585 13586 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13584 def display_name @display_name end |
#enabled ⇒ Boolean Also known as: enabled?
Corresponds to the JSON property enabled
13589 13590 13591 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13589 def enabled @enabled end |
#features ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentFeature>
Corresponds to the JSON property features
13595 13596 13597 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13595 def features @features end |
#generic_web_service ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
Corresponds to the JSON property genericWebService
13600 13601 13602 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13600 def generic_web_service @generic_web_service end |
#name ⇒ String
Corresponds to the JSON property name
13605 13606 13607 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13605 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13612 13613 13614 13615 13616 13617 13618 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13612 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @enabled = args[:enabled] if args.key?(:enabled) @features = args[:features] if args.key?(:features) @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service) @name = args[:name] if args.key?(:name) end |