google-apis-retail_v2beta 0.34.0 → 0.35.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 793b2cf1d7201939c734535abba728b6fe9548a68c91b0e1ead3ec46b149fc24
4
- data.tar.gz: 80c1a58f6f5a6fc3ac0e6251d191194bc32f5658a883a31858d235ae2c83a1c3
3
+ metadata.gz: b7d68a682bc17e8633f7d6cb72be1e81bb413c9ae863e159aa07b3a687e52fb3
4
+ data.tar.gz: 64ab0f83650d4c4f95c25afbb02dfb6f84d03a1997b52ced6d19d7dddb418293
5
5
  SHA512:
6
- metadata.gz: 9d3dc4524f5fcac8007e0e6a397131807a1fdccb2a0e709f0158f7d9fd5e700642aeb883a055d5e52edc06bf00088137cfe36da1fa950be16e1672a21ce89d43
7
- data.tar.gz: 3fe5693d31911b07e920fec858a517197286bdbcd36d8fddf5f523715dc1d066331a7cc1fe7f1419fe52a0dc425a721f21640a11bbecdd8cecb2e758ef6ff749
6
+ metadata.gz: 3286d9e495dd9705f93c810587e2ecc6c441c52ba67ea65104399139dc7e1526eaedfd1ea03ed67a3adf55fc696abc41f62f76a2dd8549f9f18823ac8b0afcd6
7
+ data.tar.gz: c8f6c508370e56c3d3c2e08a3383021f7e08d0f728e78b6eccd306d58bf29a7f868713d66926617c7d9baebdd9215789ee0340ba1cca8c12dcb26af35c15e814
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.35.0 (2022-04-14)
4
+
5
+ * Regenerated from discovery document revision 20220408
6
+
3
7
  ### v0.34.0 (2022-03-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20220324
@@ -2106,14 +2106,6 @@ module Google
2106
2106
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule]
2107
2107
  attr_accessor :rule
2108
2108
 
2109
- # Required. Specifies the use case for the control. Affects what condition
2110
- # fields can be set. Only settable by search controls. Will default to
2111
- # SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one
2112
- # search_solution_use_case per control.
2113
- # Corresponds to the JSON property `searchSolutionUseCase`
2114
- # @return [Array<String>]
2115
- attr_accessor :search_solution_use_case
2116
-
2117
2109
  # Required. Immutable. The solution types that the serving config is used for.
2118
2110
  # Currently we support setting only one type of solution at creation time. Only `
2119
2111
  # SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is
@@ -2133,7 +2125,6 @@ module Google
2133
2125
  @facet_spec = args[:facet_spec] if args.key?(:facet_spec)
2134
2126
  @name = args[:name] if args.key?(:name)
2135
2127
  @rule = args[:rule] if args.key?(:rule)
2136
- @search_solution_use_case = args[:search_solution_use_case] if args.key?(:search_solution_use_case)
2137
2128
  @solution_types = args[:solution_types] if args.key?(:solution_types)
2138
2129
  end
2139
2130
  end
@@ -3711,13 +3702,13 @@ module Google
3711
3702
  # The type of Products allowed to be ingested into the catalog. Acceptable
3712
3703
  # values are: * `primary` (default): You can ingest Products of all types. When
3713
3704
  # ingesting a Product, its type will default to Product.Type.PRIMARY if unset. *
3714
- # `variant`: You can only ingest Product.Type.VARIANT Products. This means
3715
- # Product.primary_product_id cannot be empty. If this field is set to an invalid
3716
- # value other than these, an INVALID_ARGUMENT error is returned. If this field
3717
- # is `variant` and merchant_center_product_id_field is `itemGroupId`, an
3718
- # INVALID_ARGUMENT error is returned. See [Using product levels](https://cloud.
3719
- # google.com/retail/recommendations-ai/docs/catalog#product-levels) for more
3720
- # details.
3705
+ # `variant` (incompatible with Retail Search): You can only ingest Product.Type.
3706
+ # VARIANT Products. This means Product.primary_product_id cannot be empty. If
3707
+ # this field is set to an invalid value other than these, an INVALID_ARGUMENT
3708
+ # error is returned. If this field is `variant` and
3709
+ # merchant_center_product_id_field is `itemGroupId`, an INVALID_ARGUMENT error
3710
+ # is returned. See [Product levels](https://cloud.google.com/retail/docs/catalog#
3711
+ # product-levels) for more details.
3721
3712
  # Corresponds to the JSON property `ingestionProductType`
3722
3713
  # @return [String]
3723
3714
  attr_accessor :ingestion_product_type
@@ -3730,8 +3721,8 @@ module Google
3730
3721
  # the item group. If this field is set to an invalid value other than these, an
3731
3722
  # INVALID_ARGUMENT error is returned. If this field is `itemGroupId` and
3732
3723
  # ingestion_product_type is `variant`, an INVALID_ARGUMENT error is returned.
