OSSModelArtifactReferenceDetails¶
- class oci.data_science.models.OSSModelArtifactReferenceDetails(**kwargs)¶
Bases:
ModelArtifactReferenceDetailsReference to the OSS where model artifact is stored
Attributes:
A constant which can be used with the model_artifact_reference_type property of a ModelArtifactReferenceDetails.
[Required] Gets the bucket_name of this OSSModelArtifactReferenceDetails.
[Required] Gets the model_artifact_reference_type of this ModelArtifactReferenceDetails.
[Required] Gets the namespace of this OSSModelArtifactReferenceDetails.
Gets the prefix of this OSSModelArtifactReferenceDetails.
Methods:
__init__(**kwargs)Initializes a new OSSModelArtifactReferenceDetails 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.
- MODEL_ARTIFACT_REFERENCE_TYPE_OSS = 'OSS'¶
A constant which can be used with the model_artifact_reference_type property of a ModelArtifactReferenceDetails. This constant has a value of “OSS”
- __init__(**kwargs)¶
Initializes a new OSSModelArtifactReferenceDetails object with values from keyword arguments. The default value of the
model_artifact_reference_typeattribute of this class isOSSand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
model_artifact_reference_type (str) – The value to assign to the model_artifact_reference_type property of this OSSModelArtifactReferenceDetails. Allowed values for this property are: “OSS”
namespace (str) – The value to assign to the namespace property of this OSSModelArtifactReferenceDetails.
bucket_name (str) – The value to assign to the bucket_name property of this OSSModelArtifactReferenceDetails.
prefix (str) – The value to assign to the prefix property of this OSSModelArtifactReferenceDetails.
- property bucket_name¶
[Required] Gets the bucket_name of this OSSModelArtifactReferenceDetails. The bucket name of the model artifact reference in OSS.
- Returns
The bucket_name of this OSSModelArtifactReferenceDetails.
- 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 model_artifact_reference_type¶
[Required] Gets the model_artifact_reference_type of this ModelArtifactReferenceDetails. The type of the model artifact reference.
Allowed values for this property are: “OSS”
- Returns
The model_artifact_reference_type of this ModelArtifactReferenceDetails.
- Return type
str
- property namespace¶
[Required] Gets the namespace of this OSSModelArtifactReferenceDetails. The namespace of the model artifact reference in OSS.
- Returns
The namespace of this OSSModelArtifactReferenceDetails.
- Return type
str
- property prefix¶
Gets the prefix of this OSSModelArtifactReferenceDetails. The prefix of the model artifact reference in OSS.
- Returns
The prefix of this OSSModelArtifactReferenceDetails.
- Return type
str