CreateDataSourceDatabaseToolsConnectionDetails

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

Bases: oci.generative_ai.models.create_data_source_details.CreateDataSourceDetails

Defines the OCI Database Tools Connection data source that the semantic model connects to.

Attributes

CONNECTION_TYPE_DATABASE_TOOLS_CONNECTION str(object=’’) -> str
connection_type [Required] Gets the connection_type of this CreateDataSourceDetails.
enrichment_connection_id [Required] Gets the enrichment_connection_id of this CreateDataSourceDatabaseToolsConnectionDetails.
querying_connection_id [Required] Gets the querying_connection_id of this CreateDataSourceDatabaseToolsConnectionDetails.

Methods

__init__(**kwargs) Initializes a new CreateDataSourceDatabaseToolsConnectionDetails 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 CreateDataSourceDatabaseToolsConnectionDetails 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 CreateDataSourceDatabaseToolsConnectionDetails. Allowed values for this property are: “DATABASE_TOOLS_CONNECTION”
  • querying_connection_id (str) – The value to assign to the querying_connection_id property of this CreateDataSourceDatabaseToolsConnectionDetails.
  • enrichment_connection_id (str) – The value to assign to the enrichment_connection_id property of this CreateDataSourceDatabaseToolsConnectionDetails.
connection_type

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

Allowed values for this property are: “DATABASE_TOOLS_CONNECTION”

Returns:The connection_type of this CreateDataSourceDetails.
Return type:str
enrichment_connection_id

[Required] Gets the enrichment_connection_id of this CreateDataSourceDatabaseToolsConnectionDetails. The OCID of the OCI Database Tools Connection for enrichment.

Returns:The enrichment_connection_id of this CreateDataSourceDatabaseToolsConnectionDetails.
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.

querying_connection_id

[Required] Gets the querying_connection_id of this CreateDataSourceDatabaseToolsConnectionDetails. The OCID of the OCI Database Tools Connection for querying.

Returns:The querying_connection_id of this CreateDataSourceDatabaseToolsConnectionDetails.
Return type:str