CreateRecordDetails¶
-
class
oci.data_labeling_service_dataplane.models.
CreateRecordDetails
(**kwargs)¶ Bases:
object
A record represents an entry in a dataset that needs labeling.
Methods
__init__
(**kwargs)Initializes a new CreateRecordDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateRecordDetails. dataset_id
[Required] Gets the dataset_id of this CreateRecordDetails. defined_tags
Gets the defined_tags of this CreateRecordDetails. freeform_tags
Gets the freeform_tags of this CreateRecordDetails. name
[Required] Gets the name of this CreateRecordDetails. record_metadata
Gets the record_metadata of this CreateRecordDetails. source_details
[Required] Gets the source_details of this CreateRecordDetails. -
__init__
(**kwargs)¶ Initializes a new CreateRecordDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this CreateRecordDetails.
- dataset_id (str) – The value to assign to the dataset_id property of this CreateRecordDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateRecordDetails.
- source_details (oci.data_labeling_service_dataplane.models.CreateSourceDetails) – The value to assign to the source_details property of this CreateRecordDetails.
- record_metadata (oci.data_labeling_service_dataplane.models.RecordMetadata) – The value to assign to the record_metadata property of this CreateRecordDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateRecordDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateRecordDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateRecordDetails. The OCID of the compartment for the record. This is tied to the dataset. It is not changeable on the record itself.
Returns: The compartment_id of this CreateRecordDetails. Return type: str
-
dataset_id
¶ [Required] Gets the dataset_id of this CreateRecordDetails. The OCID of the dataset to associate the record with.
Returns: The dataset_id of this CreateRecordDetails. Return type: str
Gets the defined_tags of this CreateRecordDetails. The defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateRecordDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this CreateRecordDetails. A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateRecordDetails. Return type: dict(str, str)
-
name
¶ [Required] Gets the name of this CreateRecordDetails. The name is automatically assigned by the service. It is unique and immutable.
Returns: The name of this CreateRecordDetails. Return type: str
-
record_metadata
¶ Gets the record_metadata of this CreateRecordDetails.
Returns: The record_metadata of this CreateRecordDetails. Return type: oci.data_labeling_service_dataplane.models.RecordMetadata
-
source_details
¶ [Required] Gets the source_details of this CreateRecordDetails.
Returns: The source_details of this CreateRecordDetails. Return type: oci.data_labeling_service_dataplane.models.CreateSourceDetails
-