Skip to content

Commit

Permalink
feat(retail): update the API
Browse files Browse the repository at this point in the history
#### retail:v2alpha

The following keys were added:
- schemas.GoogleCloudRetailV2AddLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2AddLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2AddLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2AddLocalInventoriesResponse.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesResponse.type
- schemas.GoogleCloudRetailV2alphaLocalInventory.properties.fulfillmentTypes.description
- schemas.GoogleCloudRetailV2alphaLocalInventory.properties.fulfillmentTypes.items.type
- schemas.GoogleCloudRetailV2alphaLocalInventory.properties.fulfillmentTypes.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesResponse.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesResponse.type

The following keys were changed:
- resources.projects.resources.locations.resources.catalogs.methods.completeQuery.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addFulfillmentPlaces.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeFulfillmentPlaces.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.setInventory.description
- resources.projects.resources.locations.resources.catalogs.resources.completionData.methods.import.description
- resources.projects.resources.locations.resources.catalogs.resources.placements.methods.search.description
- resources.projects.resources.locations.resources.catalogs.resources.servingConfigs.methods.search.description
- schemas.GoogleCloudRetailV2alphaImportProductsRequest.properties.reconciliationMode.enumDescriptions
- schemas.GoogleCloudRetailV2alphaMerchantCenterLink.properties.languageCode.description
- schemas.GoogleCloudRetailV2alphaSearchRequest.properties.dynamicFacetSpec.description
- schemas.GoogleCloudRetailV2alphaUserInfo.properties.ipAddress.description
- schemas.GoogleCloudRetailV2alphaUserInfo.properties.userId.description

#### retail:v2beta

The following keys were added:
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.flatPath
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.httpMethod
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.id
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameterOrder
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameters.product.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameters.product.location
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameters.product.pattern
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameters.product.required
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameters.product.type
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.path
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.request.$ref
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.response.$ref
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.scopes
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.flatPath
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.httpMethod
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.id
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameterOrder
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameters.product.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameters.product.location
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameters.product.pattern
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameters.product.required
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameters.product.type
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.path
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.request.$ref
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.response.$ref
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.scopes
- schemas.GoogleCloudRetailV2AddLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2AddLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2AddLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2AddLocalInventoriesResponse.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesResponse.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.id
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.addMask.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.addMask.format
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.addMask.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.addTime.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.addTime.format
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.addTime.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.allowMissing.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.allowMissing.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.localInventories.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.localInventories.items.$ref
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.properties.localInventories.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesRequest.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesResponse.type
- schemas.GoogleCloudRetailV2betaLocalInventory.description
- schemas.GoogleCloudRetailV2betaLocalInventory.id
- schemas.GoogleCloudRetailV2betaLocalInventory.properties.attributes.additionalProperties.$ref
- schemas.GoogleCloudRetailV2betaLocalInventory.properties.attributes.description
- schemas.GoogleCloudRetailV2betaLocalInventory.properties.attributes.type
- schemas.GoogleCloudRetailV2betaLocalInventory.properties.fulfillmentTypes.description
- schemas.GoogleCloudRetailV2betaLocalInventory.properties.fulfillmentTypes.items.type
- schemas.GoogleCloudRetailV2betaLocalInventory.properties.fulfillmentTypes.type
- schemas.GoogleCloudRetailV2betaLocalInventory.properties.placeId.description
- schemas.GoogleCloudRetailV2betaLocalInventory.properties.placeId.type
- schemas.GoogleCloudRetailV2betaLocalInventory.properties.priceInfo.$ref
- schemas.GoogleCloudRetailV2betaLocalInventory.properties.priceInfo.description
- schemas.GoogleCloudRetailV2betaLocalInventory.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.description
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.id
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.properties.allowMissing.description
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.properties.allowMissing.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.properties.placeIds.description
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.properties.placeIds.items.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.properties.placeIds.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.properties.removeTime.description
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.properties.removeTime.format
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.properties.removeTime.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesRequest.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesResponse.type

