Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 2.01 KB

V1beta1CheckResourcePermissionRequest.md

File metadata and controls

31 lines (23 loc) · 2.01 KB

V1beta1CheckResourcePermissionRequest

Properties

Name Type Description Notes
object_id str Deprecated. Use `resource` field instead. [optional]
object_namespace str Deprecated. Use `resource` field instead. [optional]
permission str the permission name to check. <br/> Example: `get`, `list`, `compute.instance.create`
resource str `namespace:uuid` or `namespace:name` of the org or project, and `namespace:urn` of a resource under a project. In case of an org/project either provide the complete namespace (app/organization) or Frontier can also parse aliases for the same as `org` or `project`. <br/> Example: `organization:92f69c3a-334b-4f25-90b8-4d4f3be6b825` or `app/project:project-name` or `compute/instance:92f69c3a-334b-4f25-90b8-4d4f3be6b825` [optional]

Example

from frontier_api.models.v1beta1_check_resource_permission_request import V1beta1CheckResourcePermissionRequest

# TODO update the JSON string below
json = "{}"
# create an instance of V1beta1CheckResourcePermissionRequest from a JSON string
v1beta1_check_resource_permission_request_instance = V1beta1CheckResourcePermissionRequest.from_json(json)
# print the JSON string representation of the object
print V1beta1CheckResourcePermissionRequest.to_json()

# convert the object into a dict
v1beta1_check_resource_permission_request_dict = v1beta1_check_resource_permission_request_instance.to_dict()
# create an instance of V1beta1CheckResourcePermissionRequest from a dict
v1beta1_check_resource_permission_request_form_dict = v1beta1_check_resource_permission_request.from_dict(v1beta1_check_resource_permission_request_dict)

[Back to Model list] [Back to API list] [Back to README]