ObjectStoragePrefixLocation¶
-
class
oci.ai_language.models.
ObjectStoragePrefixLocation
(**kwargs)¶ Bases:
oci.ai_language.models.input_location.InputLocation
Properties specific to object storage prefix location
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 ObjectStoragePrefixLocation. location_type
[Required] Gets the location_type of this InputLocation. namespace_name
[Required] Gets the namespace_name of this ObjectStoragePrefixLocation. prefix
Gets the prefix of this ObjectStoragePrefixLocation. Methods
__init__
(**kwargs)Initializes a new ObjectStoragePrefixLocation 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 ObjectStoragePrefixLocation object with values from keyword arguments. The default value of the
location_type
attribute of this class isOBJECT_STORAGE_PREFIX
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 ObjectStoragePrefixLocation. 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 ObjectStoragePrefixLocation.
- bucket_name (str) – The value to assign to the bucket_name property of this ObjectStoragePrefixLocation.
- prefix (str) – The value to assign to the prefix property of this ObjectStoragePrefixLocation.
-
bucket_name
¶ [Required] Gets the bucket_name of this ObjectStoragePrefixLocation. Object Storage bucket name.
Returns: The bucket_name of this ObjectStoragePrefixLocation. 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 ObjectStoragePrefixLocation. Object Storage namespace name.
Returns: The namespace_name of this ObjectStoragePrefixLocation. Return type: str
-
prefix
¶ Gets the prefix of this ObjectStoragePrefixLocation. The prefix (directory) in an Object Storage bucket.
Returns: The prefix of this ObjectStoragePrefixLocation. Return type: str
-