Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CopyObjectDetails

The parameters required by Object Storage to process a request to copy an object to another bucket.

To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

Properties

destinationBucket

destinationBucket: string

The destination bucket the object will be copied to.

destinationNamespace

destinationNamespace: string

The destination Object Storage namespace the object will be copied to.

Optional destinationObjectIfMatchETag

destinationObjectIfMatchETag: undefined | string

The entity tag (ETag) to match against that of the destination object (an object intended to be overwritten). Used to confirm that the destination object stored under a given name is the version of that object storing a specified entity tag.

Optional destinationObjectIfNoneMatchETag

destinationObjectIfNoneMatchETag: undefined | string

The entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should fail if the object already exists in the destination bucket.

Optional destinationObjectMetadata

destinationObjectMetadata: undefined | object

Arbitrary string keys and values for the user-defined metadata for the object. Keys must be in "opc-meta-*" format. Avoid entering confidential information. Metadata key-value pairs entered in this field are assigned to the destination object. If you enter no metadata values, the destination object will inherit any existing metadata values associated with the source object.

destinationObjectName

destinationObjectName: string

The name of the destination object resulting from the copy operation. Avoid entering confidential information.

Optional destinationObjectStorageTier

destinationObjectStorageTier: model.StorageTier

The storage tier that the object should be stored in. If not specified, the object will be stored in the same storage tier as the bucket.

destinationRegion

destinationRegion: string

The destination region the object will be copied to, for example "us-ashburn-1".

Optional sourceObjectIfMatchETag

sourceObjectIfMatchETag: undefined | string

The entity tag (ETag) to match against that of the source object. Used to confirm that the source object with a given name is the version of that object storing a specified ETag.

sourceObjectName

sourceObjectName: string

The name of the object to be copied.

Optional sourceVersionId

sourceVersionId: undefined | string

VersionId of the object to copy. If not provided then current version is copied by default.

Functions

getDeserializedJsonObj

getJsonObj