update
******


Description
===========

Performs a partial or full update of a bucket's user-defined metadata.


Usage
=====

   oci os bucket update [OPTIONS]


Options
=======


--namespace-name, --namespace, -ns [text]
-----------------------------------------

The top-level namespace used for the request. [required]


--bucket-name, --name [text]
----------------------------

The name of the bucket. Avoid entering confidential information.
Example: *my-new-bucket1* [required]


--compartment-id, -c [text]
---------------------------

The compartmentId for the compartment to which the bucket is targeted
to move to.


--metadata [complex type]
-------------------------

Arbitrary string, up to 4KB, of keys and values for user-defined
metadata. This is a complex type whose value must be valid JSON. The
value can be provided as a string on the command line or passed in as
a file using the file://path/to/file syntax.

The --generate-param-json-input option can be used to generate an
example of the JSON which must be provided. We recommend storing this
example in a file, modifying it as needed and then passing it back in
via the file:// syntax.


--public-access-type [NoPublicAccess|ObjectRead|ObjectReadWithoutList]
----------------------------------------------------------------------

The type of public access enabled on this bucket. A bucket is set to
*NoPublicAccess* by default, which only allows an authenticated caller
to access the bucket and its contents. When *ObjectRead* is enabled on
the bucket, public access is allowed for the *GetObject*,
*HeadObject*, and *ListObjects* operations. When
*ObjectReadWithoutList* is enabled on the bucket, public access is
allowed for the *GetObject* and *HeadObject* operations.


--if-match [text]
-----------------

The entity tag to match. For creating and committing a multipart
upload to an object, this is the entity tag of the target object. For
uploading a part, this is the entity tag of the target part.


--from-json [text]
------------------

Provide input to this command as a JSON document from a file.

Options can still be provided on the command line. If an option exists
in both the JSON document and the command line then the command line
specified value will be used


-?, -h, --help
--------------

Show this message and exit.
