Skip to content

Commit

Permalink
feat(content): update the api
Browse files Browse the repository at this point in the history
#### content:v21

The following keys were added:
- resources.products.methods.update (Total Keys: 18)
- schemas.OrderreturnsLineItem.properties.productId.type (Total Keys: 1)
- schemas.ProductsCustomBatchRequestEntry.properties.updateMask (Total Keys: 2)
  • Loading branch information
yoshi-automation committed May 20, 2021
1 parent 2edc1c5 commit 3b3e9be
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 23 deletions.
12 changes: 6 additions & 6 deletions docs/dyn/content_v2.products.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h3>Method Details</h3>
&quot;batchId&quot;: 42, # An entry ID, unique within the batch request.
&quot;merchantId&quot;: &quot;A String&quot;, # The ID of the managing account.
&quot;method&quot;: &quot;A String&quot;, # The method of the batch entry. Acceptable values are: - &quot;`delete`&quot; - &quot;`get`&quot; - &quot;`insert`&quot;
&quot;product&quot;: { # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Some attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. # The product to insert. Only required if the method is `insert`.
&quot;product&quot;: { # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. # The product to insert. Only required if the method is `insert`.
&quot;additionalImageLinks&quot;: [ # Additional URLs of images of the item.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -335,7 +335,7 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # The message of the first error in `errors`.
},
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#productsCustomBatchResponseEntry`&quot;
&quot;product&quot;: { # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Some attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. # The inserted product. Only defined if the method is `insert` and if the request was successful.
&quot;product&quot;: { # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. # The inserted product. Only defined if the method is `insert` and if the request was successful.
&quot;additionalImageLinks&quot;: [ # Additional URLs of images of the item.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -561,7 +561,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Some attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.
{ # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.
&quot;additionalImageLinks&quot;: [ # Additional URLs of images of the item.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -762,7 +762,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Some attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.
{ # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.
&quot;additionalImageLinks&quot;: [ # Additional URLs of images of the item.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -962,7 +962,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Some attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.
{ # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.
&quot;additionalImageLinks&quot;: [ # Additional URLs of images of the item.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -1175,7 +1175,7 @@ <h3>Method Details</h3>
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;content#productsListResponse&quot;.
&quot;nextPageToken&quot;: &quot;A String&quot;, # The token for the retrieval of the next page of products.
&quot;resources&quot;: [
{ # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Some attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.
{ # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.
&quot;additionalImageLinks&quot;: [ # Additional URLs of images of the item.
&quot;A String&quot;,
],
Expand Down
6 changes: 3 additions & 3 deletions docs/dyn/content_v2.productstatuses.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ <h3>Method Details</h3>
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#productStatus`&quot;
&quot;lastUpdateDate&quot;: &quot;A String&quot;, # Date on which the item has been last updated, in ISO 8601 format.
&quot;link&quot;: &quot;A String&quot;, # The link to the product.
&quot;product&quot;: { # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Some attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. # Product data after applying all the join inputs.
&quot;product&quot;: { # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. # Product data after applying all the join inputs.
&quot;additionalImageLinks&quot;: [ # Additional URLs of images of the item.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -437,7 +437,7 @@ <h3>Method Details</h3>
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#productStatus`&quot;
&quot;lastUpdateDate&quot;: &quot;A String&quot;, # Date on which the item has been last updated, in ISO 8601 format.
&quot;link&quot;: &quot;A String&quot;, # The link to the product.
&quot;product&quot;: { # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Some attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. # Product data after applying all the join inputs.
&quot;product&quot;: { # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. # Product data after applying all the join inputs.
&quot;additionalImageLinks&quot;: [ # Additional URLs of images of the item.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -694,7 +694,7 @@ <h3>Method Details</h3>
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#productStatus`&quot;
&quot;lastUpdateDate&quot;: &quot;A String&quot;, # Date on which the item has been last updated, in ISO 8601 format.
&quot;link&quot;: &quot;A String&quot;, # The link to the product.
&quot;product&quot;: { # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Some attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. # Product data after applying all the join inputs.
&quot;product&quot;: { # Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. # Product data after applying all the join inputs.
&quot;additionalImageLinks&quot;: [ # Additional URLs of images of the item.
&quot;A String&quot;,
],
Expand Down
4 changes: 2 additions & 2 deletions googleapiclient/discovery_cache/documents/content.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3298,7 +3298,7 @@
}
}
},
"revision": "20210505",
"revision": "20210514",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -8554,7 +8554,7 @@
"type": "object"
},
"Product": {
"description": " Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Some attributes are country-specific, so make sure you select the appropriate country in the drop-down selector at the top of the page. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.",
"description": " Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.",
"id": "Product",
"properties": {
"additionalImageLinks": {
Expand Down
Loading

0 comments on commit 3b3e9be

Please sign in to comment.