CreateSchemasDatabaseToolsConnectionDetails¶
- class oci.generative_ai.models.CreateSchemasDatabaseToolsConnectionDetails(**kwargs)¶
Bases:
CreateSchemasDetailsArray of database schemas or database objects included in the enrichment pipeline for data sources connected via an OCI Database Tools connection.
Attributes:
A constant which can be used with the connection_type property of a CreateSchemasDetails.
[Required] Gets the connection_type of this CreateSchemasDetails.
[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.
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'¶
A constant which can be used with the connection_type property of a CreateSchemasDetails. This constant has a value of “DATABASE_TOOLS_CONNECTION”
- __init__(**kwargs)¶
Initializes a new CreateSchemasDatabaseToolsConnectionDetails object with values from keyword arguments. The default value of the
connection_typeattribute of this class isDATABASE_TOOLS_CONNECTIONand 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.
- property 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.
- property 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