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.
13478 13479 13480 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13478 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
13455 13456 13457 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13455 def display_name @display_name end |
#enabled ⇒ Boolean Also known as: enabled?
Corresponds to the JSON property enabled
13460 13461 13462 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13460 def enabled @enabled end |
#features ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentFeature>
Corresponds to the JSON property features
13466 13467 13468 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13466 def features @features end |
#generic_web_service ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
Corresponds to the JSON property genericWebService
13471 13472 13473 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13471 def generic_web_service @generic_web_service end |
#name ⇒ String
Corresponds to the JSON property name
13476 13477 13478 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13476 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13483 13484 13485 13486 13487 13488 13489 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13483 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 |