The following keys were changed:
- resources.projects.resources.locations.resources.catalogs.methods.completeQuery.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addFulfillmentPlaces.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeFulfillmentPlaces.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.setInventory.description
- resources.projects.resources.locations.resources.catalogs.resources.completionData.methods.import.description
- resources.projects.resources.locations.resources.catalogs.resources.placements.methods.search.description
- resources.projects.resources.locations.resources.catalogs.resources.servingConfigs.methods.search.description
- schemas.GoogleCloudRetailV2betaImportProductsRequest.properties.reconciliationMode.enumDescriptions
- schemas.GoogleCloudRetailV2betaMerchantCenterLink.properties.languageCode.description
- schemas.GoogleCloudRetailV2betaSearchRequest.properties.dynamicFacetSpec.description
- schemas.GoogleCloudRetailV2betaUserInfo.properties.ipAddress.description
- schemas.GoogleCloudRetailV2betaUserInfo.properties.userId.description

#### retail:v2

The following keys were added:
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.flatPath
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.httpMethod
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.id
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameterOrder
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameters.product.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameters.product.location
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameters.product.pattern
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameters.product.required
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.parameters.product.type
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.path
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.request.$ref
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.response.$ref
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addLocalInventories.scopes
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.flatPath
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.httpMethod
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.id
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameterOrder
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameters.product.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameters.product.location
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameters.product.pattern
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameters.product.required
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.parameters.product.type
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.path
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.request.$ref
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.response.$ref
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeLocalInventories.scopes
- schemas.GoogleCloudRetailV2AddLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2AddLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.id
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.addMask.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.addMask.format
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.addMask.type
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.addTime.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.addTime.format
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.addTime.type
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.allowMissing.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.allowMissing.type
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.localInventories.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.localInventories.items.$ref
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.properties.localInventories.type
- schemas.GoogleCloudRetailV2AddLocalInventoriesRequest.type
- schemas.GoogleCloudRetailV2AddLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2AddLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2AddLocalInventoriesResponse.type
- schemas.GoogleCloudRetailV2LocalInventory.description
- schemas.GoogleCloudRetailV2LocalInventory.id
- schemas.GoogleCloudRetailV2LocalInventory.properties.attributes.additionalProperties.$ref
- schemas.GoogleCloudRetailV2LocalInventory.properties.attributes.description
- schemas.GoogleCloudRetailV2LocalInventory.properties.attributes.type
- schemas.GoogleCloudRetailV2LocalInventory.properties.fulfillmentTypes.description
- schemas.GoogleCloudRetailV2LocalInventory.properties.fulfillmentTypes.items.type
- schemas.GoogleCloudRetailV2LocalInventory.properties.fulfillmentTypes.type
- schemas.GoogleCloudRetailV2LocalInventory.properties.placeId.description
- schemas.GoogleCloudRetailV2LocalInventory.properties.placeId.type
- schemas.GoogleCloudRetailV2LocalInventory.properties.priceInfo.$ref
- schemas.GoogleCloudRetailV2LocalInventory.properties.priceInfo.description
- schemas.GoogleCloudRetailV2LocalInventory.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.description
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.id
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.properties.allowMissing.description
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.properties.allowMissing.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.properties.placeIds.description
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.properties.placeIds.items.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.properties.placeIds.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.properties.removeTime.description
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.properties.removeTime.format
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.properties.removeTime.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesRequest.type
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2RemoveLocalInventoriesResponse.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2betaAddLocalInventoriesResponse.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata.description
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata.id
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata.type
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesResponse.description
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesResponse.id
- schemas.GoogleCloudRetailV2betaRemoveLocalInventoriesResponse.type

The following keys were changed:
- resources.projects.resources.locations.resources.catalogs.methods.completeQuery.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.addFulfillmentPlaces.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.removeFulfillmentPlaces.description
- resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.setInventory.description
- resources.projects.resources.locations.resources.catalogs.resources.completionData.methods.import.description
- resources.projects.resources.locations.resources.catalogs.resources.placements.methods.search.description
- resources.projects.resources.locations.resources.catalogs.resources.servingConfigs.methods.search.description
- schemas.GoogleCloudRetailV2ImportProductsRequest.properties.reconciliationMode.enumDescriptions
- schemas.GoogleCloudRetailV2SearchRequest.properties.dynamicFacetSpec.description
- schemas.GoogleCloudRetailV2UserInfo.properties.ipAddress.description
- schemas.GoogleCloudRetailV2UserInfo.properties.userId.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 1, 2022
1 parent 11fa54b commit ddb95cd
Show file tree
Hide file tree
Showing 6 changed files with 1,388 additions and 74 deletions.
208 changes: 196 additions & 12 deletions discovery/retail-v2.json

