ObjectListDataset

class oci.ai_speech.models.ObjectListDataset(**kwargs)

Bases: oci.ai_speech.models.location_details.LocationDetails

Data source details for object storage

Attributes

LOCATION_TYPE_OBJECT_LIST str(object=’’) -> str
bucket_name [Required] Gets the bucket_name of this ObjectListDataset.
location_type [Required] Gets the location_type of this LocationDetails.
namespace_name [Required] Gets the namespace_name of this ObjectListDataset.
object_names [Required] Gets the object_names of this ObjectListDataset.

Methods

__init__(**kwargs) Initializes a new ObjectListDataset 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.
LOCATION_TYPE_OBJECT_LIST = 'OBJECT_LIST'
__init__(**kwargs)

Initializes a new ObjectListDataset object with values from keyword arguments. The default value of the location_type attribute of this class is OBJECT_LIST and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • location_type (str) – The value to assign to the location_type property of this ObjectListDataset. Allowed values for this property are: “OBJECT_LIST”
  • bucket_name (str) – The value to assign to the bucket_name property of this ObjectListDataset.
  • namespace_name (str) – The value to assign to the namespace_name property of this ObjectListDataset.
  • object_names (list[str]) – The value to assign to the object_names property of this ObjectListDataset.
bucket_name

[Required] Gets the bucket_name of this ObjectListDataset. Object storage bucket name

Returns:The bucket_name of this ObjectListDataset.
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.

location_type

[Required] Gets the location_type of this LocationDetails. Possible object storage location types

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

Returns:The location_type of this LocationDetails.
Return type:str
namespace_name

[Required] Gets the namespace_name of this ObjectListDataset. Object storage namespace

Returns:The namespace_name of this ObjectListDataset.
Return type:str
object_names

[Required] Gets the object_names of this ObjectListDataset. Array of files (minimum 1, maximum 1024) which need to be processed in the bucket

Returns:The object_names of this ObjectListDataset.
Return type:list[str]