SchemasDatabaseToolsConnectionDetails

class oci.generative_ai.models.SchemasDatabaseToolsConnectionDetails(**kwargs)

Bases: oci.generative_ai.models.schemas_details.SchemasDetails

Array of database schemas or database objects included in the enrichment pipeline for data sources connected via an OCI Database Tools connection.

Attributes

CONNECTION_TYPE_DATABASE_TOOLS_CONNECTION str(object=’’) -> str
connection_type [Required] Gets the connection_type of this SchemasDetails.
schemas [Required] Gets the schemas of this SchemasDatabaseToolsConnectionDetails.

Methods

__init__(**kwargs) Initializes a new SchemasDatabaseToolsConnectionDetails 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_TOOLS_CONNECTION = 'DATABASE_TOOLS_CONNECTION'
__init__(**kwargs)

Initializes a new SchemasDatabaseToolsConnectionDetails object with values from keyword arguments. The default value of the connection_type attribute of this class is DATABASE_TOOLS_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 SchemasDatabaseToolsConnectionDetails. Allowed values for this property are: “DATABASE_TOOLS_CONNECTION”
  • schemas (list[oci.generative_ai.models.SchemaItem]) – The value to assign to the schemas property of this SchemasDatabaseToolsConnectionDetails.
connection_type

[Required] Gets the connection_type of this SchemasDetails. Specifies the type of underlying connection.

Allowed values for this property are: “DATABASE_TOOLS_CONNECTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The connection_type of this SchemasDetails.
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.

schemas

[Required] Gets the schemas of this SchemasDatabaseToolsConnectionDetails. Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: {

“schemas”: [
{ “name”: “HR” }

]

} Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.

Returns:The schemas of this SchemasDatabaseToolsConnectionDetails.
Return type:list[oci.generative_ai.models.SchemaItem]