Index: generated/googleapis/lib/youtubereporting/v1.dart |
diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart |
index 9ab8ae038142e26b77b91f386b5e14c8c0e32135..bf1264e84c6698607d0a5776e05cef3a957963e7 100644 |
--- a/generated/googleapis/lib/youtubereporting/v1.dart |
+++ b/generated/googleapis/lib/youtubereporting/v1.dart |
@@ -193,6 +193,10 @@ class JobsResourceApi { |
* |
* 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 |
@@ -208,10 +212,6 @@ class JobsResourceApi { |
* 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.String pageToken, core.bool includeSystemManaged, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -228,6 +228,9 @@ class JobsResourceApi { |
var _downloadOptions = commons.DownloadOptions.Metadata; |
var _body = null; |
+ if (onBehalfOfContentOwner != null) { |
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner]; |
+ } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
@@ -237,9 +240,6 @@ class JobsResourceApi { |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
- if (onBehalfOfContentOwner != null) { |
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner]; |
- } |
_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). |
- * |
- * [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. |
* |
- * [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. |
* |
+ * [startTimeAtOrAfter] - If set, only reports whose start time is greater |
+ * than or equal 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. |
* |
+ * [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. |
+ * |
* 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 startTimeBefore, core.String createdAfter, core.String startTimeAtOrAfter, core.String pageToken, core.int pageSize}) { |
+ async.Future<ListReportsResponse> list(core.String jobId, {core.String createdAfter, core.String pageToken, core.String startTimeAtOrAfter, core.int pageSize, core.String onBehalfOfContentOwner, core.String startTimeBefore}) { |
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 (startTimeBefore != null) { |
- _queryParams["startTimeBefore"] = [startTimeBefore]; |
- } |
if (createdAfter != null) { |
_queryParams["createdAfter"] = [createdAfter]; |
} |
- if (startTimeAtOrAfter != null) { |
- _queryParams["startTimeAtOrAfter"] = [startTimeAtOrAfter]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (startTimeAtOrAfter != null) { |
+ _queryParams["startTimeAtOrAfter"] = [startTimeAtOrAfter]; |
+ } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
+ if (onBehalfOfContentOwner != null) { |
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner]; |
+ } |
+ if (startTimeBefore != null) { |
+ _queryParams["startTimeBefore"] = [startTimeBefore]; |
+ } |
_url = 'v1/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/reports'; |