| 程序包 | 说明 |
|---|---|
| com.qcloud.cos.model |
| 限定符和类型 | 类和说明 |
|---|---|
class |
GroupGrantee
Specifies constants defining a group of COS users who can be granted permissions to buckets and
objects.
|
class |
UinGrantee |
| 限定符和类型 | 方法和说明 |
|---|---|
Grantee |
Grant.getGrantee()
Gets the grantee being granted a permission by this grant.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected XmlWriter |
AclXmlFactory.convertToXml(Grantee grantee,
XmlWriter xml)
Returns an XML fragment representing the specified Grantee.
|
void |
AccessControlList.grantPermission(Grantee grantee,
Permission permission)
Adds a grantee to the access control list (ACL) with the given permission.
|
void |
AccessControlList.revokeAllPermissions(Grantee grantee)
Revokes the permissions of a grantee by removing the grantee from the access control list
(ACL).
|
| 构造器和说明 |
|---|
Grant(Grantee grantee,
Permission permission)
Constructs a new
Grant object using the specified grantee and permission
objects. |
Copyright © 2020. All rights reserved.