DatabaseToolConnection¶
-
class
oci.generative_ai_agent.models.
DatabaseToolConnection
(**kwargs)¶ Bases:
oci.generative_ai_agent.models.database_connection.DatabaseConnection
DatabaseToolConnection
The details of the customer Database Tools Connection.
Attributes
CONNECTION_TYPE_DATABASE_TOOL_CONNECTION
str(object=’’) -> str connection_id
[Required] Gets the connection_id of this DatabaseToolConnection. connection_type
[Required] Gets the connection_type of this DatabaseConnection. Methods
__init__
(**kwargs)Initializes a new DatabaseToolConnection object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
CONNECTION_TYPE_DATABASE_TOOL_CONNECTION
= 'DATABASE_TOOL_CONNECTION'¶
-
__init__
(**kwargs)¶ Initializes a new DatabaseToolConnection object with values from keyword arguments. The default value of the
connection_type
attribute of this class isDATABASE_TOOL_CONNECTION
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - connection_type (str) – The value to assign to the connection_type property of this DatabaseToolConnection. Allowed values for this property are: “DATABASE_TOOL_CONNECTION”
- connection_id (str) – The value to assign to the connection_id property of this DatabaseToolConnection.
-
connection_id
¶ [Required] Gets the connection_id of this DatabaseToolConnection. The OCID of the Database Tools Connection.
Returns: The connection_id of this DatabaseToolConnection. Return type: str
-
connection_type
¶ [Required] Gets the connection_type of this DatabaseConnection. The type of Database connection. The allowed values are: - DATABASE_TOOL_CONNECTION: This allows the service to connect to a vector store via a Database Tools Connection.
Allowed values for this property are: “DATABASE_TOOL_CONNECTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The connection_type of this DatabaseConnection. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-