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

- old
+ new

@@ -20,18 +20,20 @@ optional :resource, :message, 2, "google.api.MonitoredResource" optional :metadata, :message, 7, "google.api.MonitoredResourceMetadata" optional :metric_kind, :enum, 3, "google.api.MetricDescriptor.MetricKind" optional :value_type, :enum, 4, "google.api.MetricDescriptor.ValueType" repeated :points, :message, 5, "google.monitoring.v3.Point" + optional :unit, :string, 8 end add_message "google.monitoring.v3.TimeSeriesDescriptor" do repeated :label_descriptors, :message, 1, "google.api.LabelDescriptor" repeated :point_descriptors, :message, 5, "google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor" end add_message "google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor" do optional :key, :string, 1 optional :value_type, :enum, 2, "google.api.MetricDescriptor.ValueType" optional :metric_kind, :enum, 3, "google.api.MetricDescriptor.MetricKind" + optional :unit, :string, 4 end add_message "google.monitoring.v3.TimeSeriesData" do repeated :label_values, :message, 1, "google.monitoring.v3.LabelValue" repeated :point_data, :message, 2, "google.monitoring.v3.TimeSeriesData.PointData" end