OciObjectStorageConfiguration¶
- class oci.generative_ai.models.OciObjectStorageConfiguration(**kwargs)¶
Bases:
ConnectorConfigurationThe OCI Object Storage namespace and bucket details of the datasource
Attributes:
A constant which can be used with the type property of a ConnectorConfiguration.
[Required] Gets the storage_config_list of this OciObjectStorageConfiguration.
[Required] Gets the type of this ConnectorConfiguration.
Methods:
__init__(**kwargs)Initializes a new OciObjectStorageConfiguration 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.
- TYPE_OBJECT_STORAGE_FILES = 'OBJECT_STORAGE_FILES'¶
A constant which can be used with the type property of a ConnectorConfiguration. This constant has a value of “OBJECT_STORAGE_FILES”
- __init__(**kwargs)¶
Initializes a new OciObjectStorageConfiguration object with values from keyword arguments. The default value of the
typeattribute of this class isOBJECT_STORAGE_FILESand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
type (str) – The value to assign to the type property of this OciObjectStorageConfiguration. Allowed values for this property are: “OBJECT_STORAGE_FILES”
storage_config_list (list[oci.generative_ai.models.ObjectStorageConfig]) – The value to assign to the storage_config_list property of this OciObjectStorageConfiguration.
- 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 storage_config_list¶
[Required] Gets the storage_config_list of this OciObjectStorageConfiguration. List of Object Storage Configurations for datasource.
- Returns
The storage_config_list of this OciObjectStorageConfiguration.
- Return type
- property type¶
[Required] Gets the type of this ConnectorConfiguration. The type of the connector
Allowed values for this property are: “OBJECT_STORAGE_FILES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this ConnectorConfiguration.
- Return type
str