Index: generated/googleapis/lib/manufacturers/v1.dart |
diff --git a/generated/googleapis/lib/manufacturers/v1.dart b/generated/googleapis/lib/manufacturers/v1.dart |
index 9affd685c6fdcdf09af2fcb2996abb8c2f1c0a92..88a53a3d94de9094fa8fdd3be2be42562ed951dd 100644 |
--- a/generated/googleapis/lib/manufacturers/v1.dart |
+++ b/generated/googleapis/lib/manufacturers/v1.dart |
@@ -107,9 +107,10 @@ class AccountsProductsResourceApi { |
* Gets the product from a Manufacturer Center account, including product |
* issues. |
* |
- * A recently updated product takes some time to be processed before any |
- * changes are visible. While some issues may be available once the product |
- * has been processed, other issues may take days to appear. |
+ * A recently updated product takes around 15 minutes to process. Changes are |
+ * only visible after it has been processed. While some issues may be |
+ * available once the product has been processed, other issues may take days |
+ * to appear. |
* |
* Request parameters: |
* |
@@ -176,12 +177,12 @@ class AccountsProductsResourceApi { |
* `account_id` - The ID of the Manufacturer Center account. |
* Value must have pattern "^accounts/[^/]+$". |
* |
+ * [pageToken] - The token returned by the previous request. |
+ * |
* [pageSize] - Maximum number of product statuses to return in the response, |
* used for |
* paging. |
* |
- * [pageToken] - The token returned by the previous request. |
- * |
* Completes with a [ListProductsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -190,7 +191,7 @@ class AccountsProductsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListProductsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) { |
+ async.Future<ListProductsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -201,12 +202,12 @@ class AccountsProductsResourceApi { |
if (parent == null) { |
throw new core.ArgumentError("Parameter parent is required."); |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/products'; |
@@ -449,6 +450,11 @@ class Attributes { |
* see https://support.google.com/manufacturers/answer/6124116#price. |
*/ |
Price suggestedRetailPrice; |
+ /** |
+ * The target account id. Should only be used in the accounts of the data |
+ * partners. |
+ */ |
+ core.String targetAccountId; |
/** |
* The theme of the product. For more information, see |
* https://support.google.com/manufacturers/answer/6124116#theme. |
@@ -555,6 +561,9 @@ class Attributes { |
if (_json.containsKey("suggestedRetailPrice")) { |
suggestedRetailPrice = new Price.fromJson(_json["suggestedRetailPrice"]); |
} |
+ if (_json.containsKey("targetAccountId")) { |
+ targetAccountId = _json["targetAccountId"]; |
+ } |
if (_json.containsKey("theme")) { |
theme = _json["theme"]; |
} |
@@ -655,6 +664,9 @@ class Attributes { |
if (suggestedRetailPrice != null) { |
_json["suggestedRetailPrice"] = (suggestedRetailPrice).toJson(); |
} |
+ if (targetAccountId != null) { |
+ _json["targetAccountId"] = targetAccountId; |
+ } |
if (theme != null) { |
_json["theme"] = theme; |
} |