kubernetes_asyncio.client.models.v1beta1_resource_claim_consumer_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.v1beta1_resource_claim_consumer_reference.V1beta1ResourceClaimConsumerReference(api_group=None, name=None, resource=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_group

Gets the api_group of this V1beta1ResourceClaimConsumerReference. # noqa: E501

APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. # noqa: E501

Returns:

The api_group of this V1beta1ResourceClaimConsumerReference. # noqa: E501

Return type:

str

attribute_map = {'api_group': 'apiGroup', 'name': 'name', 'resource': 'resource', 'uid': 'uid'}
property name

Gets the name of this V1beta1ResourceClaimConsumerReference. # noqa: E501

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

Returns:

The name of this V1beta1ResourceClaimConsumerReference. # noqa: E501

Return type:

str

openapi_types = {'api_group': 'str', 'name': 'str', 'resource': 'str', 'uid': 'str'}
property resource

Gets the resource of this V1beta1ResourceClaimConsumerReference. # noqa: E501

Resource is the type of resource being referenced, for example “pods”. # noqa: E501

Returns:

The resource of this V1beta1ResourceClaimConsumerReference. # noqa: E501

Return type:

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 V1beta1ResourceClaimConsumerReference. # noqa: E501

UID identifies exactly one incarnation of the resource. # noqa: E501

Returns:

The uid of this V1beta1ResourceClaimConsumerReference. # noqa: E501

Return type:

str