Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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::DialogflowV2::GoogleCloudDialogflowV2FulfillmentFeature>
Corresponds to the JSON property
features. -
#generic_web_service ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentGenericWebService
Corresponds to the JSON property
genericWebService. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2Fulfillment
constructor
A new instance of GoogleCloudDialogflowV2Fulfillment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Fulfillment
Returns a new instance of GoogleCloudDialogflowV2Fulfillment.
9981 9982 9983 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9981 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
9958 9959 9960 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9958 def display_name @display_name end |
#enabled ⇒ Boolean Also known as: enabled?
Corresponds to the JSON property enabled
9963 9964 9965 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9963 def enabled @enabled end |
#features ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentFeature>
Corresponds to the JSON property features
9969 9970 9971 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9969 def features @features end |
#generic_web_service ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentGenericWebService
Corresponds to the JSON property genericWebService
9974 9975 9976 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9974 def generic_web_service @generic_web_service end |
#name ⇒ String
Corresponds to the JSON property name
9979 9980 9981 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9979 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9986 9987 9988 9989 9990 9991 9992 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9986 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 |