Tag

class oci.usage_api.models.Tag(**kwargs)

Bases: object

The tag used for filtering.

Methods

__init__(**kwargs) Initializes a new Tag object with values from keyword arguments.

Attributes

key Gets the key of this Tag.
namespace Gets the namespace of this Tag.
value 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.
key

Gets the key of this Tag. The tag key.

Returns:The key of this Tag.
Return type:str
namespace

Gets the namespace of this Tag. The tag namespace.

Returns:The namespace of this Tag.
Return type:str
value

Gets the value of this Tag. The tag value.

Returns:The value of this Tag.
Return type:str