Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
- 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. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeBase
constructor
A new instance of GoogleCloudDialogflowV2beta1KnowledgeBase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeBase
Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeBase.
17332 17333 17334 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17332 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
17320 17321 17322 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17320 def display_name @display_name end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
17325 17326 17327 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17325 def language_code @language_code end |
#name ⇒ String
Corresponds to the JSON property name
17330 17331 17332 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17330 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17337 17338 17339 17340 17341 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17337 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @language_code = args[:language_code] if args.key?(:language_code) @name = args[:name] if args.key?(:name) end |