3733
- # See [Using product levels](https://cloud.google.com/retail/recommendations-ai/
3734
- # docs/catalog#product-levels) for more details.
3724
+ # See [Product levels](https://cloud.google.com/retail/docs/catalog#product-
3725
+ # levels) for more details.
3735
3726
  # Corresponds to the JSON property `merchantCenterProductIdField`
3736
3727
  # @return [String]
3737
3728
  attr_accessor :merchant_center_product_id_field
@@ -4623,7 +4614,8 @@ module Google
4623
4614
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestPersonalizationSpec]
4624
4615
  attr_accessor :personalization_spec
4625
4616
 
4626
- # Raw search query.
4617
+ # Raw search query. If this field is empty, the request is considered a category
4618
+ # browsing request and returned results are based on filter and page_categories.
4627
4619
  # Corresponds to the JSON property `query`
4628
4620
  # @return [String]
4629
4621
  attr_accessor :query
@@ -5720,10 +5712,12 @@ module Google
5720
5712
  # Required. A unique identifier for tracking visitors. For example, this could
5721
5713
  # be implemented with an HTTP cookie, which should be able to uniquely identify
5722
5714
  # a visitor on a single device. This unique identifier should not change if the
5723
- # visitor log in/out of the website. The field must be a UTF-8 encoded string
5724
- # with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is
5725
- # returned. The field should not contain PII or user-data. We recommend to use
5726
- # Google Analystics [Client ID](https://developers.google.com/analytics/
5715
+ # visitor log in/out of the website. Don't set the field to the same fixed ID
5716
+ # for different users. This mixes the event history of those users together,
5717
+ # which results in degraded model quality. The field must be a UTF-8 encoded
5718
+ # string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
5719
+ # error is returned. The field should not contain PII or user-data. We recommend
5720
+ # to use Google Analystics [Client ID](https://developers.google.com/analytics/
5727
5721
  # devguides/collection/analyticsjs/field-reference#clientId) for this field.
5728
5722
  # Corresponds to the JSON property `visitorId`
5729
5723
  # @return [String]
@@ -5871,9 +5865,11 @@ module Google
5871
5865
  attr_accessor :user_agent
5872
5866
 
5873
5867
  # Highly recommended for logged-in users. Unique identifier for logged-in user,
5874
- # such as a user name. Always use a hashed value for this ID. The field must be
5875
- # a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an
5876
- # INVALID_ARGUMENT error is returned.
5868
+ # such as a user name. Don't set for anonymous users. Always use a hashed value
5869
+ # for this ID. Don't set the field to the same fixed ID for different users.
5870
+ # This mixes the event history of those users together, which results in
5871
+ # degraded model quality. The field must be a UTF-8 encoded string with a length
5872
+ # limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
5877
5873
  # Corresponds to the JSON property `userId`
5878
5874
  # @return [String]
5879
5875
  attr_accessor :user_id
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2beta
18
18
  # Version of the google-apis-retail_v2beta gem
19
- GEM_VERSION = "0.34.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220324"
25
+ REVISION = "20220408"
26
26
  end
27
27
  end
28
28
  end
@@ -1655,7 +1655,6 @@ module Google
1655
1655
  property :name, as: 'name'
1656
1656
  property :rule, as: 'rule', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule::Representation
1657
1657
 
1658
- collection :search_solution_use_case, as: 'searchSolutionUseCase'
1659
1658
  collection :solution_types, as: 'solutionTypes'
1660
1659
  end
1661
1660
  end
@@ -891,7 +891,9 @@ module Google
891
891
  # output only fields are NOT supported. If not set, all supported fields (the
892
892
  # fields that are neither immutable nor output only) are updated. If an
893
893
  # unsupported or unknown field is provided, an INVALID_ARGUMENT error is
894
- # returned.
894
+ # returned. The attribute key can be updated by setting the mask path as "
895
+ # attributes.$`key_name`". If a key name is present in the mask but not in the
896
+ # patching product from the request, this key will be deleted after the update.
895
897
  # @param [String] fields
896
898
  # Selector specifying which fields to include in a partial response.
897
899
  # @param [String] quota_user
@@ -1371,13 +1373,15 @@ module Google
1371
1373
  # Makes a recommendation prediction.
1372
1374
  # @param [String] placement
1373
1375
  # Required. Full resource name of the format: `name=projects/*/locations/global/
