ObjectStorageFileNameLocation¶
-
class
oci.ai_language.models.
ObjectStorageFileNameLocation
(**kwargs)¶ Bases:
oci.ai_language.models.input_location.InputLocation
list of text files need to be used for prediction
Attributes
LOCATION_TYPE_OBJECT_STORAGE_FILE_LIST
str(object=’’) -> str LOCATION_TYPE_OBJECT_STORAGE_PREFIX
str(object=’’) -> str bucket_name
[Required] Gets the bucket_name of this ObjectStorageFileNameLocation. location_type
[Required] Gets the location_type of this InputLocation. namespace_name
[Required] Gets the namespace_name of this ObjectStorageFileNameLocation. object_names
[Required] Gets the object_names of this ObjectStorageFileNameLocation. Methods
__init__
(**kwargs)Initializes a new ObjectStorageFileNameLocation 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_STORAGE_FILE_LIST
= 'OBJECT_STORAGE_FILE_LIST'¶
-
LOCATION_TYPE_OBJECT_STORAGE_PREFIX
= 'OBJECT_STORAGE_PREFIX'¶
-
__init__
(**kwargs)¶ Initializes a new ObjectStorageFileNameLocation object with values from keyword arguments. The default value of the
location_type
attribute of this class isOBJECT_STORAGE_FILE_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 ObjectStorageFileNameLocation. Allowed values for this property are: “OBJECT_STORAGE_PREFIX”, “OBJECT_STORAGE_FILE_LIST”
- namespace_name (str) – The value to assign to the namespace_name property of this ObjectStorageFileNameLocation.
- bucket_name (str) – The value to assign to the bucket_name property of this ObjectStorageFileNameLocation.
- object_names (list[str]) – The value to assign to the object_names property of this ObjectStorageFileNameLocation.
-
bucket_name
¶ [Required] Gets the bucket_name of this ObjectStorageFileNameLocation. Object Storage bucket name.
Returns: The bucket_name of this ObjectStorageFileNameLocation. 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 InputLocation. locationType
Allowed values for this property are: “OBJECT_STORAGE_PREFIX”, “OBJECT_STORAGE_FILE_LIST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The location_type of this InputLocation. Return type: str
-
namespace_name
¶ [Required] Gets the namespace_name of this ObjectStorageFileNameLocation. Object Storage namespace name.
Returns: The namespace_name of this ObjectStorageFileNameLocation. Return type: str
-
object_names
¶ [Required] Gets the object_names of this ObjectStorageFileNameLocation. List of objects to be processed
Returns: The object_names of this ObjectStorageFileNameLocation. Return type: list[str]
-