Skip to content

Commit 338cd43

Browse files
committed
doc fix
1 parent e89c9f7 commit 338cd43

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

website/docs/r/objectstorage_object.html.markdown

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,12 @@ resource "oci_objectstorage_object" "test_object" {
4343
The following arguments are supported:
4444

4545
* `bucket` - (Required) The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
46+
* `cache_control` - (Optional) The cache-control header value to be returned in GetObjectResponse.
4647
* `content` - (Required) The object to upload to the object store. Cannot be defined if `source` or `source_uri_details` is defined.
47-
* `cache_control` - (Optional) 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.
48-
* `content_disposition` - (Optional) 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.
49-
* `content_encoding` - (Optional) 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.
50-
* `content_language` - (Optional) 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.
51-
* `content_length` - (Required) (Updatable) The content length of the body.
52-
* `content_md5` - (Optional) (Updatable) The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message:
53-
54-
"The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)"
55-
* `content_type` - (Optional) The optional Content-Type header that defines the standard MIME type format of the object. Content type defaults to 'application/octet-stream' if not specified in the PutObject call. 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.
48+
* `content_disposition` - (Optional) The Content-Disposition header value to be returned in GetObjectResponse.
49+
* `content_encoding` - (Optional) The content encoding of the object.
50+
* `content_language` - (Optional) The content language of the object.
51+
* `content_type` - (Optional) The content type of the object. Defaults to 'application/octet-stream' if not overridden during the PutObject call.
5652
* `delete_all_object_versions` - (Optional) (Updatable) A boolean to delete all object versions for an object in a bucket that has or ever had versioning enabled.
5753
* `metadata` - (Optional) Optional user-defined metadata key and value.
5854
Note: All specified keys must be in lower case.

0 commit comments

Comments
 (0)