CreateModelGroupDetails¶
- class oci.data_science.models.CreateModelGroupDetails(**kwargs)¶
Bases:
CreateBaseModelGroupDetailsParameters needed to create a model group. Model Group is a group of models.
Attributes:
A constant which can be used with the create_type property of a CreateBaseModelGroupDetails.
A constant which can be used with the create_type property of a CreateBaseModelGroupDetails.
[Required] Gets the compartment_id of this CreateBaseModelGroupDetails.
[Required] Gets the create_type of this CreateBaseModelGroupDetails.
Gets the defined_tags of this CreateModelGroupDetails.
Gets the description of this CreateModelGroupDetails.
Gets the display_name of this CreateModelGroupDetails.
Gets the freeform_tags of this CreateModelGroupDetails.
[Required] Gets the member_model_entries of this CreateModelGroupDetails.
[Required] Gets the model_group_details of this CreateModelGroupDetails.
Gets the model_group_version_history_id of this CreateModelGroupDetails.
[Required] Gets the project_id of this CreateBaseModelGroupDetails.
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'¶
A constant which can be used with the create_type property of a CreateBaseModelGroupDetails. This constant has a value of “CLONE”
- CREATE_TYPE_CREATE = 'CREATE'¶
A constant which can be used with the create_type property of a CreateBaseModelGroupDetails. This constant has a value of “CREATE”
- __init__(**kwargs)¶
Initializes a new CreateModelGroupDetails object with values from keyword arguments. The default value of the
create_typeattribute of this class isCREATEand 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.
- property 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
- property 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
- property 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))
- property description¶
Gets the description of this CreateModelGroupDetails. A short description of the modelGroup.
- Returns
The description of this CreateModelGroupDetails.
- Return type
str
- property 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
- property 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.
- property member_model_entries¶
[Required] Gets the member_model_entries of this CreateModelGroupDetails.
- Returns
The member_model_entries of this CreateModelGroupDetails.
- Return type
- property model_group_details¶
[Required] Gets the model_group_details of this CreateModelGroupDetails.
- Returns
The model_group_details of this CreateModelGroupDetails.
- Return type
- property 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
- property 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
- property 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