policy: Bucket policies

Description Usage Arguments Value

Description

Get/Put/Delete the bucket access policy for a bucket.

Usage

1
2
3
4
5

Arguments

bucket

Character string with the name of the bucket.

...

Additional arguments passed to QingHTTP.

policy

A character string containing a bucket policy.

Value

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.


zhangxing-love/QingStorRSDK_0.1 documentation built on May 4, 2019, 10:17 p.m.