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

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

Issue 2973303002: Api-Roll 51: 2017-07-10 (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
« no previous file with comments | « generated/googleapis/lib/vision/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 fc1a5456ba8fa088d08f338ed8313f19b61daf66..0cf211e213136321623ed3a060340f700d2c7f8f 100644
--- a/generated/googleapis/lib/youtubereporting/v1.dart
+++ b/generated/googleapis/lib/youtubereporting/v1.dart
@@ -193,25 +193,25 @@ class JobsResourceApi {
*
* Request parameters:
*
- * [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 `ListJobs` method.
+ * [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).
*
* [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.
*
+ * [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 `ListJobs` method.
+ *
* [pageSize] - Requested page size. Server may return fewer jobs 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 [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.String pageToken, core.bool includeSystemManaged, core.int pageSize, core.String onBehalfOfContentOwner}) {
+ async.Future<ListJobsResponse> list({core.String onBehalfOfContentOwner, core.bool includeSystemManaged, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -228,18 +228,18 @@ class JobsResourceApi {
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
if (includeSystemManaged != null) {
_queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
_url = 'v1/jobs';
@@ -321,10 +321,6 @@ class JobsReportsResourceApi {
*
* [jobId] - The ID of the job.
*
- * [startTimeBefore] - If set, only reports whose start time is smaller than
- * the specified
- * date/time are returned.
- *
* [createdAfter] - If set, only reports created after the specified date/time
* are returned.
*
@@ -346,6 +342,10 @@ class JobsReportsResourceApi {
* the user is acting on. If
* not set, the user is acting for himself (his own channel).
*
+ * [startTimeBefore] - If set, only reports whose start time is smaller than
+ * the specified
+ * date/time are returned.
+ *
* 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 startTimeBefore, core.String createdAfter, core.String startTimeAtOrAfter, core.String pageToken, core.int pageSize, core.String onBehalfOfContentOwner}) {
+ async.Future<ListReportsResponse> list(core.String jobId, {core.String createdAfter, core.String startTimeAtOrAfter, core.String pageToken, core.int pageSize, core.String onBehalfOfContentOwner, core.String startTimeBefore}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -365,9 +365,6 @@ class JobsReportsResourceApi {
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (startTimeBefore != null) {
- _queryParams["startTimeBefore"] = [startTimeBefore];
- }
if (createdAfter != null) {
_queryParams["createdAfter"] = [createdAfter];
}
@@ -383,6 +380,9 @@ class JobsReportsResourceApi {
if (onBehalfOfContentOwner != null) {
_queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
+ if (startTimeBefore != null) {
+ _queryParams["startTimeBefore"] = [startTimeBefore];
+ }
_url = 'v1/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/reports';
@@ -476,17 +476,17 @@ class ReportTypesResourceApi {
*
* Request parameters:
*
+ * [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.
+ *
* [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.
@@ -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.String pageToken, core.bool includeSystemManaged, core.int pageSize, core.String onBehalfOfContentOwner}) {
+ async.Future<ListReportTypesResponse> list({core.bool includeSystemManaged, core.String pageToken, core.int pageSize, core.String onBehalfOfContentOwner}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -511,12 +511,12 @@ class ReportTypesResourceApi {
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (includeSystemManaged != null) {
_queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
« no previous file with comments | « generated/googleapis/lib/vision/v1.dart ('k') | generated/googleapis/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698