ObjectStorageDataset

class oci.ai_language.models.ObjectStorageDataset(**kwargs)

Bases: DatasetDetails

Different type of location types supported for object storage

Attributes:

DATASET_TYPE_DATA_SCIENCE_LABELING

A constant which can be used with the dataset_type property of a DatasetDetails.

DATASET_TYPE_OBJECT_STORAGE

A constant which can be used with the dataset_type property of a DatasetDetails.

dataset_type

[Required] Gets the dataset_type of this DatasetDetails.

location_details

[Required] Gets the location_details 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_DATA_SCIENCE_LABELING = 'DATA_SCIENCE_LABELING'

A constant which can be used with the dataset_type property of a DatasetDetails. This constant has a value of “DATA_SCIENCE_LABELING”

DATASET_TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'

A constant which can be used with the dataset_type property of a DatasetDetails. This constant has a value of “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 is OBJECT_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”, “DATA_SCIENCE_LABELING”

  • location_details (oci.ai_language.models.LocationDetails) – The value to assign to the location_details property of this ObjectStorageDataset.

property dataset_type

[Required] Gets the dataset_type of this DatasetDetails. Possible data sets

Allowed values for this property are: “OBJECT_STORAGE”, “DATA_SCIENCE_LABELING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The dataset_type of this DatasetDetails.

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 location_details

[Required] Gets the location_details of this ObjectStorageDataset.

Returns

The location_details of this ObjectStorageDataset.

Return type

oci.ai_language.models.LocationDetails