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 Actions.
|
String |
getResource()
Get Resource path.
|
void |
setActions(String[] Actions)
Set Actions.
|
void |
setResource(String Resource)
Set Resource path.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Permission()
public Permission(Permission source)
public String getResource()
public void setResource(String Resource)
Resource
- Resource path. Valid value: `Namespace`
Note: This field may return `null`, indicating that no valid values can be obtained.public String[] getActions()
public void setActions(String[] Actions)
Actions
- Actions. Currently only support: tcr:PushRepository, tcr:PullRepository, tcr:CreateRepository, tcr:CreateHelmChart, tcr:DescribeHelmCharts.
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.