Large diffs are not rendered by default.

85 changes: 70 additions & 15 deletions discovery/retail-v2alpha.json

Large diffs are not rendered by default.

210 changes: 197 additions & 13 deletions discovery/retail-v2beta.json

Large diffs are not rendered by default.

448 changes: 438 additions & 10 deletions src/apis/retail/v2.ts

Large diffs are not rendered by default.

62 changes: 49 additions & 13 deletions src/apis/retail/v2alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,14 @@ export namespace retail_v2alpha {
* Response of the AddFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.
*/
export interface Schema$GoogleCloudRetailV2AddFulfillmentPlacesResponse {}
/**
* Metadata related to the progress of the AddLocalInventories operation. Currently empty because there is no meaningful metadata populated from the AddLocalInventories method.
*/
export interface Schema$GoogleCloudRetailV2AddLocalInventoriesMetadata {}
/**
* Response of the AddLocalInventories API. Currently empty because there is no meaningful response populated from the AddLocalInventories method.
*/
export interface Schema$GoogleCloudRetailV2AddLocalInventoriesResponse {}
/**
* Request for CatalogService.AddCatalogAttribute method.
*/
Expand Down Expand Up @@ -988,6 +996,10 @@ export namespace retail_v2alpha {
attributes?: {
[key: string]: Schema$GoogleCloudRetailV2alphaCustomAttribute;
} | null;
/**
* Input only. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned.
*/
fulfillmentTypes?: string[] | null;
/**
* The place ID for the current set of inventory information.
*/
Expand All @@ -1010,7 +1022,7 @@ export namespace retail_v2alpha {
*/
destinations?: string[] | null;
/**
* Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed.
* Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed. Example value: `en`.
*/
languageCode?: string | null;
/**
Expand Down Expand Up @@ -1724,7 +1736,7 @@ export namespace retail_v2alpha {
*/
canonicalFilter?: string | null;
/**
* The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. This feature requires additional allowlisting. Contact Retail Search support team if you are interested in using dynamic facet feature.
* Deprecated. Refer to https://cloud.google.com/retail/docs/configs#dynamic to enable dynamic facets. Do not set this field. The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated.
*/
dynamicFacetSpec?: Schema$GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec;
/**
Expand Down Expand Up @@ -2270,15 +2282,15 @@ export namespace retail_v2alpha {
*/
directUserRequest?: boolean | null;
/**
* The end user's IP address. Required for getting SearchResponse.sponsored_results. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. "104.133.9.80") or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.
* The end user's IP address. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. "104.133.9.80") or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when: * setting SearchRequest.user_info. * using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.
*/
ipAddress?: string | null;
/**
* User agent as included in the HTTP header. Required for getting SearchResponse.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.
*/
userAgent?: string | null;
/**
* Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
* Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Always use a hashed value for this ID. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
*/
userId?: string | null;
}
Expand All @@ -2290,6 +2302,14 @@ export namespace retail_v2alpha {
* Response of the AddFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.
*/
export interface Schema$GoogleCloudRetailV2betaAddFulfillmentPlacesResponse {}
/**
* Metadata related to the progress of the AddLocalInventories operation. Currently empty because there is no meaningful metadata populated from the AddLocalInventories method.
*/
export interface Schema$GoogleCloudRetailV2betaAddLocalInventoriesMetadata {}
/**
* Response of the AddLocalInventories API. Currently empty because there is no meaningful response populated from the AddLocalInventories method.
*/
export interface Schema$GoogleCloudRetailV2betaAddLocalInventoriesResponse {}
/**
* Configuration of destination for Export related errors.
*/
Expand Down Expand Up @@ -2449,6 +2469,14 @@ export namespace retail_v2alpha {
* Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.
*/
export interface Schema$GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse {}
/**
* Metadata related to the progress of the RemoveLocalInventories operation. Currently empty because there is no meaningful metadata populated from the RemoveLocalInventories method.
*/
export interface Schema$GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata {}
/**
* Response of the RemoveLocalInventories API. Currently empty because there is no meaningful response populated from the RemoveLocalInventories method.
*/
export interface Schema$GoogleCloudRetailV2betaRemoveLocalInventoriesResponse {}
/**
* Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.
*/
Expand Down Expand Up @@ -2581,6 +2609,14 @@ export namespace retail_v2alpha {
* Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.
*/
export interface Schema$GoogleCloudRetailV2RemoveFulfillmentPlacesResponse {}
/**
* Metadata related to the progress of the RemoveLocalInventories operation. Currently empty because there is no meaningful metadata populated from the RemoveLocalInventories method.
*/
export interface Schema$GoogleCloudRetailV2RemoveLocalInventoriesMetadata {}
/**
* Response of the RemoveLocalInventories API. Currently empty because there is no meaningful response populated from the RemoveLocalInventories method.
*/
export interface Schema$GoogleCloudRetailV2RemoveLocalInventoriesResponse {}
/**
* Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.
*/
Expand Down Expand Up @@ -2739,7 +2775,7 @@ export namespace retail_v2alpha {
}

/**
* Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.
* Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -4876,7 +4912,7 @@ export namespace retail_v2alpha {
}

/**
* Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.
* Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -5032,7 +5068,7 @@ export namespace retail_v2alpha {
}

/**
* Updates local inventory information for a Product at a list of places, while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating inventory information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by GetProduct or ListProducts. Local inventory information can only be modified using this method. CreateProduct and UpdateProduct has no effect on local inventories. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact Cloud sales if you are interested in using Retail Search.
* Updates local inventory information for a Product at a list of places, while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating inventory information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by GetProduct or ListProducts. Local inventory information can only be modified using this method. CreateProduct and UpdateProduct has no effect on local inventories. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -6374,7 +6410,7 @@ export namespace retail_v2alpha {
}

/**
* Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.
* Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -6529,7 +6565,7 @@ export namespace retail_v2alpha {
}

/**
* Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by GetProduct or ListProducts. Local inventory information can only be removed using this method. CreateProduct and UpdateProduct has no effect on local inventories. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact Cloud sales if you are interested in using Retail Search.
* Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by GetProduct or ListProducts. Local inventory information can only be removed using this method. CreateProduct and UpdateProduct has no effect on local inventories. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -6683,7 +6719,7 @@ export namespace retail_v2alpha {
}

/**
* Updates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by GetProduct or ListProducts. When inventory is updated with CreateProduct and UpdateProduct, the specified inventory field value(s) will overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update time for the specified inventory fields will be overwritten to the time of the CreateProduct or UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product will be used. If no inventory fields are set in SetInventoryRequest.set_mask, then any existing inventory information will be preserved. Pre-existing inventory information can only be updated with SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.
* Updates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by GetProduct or ListProducts. When inventory is updated with CreateProduct and UpdateProduct, the specified inventory field value(s) will overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update time for the specified inventory fields will be overwritten to the time of the CreateProduct or UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product will be used. If no inventory fields are set in SetInventoryRequest.set_mask, then any existing inventory information will be preserved. Pre-existing inventory information can only be updated with SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -7005,7 +7041,7 @@ export namespace retail_v2alpha {
}

/**
* Bulk import of processed completion dataset. Request processing is asynchronous. Partial updating is not supported. The operation is successfully finished only after the imported suggestions are indexed successfully and ready for serving. The process takes hours. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.
* Bulk import of processed completion dataset. Request processing is asynchronous. Partial updating is not supported. The operation is successfully finished only after the imported suggestions are indexed successfully and ready for serving. The process takes hours. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -8457,7 +8493,7 @@ export namespace retail_v2alpha {
}

/**
* Performs a search. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.
* Performs a search. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -9934,7 +9970,7 @@ export namespace retail_v2alpha {
}

/**
* Performs a search. This feature is only available for users who have Retail Search enabled. Please submit a form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using Retail Search.
* Performs a search. This feature is only available for users who have Retail Search enabled. Please enable Retail Search on Cloud Console before using this feature.
* @example
* ```js
* // Before running the sample:
Expand Down
Loading

0 comments on commit ddb95cd

Please sign in to comment.