Class: Google::Api::LabelDescriptor
- Inherits:
-
Object
- Object
- Google::Api::LabelDescriptor
- Defined in:
- lib/google/cloud/logging/v2/doc/google/api/label.rb
Overview
A description of a label.
Defined Under Namespace
Modules: ValueType
Instance Attribute Summary collapse
-
#description ⇒ String
A human-readable description for the label.
-
#key ⇒ String
The label key.
-
#value_type ⇒ Google::Api::LabelDescriptor::ValueType
The type of data that can be assigned to the label.
Instance Attribute Details
#description ⇒ String
Returns A human-readable description for the label.
27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/google/cloud/logging/v2/doc/google/api/label.rb', line 27 class LabelDescriptor # Value types that can be used as label values. module ValueType # A variable-length string. This is the default. STRING = 0 # Boolean; true or false. BOOL = 1 # A 64-bit signed integer. INT64 = 2 end end |
#key ⇒ String
Returns The label key.
27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/google/cloud/logging/v2/doc/google/api/label.rb', line 27 class LabelDescriptor # Value types that can be used as label values. module ValueType # A variable-length string. This is the default. STRING = 0 # Boolean; true or false. BOOL = 1 # A 64-bit signed integer. INT64 = 2 end end |
#value_type ⇒ Google::Api::LabelDescriptor::ValueType
Returns The type of data that can be assigned to the label.
27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/google/cloud/logging/v2/doc/google/api/label.rb', line 27 class LabelDescriptor # Value types that can be used as label values. module ValueType # A variable-length string. This is the default. STRING = 0 # Boolean; true or false. BOOL = 1 # A 64-bit signed integer. INT64 = 2 end end |