1374
- # catalogs/default_catalog/placements/*` or `name=projects/*/locations/global/
1375
- # catalogs/default_catalog/servingConfigs/*` The ID of the Recommendations AI
1376
- # placement. Before you can request predictions from your model, you must create
1377
- # at least one placement for it. For more information, see [Managing placements](
1378
- # https://cloud.google.com/retail/recommendations-ai/docs/manage-placements).
1379
- # The full list of available placements can be seen at https://console.cloud.
1380
- # google.com/recommendation/catalogs/default_catalog/placements
1376
+ # catalogs/default_catalog/servingConfigs/*` or `name=projects/*/locations/
1377
+ # global/catalogs/default_catalog/placements/*`. We recommend using the `
1378
+ # servingConfigs` resource. `placements` is a legacy resource. The ID of the
1379
+ # Recommendations AI serving config or placement. Before you can request
1380
+ # predictions from your model, you must create at least one serving config or
1381
+ # placement for it. For more information, see [Managing serving configurations].
1382
+ # (https://cloud.google.com/retail/docs/manage-configs). The full list of
1383
+ # available serving configs can be seen at https://console.cloud.google.com/ai/
1384
+ # retail/catalogs/default_catalog/configs
1381
1385
  # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPredictRequest] google_cloud_retail_v2beta_predict_request_object
1382
1386
  # @param [String] fields
1383
1387
  # Selector specifying which fields to include in a partial response.
@@ -1412,11 +1416,12 @@ module Google
1412
1416
  # Search enabled. Please enable Retail Search on Cloud Console before using this
1413
1417
  # feature.
1414
1418
  # @param [String] placement
1415
- # Required. The resource name of the search engine placement, such as `projects/*
1416
- # /locations/global/catalogs/default_catalog/placements/default_search` or `
1419
+ # Required. The resource name of the Retail Search serving config, such as `
1417
1420
  # projects/*/locations/global/catalogs/default_catalog/servingConfigs/
1418
- # default_serving_config` This field is used to identify the serving
1419
- # configuration name and the set of models that will be used to make the search.
1421
+ # default_serving_config` or the name of the legacy placement resource, such as `
1422
+ # projects/*/locations/global/catalogs/default_catalog/placements/default_search`
1423
+ # . This field is used to identify the serving configuration name and the set of
1424
+ # models that will be used to make the search.
1420
1425
  # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequest] google_cloud_retail_v2beta_search_request_object
1421
1426
  # @param [String] fields
1422
1427
  # Selector specifying which fields to include in a partial response.
@@ -1674,13 +1679,15 @@ module Google
1674
1679
  # Makes a recommendation prediction.
1675
1680
  # @param [String] placement
1676
1681
  # Required. Full resource name of the format: `name=projects/*/locations/global/
1677
- # catalogs/default_catalog/placements/*` or `name=projects/*/locations/global/
1678
- # catalogs/default_catalog/servingConfigs/*` The ID of the Recommendations AI
1679
- # placement. Before you can request predictions from your model, you must create
1680
- # at least one placement for it. For more information, see [Managing placements](
1681
- # https://cloud.google.com/retail/recommendations-ai/docs/manage-placements).
1682
- # The full list of available placements can be seen at https://console.cloud.
1683
- # google.com/recommendation/catalogs/default_catalog/placements
1682
+ # catalogs/default_catalog/servingConfigs/*` or `name=projects/*/locations/
1683
+ # global/catalogs/default_catalog/placements/*`. We recommend using the `
1684
+ # servingConfigs` resource. `placements` is a legacy resource. The ID of the
1685
+ # Recommendations AI serving config or placement. Before you can request
1686
+ # predictions from your model, you must create at least one serving config or
1687
+ # placement for it. For more information, see [Managing serving configurations].
1688
+ # (https://cloud.google.com/retail/docs/manage-configs). The full list of
1689
+ # available serving configs can be seen at https://console.cloud.google.com/ai/
1690
+ # retail/catalogs/default_catalog/configs
1684
1691
  # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPredictRequest] google_cloud_retail_v2beta_predict_request_object
1685
1692
  # @param [String] fields
1686
1693
  # Selector specifying which fields to include in a partial response.
@@ -1752,11 +1759,12 @@ module Google
1752
1759
  # Search enabled. Please enable Retail Search on Cloud Console before using this
1753
1760
  # feature.
1754
1761
  # @param [String] placement
1755
- # Required. The resource name of the search engine placement, such as `projects/*
1756
- # /locations/global/catalogs/default_catalog/placements/default_search` or `
1762
+ # Required. The resource name of the Retail Search serving config, such as `
1757
1763
  # projects/*/locations/global/catalogs/default_catalog/servingConfigs/
1758
- # default_serving_config` This field is used to identify the serving
1759
- # configuration name and the set of models that will be used to make the search.
1764
+ # default_serving_config` or the name of the legacy placement resource, such as `
1765
+ # projects/*/locations/global/catalogs/default_catalog/placements/default_search`
1766
+ # . This field is used to identify the serving configuration name and the set of
1767
+ # models that will be used to make the search.
1760
1768
  # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequest] google_cloud_retail_v2beta_search_request_object
1761
1769
  # @param [String] fields
1762
1770
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-04 00:00:00.000000000 Z
11
+ date: 2022-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.35.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
63
63
  post_install_message:
64
64
  rdoc_options: []