Skip to content

Commit c78b144

Browse files
committed
Added apis are as follows,ListPortalMenus,QueryDatasetInfo,AddDataLevelPermissionWhiteList,SetDataLevelPermissionWhiteList,ListDataLevelPermissionWhiteList,SetDataLevelPermissionExtraConfig,DeleteDataLevelRuleConfig,SetDataLevelPermissionRuleConfig,UpdateDataLevelPermissionStatus,QueryDatasetSwitchInfo,ListCubeDataLevelPermissionConfig,DeleteDataLevelPermissionRuleUsers,AddDataLevelPermissionRuleUsers.
1 parent 9d61aaf commit c78b144

16 files changed

+533
-2
lines changed

aliyun-python-sdk-quickbi-public/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-09-02 Version: 1.7.0
2+
- Added apis are as follows,ListPortalMenus,QueryDatasetInfo,AddDataLevelPermissionWhiteList,SetDataLevelPermissionWhiteList,ListDataLevelPermissionWhiteList,SetDataLevelPermissionExtraConfig,DeleteDataLevelRuleConfig,SetDataLevelPermissionRuleConfig,UpdateDataLevelPermissionStatus,QueryDatasetSwitchInfo,ListCubeDataLevelPermissionConfig,DeleteDataLevelPermissionRuleUsers,AddDataLevelPermissionRuleUsers.
3+
14
2021-07-29 Version: 1.6.0
25
- Add api ListByUserGroupId, and update DeleteUser Api.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.6.0'
1+
__version__ = '1.7.0'
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkquickbi_public.endpoint import endpoint_data
22+
23+
class QueryDatasetInfoRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'quickbi-public', '2020-08-06', 'QueryDatasetInfo','quickbi')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_DatasetId(self):
35+
return self.get_query_params().get('DatasetId')
36+
37+
def set_DatasetId(self,DatasetId):
38+
self.add_query_param('DatasetId',DatasetId)

aliyun-python-sdk-quickbi-public/aliyunsdkquickbi_public/request/v20200808/ListPortalMenusRequest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,10 @@ def get_DataPortalId(self):
3535
return self.get_query_params().get('DataPortalId')
3636

3737
def set_DataPortalId(self,DataPortalId):
38-
self.add_query_param('DataPortalId',DataPortalId)
38+
self.add_query_param('DataPortalId',DataPortalId)
39+
40+
def get_UserId(self):
41+
return self.get_query_params().get('UserId')
42+
43+
def set_UserId(self,UserId):
44+
self.add_query_param('UserId',UserId)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkquickbi_public.endpoint import endpoint_data
22+
23+
class AddDataLevelPermissionRuleUsersRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'quickbi-public', '2020-11-11', 'AddDataLevelPermissionRuleUsers','quickbi')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_AddUserModel(self):
35+
return self.get_query_params().get('AddUserModel')
36+
37+
def set_AddUserModel(self,AddUserModel):
38+
self.add_query_param('AddUserModel',AddUserModel)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkquickbi_public.endpoint import endpoint_data
22+
23+
class AddDataLevelPermissionWhiteListRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'quickbi-public', '2020-11-11', 'AddDataLevelPermissionWhiteList','quickbi')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_TargetType(self):
35+
return self.get_query_params().get('TargetType')
36+
37+
def set_TargetType(self,TargetType):
38+
self.add_query_param('TargetType',TargetType)
39+
40+
def get_TargetIds(self):
41+
return self.get_query_params().get('TargetIds')
42+
43+
def set_TargetIds(self,TargetIds):
44+
self.add_query_param('TargetIds',TargetIds)
45+
46+
def get_RuleType(self):
47+
return self.get_query_params().get('RuleType')
48+
49+
def set_RuleType(self,RuleType):
50+
self.add_query_param('RuleType',RuleType)
51+
52+
def get_OperateType(self):
53+
return self.get_query_params().get('OperateType')
54+
55+
def set_OperateType(self,OperateType):
56+
self.add_query_param('OperateType',OperateType)
57+
58+
def get_CubeId(self):
59+
return self.get_query_params().get('CubeId')
60+
61+
def set_CubeId(self,CubeId):
62+
self.add_query_param('CubeId',CubeId)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkquickbi_public.endpoint import endpoint_data
22+
23+
class DeleteDataLevelPermissionRuleUsersRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'quickbi-public', '2020-11-11', 'DeleteDataLevelPermissionRuleUsers','quickbi')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_DeleteUserModel(self):
35+
return self.get_query_params().get('DeleteUserModel')
36+
37+
def set_DeleteUserModel(self,DeleteUserModel):
38+
self.add_query_param('DeleteUserModel',DeleteUserModel)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkquickbi_public.endpoint import endpoint_data
22+
23+
class DeleteDataLevelRuleConfigRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'quickbi-public', '2020-11-11', 'DeleteDataLevelRuleConfig','quickbi')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_RuleId(self):
35+
return self.get_query_params().get('RuleId')
36+
37+
def set_RuleId(self,RuleId):
38+
self.add_query_param('RuleId',RuleId)
39+
40+
def get_CubeId(self):
41+
return self.get_query_params().get('CubeId')
42+
43+
def set_CubeId(self,CubeId):
44+
self.add_query_param('CubeId',CubeId)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkquickbi_public.endpoint import endpoint_data
22+
23+
class ListCubeDataLevelPermissionConfigRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'quickbi-public', '2020-11-11', 'ListCubeDataLevelPermissionConfig','quickbi')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_RuleType(self):
35+
return self.get_query_params().get('RuleType')
36+
37+
def set_RuleType(self,RuleType):
38+
self.add_query_param('RuleType',RuleType)
39+
40+
def get_CubeId(self):
41+
return self.get_query_params().get('CubeId')
42+
43+
def set_CubeId(self,CubeId):
44+
self.add_query_param('CubeId',CubeId)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkquickbi_public.endpoint import endpoint_data
22+
23+
class ListDataLevelPermissionWhiteListRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'quickbi-public', '2020-11-11', 'ListDataLevelPermissionWhiteList','quickbi')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_RuleType(self):
35+
return self.get_query_params().get('RuleType')
36+
37+
def set_RuleType(self,RuleType):
38+
self.add_query_param('RuleType',RuleType)
39+
40+
def get_CubeId(self):
41+
return self.get_query_params().get('CubeId')
42+
43+
def set_CubeId(self,CubeId):
44+
self.add_query_param('CubeId',CubeId)

0 commit comments

Comments
 (0)