kubernetes_asyncio.client.models.storage_v1_token_request 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.storage_v1_token_request.StorageV1TokenRequest(audience=None, expiration_seconds=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 = {'audience': 'audience', 'expiration_seconds': 'expirationSeconds'}
- property audience
Gets the audience of this StorageV1TokenRequest. # noqa: E501
audience is the intended audience of the token in “TokenRequestSpec”. It will default to the audiences of kube apiserver. # noqa: E501
- Returns:
The audience of this StorageV1TokenRequest. # noqa: E501
- Return type:
str
- property expiration_seconds
Gets the expiration_seconds of this StorageV1TokenRequest. # noqa: E501
expirationSeconds is the duration of validity of the token in “TokenRequestSpec”. It has the same default value of “ExpirationSeconds” in “TokenRequestSpec”. # noqa: E501
- Returns:
The expiration_seconds of this StorageV1TokenRequest. # noqa: E501
- Return type:
int
- openapi_types = {'audience': 'str', 'expiration_seconds': 'int'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model