Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeBase
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeBase
- 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. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeBase
constructor
A new instance of GoogleCloudDialogflowV2KnowledgeBase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeBase
Returns a new instance of GoogleCloudDialogflowV2KnowledgeBase.
13486 13487 13488 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13486 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
13474 13475 13476 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13474 def display_name @display_name end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
13479 13480 13481 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13479 def language_code @language_code end |
#name ⇒ String
Corresponds to the JSON property name
13484 13485 13486 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13484 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13491 13492 13493 13494 13495 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13491 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 |