kubernetes_asyncio.client.models.v1_resource_attributes 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_resource_attributes.V1ResourceAttributes(field_selector=None, group=None, label_selector=None, name=None, namespace=None, resource=None, subresource=None, verb=None, version=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.

attribute_map = {'field_selector': 'fieldSelector', 'group': 'group', 'label_selector': 'labelSelector', 'name': 'name', 'namespace': 'namespace', 'resource': 'resource', 'subresource': 'subresource', 'verb': 'verb', 'version': 'version'}
property field_selector

Gets the field_selector of this V1ResourceAttributes. # noqa: E501

Returns:

The field_selector of this V1ResourceAttributes. # noqa: E501

Return type:

V1FieldSelectorAttributes

property group

Gets the group of this V1ResourceAttributes. # noqa: E501

Group is the API Group of the Resource. “*” means all. # noqa: E501

Returns:

The group of this V1ResourceAttributes. # noqa: E501

Return type:

str

property label_selector

Gets the label_selector of this V1ResourceAttributes. # noqa: E501

Returns:

The label_selector of this V1ResourceAttributes. # noqa: E501

Return type:

V1LabelSelectorAttributes

property name

Gets the name of this V1ResourceAttributes. # noqa: E501

Name is the name of the resource being requested for a “get” or deleted for a “delete”. “” (empty) means all. # noqa: E501

Returns:

The name of this V1ResourceAttributes. # noqa: E501

Return type:

str

property namespace

Gets the namespace of this V1ResourceAttributes. # noqa: E501

Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces “” (empty) is defaulted for LocalSubjectAccessReviews “” (empty) is empty for cluster-scoped resources “” (empty) means “all” for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview # noqa: E501

Returns:

The namespace of this V1ResourceAttributes. # noqa: E501

Return type:

str

openapi_types = {'field_selector': 'V1FieldSelectorAttributes', 'group': 'str', 'label_selector': 'V1LabelSelectorAttributes', 'name': 'str', 'namespace': 'str', 'resource': 'str', 'subresource': 'str', 'verb': 'str', 'version': 'str'}
property resource

Gets the resource of this V1ResourceAttributes. # noqa: E501

Resource is one of the existing resource types. “*” means all. # noqa: E501

Returns:

The resource of this V1ResourceAttributes. # noqa: E501

Return type:

str

property subresource

Gets the subresource of this V1ResourceAttributes. # noqa: E501

Subresource is one of the existing resource types. “” means none. # noqa: E501

Returns:

The subresource of this V1ResourceAttributes. # 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 verb

Gets the verb of this V1ResourceAttributes. # noqa: E501

Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. “*” means all. # noqa: E501

Returns:

The verb of this V1ResourceAttributes. # noqa: E501

Return type:

str

property version

Gets the version of this V1ResourceAttributes. # noqa: E501

Version is the API Version of the Resource. “*” means all. # noqa: E501

Returns:

The version of this V1ResourceAttributes. # noqa: E501

Return type:

str