Package com.google.cloud
Class MonitoredResourceDescriptor.LabelDescriptor
java.lang.Object
com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MonitoredResourceDescriptor
public static class MonitoredResourceDescriptor.LabelDescriptor
extends Object
implements Serializable
This class describes a label for a monitored resource. Label descriptors contain the key for
the label, the type of data that the label can hold and an optional description.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumValue types that can be used as label values. -
Method Summary
-
Method Details
-
getKey
Returns the key associated to this label. -
getValueType
Returns the type of data that can be assigned to this label. -
getDescription
Returns the optional human-readable description for this label. If not set, this method returnsnull. -
hashCode
public final int hashCode() -
equals
-
toString
-