Index: generated/googleapis/lib/monitoring/v3.dart |
diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart |
index f91dc71e7f42ea5086613d2e9da6aac067d508ea..12d1defd557b4f82c40fe4c442bd965ad4bbeeb5 100644 |
--- a/generated/googleapis/lib/monitoring/v3.dart |
+++ b/generated/googleapis/lib/monitoring/v3.dart |
@@ -269,20 +269,14 @@ class ProjectsGroupsResourceApi { |
* "projects/{project_id_or_number}". |
* Value must have pattern "^projects/[^/]+$". |
* |
- * [descendantsOfGroup] - A group name: |
- * "projects/{project_id_or_number}/groups/{group_id}". Returns the |
- * descendants of the specified group. This is a superset of the results |
- * returned by the childrenOfGroup filter, and includes children-of-children, |
- * and so forth. |
+ * [pageToken] - If this field is not empty then it must contain the |
+ * nextPageToken value returned by a previous call to this method. Using this |
+ * field causes the method to return additional results from the previous |
+ * method call. |
* |
* [pageSize] - A positive number that is the maximum number of results to |
* return. |
* |
- * [childrenOfGroup] - A group name: |
- * "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose |
- * parentName field contains the group name. If no groups have this parent, |
- * the results are empty. |
- * |
* [ancestorsOfGroup] - A group name: |
* "projects/{project_id_or_number}/groups/{group_id}". Returns groups that |
* are ancestors of the specified group. The groups are returned in order, |
@@ -290,10 +284,16 @@ class ProjectsGroupsResourceApi { |
* ancestor. If the specified group has no immediate parent, the results are |
* empty. |
* |
- * [pageToken] - If this field is not empty then it must contain the |
- * nextPageToken value returned by a previous call to this method. Using this |
- * field causes the method to return additional results from the previous |
- * method call. |
+ * [childrenOfGroup] - A group name: |
+ * "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose |
+ * parentName field contains the group name. If no groups have this parent, |
+ * the results are empty. |
+ * |
+ * [descendantsOfGroup] - A group name: |
+ * "projects/{project_id_or_number}/groups/{group_id}". Returns the |
+ * descendants of the specified group. This is a superset of the results |
+ * returned by the childrenOfGroup filter, and includes children-of-children, |
+ * and so forth. |
* |
* Completes with a [ListGroupsResponse]. |
* |
@@ -303,7 +303,7 @@ class ProjectsGroupsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListGroupsResponse> list(core.String name, {core.String descendantsOfGroup, core.int pageSize, core.String childrenOfGroup, core.String ancestorsOfGroup, core.String pageToken}) { |
+ async.Future<ListGroupsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String ancestorsOfGroup, core.String childrenOfGroup, core.String descendantsOfGroup}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -314,20 +314,20 @@ class ProjectsGroupsResourceApi { |
if (name == null) { |
throw new core.ArgumentError("Parameter name is required."); |
} |
- if (descendantsOfGroup != null) { |
- _queryParams["descendantsOfGroup"] = [descendantsOfGroup]; |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
} |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- if (childrenOfGroup != null) { |
- _queryParams["childrenOfGroup"] = [childrenOfGroup]; |
- } |
if (ancestorsOfGroup != null) { |
_queryParams["ancestorsOfGroup"] = [ancestorsOfGroup]; |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
+ if (childrenOfGroup != null) { |
+ _queryParams["childrenOfGroup"] = [childrenOfGroup]; |
+ } |
+ if (descendantsOfGroup != null) { |
+ _queryParams["descendantsOfGroup"] = [descendantsOfGroup]; |
} |
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/groups'; |
@@ -415,13 +415,18 @@ class ProjectsGroupsMembersResourceApi { |
* "projects/{project_id_or_number}/groups/{group_id}". |
* Value must have pattern "^projects/[^/]+/groups/[^/]+$". |
* |
+ * [interval_endTime] - Required. The end of the time interval. |
+ * |
* [filter] - An optional list filter describing the members to be returned. |
* The filter may reference the type, labels, and metadata of monitored |
* resources that comprise the group. For example, to return only resources |
* representing Compute Engine VM instances, use this filter: |
* resource.type = "gce_instance" |
* |
- * [interval_endTime] - Required. The end of the time interval. |
+ * [pageToken] - If this field is not empty then it must contain the |
+ * nextPageToken value returned by a previous call to this method. Using this |
+ * field causes the method to return additional results from the previous |
+ * method call. |
* |
* [interval_startTime] - Optional. The beginning of the time interval. The |
* default value for the start time is the end time. The start time must not |
@@ -430,11 +435,6 @@ class ProjectsGroupsMembersResourceApi { |
* [pageSize] - A positive number that is the maximum number of results to |
* return. |
* |
- * [pageToken] - If this field is not empty then it must contain the |
- * nextPageToken value returned by a previous call to this method. Using this |
- * field causes the method to return additional results from the previous |
- * method call. |
- * |
* Completes with a [ListGroupMembersResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -443,7 +443,7 @@ class ProjectsGroupsMembersResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListGroupMembersResponse> list(core.String name, {core.String filter, core.String interval_endTime, core.String interval_startTime, core.int pageSize, core.String pageToken}) { |
+ async.Future<ListGroupMembersResponse> list(core.String name, {core.String interval_endTime, core.String filter, core.String pageToken, core.String interval_startTime, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -454,11 +454,14 @@ class ProjectsGroupsMembersResourceApi { |
if (name == null) { |
throw new core.ArgumentError("Parameter name is required."); |
} |
+ if (interval_endTime != null) { |
+ _queryParams["interval.endTime"] = [interval_endTime]; |
+ } |
if (filter != null) { |
_queryParams["filter"] = [filter]; |
} |
- if (interval_endTime != null) { |
- _queryParams["interval.endTime"] = [interval_endTime]; |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
} |
if (interval_startTime != null) { |
_queryParams["interval.startTime"] = [interval_startTime]; |
@@ -466,9 +469,6 @@ class ProjectsGroupsMembersResourceApi { |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/members'; |
@@ -635,6 +635,11 @@ class ProjectsMetricDescriptorsResourceApi { |
* "projects/{project_id_or_number}". |
* Value must have pattern "^projects/[^/]+$". |
* |
+ * [pageToken] - If this field is not empty then it must contain the |
+ * nextPageToken value returned by a previous call to this method. Using this |
+ * field causes the method to return additional results from the previous |
+ * method call. |
+ * |
* [pageSize] - A positive number that is the maximum number of results to |
* return. |
* |
@@ -644,11 +649,6 @@ class ProjectsMetricDescriptorsResourceApi { |
* all custom metrics: |
* metric.type = starts_with("custom.googleapis.com/") |
* |
- * [pageToken] - If this field is not empty then it must contain the |
- * nextPageToken value returned by a previous call to this method. Using this |
- * field causes the method to return additional results from the previous |
- * method call. |
- * |
* Completes with a [ListMetricDescriptorsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -657,7 +657,7 @@ class ProjectsMetricDescriptorsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListMetricDescriptorsResponse> list(core.String name, {core.int pageSize, core.String filter, core.String pageToken}) { |
+ async.Future<ListMetricDescriptorsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -668,15 +668,15 @@ class ProjectsMetricDescriptorsResourceApi { |
if (name == null) { |
throw new core.ArgumentError("Parameter name is required."); |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
if (filter != null) { |
_queryParams["filter"] = [filter]; |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/metricDescriptors'; |
@@ -753,6 +753,11 @@ class ProjectsMonitoredResourceDescriptorsResourceApi { |
* "projects/{project_id_or_number}". |
* Value must have pattern "^projects/[^/]+$". |
* |
+ * [pageToken] - If this field is not empty then it must contain the |
+ * nextPageToken value returned by a previous call to this method. Using this |
+ * field causes the method to return additional results from the previous |
+ * method call. |
+ * |
* [pageSize] - A positive number that is the maximum number of results to |
* return. |
* |
@@ -762,11 +767,6 @@ class ProjectsMonitoredResourceDescriptorsResourceApi { |
* an id label: |
* resource.type = starts_with("gce_") AND resource.label:id |
* |
- * [pageToken] - If this field is not empty then it must contain the |
- * nextPageToken value returned by a previous call to this method. Using this |
- * field causes the method to return additional results from the previous |
- * method call. |
- * |
* Completes with a [ListMonitoredResourceDescriptorsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -775,7 +775,7 @@ class ProjectsMonitoredResourceDescriptorsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListMonitoredResourceDescriptorsResponse> list(core.String name, {core.int pageSize, core.String filter, core.String pageToken}) { |
+ async.Future<ListMonitoredResourceDescriptorsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -786,15 +786,15 @@ class ProjectsMonitoredResourceDescriptorsResourceApi { |
if (name == null) { |
throw new core.ArgumentError("Parameter name is required."); |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
if (filter != null) { |
_queryParams["filter"] = [filter]; |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/monitoredResourceDescriptors'; |
@@ -876,11 +876,46 @@ class ProjectsTimeSeriesResourceApi { |
* "projects/{project_id_or_number}". |
* Value must have pattern "^projects/[^/]+$". |
* |
- * [filter] - A monitoring filter that specifies which time series should be |
- * returned. The filter must specify a single metric type, and can |
- * additionally specify metric labels and other information. For example: |
- * metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND |
- * metric.label.instance_name = "my-instance-name" |
+ * [pageToken] - If this field is not empty then it must contain the |
+ * nextPageToken value returned by a previous call to this method. Using this |
+ * field causes the method to return additional results from the previous |
+ * method call. |
+ * |
+ * [aggregation_perSeriesAligner] - The approach to be used to align |
+ * individual time series. Not all alignment functions may be applied to all |
+ * time series, depending on the metric type and value type of the original |
+ * time series. Alignment may change the metric type or the value type of the |
+ * time series.Time series data must be aligned in order to perform cross-time |
+ * series reduction. If crossSeriesReducer is specified, then perSeriesAligner |
+ * must be specified and not equal ALIGN_NONE and alignmentPeriod must be |
+ * specified; otherwise, an error is returned. |
+ * Possible string values are: |
+ * - "ALIGN_NONE" : A ALIGN_NONE. |
+ * - "ALIGN_DELTA" : A ALIGN_DELTA. |
+ * - "ALIGN_RATE" : A ALIGN_RATE. |
+ * - "ALIGN_INTERPOLATE" : A ALIGN_INTERPOLATE. |
+ * - "ALIGN_NEXT_OLDER" : A ALIGN_NEXT_OLDER. |
+ * - "ALIGN_MIN" : A ALIGN_MIN. |
+ * - "ALIGN_MAX" : A ALIGN_MAX. |
+ * - "ALIGN_MEAN" : A ALIGN_MEAN. |
+ * - "ALIGN_COUNT" : A ALIGN_COUNT. |
+ * - "ALIGN_SUM" : A ALIGN_SUM. |
+ * - "ALIGN_STDDEV" : A ALIGN_STDDEV. |
+ * - "ALIGN_COUNT_TRUE" : A ALIGN_COUNT_TRUE. |
+ * - "ALIGN_FRACTION_TRUE" : A ALIGN_FRACTION_TRUE. |
+ * - "ALIGN_PERCENTILE_99" : A ALIGN_PERCENTILE_99. |
+ * - "ALIGN_PERCENTILE_95" : A ALIGN_PERCENTILE_95. |
+ * - "ALIGN_PERCENTILE_50" : A ALIGN_PERCENTILE_50. |
+ * - "ALIGN_PERCENTILE_05" : A ALIGN_PERCENTILE_05. |
+ * |
+ * [interval_startTime] - Optional. The beginning of the time interval. The |
+ * default value for the start time is the end time. The start time must not |
+ * be later than the end time. |
+ * |
+ * [view] - Specifies which information is returned about the time series. |
+ * Possible string values are: |
+ * - "FULL" : A FULL. |
+ * - "HEADERS" : A HEADERS. |
* |
* [aggregation_groupByFields] - The set of fields to preserve when |
* crossSeriesReducer is specified. The groupByFields determine how the time |
@@ -895,6 +930,25 @@ class ProjectsTimeSeriesResourceApi { |
* aggregated into a single output time series. If crossSeriesReducer is not |
* defined, this field is ignored. |
* |
+ * [interval_endTime] - Required. The end of the time interval. |
+ * |
+ * [aggregation_alignmentPeriod] - The alignment period for per-time series |
+ * alignment. If present, alignmentPeriod must be at least 60 seconds. After |
+ * per-time series alignment, each time series will contain data points only |
+ * on the period boundaries. If perSeriesAligner is not specified or equals |
+ * ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified |
+ * and does not equal ALIGN_NONE, then this field must be defined; otherwise |
+ * an error is returned. |
+ * |
+ * [pageSize] - A positive number that is the maximum number of results to |
+ * return. When view field sets to FULL, it limits the number of Points server |
+ * will return; if view field is HEADERS, it limits the number of TimeSeries |
+ * server will return. |
+ * |
+ * [orderBy] - Specifies the order in which the points of the time series |
+ * should be returned. By default, results are not ordered. Currently, this |
+ * field must be left blank. |
+ * |
* [aggregation_crossSeriesReducer] - The approach to be used to combine time |
* series. Not all reducer functions may be applied to all time series, |
* depending on the metric type and the value type of the original time |
@@ -918,65 +972,11 @@ class ProjectsTimeSeriesResourceApi { |
* - "REDUCE_PERCENTILE_50" : A REDUCE_PERCENTILE_50. |
* - "REDUCE_PERCENTILE_05" : A REDUCE_PERCENTILE_05. |
* |
- * [interval_endTime] - Required. The end of the time interval. |
- * |
- * [interval_startTime] - Optional. The beginning of the time interval. The |
- * default value for the start time is the end time. The start time must not |
- * be later than the end time. |
- * |
- * [pageSize] - A positive number that is the maximum number of results to |
- * return. When view field sets to FULL, it limits the number of Points server |
- * will return; if view field is HEADERS, it limits the number of TimeSeries |
- * server will return. |
- * |
- * [view] - Specifies which information is returned about the time series. |
- * Possible string values are: |
- * - "FULL" : A FULL. |
- * - "HEADERS" : A HEADERS. |
- * |
- * [aggregation_alignmentPeriod] - The alignment period for per-time series |
- * alignment. If present, alignmentPeriod must be at least 60 seconds. After |
- * per-time series alignment, each time series will contain data points only |
- * on the period boundaries. If perSeriesAligner is not specified or equals |
- * ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified |
- * and does not equal ALIGN_NONE, then this field must be defined; otherwise |
- * an error is returned. |
- * |
- * [aggregation_perSeriesAligner] - The approach to be used to align |
- * individual time series. Not all alignment functions may be applied to all |
- * time series, depending on the metric type and value type of the original |
- * time series. Alignment may change the metric type or the value type of the |
- * time series.Time series data must be aligned in order to perform cross-time |
- * series reduction. If crossSeriesReducer is specified, then perSeriesAligner |
- * must be specified and not equal ALIGN_NONE and alignmentPeriod must be |
- * specified; otherwise, an error is returned. |
- * Possible string values are: |
- * - "ALIGN_NONE" : A ALIGN_NONE. |
- * - "ALIGN_DELTA" : A ALIGN_DELTA. |
- * - "ALIGN_RATE" : A ALIGN_RATE. |
- * - "ALIGN_INTERPOLATE" : A ALIGN_INTERPOLATE. |
- * - "ALIGN_NEXT_OLDER" : A ALIGN_NEXT_OLDER. |
- * - "ALIGN_MIN" : A ALIGN_MIN. |
- * - "ALIGN_MAX" : A ALIGN_MAX. |
- * - "ALIGN_MEAN" : A ALIGN_MEAN. |
- * - "ALIGN_COUNT" : A ALIGN_COUNT. |
- * - "ALIGN_SUM" : A ALIGN_SUM. |
- * - "ALIGN_STDDEV" : A ALIGN_STDDEV. |
- * - "ALIGN_COUNT_TRUE" : A ALIGN_COUNT_TRUE. |
- * - "ALIGN_FRACTION_TRUE" : A ALIGN_FRACTION_TRUE. |
- * - "ALIGN_PERCENTILE_99" : A ALIGN_PERCENTILE_99. |
- * - "ALIGN_PERCENTILE_95" : A ALIGN_PERCENTILE_95. |
- * - "ALIGN_PERCENTILE_50" : A ALIGN_PERCENTILE_50. |
- * - "ALIGN_PERCENTILE_05" : A ALIGN_PERCENTILE_05. |
- * |
- * [orderBy] - Specifies the order in which the points of the time series |
- * should be returned. By default, results are not ordered. Currently, this |
- * field must be left blank. |
- * |
- * [pageToken] - If this field is not empty then it must contain the |
- * nextPageToken value returned by a previous call to this method. Using this |
- * field causes the method to return additional results from the previous |
- * method call. |
+ * [filter] - A monitoring filter that specifies which time series should be |
+ * returned. The filter must specify a single metric type, and can |
+ * additionally specify metric labels and other information. For example: |
+ * metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND |
+ * metric.label.instance_name = "my-instance-name" |
* |
* Completes with a [ListTimeSeriesResponse]. |
* |
@@ -986,7 +986,7 @@ class ProjectsTimeSeriesResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListTimeSeriesResponse> list(core.String name, {core.String filter, core.List<core.String> aggregation_groupByFields, core.String aggregation_crossSeriesReducer, core.String interval_endTime, core.String interval_startTime, core.int pageSize, core.String view, core.String aggregation_alignmentPeriod, core.String aggregation_perSeriesAligner, core.String orderBy, core.String pageToken}) { |
+ async.Future<ListTimeSeriesResponse> list(core.String name, {core.String pageToken, core.String aggregation_perSeriesAligner, core.String interval_startTime, core.String view, core.List<core.String> aggregation_groupByFields, core.String interval_endTime, core.String aggregation_alignmentPeriod, core.int pageSize, core.String orderBy, core.String aggregation_crossSeriesReducer, core.String filter}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -997,38 +997,38 @@ class ProjectsTimeSeriesResourceApi { |
if (name == null) { |
throw new core.ArgumentError("Parameter name is required."); |
} |
- if (filter != null) { |
- _queryParams["filter"] = [filter]; |
- } |
- if (aggregation_groupByFields != null) { |
- _queryParams["aggregation.groupByFields"] = aggregation_groupByFields; |
- } |
- if (aggregation_crossSeriesReducer != null) { |
- _queryParams["aggregation.crossSeriesReducer"] = [aggregation_crossSeriesReducer]; |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
} |
- if (interval_endTime != null) { |
- _queryParams["interval.endTime"] = [interval_endTime]; |
+ if (aggregation_perSeriesAligner != null) { |
+ _queryParams["aggregation.perSeriesAligner"] = [aggregation_perSeriesAligner]; |
} |
if (interval_startTime != null) { |
_queryParams["interval.startTime"] = [interval_startTime]; |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (view != null) { |
_queryParams["view"] = [view]; |
} |
+ if (aggregation_groupByFields != null) { |
+ _queryParams["aggregation.groupByFields"] = aggregation_groupByFields; |
+ } |
+ if (interval_endTime != null) { |
+ _queryParams["interval.endTime"] = [interval_endTime]; |
+ } |
if (aggregation_alignmentPeriod != null) { |
_queryParams["aggregation.alignmentPeriod"] = [aggregation_alignmentPeriod]; |
} |
- if (aggregation_perSeriesAligner != null) { |
- _queryParams["aggregation.perSeriesAligner"] = [aggregation_perSeriesAligner]; |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
} |
if (orderBy != null) { |
_queryParams["orderBy"] = [orderBy]; |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
+ if (aggregation_crossSeriesReducer != null) { |
+ _queryParams["aggregation.crossSeriesReducer"] = [aggregation_crossSeriesReducer]; |
+ } |
+ if (filter != null) { |
+ _queryParams["filter"] = [filter]; |
} |
_url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/timeSeries'; |