Index: generated/googleapis/lib/youtubereporting/v1.dart |
diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart |
index 355a9a4c14da96f2208daf99a88a585cc1d9577d..ab6bc822be873c3902a9f81dc75c249840a29724 100644 |
--- a/generated/googleapis/lib/youtubereporting/v1.dart |
+++ b/generated/googleapis/lib/youtubereporting/v1.dart |
@@ -193,14 +193,6 @@ class JobsResourceApi { |
* |
* Request parameters: |
* |
- * [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). |
- * |
* [pageToken] - A token identifying a page of results the server should |
* return. Typically, |
* this is the value of |
@@ -212,6 +204,14 @@ class JobsResourceApi { |
* user-created jobs will be returned. System-managed jobs can neither be |
* modified nor deleted. |
* |
+ * [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.int pageSize, core.String onBehalfOfContentOwner, core.String pageToken, core.bool includeSystemManaged}) { |
+ async.Future<ListJobsResponse> list({core.String pageToken, core.bool includeSystemManaged, core.int pageSize, core.String onBehalfOfContentOwner}) { |
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 (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
- if (onBehalfOfContentOwner != null) { |
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
if (includeSystemManaged != null) { |
_queryParams["includeSystemManaged"] = ["${includeSystemManaged}"]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
+ if (onBehalfOfContentOwner != null) { |
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner]; |
+ } |
_url = 'v1/jobs'; |
@@ -321,6 +321,10 @@ 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). |
+ * |
* [startTimeBefore] - If set, only reports whose start time is smaller than |
* the specified |
* date/time are returned. |
@@ -342,10 +346,6 @@ class JobsReportsResourceApi { |
* 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 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 onBehalfOfContentOwner, core.String startTimeBefore, core.String createdAfter, core.String startTimeAtOrAfter, core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -365,6 +365,9 @@ class JobsReportsResourceApi { |
if (jobId == null) { |
throw new core.ArgumentError("Parameter jobId is required."); |
} |
+ if (onBehalfOfContentOwner != null) { |
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner]; |
+ } |
if (startTimeBefore != null) { |
_queryParams["startTimeBefore"] = [startTimeBefore]; |
} |
@@ -380,9 +383,6 @@ class JobsReportsResourceApi { |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- if (onBehalfOfContentOwner != null) { |
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner]; |
- } |
_url = 'v1/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/reports'; |
@@ -476,6 +476,10 @@ class ReportTypesResourceApi { |
* |
* Request parameters: |
* |
+ * [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 |
@@ -491,10 +495,6 @@ class ReportTypesResourceApi { |
* 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 [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.String pageToken, core.bool includeSystemManaged, core.int pageSize, core.String onBehalfOfContentOwner}) { |
+ async.Future<ListReportTypesResponse> list({core.String onBehalfOfContentOwner, core.String pageToken, core.bool includeSystemManaged, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -511,6 +511,9 @@ class ReportTypesResourceApi { |
var _downloadOptions = commons.DownloadOptions.Metadata; |
var _body = null; |
+ if (onBehalfOfContentOwner != null) { |
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner]; |
+ } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
@@ -520,9 +523,6 @@ class ReportTypesResourceApi { |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- if (onBehalfOfContentOwner != null) { |
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner]; |
- } |
_url = 'v1/reportTypes'; |