ArtifactImportDetailsObjectStorage

class oci.data_science.models.ArtifactImportDetailsObjectStorage(**kwargs)

Bases: oci.data_science.models.artifact_import_details.ArtifactImportDetails

Artifact destination details for importing to destination bucket

Attributes

ARTIFACT_SOURCE_TYPE_ORACLE_OBJECT_STORAGE str(object=’’) -> str
artifact_source_type [Required] Gets the artifact_source_type of this ArtifactImportDetails.
destination_bucket Gets the destination_bucket of this ArtifactImportDetailsObjectStorage.
destination_object_name Gets the destination_object_name of this ArtifactImportDetailsObjectStorage.
destination_region Gets the destination_region of this ArtifactImportDetailsObjectStorage.
namespace Gets the namespace of this ArtifactImportDetailsObjectStorage.

Methods

__init__(**kwargs) Initializes a new ArtifactImportDetailsObjectStorage 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.
ARTIFACT_SOURCE_TYPE_ORACLE_OBJECT_STORAGE = 'ORACLE_OBJECT_STORAGE'
__init__(**kwargs)

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

Parameters:
  • artifact_source_type (str) – The value to assign to the artifact_source_type property of this ArtifactImportDetailsObjectStorage. Allowed values for this property are: “ORACLE_OBJECT_STORAGE”
  • namespace (str) – The value to assign to the namespace property of this ArtifactImportDetailsObjectStorage.
  • destination_bucket (str) – The value to assign to the destination_bucket property of this ArtifactImportDetailsObjectStorage.
  • destination_object_name (str) – The value to assign to the destination_object_name property of this ArtifactImportDetailsObjectStorage.
  • destination_region (str) – The value to assign to the destination_region property of this ArtifactImportDetailsObjectStorage.
artifact_source_type

[Required] Gets the artifact_source_type of this ArtifactImportDetails. Source type where actually artifact is being stored

Allowed values for this property are: “ORACLE_OBJECT_STORAGE”

Returns:The artifact_source_type of this ArtifactImportDetails.
Return type:str
destination_bucket

Gets the destination_bucket of this ArtifactImportDetailsObjectStorage. The name of the bucket. Avoid entering confidential information.

Returns:The destination_bucket of this ArtifactImportDetailsObjectStorage.
Return type:str
destination_object_name

Gets the destination_object_name of this ArtifactImportDetailsObjectStorage. The name of the object resulting from the copy operation.

Returns:The destination_object_name of this ArtifactImportDetailsObjectStorage.
Return type:str
destination_region

Gets the destination_region of this ArtifactImportDetailsObjectStorage. Region in which OSS bucket is present

Returns:The destination_region of this ArtifactImportDetailsObjectStorage.
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

Gets the namespace of this ArtifactImportDetailsObjectStorage. The Object Storage namespace used for the request.

Returns:The namespace of this ArtifactImportDetailsObjectStorage.
Return type:str