/opt/imh-python/lib/python3.9/site-packages/openstack/identity/v3
NameSizeModeActions
__pycache__/-0755rm
application_credential.py19250644editdlrm
credential.py16520644editdlrm
domain.py38700644editdlrm
endpoint.py21740644editdlrm
federation_protocol.py13900644editdlrm
group.py14470644editdlrm
identity_provider.py16940644editdlrm
limit.py21240644editdlrm
mapping.py11700644editdlrm
policy.py13310644editdlrm
project.py46840644editdlrm
region.py12550644editdlrm
registered_limit.py20970644editdlrm
role.py13430644editdlrm
role_assignment.py16820644editdlrm
role_domain_group_assignment.py11790644editdlrm
role_domain_user_assignment.py11730644editdlrm
role_project_group_assignment.py11850644editdlrm
role_project_user_assignment.py11790644editdlrm
service.py17980644editdlrm
trust.py33250644editdlrm
user.py30570644editdlrm
_proxy.py708060644editdlrm
__init__.py00644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/openstack/identity/v3/role_assignment.py (1682B)
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from openstack import resource class RoleAssignment(resource.Resource): resource_key = 'role_assignment' resources_key = 'role_assignments' base_path = '/role_assignments' # capabilities allow_list = True _query_mapping = resource.QueryParameters( 'group_id', 'role_id', 'scope_domain_id', 'scope_project_id', 'user_id', 'effective', 'include_names', 'include_subtree', role_id='role.id', user_id='user.id', group_id='group.id', scope_project_id='scope.project.id', scope_domain_id='scope.domain.id', scope_system='scope.system', ) # Properties #: The links for the service resource. links = resource.Body('links') #: The role (dictionary contains only id) *Type: dict* role = resource.Body('role', type=dict) #: The scope (either domain or group dictionary contains id) *Type: dict* scope = resource.Body('scope', type=dict) #: The user (dictionary contains only id) *Type: dict* user = resource.Body('user', type=dict) #: The group (dictionary contains only id) *Type: dict* group = resource.Body('group', type=dict)