ArtifactImportDetailsObjectStorage¶
- class oci.data_science.models.ArtifactImportDetailsObjectStorage(**kwargs)¶
Bases:
ArtifactImportDetailsArtifact destination details for importing to destination bucket
Attributes:
A constant which can be used with the artifact_source_type property of a ArtifactImportDetails.
[Required] Gets the artifact_source_type of this ArtifactImportDetails.
Gets the destination_bucket of this ArtifactImportDetailsObjectStorage.
Gets the destination_object_name of this ArtifactImportDetailsObjectStorage.
Gets the destination_region of this ArtifactImportDetailsObjectStorage.
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'¶
A constant which can be used with the artifact_source_type property of a ArtifactImportDetails. This constant has a value of “ORACLE_OBJECT_STORAGE”
- __init__(**kwargs)¶
Initializes a new ArtifactImportDetailsObjectStorage object with values from keyword arguments. The default value of the
artifact_source_typeattribute of this class isORACLE_OBJECT_STORAGEand 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.
- property 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
- property 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
- property 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
- property 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.
- property namespace¶
Gets the namespace of this ArtifactImportDetailsObjectStorage. The Object Storage namespace used for the request.
- Returns
The namespace of this ArtifactImportDetailsObjectStorage.
- Return type
str