createBucket()
createBucket(\OssClient $ossClient, string $bucket) : null
Create a new bucket acl indicates the access permission of a bucket, including: private, public-read-only/private-read-write, and public read-write.
Private indicates that only the bucket owner or authorized users can access the data.. The three permissions are separately defined by (OssClient::OSS_ACL_TYPE_PRIVATE,OssClient::OSS_ACL_TYPE_PUBLIC_READ, OssClient::OSS_ACL_TYPE_PUBLIC_READ_WRITE)
Parameters
\OssClient | $ossClient | OssClient instance |
string | $bucket | Name of the bucket to create |