SchemasDatabaseToolsConnectionDetails¶
- class oci.generative_ai.models.SchemasDatabaseToolsConnectionDetails(**kwargs)¶
Bases:
SchemasDetailsArray 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 SchemasDetails.
[Required] Gets the connection_type of this SchemasDetails.
[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.
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'¶
A constant which can be used with the connection_type property of a SchemasDetails. This constant has a value of “DATABASE_TOOLS_CONNECTION”
- __init__(**kwargs)¶
Initializes a new SchemasDatabaseToolsConnectionDetails 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 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.
- property 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.
- property 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