Skip to content

Commit a614ab2

Browse files
yoshi-automationsofisl
authored andcommitted
feat(retail)!: update the API
BREAKING CHANGE: This release has breaking changes. #### retail:v2alpha The following keys were deleted: - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.format - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.prebuiltRule.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.prebuiltRule.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.prebuiltRule.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.rawJson.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.rawJson.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.rawJson.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.uri.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.uri.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.uri.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.userEvent.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.userEvent.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.userEvent.type The following keys were added: - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.request.$ref - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.description - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.id - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.ets.description - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.ets.format - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.ets.type - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.prebuiltRule.description - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.prebuiltRule.type - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.rawJson.description - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.rawJson.type - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.uri.description - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.uri.type - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.userEvent.description - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.properties.userEvent.type - schemas.GoogleCloudRetailV2alphaCollectUserEventRequest.type - schemas.GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult.properties.suggestions.description - schemas.GoogleCloudRetailV2alphaLocalInventory.properties.availability.description - schemas.GoogleCloudRetailV2alphaLocalInventory.properties.availability.enum - schemas.GoogleCloudRetailV2alphaLocalInventory.properties.availability.enumDescriptions - schemas.GoogleCloudRetailV2alphaLocalInventory.properties.availability.type - schemas.GoogleCloudRetailV2alphaPinControlMetadata.description - schemas.GoogleCloudRetailV2alphaPinControlMetadata.id - schemas.GoogleCloudRetailV2alphaPinControlMetadata.properties.allMatchedPins.additionalProperties.$ref - schemas.GoogleCloudRetailV2alphaPinControlMetadata.properties.allMatchedPins.description - schemas.GoogleCloudRetailV2alphaPinControlMetadata.properties.allMatchedPins.type - schemas.GoogleCloudRetailV2alphaPinControlMetadata.properties.droppedPins.additionalProperties.$ref - schemas.GoogleCloudRetailV2alphaPinControlMetadata.properties.droppedPins.description - schemas.GoogleCloudRetailV2alphaPinControlMetadata.properties.droppedPins.type - schemas.GoogleCloudRetailV2alphaPinControlMetadata.type - schemas.GoogleCloudRetailV2alphaPinControlMetadataProductPins.description - schemas.GoogleCloudRetailV2alphaPinControlMetadataProductPins.id - schemas.GoogleCloudRetailV2alphaPinControlMetadataProductPins.properties.productId.description - schemas.GoogleCloudRetailV2alphaPinControlMetadataProductPins.properties.productId.items.type - schemas.GoogleCloudRetailV2alphaPinControlMetadataProductPins.properties.productId.type - schemas.GoogleCloudRetailV2alphaPinControlMetadataProductPins.type - schemas.GoogleCloudRetailV2alphaRule.properties.pinAction.$ref - schemas.GoogleCloudRetailV2alphaRule.properties.pinAction.description - schemas.GoogleCloudRetailV2alphaRulePinAction.description - schemas.GoogleCloudRetailV2alphaRulePinAction.id - schemas.GoogleCloudRetailV2alphaRulePinAction.properties.pinMap.additionalProperties.type - schemas.GoogleCloudRetailV2alphaRulePinAction.properties.pinMap.description - schemas.GoogleCloudRetailV2alphaRulePinAction.properties.pinMap.type - schemas.GoogleCloudRetailV2alphaRulePinAction.type - schemas.GoogleCloudRetailV2alphaSearchResponse.properties.pinControlMetadata.$ref - schemas.GoogleCloudRetailV2alphaSearchResponse.properties.pinControlMetadata.description The following keys were changed: - description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.httpMethod - schemas.GoogleCloudRetailV2alphaAttributesConfig.properties.attributeConfigLevel.enumDescriptions - schemas.GoogleCloudRetailV2alphaBigQuerySource.properties.partitionDate.description - schemas.GoogleCloudRetailV2alphaCatalogAttribute.properties.inUse.description - schemas.GoogleCloudRetailV2alphaColorInfo.properties.colorFamilies.description - schemas.GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult.description - schemas.GoogleCloudRetailV2alphaExperimentInfo.description - schemas.GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment.properties.experimentServingConfig.description - schemas.GoogleCloudRetailV2alphaImage.description - schemas.GoogleCloudRetailV2alphaLocalInventory.properties.attributes.description - schemas.GoogleCloudRetailV2alphaLocalInventory.properties.fulfillmentTypes.description - schemas.GoogleCloudRetailV2alphaLocalInventory.properties.placeId.description - schemas.GoogleCloudRetailV2alphaLocalInventory.properties.priceInfo.description - schemas.GoogleCloudRetailV2alphaProduct.properties.retrievableFields.description - schemas.GoogleCloudRetailV2alphaSearchResponse.properties.experimentInfo.description - schemas.GoogleCloudRetailV2alphaUserInfo.properties.userAgent.description - title #### retail:v2beta The following keys were deleted: - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.format - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.prebuiltRule.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.prebuiltRule.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.prebuiltRule.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.rawJson.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.rawJson.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.rawJson.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.uri.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.uri.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.uri.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.userEvent.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.userEvent.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.userEvent.type The following keys were added: - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.request.$ref - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.description - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.id - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.ets.description - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.ets.format - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.ets.type - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.prebuiltRule.description - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.prebuiltRule.type - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.rawJson.description - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.rawJson.type - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.uri.description - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.uri.type - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.userEvent.description - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.properties.userEvent.type - schemas.GoogleCloudRetailV2betaCollectUserEventRequest.type - schemas.GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult.properties.suggestions.description - schemas.GoogleCloudRetailV2betaLocalInventory.properties.availability.description - schemas.GoogleCloudRetailV2betaLocalInventory.properties.availability.enum - schemas.GoogleCloudRetailV2betaLocalInventory.properties.availability.enumDescriptions - schemas.GoogleCloudRetailV2betaLocalInventory.properties.availability.type - schemas.GoogleCloudRetailV2betaPinControlMetadata.description - schemas.GoogleCloudRetailV2betaPinControlMetadata.id - schemas.GoogleCloudRetailV2betaPinControlMetadata.properties.allMatchedPins.additionalProperties.$ref - schemas.GoogleCloudRetailV2betaPinControlMetadata.properties.allMatchedPins.description - schemas.GoogleCloudRetailV2betaPinControlMetadata.properties.allMatchedPins.type - schemas.GoogleCloudRetailV2betaPinControlMetadata.properties.droppedPins.additionalProperties.$ref - schemas.GoogleCloudRetailV2betaPinControlMetadata.properties.droppedPins.description - schemas.GoogleCloudRetailV2betaPinControlMetadata.properties.droppedPins.type - schemas.GoogleCloudRetailV2betaPinControlMetadata.type - schemas.GoogleCloudRetailV2betaPinControlMetadataProductPins.description - schemas.GoogleCloudRetailV2betaPinControlMetadataProductPins.id - schemas.GoogleCloudRetailV2betaPinControlMetadataProductPins.properties.productId.description - schemas.GoogleCloudRetailV2betaPinControlMetadataProductPins.properties.productId.items.type - schemas.GoogleCloudRetailV2betaPinControlMetadataProductPins.properties.productId.type - schemas.GoogleCloudRetailV2betaPinControlMetadataProductPins.type - schemas.GoogleCloudRetailV2betaRule.properties.pinAction.$ref - schemas.GoogleCloudRetailV2betaRule.properties.pinAction.description - schemas.GoogleCloudRetailV2betaRulePinAction.description - schemas.GoogleCloudRetailV2betaRulePinAction.id - schemas.GoogleCloudRetailV2betaRulePinAction.properties.pinMap.additionalProperties.type - schemas.GoogleCloudRetailV2betaRulePinAction.properties.pinMap.description - schemas.GoogleCloudRetailV2betaRulePinAction.properties.pinMap.type - schemas.GoogleCloudRetailV2betaRulePinAction.type - schemas.GoogleCloudRetailV2betaSearchResponse.properties.pinControlMetadata.$ref - schemas.GoogleCloudRetailV2betaSearchResponse.properties.pinControlMetadata.description The following keys were changed: - description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.httpMethod - schemas.GoogleCloudRetailV2betaAttributesConfig.properties.attributeConfigLevel.enumDescriptions - schemas.GoogleCloudRetailV2betaBigQuerySource.properties.partitionDate.description - schemas.GoogleCloudRetailV2betaCatalogAttribute.properties.inUse.description - schemas.GoogleCloudRetailV2betaColorInfo.properties.colorFamilies.description - schemas.GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult.description - schemas.GoogleCloudRetailV2betaExperimentInfo.description - schemas.GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment.properties.experimentServingConfig.description - schemas.GoogleCloudRetailV2betaImage.description - schemas.GoogleCloudRetailV2betaLocalInventory.properties.attributes.description - schemas.GoogleCloudRetailV2betaLocalInventory.properties.fulfillmentTypes.description - schemas.GoogleCloudRetailV2betaLocalInventory.properties.placeId.description - schemas.GoogleCloudRetailV2betaLocalInventory.properties.priceInfo.description - schemas.GoogleCloudRetailV2betaProduct.properties.retrievableFields.description - schemas.GoogleCloudRetailV2betaSearchResponse.properties.experimentInfo.description - schemas.GoogleCloudRetailV2betaUserInfo.properties.userAgent.description - title #### retail:v2 The following keys were deleted: - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.format - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.ets.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.prebuiltRule.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.prebuiltRule.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.prebuiltRule.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.rawJson.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.rawJson.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.rawJson.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.uri.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.uri.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.uri.type - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.userEvent.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.userEvent.location - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.parameters.userEvent.type The following keys were added: - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.request.$ref - schemas.GoogleCloudRetailV2CollectUserEventRequest.description - schemas.GoogleCloudRetailV2CollectUserEventRequest.id - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.ets.description - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.ets.format - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.ets.type - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.prebuiltRule.description - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.prebuiltRule.type - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.rawJson.description - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.rawJson.type - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.uri.description - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.uri.type - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.userEvent.description - schemas.GoogleCloudRetailV2CollectUserEventRequest.properties.userEvent.type - schemas.GoogleCloudRetailV2CollectUserEventRequest.type - schemas.GoogleCloudRetailV2CompleteQueryResponseAttributeResult.properties.suggestions.description - schemas.GoogleCloudRetailV2LocalInventory.properties.availability.description - schemas.GoogleCloudRetailV2LocalInventory.properties.availability.enum - schemas.GoogleCloudRetailV2LocalInventory.properties.availability.enumDescriptions - schemas.GoogleCloudRetailV2LocalInventory.properties.availability.type - schemas.GoogleCloudRetailV2PinControlMetadata.description - schemas.GoogleCloudRetailV2PinControlMetadata.id - schemas.GoogleCloudRetailV2PinControlMetadata.properties.allMatchedPins.additionalProperties.$ref - schemas.GoogleCloudRetailV2PinControlMetadata.properties.allMatchedPins.description - schemas.GoogleCloudRetailV2PinControlMetadata.properties.allMatchedPins.type - schemas.GoogleCloudRetailV2PinControlMetadata.properties.droppedPins.additionalProperties.$ref - schemas.GoogleCloudRetailV2PinControlMetadata.properties.droppedPins.description - schemas.GoogleCloudRetailV2PinControlMetadata.properties.droppedPins.type - schemas.GoogleCloudRetailV2PinControlMetadata.type - schemas.GoogleCloudRetailV2PinControlMetadataProductPins.description - schemas.GoogleCloudRetailV2PinControlMetadataProductPins.id - schemas.GoogleCloudRetailV2PinControlMetadataProductPins.properties.productId.description - schemas.GoogleCloudRetailV2PinControlMetadataProductPins.properties.productId.items.type - schemas.GoogleCloudRetailV2PinControlMetadataProductPins.properties.productId.type - schemas.GoogleCloudRetailV2PinControlMetadataProductPins.type - schemas.GoogleCloudRetailV2Rule.properties.pinAction.$ref - schemas.GoogleCloudRetailV2Rule.properties.pinAction.description - schemas.GoogleCloudRetailV2RulePinAction.description - schemas.GoogleCloudRetailV2RulePinAction.id - schemas.GoogleCloudRetailV2RulePinAction.properties.pinMap.additionalProperties.type - schemas.GoogleCloudRetailV2RulePinAction.properties.pinMap.description - schemas.GoogleCloudRetailV2RulePinAction.properties.pinMap.type - schemas.GoogleCloudRetailV2RulePinAction.type - schemas.GoogleCloudRetailV2SearchResponse.properties.pinControlMetadata.$ref - schemas.GoogleCloudRetailV2SearchResponse.properties.pinControlMetadata.description The following keys were changed: - description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.description - resources.projects.resources.locations.resources.catalogs.resources.userEvents.methods.collect.httpMethod - schemas.GoogleCloudRetailV2AttributesConfig.properties.attributeConfigLevel.enumDescriptions - schemas.GoogleCloudRetailV2BigQuerySource.properties.partitionDate.description - schemas.GoogleCloudRetailV2CatalogAttribute.properties.inUse.description - schemas.GoogleCloudRetailV2ColorInfo.properties.colorFamilies.description - schemas.GoogleCloudRetailV2CompleteQueryResponseAttributeResult.description - schemas.GoogleCloudRetailV2ExperimentInfo.description - schemas.GoogleCloudRetailV2ExperimentInfoServingConfigExperiment.properties.experimentServingConfig.description - schemas.GoogleCloudRetailV2Image.description - schemas.GoogleCloudRetailV2LocalInventory.properties.attributes.description - schemas.GoogleCloudRetailV2LocalInventory.properties.fulfillmentTypes.description - schemas.GoogleCloudRetailV2LocalInventory.properties.placeId.description - schemas.GoogleCloudRetailV2LocalInventory.properties.priceInfo.description - schemas.GoogleCloudRetailV2Product.properties.retrievableFields.description - schemas.GoogleCloudRetailV2SearchResponse.properties.experimentInfo.description - schemas.GoogleCloudRetailV2UserInfo.properties.userAgent.description - title
1 parent b3d4a63 commit a614ab2

File tree

7 files changed

+678
-247
lines changed

7 files changed

+678
-247
lines changed

‎discovery/retail-v2.json

Lines changed: 127 additions & 46 deletions
Large diffs are not rendered by default.

‎discovery/retail-v2alpha.json

Lines changed: 127 additions & 46 deletions
Large diffs are not rendered by default.

‎discovery/retail-v2beta.json

Lines changed: 127 additions & 46 deletions
Large diffs are not rendered by default.

‎src/apis/retail/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# retail
44

5-
> Vertex AI Search for Retail API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.
5+
> Vertex AI Search for commerce API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.
66
77
## Support status
88
**Note**: Google provides multiple libraries for this service. This library is in

‎src/apis/retail/v2.ts

Lines changed: 96 additions & 36 deletions
Large diffs are not rendered by default.

‎src/apis/retail/v2alpha.ts

Lines changed: 100 additions & 36 deletions
Large diffs are not rendered by default.

‎src/apis/retail/v2beta.ts

Lines changed: 100 additions & 36 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)