Tag¶
- class oci.usage_api.models.Tag(**kwargs)¶
Bases:
objectThe tag used for filtering.
Methods:
__init__(**kwargs)Initializes a new Tag object with values from keyword arguments.
Attributes:
Gets the key of this Tag.
Gets the namespace of this Tag.
Gets the value of this Tag.
- __init__(**kwargs)¶
Initializes a new Tag object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
namespace (str) – The value to assign to the namespace property of this Tag.
key (str) – The value to assign to the key property of this Tag.
value (str) – The value to assign to the value property of this Tag.
- property key¶
Gets the key of this Tag. The tag key.
- Returns
The key of this Tag.
- Return type
str
- property namespace¶
Gets the namespace of this Tag. The tag namespace.
- Returns
The namespace of this Tag.
- Return type
str
- property value¶
Gets the value of this Tag. The tag value.
- Returns
The value of this Tag.
- Return type
str