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.
9967 9968 9969 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9967 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
9944 9945 9946 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9944 def display_name @display_name end |
#enabled ⇒ Boolean Also known as: enabled?
Corresponds to the JSON property enabled
9949 9950 9951 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9949 def enabled @enabled end |
#features ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentFeature>
Corresponds to the JSON property features
9955 9956 9957 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9955 def features @features end |
#generic_web_service ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentGenericWebService
Corresponds to the JSON property genericWebService
9960 9961 9962 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9960 def generic_web_service @generic_web_service end |
#name ⇒ String
Corresponds to the JSON property name
9965 9966 9967 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9965 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9972 9973 9974 9975 9976 9977 9978 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9972 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 |