Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: generated/googleapis/lib/monitoring/v3.dart

Issue 2734843002: Api-roll 46: 2017-03-06 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « generated/googleapis/lib/logging/v2.dart ('k') | generated/googleapis/lib/people/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 /** 263 /**
264 * Lists the existing groups. 264 * Lists the existing groups.
265 * 265 *
266 * Request parameters: 266 * Request parameters:
267 * 267 *
268 * [name] - The project whose groups are to be listed. The format is 268 * [name] - The project whose groups are to be listed. The format is
269 * "projects/{project_id_or_number}". 269 * "projects/{project_id_or_number}".
270 * Value must have pattern "^projects/[^/]+$". 270 * Value must have pattern "^projects/[^/]+$".
271 * 271 *
272 * [childrenOfGroup] - A group name:
273 * "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose
274 * parentName field contains the group name. If no groups have this parent,
275 * the results are empty.
276 *
277 * [descendantsOfGroup] - A group name:
278 * "projects/{project_id_or_number}/groups/{group_id}". Returns the
279 * descendants of the specified group. This is a superset of the results
280 * returned by the childrenOfGroup filter, and includes children-of-children,
281 * and so forth.
282 *
272 * [pageToken] - If this field is not empty then it must contain the 283 * [pageToken] - If this field is not empty then it must contain the
273 * nextPageToken value returned by a previous call to this method. Using this 284 * nextPageToken value returned by a previous call to this method. Using this
274 * field causes the method to return additional results from the previous 285 * field causes the method to return additional results from the previous
275 * method call. 286 * method call.
276 * 287 *
277 * [pageSize] - A positive number that is the maximum number of results to 288 * [pageSize] - A positive number that is the maximum number of results to
278 * return. 289 * return.
279 * 290 *
280 * [ancestorsOfGroup] - A group name: 291 * [ancestorsOfGroup] - A group name:
281 * "projects/{project_id_or_number}/groups/{group_id}". Returns groups that 292 * "projects/{project_id_or_number}/groups/{group_id}". Returns groups that
282 * are ancestors of the specified group. The groups are returned in order, 293 * are ancestors of the specified group. The groups are returned in order,
283 * starting with the immediate parent and ending with the most distant 294 * starting with the immediate parent and ending with the most distant
284 * ancestor. If the specified group has no immediate parent, the results are 295 * ancestor. If the specified group has no immediate parent, the results are
285 * empty. 296 * empty.
286 * 297 *
287 * [childrenOfGroup] - A group name:
288 * "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose
289 * parentName field contains the group name. If no groups have this parent,
290 * the results are empty.
291 *
292 * [descendantsOfGroup] - A group name:
293 * "projects/{project_id_or_number}/groups/{group_id}". Returns the
294 * descendants of the specified group. This is a superset of the results
295 * returned by the childrenOfGroup filter, and includes children-of-children,
296 * and so forth.
297 *
298 * Completes with a [ListGroupsResponse]. 298 * Completes with a [ListGroupsResponse].
299 * 299 *
300 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 300 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
301 * error. 301 * error.
302 * 302 *
303 * If the used [http.Client] completes with an error when making a REST call, 303 * If the used [http.Client] completes with an error when making a REST call,
304 * this method will complete with the same error. 304 * this method will complete with the same error.
305 */ 305 */
306 async.Future<ListGroupsResponse> list(core.String name, {core.String pageToken , core.int pageSize, core.String ancestorsOfGroup, core.String childrenOfGroup, core.String descendantsOfGroup}) { 306 async.Future<ListGroupsResponse> list(core.String name, {core.String childrenO fGroup, core.String descendantsOfGroup, core.String pageToken, core.int pageSize , core.String ancestorsOfGroup}) {
307 var _url = null; 307 var _url = null;
308 var _queryParams = new core.Map(); 308 var _queryParams = new core.Map();
309 var _uploadMedia = null; 309 var _uploadMedia = null;
310 var _uploadOptions = null; 310 var _uploadOptions = null;
311 var _downloadOptions = commons.DownloadOptions.Metadata; 311 var _downloadOptions = commons.DownloadOptions.Metadata;
312 var _body = null; 312 var _body = null;
313 313
314 if (name == null) { 314 if (name == null) {
315 throw new core.ArgumentError("Parameter name is required."); 315 throw new core.ArgumentError("Parameter name is required.");
316 } 316 }
317 if (childrenOfGroup != null) {
318 _queryParams["childrenOfGroup"] = [childrenOfGroup];
319 }
320 if (descendantsOfGroup != null) {
321 _queryParams["descendantsOfGroup"] = [descendantsOfGroup];
322 }
317 if (pageToken != null) { 323 if (pageToken != null) {
318 _queryParams["pageToken"] = [pageToken]; 324 _queryParams["pageToken"] = [pageToken];
319 } 325 }
320 if (pageSize != null) { 326 if (pageSize != null) {
321 _queryParams["pageSize"] = ["${pageSize}"]; 327 _queryParams["pageSize"] = ["${pageSize}"];
322 } 328 }
323 if (ancestorsOfGroup != null) { 329 if (ancestorsOfGroup != null) {
324 _queryParams["ancestorsOfGroup"] = [ancestorsOfGroup]; 330 _queryParams["ancestorsOfGroup"] = [ancestorsOfGroup];
325 } 331 }
326 if (childrenOfGroup != null) {
327 _queryParams["childrenOfGroup"] = [childrenOfGroup];
328 }
329 if (descendantsOfGroup != null) {
330 _queryParams["descendantsOfGroup"] = [descendantsOfGroup];
331 }
332 332
333 _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/groups'; 333 _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/groups';
334 334
335 var _response = _requester.request(_url, 335 var _response = _requester.request(_url,
336 "GET", 336 "GET",
337 body: _body, 337 body: _body,
338 queryParams: _queryParams, 338 queryParams: _queryParams,
339 uploadOptions: _uploadOptions, 339 uploadOptions: _uploadOptions,
340 uploadMedia: _uploadMedia, 340 uploadMedia: _uploadMedia,
341 downloadOptions: _downloadOptions); 341 downloadOptions: _downloadOptions);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 * The filter may reference the type, labels, and metadata of monitored 421 * The filter may reference the type, labels, and metadata of monitored
422 * resources that comprise the group. For example, to return only resources 422 * resources that comprise the group. For example, to return only resources
423 * representing Compute Engine VM instances, use this filter: 423 * representing Compute Engine VM instances, use this filter:
424 * resource.type = "gce_instance" 424 * resource.type = "gce_instance"
425 * 425 *
426 * [pageToken] - If this field is not empty then it must contain the 426 * [pageToken] - If this field is not empty then it must contain the
427 * nextPageToken value returned by a previous call to this method. Using this 427 * nextPageToken value returned by a previous call to this method. Using this
428 * field causes the method to return additional results from the previous 428 * field causes the method to return additional results from the previous
429 * method call. 429 * method call.
430 * 430 *
431 * [pageSize] - A positive number that is the maximum number of results to
432 * return.
433 *
431 * [interval_startTime] - Optional. The beginning of the time interval. The 434 * [interval_startTime] - Optional. The beginning of the time interval. The
432 * default value for the start time is the end time. The start time must not 435 * default value for the start time is the end time. The start time must not
433 * be later than the end time. 436 * be later than the end time.
434 * 437 *
435 * [pageSize] - A positive number that is the maximum number of results to
436 * return.
437 *
438 * Completes with a [ListGroupMembersResponse]. 438 * Completes with a [ListGroupMembersResponse].
439 * 439 *
440 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 440 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
441 * error. 441 * error.
442 * 442 *
443 * If the used [http.Client] completes with an error when making a REST call, 443 * If the used [http.Client] completes with an error when making a REST call,
444 * this method will complete with the same error. 444 * this method will complete with the same error.
445 */ 445 */
446 async.Future<ListGroupMembersResponse> list(core.String name, {core.String int erval_endTime, core.String filter, core.String pageToken, core.String interval_s tartTime, core.int pageSize}) { 446 async.Future<ListGroupMembersResponse> list(core.String name, {core.String int erval_endTime, core.String filter, core.String pageToken, core.int pageSize, cor e.String interval_startTime}) {
447 var _url = null; 447 var _url = null;
448 var _queryParams = new core.Map(); 448 var _queryParams = new core.Map();
449 var _uploadMedia = null; 449 var _uploadMedia = null;
450 var _uploadOptions = null; 450 var _uploadOptions = null;
451 var _downloadOptions = commons.DownloadOptions.Metadata; 451 var _downloadOptions = commons.DownloadOptions.Metadata;
452 var _body = null; 452 var _body = null;
453 453
454 if (name == null) { 454 if (name == null) {
455 throw new core.ArgumentError("Parameter name is required."); 455 throw new core.ArgumentError("Parameter name is required.");
456 } 456 }
457 if (interval_endTime != null) { 457 if (interval_endTime != null) {
458 _queryParams["interval.endTime"] = [interval_endTime]; 458 _queryParams["interval.endTime"] = [interval_endTime];
459 } 459 }
460 if (filter != null) { 460 if (filter != null) {
461 _queryParams["filter"] = [filter]; 461 _queryParams["filter"] = [filter];
462 } 462 }
463 if (pageToken != null) { 463 if (pageToken != null) {
464 _queryParams["pageToken"] = [pageToken]; 464 _queryParams["pageToken"] = [pageToken];
465 } 465 }
466 if (pageSize != null) {
467 _queryParams["pageSize"] = ["${pageSize}"];
468 }
466 if (interval_startTime != null) { 469 if (interval_startTime != null) {
467 _queryParams["interval.startTime"] = [interval_startTime]; 470 _queryParams["interval.startTime"] = [interval_startTime];
468 } 471 }
469 if (pageSize != null) {
470 _queryParams["pageSize"] = ["${pageSize}"];
471 }
472 472
473 _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/members'; 473 _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/members';
474 474
475 var _response = _requester.request(_url, 475 var _response = _requester.request(_url,
476 "GET", 476 "GET",
477 body: _body, 477 body: _body,
478 queryParams: _queryParams, 478 queryParams: _queryParams,
479 uploadOptions: _uploadOptions, 479 uploadOptions: _uploadOptions,
480 uploadMedia: _uploadMedia, 480 uploadMedia: _uploadMedia,
481 downloadOptions: _downloadOptions); 481 downloadOptions: _downloadOptions);
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 /** 628 /**
629 * Lists metric descriptors that match a filter. This method does not require 629 * Lists metric descriptors that match a filter. This method does not require
630 * a Stackdriver account. 630 * a Stackdriver account.
631 * 631 *
632 * Request parameters: 632 * Request parameters:
633 * 633 *
634 * [name] - The project on which to execute the request. The format is 634 * [name] - The project on which to execute the request. The format is
635 * "projects/{project_id_or_number}". 635 * "projects/{project_id_or_number}".
636 * Value must have pattern "^projects/[^/]+$". 636 * Value must have pattern "^projects/[^/]+$".
637 * 637 *
638 * [filter] - If this field is empty, all custom and system-defined metric
639 * descriptors are returned. Otherwise, the filter specifies which metric
640 * descriptors are to be returned. For example, the following filter matches
641 * all custom metrics:
642 * metric.type = starts_with("custom.googleapis.com/")
643 *
638 * [pageToken] - If this field is not empty then it must contain the 644 * [pageToken] - If this field is not empty then it must contain the
639 * nextPageToken value returned by a previous call to this method. Using this 645 * nextPageToken value returned by a previous call to this method. Using this
640 * field causes the method to return additional results from the previous 646 * field causes the method to return additional results from the previous
641 * method call. 647 * method call.
642 * 648 *
643 * [pageSize] - A positive number that is the maximum number of results to 649 * [pageSize] - A positive number that is the maximum number of results to
644 * return. 650 * return.
645 * 651 *
646 * [filter] - If this field is empty, all custom and system-defined metric
647 * descriptors are returned. Otherwise, the filter specifies which metric
648 * descriptors are to be returned. For example, the following filter matches
649 * all custom metrics:
650 * metric.type = starts_with("custom.googleapis.com/")
651 *
652 * Completes with a [ListMetricDescriptorsResponse]. 652 * Completes with a [ListMetricDescriptorsResponse].
653 * 653 *
654 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 654 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
655 * error. 655 * error.
656 * 656 *
657 * If the used [http.Client] completes with an error when making a REST call, 657 * If the used [http.Client] completes with an error when making a REST call,
658 * this method will complete with the same error. 658 * this method will complete with the same error.
659 */ 659 */
660 async.Future<ListMetricDescriptorsResponse> list(core.String name, {core.Strin g pageToken, core.int pageSize, core.String filter}) { 660 async.Future<ListMetricDescriptorsResponse> list(core.String name, {core.Strin g filter, core.String pageToken, core.int pageSize}) {
661 var _url = null; 661 var _url = null;
662 var _queryParams = new core.Map(); 662 var _queryParams = new core.Map();
663 var _uploadMedia = null; 663 var _uploadMedia = null;
664 var _uploadOptions = null; 664 var _uploadOptions = null;
665 var _downloadOptions = commons.DownloadOptions.Metadata; 665 var _downloadOptions = commons.DownloadOptions.Metadata;
666 var _body = null; 666 var _body = null;
667 667
668 if (name == null) { 668 if (name == null) {
669 throw new core.ArgumentError("Parameter name is required."); 669 throw new core.ArgumentError("Parameter name is required.");
670 } 670 }
671 if (filter != null) {
672 _queryParams["filter"] = [filter];
673 }
671 if (pageToken != null) { 674 if (pageToken != null) {
672 _queryParams["pageToken"] = [pageToken]; 675 _queryParams["pageToken"] = [pageToken];
673 } 676 }
674 if (pageSize != null) { 677 if (pageSize != null) {
675 _queryParams["pageSize"] = ["${pageSize}"]; 678 _queryParams["pageSize"] = ["${pageSize}"];
676 } 679 }
677 if (filter != null) {
678 _queryParams["filter"] = [filter];
679 }
680 680
681 _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/metricDesc riptors'; 681 _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/metricDesc riptors';
682 682
683 var _response = _requester.request(_url, 683 var _response = _requester.request(_url,
684 "GET", 684 "GET",
685 body: _body, 685 body: _body,
686 queryParams: _queryParams, 686 queryParams: _queryParams,
687 uploadOptions: _uploadOptions, 687 uploadOptions: _uploadOptions,
688 uploadMedia: _uploadMedia, 688 uploadMedia: _uploadMedia,
689 downloadOptions: _downloadOptions); 689 downloadOptions: _downloadOptions);
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 /** 746 /**
747 * Lists monitored resource descriptors that match a filter. This method does 747 * Lists monitored resource descriptors that match a filter. This method does
748 * not require a Stackdriver account. 748 * not require a Stackdriver account.
749 * 749 *
750 * Request parameters: 750 * Request parameters:
751 * 751 *
752 * [name] - The project on which to execute the request. The format is 752 * [name] - The project on which to execute the request. The format is
753 * "projects/{project_id_or_number}". 753 * "projects/{project_id_or_number}".
754 * Value must have pattern "^projects/[^/]+$". 754 * Value must have pattern "^projects/[^/]+$".
755 * 755 *
756 * [filter] - An optional filter describing the descriptors to be returned.
757 * The filter can reference the descriptor's type and labels. For example, the
758 * following filter returns only Google Compute Engine descriptors that have
759 * an id label:
760 * resource.type = starts_with("gce_") AND resource.label:id
761 *
756 * [pageToken] - If this field is not empty then it must contain the 762 * [pageToken] - If this field is not empty then it must contain the
757 * nextPageToken value returned by a previous call to this method. Using this 763 * nextPageToken value returned by a previous call to this method. Using this
758 * field causes the method to return additional results from the previous 764 * field causes the method to return additional results from the previous
759 * method call. 765 * method call.
760 * 766 *
761 * [pageSize] - A positive number that is the maximum number of results to 767 * [pageSize] - A positive number that is the maximum number of results to
762 * return. 768 * return.
763 * 769 *
764 * [filter] - An optional filter describing the descriptors to be returned.
765 * The filter can reference the descriptor's type and labels. For example, the
766 * following filter returns only Google Compute Engine descriptors that have
767 * an id label:
768 * resource.type = starts_with("gce_") AND resource.label:id
769 *
770 * Completes with a [ListMonitoredResourceDescriptorsResponse]. 770 * Completes with a [ListMonitoredResourceDescriptorsResponse].
771 * 771 *
772 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 772 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
773 * error. 773 * error.
774 * 774 *
775 * If the used [http.Client] completes with an error when making a REST call, 775 * If the used [http.Client] completes with an error when making a REST call,
776 * this method will complete with the same error. 776 * this method will complete with the same error.
777 */ 777 */
778 async.Future<ListMonitoredResourceDescriptorsResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) { 778 async.Future<ListMonitoredResourceDescriptorsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
779 var _url = null; 779 var _url = null;
780 var _queryParams = new core.Map(); 780 var _queryParams = new core.Map();
781 var _uploadMedia = null; 781 var _uploadMedia = null;
782 var _uploadOptions = null; 782 var _uploadOptions = null;
783 var _downloadOptions = commons.DownloadOptions.Metadata; 783 var _downloadOptions = commons.DownloadOptions.Metadata;
784 var _body = null; 784 var _body = null;
785 785
786 if (name == null) { 786 if (name == null) {
787 throw new core.ArgumentError("Parameter name is required."); 787 throw new core.ArgumentError("Parameter name is required.");
788 } 788 }
789 if (filter != null) {
790 _queryParams["filter"] = [filter];
791 }
789 if (pageToken != null) { 792 if (pageToken != null) {
790 _queryParams["pageToken"] = [pageToken]; 793 _queryParams["pageToken"] = [pageToken];
791 } 794 }
792 if (pageSize != null) { 795 if (pageSize != null) {
793 _queryParams["pageSize"] = ["${pageSize}"]; 796 _queryParams["pageSize"] = ["${pageSize}"];
794 } 797 }
795 if (filter != null) {
796 _queryParams["filter"] = [filter];
797 }
798 798
799 _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/monitoredR esourceDescriptors'; 799 _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/monitoredR esourceDescriptors';
800 800
801 var _response = _requester.request(_url, 801 var _response = _requester.request(_url,
802 "GET", 802 "GET",
803 body: _body, 803 body: _body,
804 queryParams: _queryParams, 804 queryParams: _queryParams,
805 uploadOptions: _uploadOptions, 805 uploadOptions: _uploadOptions,
806 uploadMedia: _uploadMedia, 806 uploadMedia: _uploadMedia,
807 downloadOptions: _downloadOptions); 807 downloadOptions: _downloadOptions);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 /** 869 /**
870 * Lists time series that match a filter. This method does not require a 870 * Lists time series that match a filter. This method does not require a
871 * Stackdriver account. 871 * Stackdriver account.
872 * 872 *
873 * Request parameters: 873 * Request parameters:
874 * 874 *
875 * [name] - The project on which to execute the request. The format is 875 * [name] - The project on which to execute the request. The format is
876 * "projects/{project_id_or_number}". 876 * "projects/{project_id_or_number}".
877 * Value must have pattern "^projects/[^/]+$". 877 * Value must have pattern "^projects/[^/]+$".
878 * 878 *
879 * [filter] - A monitoring filter that specifies which time series should be
880 * returned. The filter must specify a single metric type, and can
881 * additionally specify metric labels and other information. For example:
882 * metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
883 * metric.label.instance_name = "my-instance-name"
884 *
879 * [pageToken] - If this field is not empty then it must contain the 885 * [pageToken] - If this field is not empty then it must contain the
880 * nextPageToken value returned by a previous call to this method. Using this 886 * nextPageToken value returned by a previous call to this method. Using this
881 * field causes the method to return additional results from the previous 887 * field causes the method to return additional results from the previous
882 * method call. 888 * method call.
883 * 889 *
884 * [aggregation_perSeriesAligner] - The approach to be used to align 890 * [aggregation_perSeriesAligner] - The approach to be used to align
885 * individual time series. Not all alignment functions may be applied to all 891 * individual time series. Not all alignment functions may be applied to all
886 * time series, depending on the metric type and value type of the original 892 * time series, depending on the metric type and value type of the original
887 * time series. Alignment may change the metric type or the value type of the 893 * time series. Alignment may change the metric type or the value type of the
888 * time series.Time series data must be aligned in order to perform cross-time 894 * time series.Time series data must be aligned in order to perform cross-time
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 * - "REDUCE_SUM" : A REDUCE_SUM. 971 * - "REDUCE_SUM" : A REDUCE_SUM.
966 * - "REDUCE_STDDEV" : A REDUCE_STDDEV. 972 * - "REDUCE_STDDEV" : A REDUCE_STDDEV.
967 * - "REDUCE_COUNT" : A REDUCE_COUNT. 973 * - "REDUCE_COUNT" : A REDUCE_COUNT.
968 * - "REDUCE_COUNT_TRUE" : A REDUCE_COUNT_TRUE. 974 * - "REDUCE_COUNT_TRUE" : A REDUCE_COUNT_TRUE.
969 * - "REDUCE_FRACTION_TRUE" : A REDUCE_FRACTION_TRUE. 975 * - "REDUCE_FRACTION_TRUE" : A REDUCE_FRACTION_TRUE.
970 * - "REDUCE_PERCENTILE_99" : A REDUCE_PERCENTILE_99. 976 * - "REDUCE_PERCENTILE_99" : A REDUCE_PERCENTILE_99.
971 * - "REDUCE_PERCENTILE_95" : A REDUCE_PERCENTILE_95. 977 * - "REDUCE_PERCENTILE_95" : A REDUCE_PERCENTILE_95.
972 * - "REDUCE_PERCENTILE_50" : A REDUCE_PERCENTILE_50. 978 * - "REDUCE_PERCENTILE_50" : A REDUCE_PERCENTILE_50.
973 * - "REDUCE_PERCENTILE_05" : A REDUCE_PERCENTILE_05. 979 * - "REDUCE_PERCENTILE_05" : A REDUCE_PERCENTILE_05.
974 * 980 *
975 * [filter] - A monitoring filter that specifies which time series should be
976 * returned. The filter must specify a single metric type, and can
977 * additionally specify metric labels and other information. For example:
978 * metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
979 * metric.label.instance_name = "my-instance-name"
980 *
981 * Completes with a [ListTimeSeriesResponse]. 981 * Completes with a [ListTimeSeriesResponse].
982 * 982 *
983 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 983 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
984 * error. 984 * error.
985 * 985 *
986 * If the used [http.Client] completes with an error when making a REST call, 986 * If the used [http.Client] completes with an error when making a REST call,
987 * this method will complete with the same error. 987 * this method will complete with the same error.
988 */ 988 */
989 async.Future<ListTimeSeriesResponse> list(core.String name, {core.String pageT oken, 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, co re.String orderBy, core.String aggregation_crossSeriesReducer, core.String filte r}) { 989 async.Future<ListTimeSeriesResponse> list(core.String name, {core.String filte r, core.String pageToken, core.String aggregation_perSeriesAligner, core.String interval_startTime, core.String view, core.List<core.String> aggregation_groupBy Fields, core.String interval_endTime, core.String aggregation_alignmentPeriod, c ore.int pageSize, core.String orderBy, core.String aggregation_crossSeriesReduce r}) {
990 var _url = null; 990 var _url = null;
991 var _queryParams = new core.Map(); 991 var _queryParams = new core.Map();
992 var _uploadMedia = null; 992 var _uploadMedia = null;
993 var _uploadOptions = null; 993 var _uploadOptions = null;
994 var _downloadOptions = commons.DownloadOptions.Metadata; 994 var _downloadOptions = commons.DownloadOptions.Metadata;
995 var _body = null; 995 var _body = null;
996 996
997 if (name == null) { 997 if (name == null) {
998 throw new core.ArgumentError("Parameter name is required."); 998 throw new core.ArgumentError("Parameter name is required.");
999 } 999 }
1000 if (filter != null) {
1001 _queryParams["filter"] = [filter];
1002 }
1000 if (pageToken != null) { 1003 if (pageToken != null) {
1001 _queryParams["pageToken"] = [pageToken]; 1004 _queryParams["pageToken"] = [pageToken];
1002 } 1005 }
1003 if (aggregation_perSeriesAligner != null) { 1006 if (aggregation_perSeriesAligner != null) {
1004 _queryParams["aggregation.perSeriesAligner"] = [aggregation_perSeriesAlign er]; 1007 _queryParams["aggregation.perSeriesAligner"] = [aggregation_perSeriesAlign er];
1005 } 1008 }
1006 if (interval_startTime != null) { 1009 if (interval_startTime != null) {
1007 _queryParams["interval.startTime"] = [interval_startTime]; 1010 _queryParams["interval.startTime"] = [interval_startTime];
1008 } 1011 }
1009 if (view != null) { 1012 if (view != null) {
(...skipping 10 matching lines...) Expand all
1020 } 1023 }
1021 if (pageSize != null) { 1024 if (pageSize != null) {
1022 _queryParams["pageSize"] = ["${pageSize}"]; 1025 _queryParams["pageSize"] = ["${pageSize}"];
1023 } 1026 }
1024 if (orderBy != null) { 1027 if (orderBy != null) {
1025 _queryParams["orderBy"] = [orderBy]; 1028 _queryParams["orderBy"] = [orderBy];
1026 } 1029 }
1027 if (aggregation_crossSeriesReducer != null) { 1030 if (aggregation_crossSeriesReducer != null) {
1028 _queryParams["aggregation.crossSeriesReducer"] = [aggregation_crossSeriesR educer]; 1031 _queryParams["aggregation.crossSeriesReducer"] = [aggregation_crossSeriesR educer];
1029 } 1032 }
1030 if (filter != null) {
1031 _queryParams["filter"] = [filter];
1032 }
1033 1033
1034 _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/timeSeries '; 1034 _url = 'v3/' + commons.Escaper.ecapeVariableReserved('$name') + '/timeSeries ';
1035 1035
1036 var _response = _requester.request(_url, 1036 var _response = _requester.request(_url,
1037 "GET", 1037 "GET",
1038 body: _body, 1038 body: _body,
1039 queryParams: _queryParams, 1039 queryParams: _queryParams,
1040 uploadOptions: _uploadOptions, 1040 uploadOptions: _uploadOptions,
1041 uploadMedia: _uploadMedia, 1041 uploadMedia: _uploadMedia,
1042 downloadOptions: _downloadOptions); 1042 downloadOptions: _downloadOptions);
(...skipping 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/logging/v2.dart ('k') | generated/googleapis/lib/people/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698