| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis.monitoring.v3; | 3 library googleapis.monitoring.v3; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| (...skipping 2064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2075 * increasing end times, until an event resets the cumulative value to zero | 2075 * increasing end times, until an event resets the cumulative value to zero |
| 2076 * and sets a new start time for the following points. | 2076 * and sets a new start time for the following points. |
| 2077 */ | 2077 */ |
| 2078 core.String metricKind; | 2078 core.String metricKind; |
| 2079 /** | 2079 /** |
| 2080 * The resource name of the metric descriptor. Depending on the | 2080 * The resource name of the metric descriptor. Depending on the |
| 2081 * implementation, the name typically includes: (1) the parent resource name | 2081 * implementation, the name typically includes: (1) the parent resource name |
| 2082 * that defines the scope of the metric type or of its data; and (2) the | 2082 * that defines the scope of the metric type or of its data; and (2) the |
| 2083 * metric's URL-encoded type, which also appears in the type field of this | 2083 * metric's URL-encoded type, which also appears in the type field of this |
| 2084 * descriptor. For example, following is the resource name of a custom metric | 2084 * descriptor. For example, following is the resource name of a custom metric |
| 2085 * within the GCP project 123456789: | 2085 * within the GCP project my-project-id: |
| 2086 * "projects/123456789/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpai
d%2Famount" | 2086 * "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2
Fpaid%2Famount" |
| 2087 */ | 2087 */ |
| 2088 core.String name; | 2088 core.String name; |
| 2089 /** | 2089 /** |
| 2090 * The metric type, including its DNS name prefix. The type is not | 2090 * The metric type, including its DNS name prefix. The type is not |
| 2091 * URL-encoded. All user-defined metric types have the DNS name | 2091 * URL-encoded. All user-defined custom metric types have the DNS name |
| 2092 * custom.googleapis.com. Metric types should use a natural hierarchical | 2092 * custom.googleapis.com. Metric types should use a natural hierarchical |
| 2093 * grouping. For example: | 2093 * grouping. For example: |
| 2094 * "custom.googleapis.com/invoice/paid/amount" | 2094 * "custom.googleapis.com/invoice/paid/amount" |
| 2095 * "appengine.googleapis.com/http/server/response_latencies" | 2095 * "appengine.googleapis.com/http/server/response_latencies" |
| 2096 */ | 2096 */ |
| 2097 core.String type; | 2097 core.String type; |
| 2098 /** | 2098 /** |
| 2099 * The unit in which the metric value is reported. It is only applicable if | 2099 * The unit in which the metric value is reported. It is only applicable if |
| 2100 * the value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a | 2100 * the value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a |
| 2101 * subset of The Unified Code for Units of Measure | 2101 * subset of The Unified Code for Units of Measure |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2763 } | 2763 } |
| 2764 if (int64Value != null) { | 2764 if (int64Value != null) { |
| 2765 _json["int64Value"] = int64Value; | 2765 _json["int64Value"] = int64Value; |
| 2766 } | 2766 } |
| 2767 if (stringValue != null) { | 2767 if (stringValue != null) { |
| 2768 _json["stringValue"] = stringValue; | 2768 _json["stringValue"] = stringValue; |
| 2769 } | 2769 } |
| 2770 return _json; | 2770 return _json; |
| 2771 } | 2771 } |
| 2772 } | 2772 } |
| OLD | NEW |