Tag

class Tag

The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val key: String?

One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.

Link copied to clipboard

The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).

Functions

Link copied to clipboard
inline fun copy(block: Tag.Builder.() -> Unit = {}): Tag
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String