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.
17479 17480 17481 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17479 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
17467 17468 17469 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17467 def display_name @display_name end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
17472 17473 17474 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17472 def language_code @language_code end |
#name ⇒ String
Corresponds to the JSON property name
17477 17478 17479 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17477 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17484 17485 17486 17487 17488 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17484 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 |