GetKnowledgeBaseResult class

Result data returned by getKnowledgeBase.

Constructors

GetKnowledgeBaseResult({required String displayName, required String languageCode, required String name})
Creates a new GetKnowledgeBaseResult. displayName The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails. languageCode Language which represents the KnowledgeBase. When the KnowledgeBase is created/updated, expect this to be present for non en-us languages. When unspecified, the default language code en-us applies. name The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.
const
GetKnowledgeBaseResult.fromMap(Map<String, dynamic> map)
factory

Properties

displayName → String
The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
final
hashCode → int
The hash code for this object.
no setterinherited
languageCode → String
Language which represents the KnowledgeBase. When the KnowledgeBase is created/updated, expect this to be present for non en-us languages. When unspecified, the default language code en-us applies.
final
name → String
The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited