ImportRequestSummary¶
-
class
oci.data_integration.models.ImportRequestSummary(**kwargs)¶ Bases:
objectImport metadata object response summary.
Attributes
STATUS_FAILEDA constant which can be used with the status property of a ImportRequestSummary. STATUS_IN_PROGRESSA constant which can be used with the status property of a ImportRequestSummary. STATUS_QUEUEDA constant which can be used with the status property of a ImportRequestSummary. STATUS_SUCCESSFULA constant which can be used with the status property of a ImportRequestSummary. STATUS_TERMINATEDA constant which can be used with the status property of a ImportRequestSummary. STATUS_TERMINATINGA constant which can be used with the status property of a ImportRequestSummary. are_data_asset_references_includedGets the are_data_asset_references_included of this ImportRequestSummary. bucket_nameGets the bucket_name of this ImportRequestSummary. created_byGets the created_by of this ImportRequestSummary. error_messagesGets the error_messages of this ImportRequestSummary. file_nameGets the file_name of this ImportRequestSummary. import_conflict_resolutionGets the import_conflict_resolution of this ImportRequestSummary. imported_objectsGets the imported_objects of this ImportRequestSummary. keyGets the key of this ImportRequestSummary. nameGets the name of this ImportRequestSummary. object_key_for_importGets the object_key_for_import of this ImportRequestSummary. object_storage_regionGets the object_storage_region of this ImportRequestSummary. object_storage_tenancy_idGets the object_storage_tenancy_id of this ImportRequestSummary. statusGets the status of this ImportRequestSummary. time_ended_in_millisGets the time_ended_in_millis of this ImportRequestSummary. time_started_in_millisGets the time_started_in_millis of this ImportRequestSummary. total_imported_object_countGets the total_imported_object_count of this ImportRequestSummary. Methods
__init__(**kwargs)Initializes a new ImportRequestSummary object with values from keyword arguments. -
STATUS_FAILED= 'FAILED'¶ A constant which can be used with the status property of a ImportRequestSummary. This constant has a value of “FAILED”
-
STATUS_IN_PROGRESS= 'IN_PROGRESS'¶ A constant which can be used with the status property of a ImportRequestSummary. This constant has a value of “IN_PROGRESS”
-
STATUS_QUEUED= 'QUEUED'¶ A constant which can be used with the status property of a ImportRequestSummary. This constant has a value of “QUEUED”
-
STATUS_SUCCESSFUL= 'SUCCESSFUL'¶ A constant which can be used with the status property of a ImportRequestSummary. This constant has a value of “SUCCESSFUL”
-
STATUS_TERMINATED= 'TERMINATED'¶ A constant which can be used with the status property of a ImportRequestSummary. This constant has a value of “TERMINATED”
-
STATUS_TERMINATING= 'TERMINATING'¶ A constant which can be used with the status property of a ImportRequestSummary. This constant has a value of “TERMINATING”
-
__init__(**kwargs)¶ Initializes a new ImportRequestSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - key (str) – The value to assign to the key property of this ImportRequestSummary.
- bucket_name (str) – The value to assign to the bucket_name property of this ImportRequestSummary.
- file_name (str) – The value to assign to the file_name property of this ImportRequestSummary.
- object_storage_tenancy_id (str) – The value to assign to the object_storage_tenancy_id property of this ImportRequestSummary.
- object_storage_region (str) – The value to assign to the object_storage_region property of this ImportRequestSummary.
- object_key_for_import (str) – The value to assign to the object_key_for_import property of this ImportRequestSummary.
- are_data_asset_references_included (bool) – The value to assign to the are_data_asset_references_included property of this ImportRequestSummary.
- import_conflict_resolution (oci.data_integration.models.ImportConflictResolution) – The value to assign to the import_conflict_resolution property of this ImportRequestSummary.
- status (str) – The value to assign to the status property of this ImportRequestSummary. Allowed values for this property are: “SUCCESSFUL”, “FAILED”, “IN_PROGRESS”, “TERMINATING”, “TERMINATED”, “QUEUED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- created_by (str) – The value to assign to the created_by property of this ImportRequestSummary.
- total_imported_object_count (int) – The value to assign to the total_imported_object_count property of this ImportRequestSummary.
- time_started_in_millis (int) – The value to assign to the time_started_in_millis property of this ImportRequestSummary.
- time_ended_in_millis (int) – The value to assign to the time_ended_in_millis property of this ImportRequestSummary.
- error_messages (dict(str, str)) – The value to assign to the error_messages property of this ImportRequestSummary.
- imported_objects (list[oci.data_integration.models.ImportObjectMetadataSummary]) – The value to assign to the imported_objects property of this ImportRequestSummary.
- name (str) – The value to assign to the name property of this ImportRequestSummary.
-
are_data_asset_references_included¶ Gets the are_data_asset_references_included of this ImportRequestSummary. This field controls if the data asset references will be included during import.
Returns: The are_data_asset_references_included of this ImportRequestSummary. Return type: bool
-
bucket_name¶ Gets the bucket_name of this ImportRequestSummary. The name of the Object Storage Bucket where the objects will be imported from
Returns: The bucket_name of this ImportRequestSummary. Return type: str
-
created_by¶ Gets the created_by of this ImportRequestSummary. Name of the user who initiated import request.
Returns: The created_by of this ImportRequestSummary. Return type: str
-
error_messages¶ Gets the error_messages of this ImportRequestSummary. Contains key of the error
Returns: The error_messages of this ImportRequestSummary. Return type: dict(str, str)
-
file_name¶ Gets the file_name of this ImportRequestSummary. Name of the zip file from which objects will be imported.
Returns: The file_name of this ImportRequestSummary. Return type: str
-
import_conflict_resolution¶ Gets the import_conflict_resolution of this ImportRequestSummary.
Returns: The import_conflict_resolution of this ImportRequestSummary. Return type: oci.data_integration.models.ImportConflictResolution
-
imported_objects¶ Gets the imported_objects of this ImportRequestSummary. The array of imported object details.
Returns: The imported_objects of this ImportRequestSummary. Return type: list[oci.data_integration.models.ImportObjectMetadataSummary]
-
key¶ Gets the key of this ImportRequestSummary. Import object request key
Returns: The key of this ImportRequestSummary. Return type: str
-
name¶ Gets the name of this ImportRequestSummary. Name of the import request.
Returns: The name of this ImportRequestSummary. Return type: str
-
object_key_for_import¶ Gets the object_key_for_import of this ImportRequestSummary. Key of the object inside which all the objects will be imported
Returns: The object_key_for_import of this ImportRequestSummary. Return type: str
-
object_storage_region¶ Gets the object_storage_region of this ImportRequestSummary. Region of the object storage (if using object storage of different region)
Returns: The object_storage_region of this ImportRequestSummary. Return type: str
-
object_storage_tenancy_id¶ Gets the object_storage_tenancy_id of this ImportRequestSummary. Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
Returns: The object_storage_tenancy_id of this ImportRequestSummary. Return type: str
-
status¶ Gets the status of this ImportRequestSummary. Import Objects request status.
Allowed values for this property are: “SUCCESSFUL”, “FAILED”, “IN_PROGRESS”, “TERMINATING”, “TERMINATED”, “QUEUED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this ImportRequestSummary. Return type: str
-
time_ended_in_millis¶ Gets the time_ended_in_millis of this ImportRequestSummary. Time at which the request was completely processed.
Returns: The time_ended_in_millis of this ImportRequestSummary. Return type: int
-
time_started_in_millis¶ Gets the time_started_in_millis of this ImportRequestSummary. Time at which the request started getting processed.
Returns: The time_started_in_millis of this ImportRequestSummary. Return type: int
-
total_imported_object_count¶ Gets the total_imported_object_count of this ImportRequestSummary. Number of objects that are imported.
Returns: The total_imported_object_count of this ImportRequestSummary. Return type: int
-