kubernetes.aio.client.models.v1_secret_key_selector module¶
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_secret_key_selector.V1SecretKeySelector(key=None, name=None, optional=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 = {'key': 'key', 'name': 'name', 'optional': 'optional'}¶
- property key¶
Gets the key of this V1SecretKeySelector. # noqa: E501
The key of the secret to select from. Must be a valid secret key. # noqa: E501
- Returns:
The key of this V1SecretKeySelector. # noqa: E501
- Return type:
str
- property name¶
Gets the name of this V1SecretKeySelector. # noqa: E501
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501
- Returns:
The name of this V1SecretKeySelector. # noqa: E501
- Return type:
str
- openapi_types = {'key': 'str', 'name': 'str', 'optional': 'bool'}¶
- property optional¶
Gets the optional of this V1SecretKeySelector. # noqa: E501
Specify whether the Secret or its key must be defined # noqa: E501
- Returns:
The optional of this V1SecretKeySelector. # noqa: E501
- Return type:
- to_dict(serialize=False)¶
Returns the model properties as a dict
- to_str()¶
Returns the string representation of the model