CreateKnowledgeBaseDetails¶
-
class
oci.adm.models.
CreateKnowledgeBaseDetails
(**kwargs)¶ Bases:
object
Details to create a new knowledge base.
Methods
__init__
(**kwargs)Initializes a new CreateKnowledgeBaseDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateKnowledgeBaseDetails. defined_tags
Gets the defined_tags of this CreateKnowledgeBaseDetails. display_name
Gets the display_name of this CreateKnowledgeBaseDetails. freeform_tags
Gets the freeform_tags of this CreateKnowledgeBaseDetails. -
__init__
(**kwargs)¶ Initializes a new CreateKnowledgeBaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateKnowledgeBaseDetails.
- display_name (str) – The value to assign to the display_name property of this CreateKnowledgeBaseDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateKnowledgeBaseDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateKnowledgeBaseDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateKnowledgeBaseDetails. The compartment Oracle Cloud Identifier (OCID) of the knowledge base.
Returns: The compartment_id of this CreateKnowledgeBaseDetails. Return type: str
Gets the defined_tags of this CreateKnowledgeBaseDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateKnowledgeBaseDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this CreateKnowledgeBaseDetails. The name of the knowledge base.
Returns: The display_name of this CreateKnowledgeBaseDetails. Return type: str
Gets the freeform_tags of this CreateKnowledgeBaseDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateKnowledgeBaseDetails. Return type: dict(str, str)
-