Class: Google::Cloud::Logging::ResourceDescriptor::LabelDescriptor
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::Logging::ResourceDescriptor::LabelDescriptor
 
 
- Defined in:
 - lib/google/cloud/logging/resource_descriptor.rb
 
Overview
LabelDescriptor
A definition of a label that can be used to describe instances of a
Google::Cloud::Logging::Resource. For example, Cloud SQL databases must be labeled with
their database_id. See #labels.
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
A human-readable description for the label.
 - 
  
    
      #key  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The key (name) of the label.
 - 
  
    
      #type  ⇒ Symbol? 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The type of data that can be assigned to the label.
 
Instance Attribute Details
#description ⇒ Object (readonly)
A human-readable description for the label.
      118 119 120  | 
    
      # File 'lib/google/cloud/logging/resource_descriptor.rb', line 118 def description @description end  | 
  
#key ⇒ Object (readonly)
The key (name) of the label.
      106 107 108  | 
    
      # File 'lib/google/cloud/logging/resource_descriptor.rb', line 106 def key @key end  | 
  
#type ⇒ Symbol? (readonly)
The type of data that can be assigned to the label.
      114 115 116  | 
    
      # File 'lib/google/cloud/logging/resource_descriptor.rb', line 114 def type @type end  |