Class KeyValuePair (0.10.3)

KeyValuePair(mapping=None, *, ignore_unknown_fields=False, **kwargs)

KeyValuePair defines a key-value pair for matching resource labels.

Attributes

Name Description
key str
Required. The key of the label to match. This must be in the format {label_key}. The key must match the regex Format:[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}.
values MutableSequence[str]
Required. The values of the label to match. There will be explicit “OR” between values of array. Each value must be in the format {label_value}. The value must match the regex Format: [\\p{Ll}\\p{Lo}\\p{N}_-]{1,63}.