lib/google/apis/retail_v2beta/service.rb in google-apis-retail_v2beta-0.34.0 vs lib/google/apis/retail_v2beta/service.rb in google-apis-retail_v2beta-0.35.0

- old
+ new

@@ -889,11 +889,13 @@ # @param [String] update_mask # Indicates which fields in the provided Product to update. The immutable and # output only fields are NOT supported. If not set, all supported fields (the # fields that are neither immutable nor output only) are updated. If an # unsupported or unknown field is provided, an INVALID_ARGUMENT error is - # returned. + # returned. The attribute key can be updated by setting the mask path as " + # attributes.$`key_name`". If a key name is present in the mask but not in the + # patching product from the request, this key will be deleted after the update. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -1369,17 +1371,19 @@ end # Makes a recommendation prediction. # @param [String] placement # Required. Full resource name of the format: `name=projects/*/locations/global/ - # catalogs/default_catalog/placements/*` or `name=projects/*/locations/global/ - # catalogs/default_catalog/servingConfigs/*` The ID of the Recommendations AI - # placement. Before you can request predictions from your model, you must create - # at least one placement for it. For more information, see [Managing placements]( - # https://cloud.google.com/retail/recommendations-ai/docs/manage-placements). - # The full list of available placements can be seen at https://console.cloud. - # google.com/recommendation/catalogs/default_catalog/placements + # catalogs/default_catalog/servingConfigs/*` or `name=projects/*/locations/ + # global/catalogs/default_catalog/placements/*`. We recommend using the ` + # servingConfigs` resource. `placements` is a legacy resource. The ID of the + # Recommendations AI serving config or placement. Before you can request + # predictions from your model, you must create at least one serving config or + # placement for it. For more information, see [Managing serving configurations]. + # (https://cloud.google.com/retail/docs/manage-configs). The full list of + # available serving configs can be seen at https://console.cloud.google.com/ai/ + # retail/catalogs/default_catalog/configs # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPredictRequest] google_cloud_retail_v2beta_predict_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -1410,15 +1414,16 @@ # 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. # @param [String] placement - # Required. The resource name of the search engine placement, such as `projects/* - # /locations/global/catalogs/default_catalog/placements/default_search` or ` + # Required. The resource name of the Retail Search serving config, such as ` # projects/*/locations/global/catalogs/default_catalog/servingConfigs/ - # default_serving_config` This field is used to identify the serving - # configuration name and the set of models that will be used to make the search. + # default_serving_config` or the name of the legacy placement resource, such as ` + # projects/*/locations/global/catalogs/default_catalog/placements/default_search` + # . This field is used to identify the serving configuration name and the set of + # models that will be used to make the search. # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequest] google_cloud_retail_v2beta_search_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -1672,17 +1677,19 @@ end # Makes a recommendation prediction. # @param [String] placement # Required. Full resource name of the format: `name=projects/*/locations/global/ - # catalogs/default_catalog/placements/*` or `name=projects/*/locations/global/ - # catalogs/default_catalog/servingConfigs/*` The ID of the Recommendations AI - # placement. Before you can request predictions from your model, you must create - # at least one placement for it. For more information, see [Managing placements]( - # https://cloud.google.com/retail/recommendations-ai/docs/manage-placements). - # The full list of available placements can be seen at https://console.cloud. - # google.com/recommendation/catalogs/default_catalog/placements + # catalogs/default_catalog/servingConfigs/*` or `name=projects/*/locations/ + # global/catalogs/default_catalog/placements/*`. We recommend using the ` + # servingConfigs` resource. `placements` is a legacy resource. The ID of the + # Recommendations AI serving config or placement. Before you can request + # predictions from your model, you must create at least one serving config or + # placement for it. For more information, see [Managing serving configurations]. + # (https://cloud.google.com/retail/docs/manage-configs). The full list of + # available serving configs can be seen at https://console.cloud.google.com/ai/ + # retail/catalogs/default_catalog/configs # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPredictRequest] google_cloud_retail_v2beta_predict_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -1750,14 +1757,15 @@ # 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. # @param [String] placement - # Required. The resource name of the search engine placement, such as `projects/* - # /locations/global/catalogs/default_catalog/placements/default_search` or ` + # Required. The resource name of the Retail Search serving config, such as ` # projects/*/locations/global/catalogs/default_catalog/servingConfigs/ - # default_serving_config` This field is used to identify the serving - # configuration name and the set of models that will be used to make the search. + # default_serving_config` or the name of the legacy placement resource, such as ` + # projects/*/locations/global/catalogs/default_catalog/placements/default_search` + # . This field is used to identify the serving configuration name and the set of + # models that will be used to make the search. # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequest] google_cloud_retail_v2beta_search_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any