public class Permission extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Permission() | 
| Permission(Permission source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | getActions()Get 动作,目前仅支持:tcr:PushRepository、tcr:PullRepository、tcr:CreateRepository、tcr:CreateHelmChart、tcr:DescribeHelmCharts | 
| String | getResource()Get 资源路径,目前仅支持Namespace | 
| void | setActions(String[] Actions)Set 动作,目前仅支持:tcr:PushRepository、tcr:PullRepository、tcr:CreateRepository、tcr:CreateHelmChart、tcr:DescribeHelmCharts | 
| void | setResource(String Resource)Set 资源路径,目前仅支持Namespace | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Permission()
public Permission(Permission source)
public String getResource()
public void setResource(String Resource)
Resource - 资源路径,目前仅支持Namespacepublic String[] getActions()
public void setActions(String[] Actions)
Actions - 动作,目前仅支持:tcr:PushRepository、tcr:PullRepository、tcr:CreateRepository、tcr:CreateHelmChart、tcr:DescribeHelmChartsCopyright © 2025. All rights reserved.