ArtifactExportDetailsObjectStorage

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

Bases: ArtifactExportDetails

Model artifact source details for exporting artifact to service bucket

Attributes:

ARTIFACT_SOURCE_TYPE_ORACLE_OBJECT_STORAGE

A constant which can be used with the artifact_source_type property of a ArtifactExportDetails.

artifact_source_type

[Required] Gets the artifact_source_type of this ArtifactExportDetails.

namespace

Gets the namespace of this ArtifactExportDetailsObjectStorage.

source_bucket

Gets the source_bucket of this ArtifactExportDetailsObjectStorage.

source_object_name

Gets the source_object_name of this ArtifactExportDetailsObjectStorage.

source_region

Gets the source_region of this ArtifactExportDetailsObjectStorage.

Methods:

__init__(**kwargs)

Initializes a new ArtifactExportDetailsObjectStorage 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 ArtifactExportDetails. This constant has a value of “ORACLE_OBJECT_STORAGE”

__init__(**kwargs)

Initializes a new ArtifactExportDetailsObjectStorage 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 ArtifactExportDetailsObjectStorage. Allowed values for this property are: “ORACLE_OBJECT_STORAGE”

  • namespace (str) – The value to assign to the namespace property of this ArtifactExportDetailsObjectStorage.

  • source_bucket (str) – The value to assign to the source_bucket property of this ArtifactExportDetailsObjectStorage.

  • source_object_name (str) – The value to assign to the source_object_name property of this ArtifactExportDetailsObjectStorage.

  • source_region (str) – The value to assign to the source_region property of this ArtifactExportDetailsObjectStorage.

property artifact_source_type

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

Allowed values for this property are: “ORACLE_OBJECT_STORAGE”

Returns

The artifact_source_type of this ArtifactExportDetails.

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 ArtifactExportDetailsObjectStorage. The Object Storage namespace used for the request.

Returns

The namespace of this ArtifactExportDetailsObjectStorage.

Return type

str

property source_bucket

Gets the source_bucket of this ArtifactExportDetailsObjectStorage. The name of the bucket. Avoid entering confidential information.

Returns

The source_bucket of this ArtifactExportDetailsObjectStorage.

Return type

str

property source_object_name

Gets the source_object_name of this ArtifactExportDetailsObjectStorage. The name of the object resulting from the copy operation.

Returns

The source_object_name of this ArtifactExportDetailsObjectStorage.

Return type

str

property source_region

Gets the source_region of this ArtifactExportDetailsObjectStorage. Region in which OSS bucket is present

Returns

The source_region of this ArtifactExportDetailsObjectStorage.

Return type

str