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.
13769 13770 13771 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13769 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
13746 13747 13748 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13746 def display_name @display_name end |
#enabled ⇒ Boolean Also known as: enabled?
Corresponds to the JSON property enabled
13751 13752 13753 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13751 def enabled @enabled end |
#features ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentFeature>
Corresponds to the JSON property features
13757 13758 13759 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13757 def features @features end |
#generic_web_service ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
Corresponds to the JSON property genericWebService
13762 13763 13764 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13762 def generic_web_service @generic_web_service end |
#name ⇒ String
Corresponds to the JSON property name
13767 13768 13769 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13767 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13774 13775 13776 13777 13778 13779 13780 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13774 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 |