Skip to content

Commit

Permalink
fix(content): update the API
Browse files Browse the repository at this point in the history
#### content:v2.1

The following keys were changed:
- resources.products.methods.update.parameters.updateMask.description
- resources.regions.methods.patch.parameters.updateMask.description
- schemas.ProductsCustomBatchRequestEntry.properties.updateMask.description
- schemas.Weight.properties.value.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed May 25, 2021
1 parent 50a58a0 commit cc7f85a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions discovery/content-v2.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3962,7 +3962,7 @@
"type": "string"
},
"updateMask": {
"description": "The list of product attributes to be updated. 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.",
"description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. 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.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
Expand Down Expand Up @@ -4417,7 +4417,7 @@
"type": "string"
},
"updateMask": {
"description": "Optional. The field mask indicating the fields to update.",
"description": "Optional. The comma-separated field mask indicating the fields to update. Example: `\"displayName,postalCodeArea.regionCode\"`.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
Expand Down Expand Up @@ -5485,7 +5485,7 @@
}
}
},
"revision": "20210514",
"revision": "20210519",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -12172,7 +12172,7 @@
"type": "string"
},
"updateMask": {
"description": "The list of product attributes to be updated. 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`.",
"description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. 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`.",
"format": "google-fieldmask",
"type": "string"
}
Expand Down Expand Up @@ -14682,7 +14682,7 @@
"type": "string"
},
"value": {
"description": "Required. The weight represented as a number.",
"description": "Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.",
"type": "string"
}
},
Expand Down
12 changes: 6 additions & 6 deletions src/apis/content/v2.1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5033,7 +5033,7 @@ export namespace content_v2_1 {
*/
productId?: string | null;
/**
* The list of product attributes to be updated. 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`.
* The comma-separated list of product attributes to be updated. Example: `"title,salePrice"`. 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`.
*/
updateMask?: string | null;
}
Expand Down Expand Up @@ -7061,7 +7061,7 @@ export namespace content_v2_1 {
*/
unit?: string | null;
/**
* Required. The weight represented as a number.
* Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.
*/
value?: string | null;
}
Expand Down Expand Up @@ -24410,7 +24410,7 @@ export namespace content_v2_1 {
* merchantId: 'placeholder-value',
* // The REST ID of the product for which to update.
* productId: 'placeholder-value',
* // The list of product attributes to be updated. 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.
* // The comma-separated list of product attributes to be updated. Example: `"title,salePrice"`. 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.
* updateMask: 'placeholder-value',
*
* // Request body metadata
Expand Down Expand Up @@ -24750,7 +24750,7 @@ export namespace content_v2_1 {
*/
productId?: string;
/**
* The list of product attributes to be updated. 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.
* The comma-separated list of product attributes to be updated. Example: `"title,salePrice"`. 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.
*/
updateMask?: string;

Expand Down Expand Up @@ -26662,7 +26662,7 @@ export namespace content_v2_1 {
* merchantId: 'placeholder-value',
* // Required. The id of the region to update.
* regionId: 'placeholder-value',
* // Optional. The field mask indicating the fields to update.
* // Optional. The comma-separated field mask indicating the fields to update. Example: `"displayName,postalCodeArea.regionCode"`.
* updateMask: 'placeholder-value',
*
* // Request body metadata
Expand Down Expand Up @@ -26843,7 +26843,7 @@ export namespace content_v2_1 {
*/
regionId?: string;
/**
* Optional. The field mask indicating the fields to update.
* Optional. The comma-separated field mask indicating the fields to update. Example: `"displayName,postalCodeArea.regionCode"`.
*/
updateMask?: string;

Expand Down

0 comments on commit cc7f85a

Please sign in to comment.