ModelVersionSet¶
-
class
oci.data_science.models.ModelVersionSet(**kwargs)¶ Bases:
objectA model version set to associate different versions of machine learning models.
Attributes
CATEGORY_SERVICEA constant which can be used with the category property of a ModelVersionSet. CATEGORY_USERA constant which can be used with the category property of a ModelVersionSet. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a ModelVersionSet. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a ModelVersionSet. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a ModelVersionSet. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a ModelVersionSet. category[Required] Gets the category of this ModelVersionSet. compartment_id[Required] Gets the compartment_id of this ModelVersionSet. created_by[Required] Gets the created_by of this ModelVersionSet. defined_tagsGets the defined_tags of this ModelVersionSet. description[Required] Gets the description of this ModelVersionSet. freeform_tagsGets the freeform_tags of this ModelVersionSet. id[Required] Gets the id of this ModelVersionSet. lifecycle_state[Required] Gets the lifecycle_state of this ModelVersionSet. name[Required] Gets the name of this ModelVersionSet. project_id[Required] Gets the project_id of this ModelVersionSet. system_tagsGets the system_tags of this ModelVersionSet. time_created[Required] Gets the time_created of this ModelVersionSet. time_updated[Required] Gets the time_updated of this ModelVersionSet. Methods
__init__(**kwargs)Initializes a new ModelVersionSet object with values from keyword arguments. -
CATEGORY_SERVICE= 'SERVICE'¶ A constant which can be used with the category property of a ModelVersionSet. This constant has a value of “SERVICE”
-
CATEGORY_USER= 'USER'¶ A constant which can be used with the category property of a ModelVersionSet. This constant has a value of “USER”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a ModelVersionSet. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ModelVersionSet. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a ModelVersionSet. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ModelVersionSet. This constant has a value of “FAILED”
-
__init__(**kwargs)¶ Initializes a new ModelVersionSet object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this ModelVersionSet.
- compartment_id (str) – The value to assign to the compartment_id property of this ModelVersionSet.
- project_id (str) – The value to assign to the project_id property of this ModelVersionSet.
- name (str) – The value to assign to the name property of this ModelVersionSet.
- description (str) – The value to assign to the description property of this ModelVersionSet.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ModelVersionSet. Allowed values for this property are: “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this ModelVersionSet.
- time_updated (datetime) – The value to assign to the time_updated property of this ModelVersionSet.
- created_by (str) – The value to assign to the created_by property of this ModelVersionSet.
- category (str) – The value to assign to the category property of this ModelVersionSet. Allowed values for this property are: “USER”, “SERVICE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ModelVersionSet.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ModelVersionSet.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ModelVersionSet.
-
category¶ [Required] Gets the category of this ModelVersionSet. The category of the model version set.
Allowed values for this property are: “USER”, “SERVICE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The category of this ModelVersionSet. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this ModelVersionSet. The OCID of the model version set compartment.
Returns: The compartment_id of this ModelVersionSet. Return type: str
-
created_by¶ [Required] Gets the created_by of this ModelVersionSet. The OCID of the user who created the model version set.
Returns: The created_by of this ModelVersionSet. Return type: str
Gets the defined_tags of this ModelVersionSet. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this ModelVersionSet. Return type: dict(str, dict(str, object))
-
description¶ [Required] Gets the description of this ModelVersionSet. A short description of the model version set.
Returns: The description of this ModelVersionSet. Return type: str
Gets the freeform_tags of this ModelVersionSet. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}
Returns: The freeform_tags of this ModelVersionSet. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this ModelVersionSet. The OCID of the model version set.
Returns: The id of this ModelVersionSet. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this ModelVersionSet. The state of the model version set.
Allowed values for this property are: “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ModelVersionSet. Return type: str
-
name¶ [Required] Gets the name of this ModelVersionSet. A user-friendly name for the resource.
Returns: The name of this ModelVersionSet. Return type: str
-
project_id¶ [Required] Gets the project_id of this ModelVersionSet. The OCID of the project associated with the model version set.
Returns: The project_id of this ModelVersionSet. Return type: str
Gets the system_tags of this ModelVersionSet. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this ModelVersionSet. Return type: dict(str, dict(str, object))
-