Description Usage Arguments Value
Get/Put/Delete the bucket access policy for a bucket.
1 2 3 4 5 | get_bucket_policy(bucket, ...)
put_bucket_policy(bucket, policy, ...)
delete_bucket_policy(bucket, ...)
|
bucket |
Character string with the name of the bucket. |
... |
Additional arguments passed to |
policy |
A character string containing a bucket policy. |
For get_policy
: A character string containing the JSON representation of the policy, if one has been set. For delete_policy
and put_policy
: TRUE
if successful, FALSE
otherwise. An qingstor_error
object may be returned if the request failed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.