Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.56 KB

File metadata and controls

32 lines (23 loc) · 1.56 KB

ResourceScopeOutput

Fine-grained restriction applied to an API key.

Properties

Name Type Description Notes
resource_type SharedOrganizationsEnumsResourceType Resource type this scope governs. Use ResourceType enum values to scope a key to namespaces, collections, clusters, etc.
resource_id str Identifier or pattern for the resource. Accepts a literal ID (e.g. 'ns_production') or wildcard forms such as '' or 'ns_customer_'.
operations List[NamespaceOperation] Subset of operations allowed within the scope. When omitted the key may perform any operation permitted by its Permission list. [optional]

Example

from mixpeek.models.resource_scope_output import ResourceScopeOutput

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

# convert the object into a dict
resource_scope_output_dict = resource_scope_output_instance.to_dict()
# create an instance of ResourceScopeOutput from a dict
resource_scope_output_from_dict = ResourceScopeOutput.from_dict(resource_scope_output_dict)

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