CopyObjectRequest

class oci.data_integration.models.CopyObjectRequest(**kwargs)

Bases: object

Copy metadata object request.

Attributes:

COPY_METADATA_OBJECT_REQUEST_STATUS_FAILED

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest.

COPY_METADATA_OBJECT_REQUEST_STATUS_IN_PROGRESS

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest.

COPY_METADATA_OBJECT_REQUEST_STATUS_QUEUED

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest.

COPY_METADATA_OBJECT_REQUEST_STATUS_SUCCESSFUL

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest.

COPY_METADATA_OBJECT_REQUEST_STATUS_TERMINATED

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest.

COPY_METADATA_OBJECT_REQUEST_STATUS_TERMINATING

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest.

copied_items

Gets the copied_items of this CopyObjectRequest.

copy_conflict_resolution

Gets the copy_conflict_resolution of this CopyObjectRequest.

copy_metadata_object_request_status

Gets the copy_metadata_object_request_status of this CopyObjectRequest.

created_by

Gets the created_by of this CopyObjectRequest.

created_by_name

Gets the created_by_name of this CopyObjectRequest.

key

Gets the key of this CopyObjectRequest.

name

Gets the name of this CopyObjectRequest.

object_keys

Gets the object_keys of this CopyObjectRequest.

referenced_items

Gets the referenced_items of this CopyObjectRequest.

source_workspace_id

Gets the source_workspace_id of this CopyObjectRequest.

time_ended_in_millis

Gets the time_ended_in_millis of this CopyObjectRequest.

time_started_in_millis

Gets the time_started_in_millis of this CopyObjectRequest.

total_objects_copied_into_target

Gets the total_objects_copied_into_target of this CopyObjectRequest.

total_source_object_count

Gets the total_source_object_count of this CopyObjectRequest.

Methods:

__init__(**kwargs)

Initializes a new CopyObjectRequest object with values from keyword arguments.

COPY_METADATA_OBJECT_REQUEST_STATUS_FAILED = 'FAILED'

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. This constant has a value of “FAILED”

COPY_METADATA_OBJECT_REQUEST_STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. This constant has a value of “IN_PROGRESS”

COPY_METADATA_OBJECT_REQUEST_STATUS_QUEUED = 'QUEUED'

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. This constant has a value of “QUEUED”

COPY_METADATA_OBJECT_REQUEST_STATUS_SUCCESSFUL = 'SUCCESSFUL'

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. This constant has a value of “SUCCESSFUL”

COPY_METADATA_OBJECT_REQUEST_STATUS_TERMINATED = 'TERMINATED'

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. This constant has a value of “TERMINATED”

COPY_METADATA_OBJECT_REQUEST_STATUS_TERMINATING = 'TERMINATING'

A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. This constant has a value of “TERMINATING”

__init__(**kwargs)

Initializes a new CopyObjectRequest 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 CopyObjectRequest.

  • source_workspace_id (str) – The value to assign to the source_workspace_id property of this CopyObjectRequest.

  • object_keys (list[str]) – The value to assign to the object_keys property of this CopyObjectRequest.

  • copy_conflict_resolution (oci.data_integration.models.CopyConflictResolution) – The value to assign to the copy_conflict_resolution property of this CopyObjectRequest.

  • copy_metadata_object_request_status (str) – The value to assign to the copy_metadata_object_request_status property of this CopyObjectRequest. Allowed values for this property are: “SUCCESSFUL”, “FAILED”, “IN_PROGRESS”, “QUEUED”, “TERMINATING”, “TERMINATED”, ‘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 CopyObjectRequest.

  • created_by_name (str) – The value to assign to the created_by_name property of this CopyObjectRequest.

  • total_source_object_count (int) – The value to assign to the total_source_object_count property of this CopyObjectRequest.

  • total_objects_copied_into_target (int) – The value to assign to the total_objects_copied_into_target property of this CopyObjectRequest.

  • time_started_in_millis (int) – The value to assign to the time_started_in_millis property of this CopyObjectRequest.

  • time_ended_in_millis (int) – The value to assign to the time_ended_in_millis property of this CopyObjectRequest.

  • copied_items (list[oci.data_integration.models.CopyObjectMetadataSummary]) – The value to assign to the copied_items property of this CopyObjectRequest.

  • referenced_items (list[oci.data_integration.models.CopyObjectMetadataSummary]) – The value to assign to the referenced_items property of this CopyObjectRequest.

  • name (str) – The value to assign to the name property of this CopyObjectRequest.

property copied_items

Gets the copied_items of this CopyObjectRequest. The array of copy object details.

Returns

The copied_items of this CopyObjectRequest.

Return type

list[oci.data_integration.models.CopyObjectMetadataSummary]

property copy_conflict_resolution

Gets the copy_conflict_resolution of this CopyObjectRequest.

Returns

The copy_conflict_resolution of this CopyObjectRequest.

Return type

oci.data_integration.models.CopyConflictResolution

property copy_metadata_object_request_status

Gets the copy_metadata_object_request_status of this CopyObjectRequest. Copy Object request status.

Allowed values for this property are: “SUCCESSFUL”, “FAILED”, “IN_PROGRESS”, “QUEUED”, “TERMINATING”, “TERMINATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The copy_metadata_object_request_status of this CopyObjectRequest.

Return type

str

property created_by

Gets the created_by of this CopyObjectRequest. OCID of the user who initiated copy request.

Returns

The created_by of this CopyObjectRequest.

Return type

str

property created_by_name

Gets the created_by_name of this CopyObjectRequest. Name of the user who created the copy object request.

Returns

The created_by_name of this CopyObjectRequest.

Return type

str

property key

Gets the key of this CopyObjectRequest. Copy object request key.

Returns

The key of this CopyObjectRequest.

Return type

str

property name

Gets the name of this CopyObjectRequest. Name of the copy object request.

Returns

The name of this CopyObjectRequest.

Return type

str

property object_keys

Gets the object_keys of this CopyObjectRequest. The list of the objects to be copied.

Returns

The object_keys of this CopyObjectRequest.

Return type

list[str]

property referenced_items

Gets the referenced_items of this CopyObjectRequest. The array of copied referenced objects.

Returns

The referenced_items of this CopyObjectRequest.

Return type

list[oci.data_integration.models.CopyObjectMetadataSummary]

property source_workspace_id

Gets the source_workspace_id of this CopyObjectRequest. The workspace id of the source from where we need to copy object.

Returns

The source_workspace_id of this CopyObjectRequest.

Return type

str

property time_ended_in_millis

Gets the time_ended_in_millis of this CopyObjectRequest. Time at which the request was completely processed.

Returns

The time_ended_in_millis of this CopyObjectRequest.

Return type

int

property time_started_in_millis

Gets the time_started_in_millis of this CopyObjectRequest. Time at which the request started getting processed.

Returns

The time_started_in_millis of this CopyObjectRequest.

Return type

int

property total_objects_copied_into_target

Gets the total_objects_copied_into_target of this CopyObjectRequest. Number of objects copied into the target.

Returns

The total_objects_copied_into_target of this CopyObjectRequest.

Return type

int

property total_source_object_count

Gets the total_source_object_count of this CopyObjectRequest. Number of source objects to be copied.

Returns

The total_source_object_count of this CopyObjectRequest.

Return type

int