ObjectStorageDataset¶
-
class
oci.generative_ai.models.
ObjectStorageDataset
(**kwargs)¶ Bases:
oci.generative_ai.models.dataset.Dataset
The dataset is stored in an OCI Object Storage bucket.
Attributes
DATASET_TYPE_OBJECT_STORAGE
str(object=’’) -> str bucket_name
[Required] Gets the bucket_name of this ObjectStorageDataset. dataset_type
[Required] Gets the dataset_type of this Dataset. namespace_name
[Required] Gets the namespace_name of this ObjectStorageDataset. object_name
[Required] Gets the object_name of this ObjectStorageDataset. Methods
__init__
(**kwargs)Initializes a new ObjectStorageDataset 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. -
DATASET_TYPE_OBJECT_STORAGE
= 'OBJECT_STORAGE'¶
-
__init__
(**kwargs)¶ Initializes a new ObjectStorageDataset object with values from keyword arguments. The default value of the
dataset_type
attribute of this class isOBJECT_STORAGE
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - dataset_type (str) – The value to assign to the dataset_type property of this ObjectStorageDataset. Allowed values for this property are: “OBJECT_STORAGE”
- namespace_name (str) – The value to assign to the namespace_name property of this ObjectStorageDataset.
- bucket_name (str) – The value to assign to the bucket_name property of this ObjectStorageDataset.
- object_name (str) – The value to assign to the object_name property of this ObjectStorageDataset.
-
bucket_name
¶ [Required] Gets the bucket_name of this ObjectStorageDataset. The Object Storage bucket name.
Returns: The bucket_name of this ObjectStorageDataset. Return type: str
-
dataset_type
¶ [Required] Gets the dataset_type of this Dataset. The type of the data asset.
Allowed values for this property are: “OBJECT_STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The dataset_type of this Dataset. 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.
-
namespace_name
¶ [Required] Gets the namespace_name of this ObjectStorageDataset. The Object Storage namespace.
Returns: The namespace_name of this ObjectStorageDataset. Return type: str
-
object_name
¶ [Required] Gets the object_name of this ObjectStorageDataset. The Object Storage object name.
Returns: The object_name of this ObjectStorageDataset. Return type: str
-