kubernetes_asyncio.client.models.v1_scoped_resource_selector_requirement 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_scoped_resource_selector_requirement.V1ScopedResourceSelectorRequirement(operator=None, scope_name=None, values=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 = {'operator': 'operator', 'scope_name': 'scopeName', 'values': 'values'}
- openapi_types = {'operator': 'str', 'scope_name': 'str', 'values': 'list[str]'}
- property operator
Gets the operator of this V1ScopedResourceSelectorRequirement. # noqa: E501
Represents a scope’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. # noqa: E501
- Returns:
The operator of this V1ScopedResourceSelectorRequirement. # noqa: E501
- Return type:
str
- property scope_name
Gets the scope_name of this V1ScopedResourceSelectorRequirement. # noqa: E501
The name of the scope that the selector applies to. # noqa: E501
- Returns:
The scope_name of this V1ScopedResourceSelectorRequirement. # 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 values
Gets the values of this V1ScopedResourceSelectorRequirement. # noqa: E501
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. # noqa: E501
- Returns:
The values of this V1ScopedResourceSelectorRequirement. # noqa: E501
- Return type:
list[str]