CreateSchemasDatabaseToolsConnectionDetails

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

Bases: oci.generative_ai.models.create_schemas_details.CreateSchemasDetails

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 CreateSchemasDetails.
schemas [Required] Gets the schemas of this CreateSchemasDatabaseToolsConnectionDetails.

Methods

__init__(**kwargs) Initializes a new CreateSchemasDatabaseToolsConnectionDetails 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 CreateSchemasDatabaseToolsConnectionDetails 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 CreateSchemasDatabaseToolsConnectionDetails. 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 CreateSchemasDatabaseToolsConnectionDetails.
connection_type

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

Allowed values for this property are: “DATABASE_TOOLS_CONNECTION”

Returns:The connection_type of this CreateSchemasDetails.
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 CreateSchemasDatabaseToolsConnectionDetails. 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 CreateSchemasDatabaseToolsConnectionDetails.
Return type:list[oci.generative_ai.models.SchemaItem]