ObjectStorageSnapshotExportDetails

class oci.data_labeling_service.models.ObjectStorageSnapshotExportDetails(**kwargs)

Bases: oci.data_labeling_service.models.snapshot_export_details.SnapshotExportDetails

Specifies where to output the export in Object Storage.

Attributes

EXPORT_TYPE_OBJECT_STORAGE str(object=’’) -> str
bucket [Required] Gets the bucket of this ObjectStorageSnapshotExportDetails.
export_type [Required] Gets the export_type of this SnapshotExportDetails.
namespace [Required] Gets the namespace of this ObjectStorageSnapshotExportDetails.
prefix Gets the prefix of this ObjectStorageSnapshotExportDetails.

Methods

__init__(**kwargs) Initializes a new ObjectStorageSnapshotExportDetails 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.
EXPORT_TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'
__init__(**kwargs)

Initializes a new ObjectStorageSnapshotExportDetails object with values from keyword arguments. The default value of the export_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:
  • export_type (str) – The value to assign to the export_type property of this ObjectStorageSnapshotExportDetails. Allowed values for this property are: “OBJECT_STORAGE”
  • namespace (str) – The value to assign to the namespace property of this ObjectStorageSnapshotExportDetails.
  • bucket (str) – The value to assign to the bucket property of this ObjectStorageSnapshotExportDetails.
  • prefix (str) – The value to assign to the prefix property of this ObjectStorageSnapshotExportDetails.
bucket

[Required] Gets the bucket of this ObjectStorageSnapshotExportDetails. Bucket name

Returns:The bucket of this ObjectStorageSnapshotExportDetails.
Return type:str
export_type

[Required] Gets the export_type of this SnapshotExportDetails. The target destination for the snapshot. Using OBJECT_STORAGE means the snapshot will be written to Object Storage.

Allowed values for this property are: “OBJECT_STORAGE”

Returns:The export_type of this SnapshotExportDetails.
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 ObjectStorageSnapshotExportDetails. Bucket namespace name

Returns:The namespace of this ObjectStorageSnapshotExportDetails.
Return type:str
prefix

Gets the prefix of this ObjectStorageSnapshotExportDetails. Object path prefix to put snapshot file(s)

Returns:The prefix of this ObjectStorageSnapshotExportDetails.
Return type:str