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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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/youtubeanalytics/v1.dart ('k') | generated/googleapis/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/youtubereporting/v1.dart
diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart
index 87d10d5a7a21964954e0d6095950c631a842463b..355a9a4c14da96f2208daf99a88a585cc1d9577d 100644
--- a/generated/googleapis/lib/youtubereporting/v1.dart
+++ b/generated/googleapis/lib/youtubereporting/v1.dart
@@ -197,11 +197,6 @@ class JobsResourceApi {
* requested.
* If unspecified, server will pick an appropriate default.
*
- * [includeSystemManaged] - If set to true, also system-managed jobs will be
- * returned; otherwise only
- * user-created jobs will be returned. System-managed jobs can neither be
- * modified nor deleted.
- *
* [onBehalfOfContentOwner] - The content owner's external ID on which behalf
* the user is acting on. If
* not set, the user is acting for himself (his own channel).
@@ -212,6 +207,11 @@ class JobsResourceApi {
* ListReportTypesResponse.next_page_token
* returned in response to the previous call to the `ListJobs` method.
*
+ * [includeSystemManaged] - If set to true, also system-managed jobs will be
+ * returned; otherwise only
+ * user-created jobs will be returned. System-managed jobs can neither be
+ * modified nor deleted.
+ *
* Completes with a [ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -220,7 +220,7 @@ class JobsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListJobsResponse> list({core.int pageSize, core.bool includeSystemManaged, core.String onBehalfOfContentOwner, core.String pageToken}) {
+ async.Future<ListJobsResponse> list({core.int pageSize, core.String onBehalfOfContentOwner, core.String pageToken, core.bool includeSystemManaged}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -231,15 +231,15 @@ class JobsResourceApi {
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (includeSystemManaged != null) {
- _queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
- }
if (onBehalfOfContentOwner != null) {
_queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (includeSystemManaged != null) {
+ _queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
+ }
_url = 'v1/jobs';
@@ -321,31 +321,31 @@ class JobsReportsResourceApi {
*
* [jobId] - The ID of the job.
*
- * [onBehalfOfContentOwner] - The content owner's external ID on which behalf
- * the user is acting on. If
- * not set, the user is acting for himself (his own channel).
- *
- * [startTimeAtOrAfter] - If set, only reports whose start time is greater
- * than or equal the
- * specified date/time are returned.
- *
* [startTimeBefore] - If set, only reports whose start time is smaller than
* the specified
* date/time are returned.
*
- * [pageSize] - Requested page size. Server may return fewer report types than
- * requested.
- * If unspecified, server will pick an appropriate default.
- *
* [createdAfter] - If set, only reports created after the specified date/time
* are returned.
*
+ * [startTimeAtOrAfter] - If set, only reports whose start time is greater
+ * than or equal the
+ * specified date/time are returned.
+ *
* [pageToken] - A token identifying a page of results the server should
* return. Typically,
* this is the value of
* ListReportsResponse.next_page_token
* returned in response to the previous call to the `ListReports` method.
*
+ * [pageSize] - Requested page size. Server may return fewer report types than
+ * requested.
+ * If unspecified, server will pick an appropriate default.
+ *
+ * [onBehalfOfContentOwner] - The content owner's external ID on which behalf
+ * the user is acting on. If
+ * not set, the user is acting for himself (his own channel).
+ *
* Completes with a [ListReportsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -354,7 +354,7 @@ class JobsReportsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListReportsResponse> list(core.String jobId, {core.String onBehalfOfContentOwner, core.String startTimeAtOrAfter, core.String startTimeBefore, core.int pageSize, core.String createdAfter, core.String pageToken}) {
+ async.Future<ListReportsResponse> list(core.String jobId, {core.String startTimeBefore, core.String createdAfter, core.String startTimeAtOrAfter, core.String pageToken, core.int pageSize, core.String onBehalfOfContentOwner}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -365,24 +365,24 @@ class JobsReportsResourceApi {
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
- if (startTimeAtOrAfter != null) {
- _queryParams["startTimeAtOrAfter"] = [startTimeAtOrAfter];
- }
if (startTimeBefore != null) {
_queryParams["startTimeBefore"] = [startTimeBefore];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (createdAfter != null) {
_queryParams["createdAfter"] = [createdAfter];
}
+ if (startTimeAtOrAfter != null) {
+ _queryParams["startTimeAtOrAfter"] = [startTimeAtOrAfter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
_url = 'v1/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/reports';
@@ -476,25 +476,25 @@ class ReportTypesResourceApi {
*
* Request parameters:
*
- * [pageSize] - Requested page size. Server may return fewer report types than
- * requested.
- * If unspecified, server will pick an appropriate default.
+ * [pageToken] - A token identifying a page of results the server should
+ * return. Typically,
+ * this is the value of
+ * ListReportTypesResponse.next_page_token
+ * returned in response to the previous call to the `ListReportTypes` method.
*
* [includeSystemManaged] - If set to true, also system-managed report types
* will be returned;
* otherwise only the report types that can be used to create new reporting
* jobs will be returned.
*
+ * [pageSize] - Requested page size. Server may return fewer report types than
+ * requested.
+ * If unspecified, server will pick an appropriate default.
+ *
* [onBehalfOfContentOwner] - The content owner's external ID on which behalf
* the user is acting on. If
* not set, the user is acting for himself (his own channel).
*
- * [pageToken] - A token identifying a page of results the server should
- * return. Typically,
- * this is the value of
- * ListReportTypesResponse.next_page_token
- * returned in response to the previous call to the `ListReportTypes` method.
- *
* Completes with a [ListReportTypesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -503,7 +503,7 @@ class ReportTypesResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListReportTypesResponse> list({core.int pageSize, core.bool includeSystemManaged, core.String onBehalfOfContentOwner, core.String pageToken}) {
+ async.Future<ListReportTypesResponse> list({core.String pageToken, core.bool includeSystemManaged, core.int pageSize, core.String onBehalfOfContentOwner}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -511,18 +511,18 @@ class ReportTypesResourceApi {
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (includeSystemManaged != null) {
_queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (onBehalfOfContentOwner != null) {
_queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
_url = 'v1/reportTypes';
« no previous file with comments | « generated/googleapis/lib/youtubeanalytics/v1.dart ('k') | generated/googleapis/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698