CreateProjectDetails¶
-
class
oci.ai_language.models.
CreateProjectDetails
(**kwargs)¶ Bases:
object
Parameters needed to create a new project. Projects enable users to organise their language work.
Methods
__init__
(**kwargs)Initializes a new CreateProjectDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateProjectDetails. defined_tags
Gets the defined_tags of this CreateProjectDetails. description
Gets the description of this CreateProjectDetails. display_name
Gets the display_name of this CreateProjectDetails. freeform_tags
Gets the freeform_tags of this CreateProjectDetails. -
__init__
(**kwargs)¶ Initializes a new CreateProjectDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this CreateProjectDetails.
- description (str) – The value to assign to the description property of this CreateProjectDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateProjectDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateProjectDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateProjectDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateProjectDetails. The OCID for the project’s compartment.
Returns: The compartment_id of this CreateProjectDetails. Return type: str
Gets the defined_tags of this CreateProjectDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateProjectDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateProjectDetails. A short description of the project.
Returns: The description of this CreateProjectDetails. Return type: str
-
display_name
¶ Gets the display_name of this CreateProjectDetails. A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
Returns: The display_name of this CreateProjectDetails. Return type: str
Gets the freeform_tags of this CreateProjectDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateProjectDetails. Return type: dict(str, str)
-