lib/google/monitoring/v3/alert_pb.rb in google-cloud-monitoring-v3-0.3.0 vs lib/google/monitoring/v3/alert_pb.rb in google-cloud-monitoring-v3-0.4.0

- old
+ new

@@ -1,10 +1,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/monitoring/v3/alert.proto require 'google/protobuf' +require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/monitoring/v3/common_pb' require 'google/monitoring/v3/mutation_record_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/wrappers_pb' @@ -32,10 +33,11 @@ optional :name, :string, 12 optional :display_name, :string, 6 oneof :condition do optional :condition_threshold, :message, 1, "google.monitoring.v3.AlertPolicy.Condition.MetricThreshold" optional :condition_absent, :message, 2, "google.monitoring.v3.AlertPolicy.Condition.MetricAbsence" + optional :condition_monitoring_query_language, :message, 19, "google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition" end end add_message "google.monitoring.v3.AlertPolicy.Condition.Trigger" do oneof :type do optional :count, :int32, 1 @@ -56,10 +58,15 @@ optional :filter, :string, 1 repeated :aggregations, :message, 5, "google.monitoring.v3.Aggregation" optional :duration, :message, 2, "google.protobuf.Duration" optional :trigger, :message, 3, "google.monitoring.v3.AlertPolicy.Condition.Trigger" end + add_message "google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition" do + optional :query, :string, 1 + optional :duration, :message, 2, "google.protobuf.Duration" + optional :trigger, :message, 3, "google.monitoring.v3.AlertPolicy.Condition.Trigger" + end add_enum "google.monitoring.v3.AlertPolicy.ConditionCombinerType" do value :COMBINE_UNSPECIFIED, 0 value :AND, 1 value :OR, 2 value :AND_WITH_MATCHING_RESOURCE, 3 @@ -75,9 +82,10 @@ AlertPolicy::Documentation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Documentation").msgclass AlertPolicy::Condition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition").msgclass AlertPolicy::Condition::Trigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.Trigger").msgclass AlertPolicy::Condition::MetricThreshold = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.MetricThreshold").msgclass AlertPolicy::Condition::MetricAbsence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.MetricAbsence").msgclass + AlertPolicy::Condition::MonitoringQueryLanguageCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition").msgclass AlertPolicy::ConditionCombinerType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.ConditionCombinerType").enummodule end end end end