Class: Google::Apis::MonitoringV3::LogMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_labelsHash<String,String>

The labels extracted from the log. Corresponds to the JSON property extractedLabels

Returns:

  • (Hash<String,String>)


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