Skip to content

Commit 6a3ef78

Browse files
chore(content): update the api
1 parent 5a132a4 commit 6a3ef78

File tree

4 files changed

+31
-19
lines changed

4 files changed

+31
-19
lines changed

docs/dyn/content_v2_1.accounts.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ <h3>Method Details</h3>
213213
],
214214
&quot;businessInformation&quot;: { # The business information of the account.
215215
&quot;address&quot;: { # The address of the business.
216-
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.
216+
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
217217
&quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
218218
&quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (e.g. &quot;94043&quot;).
219219
&quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
@@ -303,7 +303,7 @@ <h3>Method Details</h3>
303303
],
304304
&quot;businessInformation&quot;: { # The business information of the account.
305305
&quot;address&quot;: { # The address of the business.
306-
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.
306+
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
307307
&quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
308308
&quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (e.g. &quot;94043&quot;).
309309
&quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
@@ -413,7 +413,7 @@ <h3>Method Details</h3>
413413
],
414414
&quot;businessInformation&quot;: { # The business information of the account.
415415
&quot;address&quot;: { # The address of the business.
416-
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.
416+
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
417417
&quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
418418
&quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (e.g. &quot;94043&quot;).
419419
&quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
@@ -481,7 +481,7 @@ <h3>Method Details</h3>
481481
],
482482
&quot;businessInformation&quot;: { # The business information of the account.
483483
&quot;address&quot;: { # The address of the business.
484-
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.
484+
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
485485
&quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
486486
&quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (e.g. &quot;94043&quot;).
487487
&quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
@@ -547,7 +547,7 @@ <h3>Method Details</h3>
547547
],
548548
&quot;businessInformation&quot;: { # The business information of the account.
549549
&quot;address&quot;: { # The address of the business.
550-
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.
550+
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
551551
&quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
552552
&quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (e.g. &quot;94043&quot;).
553553
&quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
@@ -668,7 +668,7 @@ <h3>Method Details</h3>
668668
],
669669
&quot;businessInformation&quot;: { # The business information of the account.
670670
&quot;address&quot;: { # The address of the business.
671-
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.
671+
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
672672
&quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
673673
&quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (e.g. &quot;94043&quot;).
674674
&quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
@@ -831,7 +831,7 @@ <h3>Method Details</h3>
831831
],
832832
&quot;businessInformation&quot;: { # The business information of the account.
833833
&quot;address&quot;: { # The address of the business.
834-
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.
834+
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
835835
&quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
836836
&quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (e.g. &quot;94043&quot;).
837837
&quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
@@ -897,7 +897,7 @@ <h3>Method Details</h3>
897897
],
898898
&quot;businessInformation&quot;: { # The business information of the account.
899899
&quot;address&quot;: { # The address of the business.
900-
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.
900+
&quot;country&quot;: &quot;A String&quot;, # CLDR country code (e.g. &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
901901
&quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
902902
&quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (e.g. &quot;94043&quot;).
903903
&quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).

docs/dyn/content_v2_1.products.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ <h3>Method Details</h3>
310310
&quot;value&quot;: 3.14, # The measure of an item.
311311
},
312312
},
313-
&quot;productId&quot;: &quot;A String&quot;, # The ID of the product to mutate. Only defined if the method is `get`, `delete`, or `update`. or `delete`.
313+
&quot;productId&quot;: &quot;A String&quot;, # The ID of the product to get or mutate. Only defined if the method is `get`, `delete`, or `update`.
314314
&quot;updateMask&quot;: &quot;A String&quot;, # The comma-separated list of product attributes to be updated. Example: `&quot;title,salePrice&quot;`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged. Only defined if the method is `update`.
315315
},
316316
],

googleapiclient/discovery_cache/documents/content.v2.1.json

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5675,7 +5675,7 @@
56755675
}
56765676
}
56775677
},
5678-
"revision": "20210804",
5678+
"revision": "20210812",
56795679
"rootUrl": "https://shoppingcontent.googleapis.com/",
56805680
"schemas": {
56815681
"Account": {
@@ -5769,7 +5769,7 @@
57695769
"id": "AccountAddress",
57705770
"properties": {
57715771
"country": {
5772-
"description": "CLDR country code (e.g. \"US\"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA.",
5772+
"description": "CLDR country code (e.g. \"US\"). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.",
57735773
"type": "string"
57745774
},
57755775
"locality": {
@@ -12583,7 +12583,7 @@
1258312583
"description": "The product to insert or update. Only required if the method is `insert` or `update`. If the `update` method is used with `updateMask` only to delete a field, then this isn't required. For example, setting `salePrice` on the `updateMask` and not providing a `product` will result in an existing sale price on the product specified by `productId` being deleted."
1258412584
},
1258512585
"productId": {
12586-
"description": "The ID of the product to mutate. Only defined if the method is `get`, `delete`, or `update`. or `delete`.",
12586+
"description": "The ID of the product to get or mutate. Only defined if the method is `get`, `delete`, or `update`.",
1258712587
"type": "string"
1258812588
},
1258912589
"updateMask": {
@@ -13116,12 +13116,16 @@
1311613116
"enum": [
1311713117
"REPRICING_RULE_TYPE_UNSPECIFIED",
1311813118
"TYPE_STATS_BASED",
13119-
"TYPE_COGS_BASED"
13119+
"TYPE_COGS_BASED",
13120+
"TYPE_SALES_VOLUME_BASED",
13121+
"TYPE_COMPETITIVE_PRICE"
1312013122
],
1312113123
"enumDescriptions": [
1312213124
"Unused.",
1312313125
"Statistical measurement based rules among Google SA merchants. If this rule is chosen, repricer will adjust the offer price based on statistical metrics (currently only min is available) among other merchants who sell the same product. Details need to be provdided in the RuleDefinition.",
13124-
"Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant."
13126+
"Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant.",
13127+
"Sales volume based rule. Repricer will adjust the offer price based on the offer's sales volume in the past period of time defined within the rule.",
13128+
"Competitive price rule. Repricer will adjust the offer price based on the min price from a list of unnamed big competitors."
1312513129
],
1312613130
"type": "string"
1312713131
}
@@ -13196,12 +13200,16 @@
1319613200
"enum": [
1319713201
"REPRICING_RULE_TYPE_UNSPECIFIED",
1319813202
"TYPE_STATS_BASED",
13199-
"TYPE_COGS_BASED"
13203+
"TYPE_COGS_BASED",
13204+
"TYPE_SALES_VOLUME_BASED",
13205+
"TYPE_COMPETITIVE_PRICE"
1320013206
],
1320113207
"enumDescriptions": [
1320213208
"Unused.",
1320313209
"Statistical measurement based rules among Google SA merchants. If this rule is chosen, repricer will adjust the offer price based on statistical metrics (currently only min is available) among other merchants who sell the same product. Details need to be provdided in the RuleDefinition.",
13204-
"Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant."
13210+
"Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant.",
13211+
"Sales volume based rule. Repricer will adjust the offer price based on the offer's sales volume in the past period of time defined within the rule.",
13212+
"Competitive price rule. Repricer will adjust the offer price based on the min price from a list of unnamed big competitors."
1320513213
],
1320613214
"type": "string"
1320713215
}
@@ -13358,12 +13366,16 @@
1335813366
"enum": [
1335913367
"REPRICING_RULE_TYPE_UNSPECIFIED",
1336013368
"TYPE_STATS_BASED",
13361-
"TYPE_COGS_BASED"
13369+
"TYPE_COGS_BASED",
13370+
"TYPE_SALES_VOLUME_BASED",
13371+
"TYPE_COMPETITIVE_PRICE"
1336213372
],
1336313373
"enumDescriptions": [
1336413374
"Unused.",
1336513375
"Statistical measurement based rules among Google SA merchants. If this rule is chosen, repricer will adjust the offer price based on statistical metrics (currently only min is available) among other merchants who sell the same product. Details need to be provdided in the RuleDefinition.",
13366-
"Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant."
13376+
"Cost of goods sale based rule. Repricer will adjust the offer price based on the offer's sale cost which is provided by the merchant.",
13377+
"Sales volume based rule. Repricer will adjust the offer price based on the offer's sales volume in the past period of time defined within the rule.",
13378+
"Competitive price rule. Repricer will adjust the offer price based on the min price from a list of unnamed big competitors."
1336713379
],
1336813380
"type": "string"
1336913381
}

googleapiclient/discovery_cache/documents/content.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3298,7 +3298,7 @@
32983298
}
32993299
}
33003300
},
3301-
"revision": "20210804",
3301+
"revision": "20210812",
33023302
"rootUrl": "https://shoppingcontent.googleapis.com/",
33033303
"schemas": {
33043304
"Account": {

0 commit comments

Comments
 (0)