Fine-grained restriction applied to an API key.
| Name | Type | Description | Notes |
|---|---|---|---|
| resource_type | ResourceTypeInput | 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] |
from mixpeek.models.resource_scope_input import ResourceScopeInput
# TODO update the JSON string below
json = "{}"
# create an instance of ResourceScopeInput from a JSON string
resource_scope_input_instance = ResourceScopeInput.from_json(json)
# print the JSON string representation of the object
print(ResourceScopeInput.to_json())
# convert the object into a dict
resource_scope_input_dict = resource_scope_input_instance.to_dict()
# create an instance of ResourceScopeInput from a dict
resource_scope_input_from_dict = ResourceScopeInput.from_dict(resource_scope_input_dict)