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

Unified Diff: generated/googleapis/lib/cloudtrace/v1.dart

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/cloudresourcemanager/v1.dart ('k') | generated/googleapis/lib/cloudtrace/v2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/cloudtrace/v1.dart
diff --git a/generated/googleapis/lib/cloudtrace/v1.dart b/generated/googleapis/lib/cloudtrace/v1.dart
index 294ac2a13d7dc25da29fdc405f34dc6fad924e87..6c88370545a3ee85b0fca6ced1dd81717ce69eb5 100644
--- a/generated/googleapis/lib/cloudtrace/v1.dart
+++ b/generated/googleapis/lib/cloudtrace/v1.dart
@@ -156,20 +156,6 @@ class ProjectsTracesResourceApi {
*
* [projectId] - ID of the Cloud project where the trace data is stored.
*
- * [orderBy] - Field used to sort the returned traces. Optional.
- * Can be one of the following:
- *
- * * `trace_id`
- * * `name` (`name` field of root span in the trace)
- * * `duration` (difference between `end_time` and `start_time` fields of
- * the root span)
- * * `start` (`start_time` field of the root span)
- *
- * Descending order can be specified by appending `desc` to the sort field
- * (for example, `name desc`).
- *
- * Only one sort field is permitted.
- *
* [filter] - An optional filter against labels for the request.
*
* By default, searches use prefix matching. To specify exact match, prepend
@@ -226,6 +212,20 @@ class ProjectsTracesResourceApi {
* - "ROOTSPAN" : A ROOTSPAN.
* - "COMPLETE" : A COMPLETE.
*
+ * [orderBy] - Field used to sort the returned traces. Optional.
+ * Can be one of the following:
+ *
+ * * `trace_id`
+ * * `name` (`name` field of root span in the trace)
+ * * `duration` (difference between `end_time` and `start_time` fields of
+ * the root span)
+ * * `start` (`start_time` field of the root span)
+ *
+ * Descending order can be specified by appending `desc` to the sort field
+ * (for example, `name desc`).
+ *
+ * Only one sort field is permitted.
+ *
* Completes with a [ListTracesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -234,7 +234,7 @@ class ProjectsTracesResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTracesResponse> list(core.String projectId, {core.String orderBy, core.String filter, core.String endTime, core.String pageToken, core.String startTime, core.int pageSize, core.String view}) {
+ async.Future<ListTracesResponse> list(core.String projectId, {core.String filter, core.String endTime, core.String pageToken, core.String startTime, core.int pageSize, core.String view, core.String orderBy}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -245,9 +245,6 @@ class ProjectsTracesResourceApi {
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -266,6 +263,9 @@ class ProjectsTracesResourceApi {
if (view != null) {
_queryParams["view"] = [view];
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/traces';
« no previous file with comments | « generated/googleapis/lib/cloudresourcemanager/v1.dart ('k') | generated/googleapis/lib/cloudtrace/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698