Label Descriptors#

Label Descriptors for the Google Monitoring API (V3).

class google.cloud.monitoring.label.LabelDescriptor(key, value_type='STRING', description='')[source]#

Bases: object

Schema specification and documentation for a single label.

Parameters:
  • key (string) – The name of the label.
  • value_type (string) – The type of the label. It must be one of LabelValueType.STRING, LabelValueType.BOOL, or LabelValueType.INT64. See LabelValueType.
  • description (string) – A human-readable description for the label.
class google.cloud.monitoring.label.LabelValueType[source]#

Bases: object

Allowed values for the type of a label.