kubernetes_asyncio.client.models.v1_non_resource_rule module
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech
- class kubernetes_asyncio.client.models.v1_non_resource_rule.V1NonResourceRule(non_resource_urls=None, verbs=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'non_resource_urls': 'nonResourceURLs', 'verbs': 'verbs'}
- property non_resource_urls
Gets the non_resource_urls of this V1NonResourceRule. # noqa: E501
NonResourceURLs is a set of partial urls that a user should have access to. s are allowed, but only as the full, final step in the path. “” means all. # noqa: E501
- Returns:
The non_resource_urls of this V1NonResourceRule. # noqa: E501
- Return type:
list[str]
- openapi_types = {'non_resource_urls': 'list[str]', 'verbs': 'list[str]'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property verbs
Gets the verbs of this V1NonResourceRule. # noqa: E501
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. “*” means all. # noqa: E501
- Returns:
The verbs of this V1NonResourceRule. # noqa: E501
- Return type:
list[str]