ObjectStorageImportMetadataPath¶
-
class
oci.data_labeling_service.models.
ObjectStorageImportMetadataPath
(**kwargs)¶ Bases:
oci.data_labeling_service.models.import_metadata_path.ImportMetadataPath
Object Storage details for import metadata path.
Attributes
SOURCE_TYPE_OBJECT_STORAGE
str(object=’’) -> str bucket
[Required] Gets the bucket of this ObjectStorageImportMetadataPath. namespace
[Required] Gets the namespace of this ObjectStorageImportMetadataPath. path
[Required] Gets the path of this ObjectStorageImportMetadataPath. source_type
[Required] Gets the source_type of this ImportMetadataPath. Methods
__init__
(**kwargs)Initializes a new ObjectStorageImportMetadataPath 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. -
SOURCE_TYPE_OBJECT_STORAGE
= 'OBJECT_STORAGE'¶
-
__init__
(**kwargs)¶ Initializes a new ObjectStorageImportMetadataPath object with values from keyword arguments. The default value of the
source_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: - source_type (str) – The value to assign to the source_type property of this ObjectStorageImportMetadataPath. Allowed values for this property are: “OBJECT_STORAGE”
- namespace (str) – The value to assign to the namespace property of this ObjectStorageImportMetadataPath.
- bucket (str) – The value to assign to the bucket property of this ObjectStorageImportMetadataPath.
- path (str) – The value to assign to the path property of this ObjectStorageImportMetadataPath.
-
bucket
¶ [Required] Gets the bucket of this ObjectStorageImportMetadataPath. Bucket name
Returns: The bucket of this ObjectStorageImportMetadataPath. 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
¶ [Required] Gets the namespace of this ObjectStorageImportMetadataPath. Bucket namespace name
Returns: The namespace of this ObjectStorageImportMetadataPath. Return type: str
-
path
¶ [Required] Gets the path of this ObjectStorageImportMetadataPath. Path for the metadata file.
Returns: The path of this ObjectStorageImportMetadataPath. Return type: str
-
source_type
¶ [Required] Gets the source_type of this ImportMetadataPath. The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
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 source_type of this ImportMetadataPath. Return type: str
-