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

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

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 5 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
Index: generated/googleapis/lib/cloudtrace/v1.dart
diff --git a/generated/googleapis/lib/cloudtrace/v1.dart b/generated/googleapis/lib/cloudtrace/v1.dart
index 276fd4bc3ce0f32a27e9c8c28dd93e1e639153b3..294ac2a13d7dc25da29fdc405f34dc6fad924e87 100644
--- a/generated/googleapis/lib/cloudtrace/v1.dart
+++ b/generated/googleapis/lib/cloudtrace/v1.dart
@@ -156,6 +156,20 @@ 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
@@ -191,14 +205,14 @@ class ProjectsTracesResourceApi {
* data was
* collected from the application.
*
- * [startTime] - Start of the time interval (inclusive) during which the trace
- * data was
- * collected from the application.
- *
* [pageToken] - Token identifying the page of results to return. If provided,
* use the
* value of the `next_page_token` field from a previous request. Optional.
*
+ * [startTime] - Start of the time interval (inclusive) during which the trace
+ * data was
+ * collected from the application.
+ *
* [pageSize] - Maximum number of traces to return. If not specified or <= 0,
* the
* implementation selects a reasonable value. The implementation may
@@ -212,20 +226,6 @@ 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 filter, core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String view, core.String orderBy}) {
+ 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}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -245,27 +245,27 @@ 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];
}
if (endTime != null) {
_queryParams["endTime"] = [endTime];
}
- if (startTime != null) {
- _queryParams["startTime"] = [startTime];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (startTime != null) {
+ _queryParams["startTime"] = [startTime];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
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/v2beta1.dart ('k') | generated/googleapis/lib/cloudtrace/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698