| OLD | NEW |
| 1 library googleapis_beta.cloudmonitoring.v2beta1; | 1 library googleapis_beta.cloudmonitoring.v2beta1; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
| 9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
| 10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
| (...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 /** | 797 /** |
| 798 * The value of this data point as a double-precision floating-point number. | 798 * The value of this data point as a double-precision floating-point number. |
| 799 */ | 799 */ |
| 800 core.double doubleValue; | 800 core.double doubleValue; |
| 801 | 801 |
| 802 /** | 802 /** |
| 803 * The interval [start, end] is the time period to which the point's value | 803 * The interval [start, end] is the time period to which the point's value |
| 804 * applies. For gauge metrics, whose values are instantaneous measurements, | 804 * applies. For gauge metrics, whose values are instantaneous measurements, |
| 805 * this interval should be empty (start should equal end). For cumulative | 805 * this interval should be empty (start should equal end). For cumulative |
| 806 * metrics (of which deltas and rates are special cases), the interval should | 806 * metrics (of which deltas and rates are special cases), the interval should |
| 807 * be non-empty. Both start and end are RFC 3999 strings. | 807 * be non-empty. Both start and end are RFC 3339 strings. |
| 808 */ | 808 */ |
| 809 core.DateTime end; | 809 core.DateTime end; |
| 810 | 810 |
| 811 /** The value of this data point as a 64-bit integer. */ | 811 /** The value of this data point as a 64-bit integer. */ |
| 812 core.String int64Value; | 812 core.String int64Value; |
| 813 | 813 |
| 814 /** | 814 /** |
| 815 * The interval [start, end] is the time period to which the point's value | 815 * The interval [start, end] is the time period to which the point's value |
| 816 * applies. For gauge metrics, whose values are instantaneous measurements, | 816 * applies. For gauge metrics, whose values are instantaneous measurements, |
| 817 * this interval should be empty (start should equal end). For cumulative | 817 * this interval should be empty (start should equal end). For cumulative |
| 818 * metrics (of which deltas and rates are special cases), the interval should | 818 * metrics (of which deltas and rates are special cases), the interval should |
| 819 * be non-empty. Both start and end are RFC 3999 strings. | 819 * be non-empty. Both start and end are RFC 3339 strings. |
| 820 */ | 820 */ |
| 821 core.DateTime start; | 821 core.DateTime start; |
| 822 | 822 |
| 823 /** The value of this data point in string format. */ | 823 /** The value of this data point in string format. */ |
| 824 core.String stringValue; | 824 core.String stringValue; |
| 825 | 825 |
| 826 | 826 |
| 827 Point(); | 827 Point(); |
| 828 | 828 |
| 829 Point.fromJson(core.Map _json) { | 829 Point.fromJson(core.Map _json) { |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1088 if (timeseriesDesc != null) { | 1088 if (timeseriesDesc != null) { |
| 1089 _json["timeseriesDesc"] = (timeseriesDesc).toJson(); | 1089 _json["timeseriesDesc"] = (timeseriesDesc).toJson(); |
| 1090 } | 1090 } |
| 1091 return _json; | 1091 return _json; |
| 1092 } | 1092 } |
| 1093 } | 1093 } |
| 1094 | 1094 |
| 1095 | 1095 |
| 1096 /** TimeseriesDescriptor identifies a single time series. */ | 1096 /** TimeseriesDescriptor identifies a single time series. */ |
| 1097 class TimeseriesDescriptor { | 1097 class TimeseriesDescriptor { |
| 1098 /** | 1098 /** The label's name. */ |
| 1099 * The set of key-value pairs that describe this time series, including | |
| 1100 * target-specific labels and metric-specific labels. | |
| 1101 */ | |
| 1102 core.Map<core.String, core.String> labels; | 1099 core.Map<core.String, core.String> labels; |
| 1103 | 1100 |
| 1104 /** The name of the metric. */ | 1101 /** The name of the metric. */ |
| 1105 core.String metric; | 1102 core.String metric; |
| 1106 | 1103 |
| 1107 /** | 1104 /** |
| 1108 * The Developers Console project number to which this time series belongs. | 1105 * The Developers Console project number to which this time series belongs. |
| 1109 */ | 1106 */ |
| 1110 core.String project; | 1107 core.String project; |
| 1111 | 1108 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 1133 _json["metric"] = metric; | 1130 _json["metric"] = metric; |
| 1134 } | 1131 } |
| 1135 if (project != null) { | 1132 if (project != null) { |
| 1136 _json["project"] = project; | 1133 _json["project"] = project; |
| 1137 } | 1134 } |
| 1138 return _json; | 1135 return _json; |
| 1139 } | 1136 } |
| 1140 } | 1137 } |
| 1141 | 1138 |
| 1142 | 1139 |
| 1140 /** Not documented yet. */ |
| 1141 class TimeseriesDescriptorLabel { |
| 1142 /** The label's name. */ |
| 1143 core.String key; |
| 1144 |
| 1145 /** The label's value. */ |
| 1146 core.String value; |
| 1147 |
| 1148 |
| 1149 TimeseriesDescriptorLabel(); |
| 1150 |
| 1151 TimeseriesDescriptorLabel.fromJson(core.Map _json) { |
| 1152 if (_json.containsKey("key")) { |
| 1153 key = _json["key"]; |
| 1154 } |
| 1155 if (_json.containsKey("value")) { |
| 1156 value = _json["value"]; |
| 1157 } |
| 1158 } |
| 1159 |
| 1160 core.Map toJson() { |
| 1161 var _json = new core.Map(); |
| 1162 if (key != null) { |
| 1163 _json["key"] = key; |
| 1164 } |
| 1165 if (value != null) { |
| 1166 _json["value"] = value; |
| 1167 } |
| 1168 return _json; |
| 1169 } |
| 1170 } |
| 1171 |
| 1172 |
| OLD | NEW |