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.
17553 17554 17555 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17553 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
17541 17542 17543 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17541 def display_name @display_name end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
17546 17547 17548 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17546 def language_code @language_code end |
#name ⇒ String
Corresponds to the JSON property name
17551 17552 17553 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17551 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17558 17559 17560 17561 17562 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17558 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 |