Class: Google::Apis::MonitoringV3::LogMetadata
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::LogMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb
Overview
Information about the log for log-based alerts.
Instance Attribute Summary collapse
-
#extracted_labels ⇒ Hash<String,String>
The labels extracted from the log.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LogMetadata
constructor
A new instance of LogMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LogMetadata
Returns a new instance of LogMetadata.
2950 2951 2952 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2950 def initialize(**args) update!(**args) end |
Instance Attribute Details
#extracted_labels ⇒ Hash<String,String>
The labels extracted from the log.
Corresponds to the JSON property extractedLabels
2948 2949 2950 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2948 def extracted_labels @extracted_labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2955 2956 2957 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2955 def update!(**args) @extracted_labels = args[:extracted_labels] if args.key?(:extracted_labels) end |