kubernetes_asyncio.client.models.v1_service_account_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.v1_service_account_subject.V1ServiceAccountSubject(name=None, namespace=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'name': 'name', 'namespace': 'namespace'}
property name

Gets the name of this V1ServiceAccountSubject. # noqa: E501

name is the name of matching ServiceAccount objects, or “*” to match regardless of name. Required. # noqa: E501

Returns:

The name of this V1ServiceAccountSubject. # noqa: E501

Return type:

str

property namespace

Gets the namespace of this V1ServiceAccountSubject. # noqa: E501

namespace is the namespace of matching ServiceAccount objects. Required. # noqa: E501

Returns:

The namespace of this V1ServiceAccountSubject. # noqa: E501

Return type:

str

openapi_types = {'name': 'str', 'namespace': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model