kubernetes_asyncio.client.models.v1_typed_object_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_typed_object_reference.V1TypedObjectReference(api_group=None, kind=None, 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.

property api_group

Gets the api_group of this V1TypedObjectReference. # noqa: E501

APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. # noqa: E501

Returns:

The api_group of this V1TypedObjectReference. # noqa: E501

Return type:

str

attribute_map = {'api_group': 'apiGroup', 'kind': 'kind', 'name': 'name', 'namespace': 'namespace'}
property kind

Gets the kind of this V1TypedObjectReference. # noqa: E501

Kind is the type of resource being referenced # noqa: E501

Returns:

The kind of this V1TypedObjectReference. # noqa: E501

Return type:

str

property name

Gets the name of this V1TypedObjectReference. # noqa: E501

Name is the name of resource being referenced # noqa: E501

Returns:

The name of this V1TypedObjectReference. # noqa: E501

Return type:

str

property namespace

Gets the namespace of this V1TypedObjectReference. # noqa: E501

Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace’s owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. # noqa: E501

Returns:

The namespace of this V1TypedObjectReference. # 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