| 程序包 | 说明 |
|---|---|
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
Permission |
Grant.getPermission()
Gets the permission being granted to the grantee by this grant.
|
static Permission |
Permission.parsePermission(String str)
Returns the
Permission enumeration value representing the specified Qcloud COS Region
ID string. |
static Permission |
Permission.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Permission[] |
Permission.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AccessControlList.grantPermission(Grantee grantee,
Permission permission)
Adds a grantee to the access control list (ACL) with the given permission.
|
| 构造器和说明 |
|---|
Grant(Grantee grantee,
Permission permission)
Constructs a new
Grant object using the specified grantee and permission
objects. |
Copyright © 2022. All rights reserved.