kubernetes_asyncio.client.models.rbac_v1_subject 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.rbac_v1_subject.RbacV1Subject(api_group=None, kind=None, name=None, namespace=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.
- property api_group
Gets the api_group of this RbacV1Subject. # noqa: E501
APIGroup holds the API group of the referenced subject. Defaults to “” for ServiceAccount subjects. Defaults to “rbac.authorization.k8s.io” for User and Group subjects. # noqa: E501
- Returns:
The api_group of this RbacV1Subject. # noqa: E501
- Return type:
str
- attribute_map = {'api_group': 'apiGroup', 'kind': 'kind', 'name': 'name', 'namespace': 'namespace'}
- property kind
Gets the kind of this RbacV1Subject. # noqa: E501
Kind of object being referenced. Values defined by this API group are “User”, “Group”, and “ServiceAccount”. If the Authorizer does not recognized the kind value, the Authorizer should report an error. # noqa: E501
- Returns:
The kind of this RbacV1Subject. # noqa: E501
- Return type:
str
- property name
Gets the name of this RbacV1Subject. # noqa: E501
Name of the object being referenced. # noqa: E501
- Returns:
The name of this RbacV1Subject. # noqa: E501
- Return type:
str
- property namespace
Gets the namespace of this RbacV1Subject. # noqa: E501
Namespace of the referenced object. If the object kind is non-namespace, such as “User” or “Group”, and this value is not empty the Authorizer should report an error. # noqa: E501
- Returns:
The namespace of this RbacV1Subject. # noqa: E501
- Return type:
str
- openapi_types = {'api_group': 'str', 'kind': 'str', 'name': 'str', 'namespace': 'str'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model