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.
Attributes
STORAGE_TIER_ARCHIVE
A constant which can be used with the storage_tier property of a CreateMultipartUploadDetails. STORAGE_TIER_INFREQUENT_ACCESS
A constant which can be used with the storage_tier property of a CreateMultipartUploadDetails. STORAGE_TIER_STANDARD
A constant which can be used with the storage_tier property of a CreateMultipartUploadDetails. cache_control
Gets the cache_control of this CreateMultipartUploadDetails. content_disposition
Gets the content_disposition of this CreateMultipartUploadDetails. content_encoding
Gets the content_encoding of this CreateMultipartUploadDetails. content_language
Gets the content_language of this CreateMultipartUploadDetails. content_type
Gets the content_type of this CreateMultipartUploadDetails. metadata
Gets the metadata of this CreateMultipartUploadDetails. object
[Required] Gets the object of this CreateMultipartUploadDetails. storage_tier
Gets the storage_tier of this CreateMultipartUploadDetails. Methods
__init__
(**kwargs)Initializes a new CreateMultipartUploadDetails object with values from keyword arguments. -
STORAGE_TIER_ARCHIVE
= 'Archive'¶ A constant which can be used with the storage_tier property of a CreateMultipartUploadDetails. This constant has a value of “Archive”
-
STORAGE_TIER_INFREQUENT_ACCESS
= 'InfrequentAccess'¶ A constant which can be used with the storage_tier property of a CreateMultipartUploadDetails. This constant has a value of “InfrequentAccess”
-
STORAGE_TIER_STANDARD
= 'Standard'¶ A constant which can be used with the storage_tier property of a CreateMultipartUploadDetails. This constant has a value of “Standard”
-
__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.
- content_disposition (str) – The value to assign to the content_disposition property of this CreateMultipartUploadDetails.
- cache_control (str) – The value to assign to the cache_control property of this CreateMultipartUploadDetails.
- storage_tier (str) – The value to assign to the storage_tier property of this CreateMultipartUploadDetails. Allowed values for this property are: “Standard”, “InfrequentAccess”, “Archive”
- metadata (dict(str, str)) – The value to assign to the metadata property of this CreateMultipartUploadDetails.
-
cache_control
¶ Gets the cache_control of this CreateMultipartUploadDetails. The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify objects that require caching restrictions.
Returns: The cache_control of this CreateMultipartUploadDetails. Return type: str
-
content_disposition
¶ Gets the content_disposition of this CreateMultipartUploadDetails. The optional Content-Disposition header that defines presentational information for the object to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to let users download objects with custom filenames in a browser.
Returns: The content_disposition of this CreateMultipartUploadDetails. Return type: str
-
content_encoding
¶ Gets the content_encoding of this CreateMultipartUploadDetails. The optional Content-Encoding header that defines the content encodings that were applied to the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to determine what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of the object.
Returns: The content_encoding of this CreateMultipartUploadDetails. Return type: str
-
content_language
¶ Gets the content_language of this CreateMultipartUploadDetails. The optional Content-Language header that defines the content language of the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and differentiate objects based on a particular language.
Returns: The content_language of this CreateMultipartUploadDetails. Return type: str
-
content_type
¶ Gets the content_type of this CreateMultipartUploadDetails. The optional Content-Type header that defines the standard MIME type format of the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and perform special operations on text only objects.
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
-
storage_tier
¶ Gets the storage_tier of this CreateMultipartUploadDetails. 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.
Allowed values for this property are: “Standard”, “InfrequentAccess”, “Archive”
Returns: The storage_tier of this CreateMultipartUploadDetails. Return type: str
-