Tag

class Tag

The metadata that you apply to a resource to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters. 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 makes 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 makes up a tag. A value acts as a descriptor in 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