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.
13644 13645 13646 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13644 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
13621 13622 13623 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13621 def display_name @display_name end |
#enabled ⇒ Boolean Also known as: enabled?
Corresponds to the JSON property enabled
13626 13627 13628 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13626 def enabled @enabled end |
#features ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentFeature>
Corresponds to the JSON property features
13632 13633 13634 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13632 def features @features end |
#generic_web_service ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
Corresponds to the JSON property genericWebService
13637 13638 13639 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13637 def generic_web_service @generic_web_service end |
#name ⇒ String
Corresponds to the JSON property name
13642 13643 13644 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13642 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13649 13650 13651 13652 13653 13654 13655 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13649 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 |