CreateModelGroupDetails

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

Bases: oci.data_science.models.create_base_model_group_details.CreateBaseModelGroupDetails

Parameters needed to create a model group. Model Group is a group of models.

Attributes

CREATE_TYPE_CLONE str(object=’’) -> str
CREATE_TYPE_CREATE str(object=’’) -> str
compartment_id [Required] Gets the compartment_id of this CreateBaseModelGroupDetails.
create_type [Required] Gets the create_type of this CreateBaseModelGroupDetails.
defined_tags Gets the defined_tags of this CreateModelGroupDetails.
description Gets the description of this CreateModelGroupDetails.
display_name Gets the display_name of this CreateModelGroupDetails.
freeform_tags Gets the freeform_tags of this CreateModelGroupDetails.
member_model_entries [Required] Gets the member_model_entries of this CreateModelGroupDetails.
model_group_details [Required] Gets the model_group_details of this CreateModelGroupDetails.
model_group_version_history_id Gets the model_group_version_history_id of this CreateModelGroupDetails.
project_id [Required] Gets the project_id of this CreateBaseModelGroupDetails.
version_label Gets the version_label of this CreateModelGroupDetails.

Methods

__init__(**kwargs) Initializes a new CreateModelGroupDetails 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.
CREATE_TYPE_CLONE = 'CLONE'
CREATE_TYPE_CREATE = 'CREATE'
__init__(**kwargs)

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

Parameters:
  • create_type (str) – The value to assign to the create_type property of this CreateModelGroupDetails. Allowed values for this property are: “CREATE”, “CLONE”
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateModelGroupDetails.
  • project_id (str) – The value to assign to the project_id property of this CreateModelGroupDetails.
  • model_group_details (oci.data_science.models.ModelGroupDetails) – The value to assign to the model_group_details property of this CreateModelGroupDetails.
  • member_model_entries (oci.data_science.models.MemberModelEntries) – The value to assign to the member_model_entries property of this CreateModelGroupDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateModelGroupDetails.
  • description (str) – The value to assign to the description property of this CreateModelGroupDetails.
  • model_group_version_history_id (str) – The value to assign to the model_group_version_history_id property of this CreateModelGroupDetails.
  • version_label (str) – The value to assign to the version_label property of this CreateModelGroupDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateModelGroupDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateModelGroupDetails.
compartment_id

[Required] Gets the compartment_id of this CreateBaseModelGroupDetails. The OCID of the compartment to create the modelGroup in.

Returns:The compartment_id of this CreateBaseModelGroupDetails.
Return type:str
create_type

[Required] Gets the create_type of this CreateBaseModelGroupDetails. The type of the model group create operation.

Allowed values for this property are: “CREATE”, “CLONE”

Returns:The create_type of this CreateBaseModelGroupDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateModelGroupDetails. 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 CreateModelGroupDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateModelGroupDetails. A short description of the modelGroup.

Returns:The description of this CreateModelGroupDetails.
Return type:str
display_name

Gets the display_name of this CreateModelGroupDetails. A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My ModelGroup

Returns:The display_name of this CreateModelGroupDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateModelGroupDetails. 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 CreateModelGroupDetails.
Return type:dict(str, 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.

member_model_entries

[Required] Gets the member_model_entries of this CreateModelGroupDetails.

Returns:The member_model_entries of this CreateModelGroupDetails.
Return type:oci.data_science.models.MemberModelEntries
model_group_details

[Required] Gets the model_group_details of this CreateModelGroupDetails.

Returns:The model_group_details of this CreateModelGroupDetails.
Return type:oci.data_science.models.ModelGroupDetails
model_group_version_history_id

Gets the model_group_version_history_id of this CreateModelGroupDetails. The OCID of the model group version history to which the modelGroup is associated.

Returns:The model_group_version_history_id of this CreateModelGroupDetails.
Return type:str
project_id

[Required] Gets the project_id of this CreateBaseModelGroupDetails. The OCID of the project to associate with the modelGroup.

Returns:The project_id of this CreateBaseModelGroupDetails.
Return type:str
version_label

Gets the version_label of this CreateModelGroupDetails. An additional description of the lifecycle state of the model group.

Returns:The version_label of this CreateModelGroupDetails.
Return type:str