CreateMultipartUploadDetails

class oci.object_storage.models.CreateMultipartUploadDetails(**kwargs)

Bases: object

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.

__init__(**kwargs)

Initializes a new CreateMultipartUploadDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • object (str) -- The value to assign to the object property of this CreateMultipartUploadDetails.
  • content_type (str) -- The value to assign to the content_type property of this CreateMultipartUploadDetails.
  • content_language (str) -- The value to assign to the content_language property of this CreateMultipartUploadDetails.
  • content_encoding (str) -- The value to assign to the content_encoding property of this CreateMultipartUploadDetails.
  • metadata (dict(str, str)) -- The value to assign to the metadata property of this CreateMultipartUploadDetails.
content_encoding

Gets the content_encoding of this CreateMultipartUploadDetails. The content encoding of the object to upload.

Returns:The content_encoding of this CreateMultipartUploadDetails.
Return type:str
content_language

Gets the content_language of this CreateMultipartUploadDetails. The content language of the object to upload.

Returns:The content_language of this CreateMultipartUploadDetails.
Return type:str
content_type

Gets the content_type of this CreateMultipartUploadDetails. The content type of the object to upload.

Returns:The content_type of this CreateMultipartUploadDetails.
Return type:str
metadata

Gets the metadata of this CreateMultipartUploadDetails. Arbitrary string keys and values for the user-defined metadata for the object. Keys must be in "opc-meta-*" format. Avoid entering confidential information.

Returns:The metadata of this CreateMultipartUploadDetails.
Return type:dict(str, str)
object

[Required] Gets the object of this CreateMultipartUploadDetails. The name of the object to which this multi-part upload is targeted. Avoid entering confidential information. Example: test/object1.log

Returns:The object of this CreateMultipartUploadDetails.
Return type:str