| Index: generated/googleapis/lib/youtubereporting/v1.dart
|
| diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart
|
| index ab6bc822be873c3902a9f81dc75c249840a29724..9ab8ae038142e26b77b91f386b5e14c8c0e32135 100644
|
| --- a/generated/googleapis/lib/youtubereporting/v1.dart
|
| +++ b/generated/googleapis/lib/youtubereporting/v1.dart
|
| @@ -476,10 +476,6 @@ 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
|
| @@ -495,6 +491,10 @@ 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 onBehalfOfContentOwner, core.String pageToken, core.bool includeSystemManaged, core.int pageSize}) {
|
| + 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,9 +511,6 @@ class ReportTypesResourceApi {
|
| var _downloadOptions = commons.DownloadOptions.Metadata;
|
| var _body = null;
|
|
|
| - if (onBehalfOfContentOwner != null) {
|
| - _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
|
| - }
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| @@ -523,6 +520,9 @@ class ReportTypesResourceApi {
|
| if (pageSize != null) {
|
| _queryParams["pageSize"] = ["${pageSize}"];
|
| }
|
| + if (onBehalfOfContentOwner != null) {
|
| + _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
|
| + }
|
|
|
| _url = 'v1/reportTypes';
|
|
|
|
|