| Index: generated/googleapis/lib/monitoring/v3.dart
|
| diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart
|
| index 12d1defd557b4f82c40fe4c442bd965ad4bbeeb5..ac484242278355688136415913863937b4732d29 100644
|
| --- a/generated/googleapis/lib/monitoring/v3.dart
|
| +++ b/generated/googleapis/lib/monitoring/v3.dart
|
| @@ -269,6 +269,17 @@ class ProjectsGroupsResourceApi {
|
| * "projects/{project_id_or_number}".
|
| * Value must have pattern "^projects/[^/]+$".
|
| *
|
| + * [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.
|
| + *
|
| * [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
|
| @@ -284,17 +295,6 @@ class ProjectsGroupsResourceApi {
|
| * ancestor. If the specified group has no immediate parent, the results are
|
| * empty.
|
| *
|
| - * [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].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -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 pageToken, core.int pageSize, core.String ancestorsOfGroup, core.String childrenOfGroup, core.String descendantsOfGroup}) {
|
| + async.Future<ListGroupsResponse> list(core.String name, {core.String childrenOfGroup, core.String descendantsOfGroup, core.String pageToken, core.int pageSize, core.String ancestorsOfGroup}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -314,6 +314,12 @@ class ProjectsGroupsResourceApi {
|
| if (name == null) {
|
| throw new core.ArgumentError("Parameter name is required.");
|
| }
|
| + if (childrenOfGroup != null) {
|
| + _queryParams["childrenOfGroup"] = [childrenOfGroup];
|
| + }
|
| + if (descendantsOfGroup != null) {
|
| + _queryParams["descendantsOfGroup"] = [descendantsOfGroup];
|
| + }
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| @@ -323,12 +329,6 @@ class ProjectsGroupsResourceApi {
|
| if (ancestorsOfGroup != null) {
|
| _queryParams["ancestorsOfGroup"] = [ancestorsOfGroup];
|
| }
|
| - if (childrenOfGroup != null) {
|
| - _queryParams["childrenOfGroup"] = [childrenOfGroup];
|
| - }
|
| - if (descendantsOfGroup != null) {
|
| - _queryParams["descendantsOfGroup"] = [descendantsOfGroup];
|
| - }
|
|
|
| _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/groups';
|
|
|
| @@ -428,13 +428,13 @@ class ProjectsGroupsMembersResourceApi {
|
| * 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.
|
| + *
|
| * [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.
|
| - *
|
| * 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 interval_endTime, core.String filter, core.String pageToken, core.String interval_startTime, core.int pageSize}) {
|
| + async.Future<ListGroupMembersResponse> list(core.String name, {core.String interval_endTime, core.String filter, core.String pageToken, core.int pageSize, core.String interval_startTime}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -463,12 +463,12 @@ class ProjectsGroupsMembersResourceApi {
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| - if (interval_startTime != null) {
|
| - _queryParams["interval.startTime"] = [interval_startTime];
|
| - }
|
| if (pageSize != null) {
|
| _queryParams["pageSize"] = ["${pageSize}"];
|
| }
|
| + if (interval_startTime != null) {
|
| + _queryParams["interval.startTime"] = [interval_startTime];
|
| + }
|
|
|
| _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/members';
|
|
|
| @@ -635,6 +635,12 @@ class ProjectsMetricDescriptorsResourceApi {
|
| * "projects/{project_id_or_number}".
|
| * Value must have pattern "^projects/[^/]+$".
|
| *
|
| + * [filter] - If this field is empty, all custom and system-defined metric
|
| + * descriptors are returned. Otherwise, the filter specifies which metric
|
| + * descriptors are to be returned. For example, the following filter matches
|
| + * 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
|
| @@ -643,12 +649,6 @@ class ProjectsMetricDescriptorsResourceApi {
|
| * [pageSize] - A positive number that is the maximum number of results to
|
| * return.
|
| *
|
| - * [filter] - If this field is empty, all custom and system-defined metric
|
| - * descriptors are returned. Otherwise, the filter specifies which metric
|
| - * descriptors are to be returned. For example, the following filter matches
|
| - * all custom metrics:
|
| - * metric.type = starts_with("custom.googleapis.com/")
|
| - *
|
| * 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.String pageToken, core.int pageSize, core.String filter}) {
|
| + async.Future<ListMetricDescriptorsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
|
| 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 (filter != null) {
|
| + _queryParams["filter"] = [filter];
|
| + }
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| if (pageSize != null) {
|
| _queryParams["pageSize"] = ["${pageSize}"];
|
| }
|
| - if (filter != null) {
|
| - _queryParams["filter"] = [filter];
|
| - }
|
|
|
| _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/metricDescriptors';
|
|
|
| @@ -753,6 +753,12 @@ class ProjectsMonitoredResourceDescriptorsResourceApi {
|
| * "projects/{project_id_or_number}".
|
| * Value must have pattern "^projects/[^/]+$".
|
| *
|
| + * [filter] - An optional filter describing the descriptors to be returned.
|
| + * The filter can reference the descriptor's type and labels. For example, the
|
| + * following filter returns only Google Compute Engine descriptors that have
|
| + * 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
|
| @@ -761,12 +767,6 @@ class ProjectsMonitoredResourceDescriptorsResourceApi {
|
| * [pageSize] - A positive number that is the maximum number of results to
|
| * return.
|
| *
|
| - * [filter] - An optional filter describing the descriptors to be returned.
|
| - * The filter can reference the descriptor's type and labels. For example, the
|
| - * following filter returns only Google Compute Engine descriptors that have
|
| - * an id label:
|
| - * resource.type = starts_with("gce_") AND resource.label:id
|
| - *
|
| * 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.String pageToken, core.int pageSize, core.String filter}) {
|
| + async.Future<ListMonitoredResourceDescriptorsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
|
| 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 (filter != null) {
|
| + _queryParams["filter"] = [filter];
|
| + }
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| if (pageSize != null) {
|
| _queryParams["pageSize"] = ["${pageSize}"];
|
| }
|
| - if (filter != null) {
|
| - _queryParams["filter"] = [filter];
|
| - }
|
|
|
| _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/monitoredResourceDescriptors';
|
|
|
| @@ -876,6 +876,12 @@ 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
|
| @@ -972,12 +978,6 @@ class ProjectsTimeSeriesResourceApi {
|
| * - "REDUCE_PERCENTILE_50" : A REDUCE_PERCENTILE_50.
|
| * - "REDUCE_PERCENTILE_05" : A REDUCE_PERCENTILE_05.
|
| *
|
| - * [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].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -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 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}) {
|
| + async.Future<ListTimeSeriesResponse> list(core.String name, {core.String filter, 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}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -997,6 +997,9 @@ class ProjectsTimeSeriesResourceApi {
|
| if (name == null) {
|
| throw new core.ArgumentError("Parameter name is required.");
|
| }
|
| + if (filter != null) {
|
| + _queryParams["filter"] = [filter];
|
| + }
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| @@ -1027,9 +1030,6 @@ class ProjectsTimeSeriesResourceApi {
|
| if (aggregation_crossSeriesReducer != null) {
|
| _queryParams["aggregation.crossSeriesReducer"] = [aggregation_crossSeriesReducer];
|
| }
|
| - if (filter != null) {
|
| - _queryParams["filter"] = [filter];
|
| - }
|
|
|
| _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/timeSeries';
|
|
|
|
|