kubernetes_asyncio.client.models.v1_owner_reference 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_owner_reference.V1OwnerReference(api_version=None, block_owner_deletion=None, controller=None, kind=None, name=None, uid=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.

property api_version

Gets the api_version of this V1OwnerReference. # noqa: E501

API version of the referent. # noqa: E501

Returns:

The api_version of this V1OwnerReference. # noqa: E501

Return type:

str

attribute_map = {'api_version': 'apiVersion', 'block_owner_deletion': 'blockOwnerDeletion', 'controller': 'controller', 'kind': 'kind', 'name': 'name', 'uid': 'uid'}
property block_owner_deletion

Gets the block_owner_deletion of this V1OwnerReference. # noqa: E501

If true, AND if the owner has the “foregroundDeletion” finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs “delete” permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. # noqa: E501

Returns:

The block_owner_deletion of this V1OwnerReference. # noqa: E501

Return type:

bool

property controller

Gets the controller of this V1OwnerReference. # noqa: E501

If true, this reference points to the managing controller. # noqa: E501

Returns:

The controller of this V1OwnerReference. # noqa: E501

Return type:

bool

property kind

Gets the kind of this V1OwnerReference. # noqa: E501

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501

Returns:

The kind of this V1OwnerReference. # noqa: E501

Return type:

str

property name

Gets the name of this V1OwnerReference. # noqa: E501

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names # noqa: E501

Returns:

The name of this V1OwnerReference. # noqa: E501

Return type:

str

openapi_types = {'api_version': 'str', 'block_owner_deletion': 'bool', 'controller': 'bool', 'kind': 'str', 'name': 'str', 'uid': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property uid

Gets the uid of this V1OwnerReference. # noqa: E501

UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids # noqa: E501

Returns:

The uid of this V1OwnerReference. # noqa: E501

Return type:

str