google-apis-retail_v2alpha 0.74.0 → 0.76.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: d8f55eda4658a84aed629800971bc2ef19d3f51131af51965ca65bb3be91c40c
4
- data.tar.gz: fde1d2f8328e00e17ceadc6c2242e723db3221cc746e1139c4db8b6ac2991e44
3
+ metadata.gz: 4ad41fad2b91fbe129601907e401e9653e869ad851f0e88376eea3ce3b8ebf5a
4
+ data.tar.gz: 1c251e313da0fd86e0e042dba8e6c854da9a67b9559aafa0ea4a8cb1dc3636b7
5
5
  SHA512:
6
- metadata.gz: f0d427471d03fe866cf1b328f8ca6a39044be82d9e882f804f98c7962757ab581251f6bea6096212b8a1e7a0cfa6f00e596ed364a795414ab5a0791bc7529514
7
- data.tar.gz: 9a5b4ee35111122ed10fa43440f9419da911283f651d4a633533becdd9e3fdb15d5647f6be40ad06d7516fcbc01263248239e0a973021599bb38da624e1b7bed
6
+ metadata.gz: 105a4035ca9044cd4ab28019c5b5ffe8c9de8165fb185f3d799aeb1af275c16aadbea4eda0d243b26d151495a65f9f979984eac618ae1a9fb620d5580cfeaaea
7
+ data.tar.gz: 24b326e15d63b145d3494af09f79490db782a223e1706e55d7065c77858e2701bde9d603ea89e8e38846374e1a1782b995f4ef973ad124ade4cd3bb5c93d172c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.76.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230516
6
+
7
+ ### v0.75.0 (2023-05-14)
8
+
9
+ * Regenerated from discovery document revision 20230504
10
+
3
11
  ### v0.74.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230420
@@ -662,13 +662,13 @@ module Google
662
662
  end
663
663
  end
664
664
 
665
- # More configs of the frequently-bought-together model type.
665
+ # Additional configs for the frequently-bought-together model type.
666
666
  class GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig
667
667
  include Google::Apis::Core::Hashable
668
668
 
669
- # Optional. Specifies the context of the model when used in predict requests.
670
- # Only settable for the `frequently-bought-together` type. Will default to
671
- # MULTI_CONTEXT if not specified.
669
+ # Optional. Specifies the context of the model when it is used in predict
670
+ # requests. Can only be set for the `frequently-bought-together` type. If it isn'
671
+ # t specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
672
672
  # Corresponds to the JSON property `contextProductsType`
673
673
  # @return [String]
674
674
  attr_accessor :context_products_type
@@ -687,7 +687,7 @@ module Google
687
687
  class GoogleCloudRetailV2ModelModelFeaturesConfig
688
688
  include Google::Apis::Core::Hashable
689
689
 
690
- # More configs of the frequently-bought-together model type.
690
+ # Additional configs for the frequently-bought-together model type.
691
691
  # Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
692
692
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig]
693
693
  attr_accessor :frequently_bought_together_config
@@ -1429,25 +1429,6 @@ module Google
1429
1429
  # @return [String]
1430
1430
  attr_accessor :exact_searchable_option
1431
1431
 
1432
- # Set manually for numerical attributes only. If the facet SearchResponse.
1433
- # FacetSpec.intervals are not set by the customer for a numerical attribute,
1434
- # then a weekly pipeline will calculate some intervals using some percentiles on
1435
- # the distribution of all its product numerical attribute values. The latter
1436
- # computed intervals might not be ideal for the use case of that attribute. For
1437
- # this reason, the customer can set them manually. As another option, for any
1438
- # numerical attribute that is passed as a facet key in the request along with
1439
- # some given intervals, then these given intervals will be the facet intervals
1440
- # returned in the response.
1441
- # Corresponds to the JSON property `facetIntervals`
1442
- # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval>]
1443
- attr_accessor :facet_intervals
1444
-
1445
- # Each instance represents a list of attribute values to ignore as facet values
1446
- # for a specific time range.
1447
- # Corresponds to the JSON property `ignoredFacetValues`
1448
- # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues>]
1449
- attr_accessor :ignored_facet_values
1450
-
1451
1432
  # Output only. Indicates whether this attribute has been used by any products. `
1452
1433
  # True` if at least one Product is using this attribute in Product.attributes.
1453
1434
  # Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
@@ -1466,8 +1447,9 @@ module Google
1466
1447
 
1467
1448
  # When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
1468
1449
  # if INDEXABLE_ENABLED attribute values are indexed so that it can be filtered,
1469
- # faceted, or boosted in SearchService.Search. Must be specified, otherwise
1470
- # throws INVALID_FORMAT error.
1450
+ # faceted, or boosted in SearchService.Search. Must be specified when
1451
+ # AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
1452
+ # otherwise throws INVALID_FORMAT error.
1471
1453
  # Corresponds to the JSON property `indexableOption`
1472
1454
  # @return [String]
1473
1455
  attr_accessor :indexable_option
@@ -1502,7 +1484,8 @@ module Google
1502
1484
  # SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical,
1503
1485
  # attribute values will not be searchable by text queries in SearchService.
1504
1486
  # Search, as there are no text values associated to numerical attributes. Must
1505
- # be specified, otherwise throws INVALID_FORMAT error.
1487
+ # be specified, when AttributesConfig.attribute_config_level is
1488
+ # CATALOG_LEVEL_ATTRIBUTE_CONFIG, otherwise throws INVALID_FORMAT error.
1506
1489
  # Corresponds to the JSON property `searchableOption`
1507
1490
  # @return [String]
1508
1491
  attr_accessor :searchable_option
@@ -1521,8 +1504,6 @@ module Google
1521
1504
  def update!(**args)
1522
1505
  @dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
1523
1506
  @exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
1524
- @facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
1525
- @ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
1526
1507
  @in_use = args[:in_use] if args.key?(:in_use)
1527
1508
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
1528
1509
  @key = args[:key] if args.key?(:key)
@@ -1533,44 +1514,6 @@ module Google
1533
1514
  end
1534
1515
  end
1535
1516
 
1536
- # Facet values to ignore on facets during the specified time range for the given
1537
- # SearchResponse.Facet.key attribute.
1538
- class GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues
1539
- include Google::Apis::Core::Hashable
1540
-
1541
- # If start time is empty and end time is not empty, then ignore these facet
1542
- # values before end time.
1543
- # Corresponds to the JSON property `endTime`
1544
- # @return [String]
1545
- attr_accessor :end_time
1546
-
1547
- # Time range for the current list of facet values to ignore. If multiple time
1548
- # ranges are specified for an facet value for the current attribute, consider
1549
- # all of them. If both are empty, ignore always. If start time and end time are
1550
- # set, then start time must be before end time. If start time is not empty and
1551
- # end time is empty, then will ignore these facet values after the start time.
1552
- # Corresponds to the JSON property `startTime`
1553
- # @return [String]
1554
- attr_accessor :start_time
1555
-
1556
- # List of facet values to ignore for the following time range. The facet values
1557
- # are the same as the attribute values.
1558
- # Corresponds to the JSON property `values`
1559
- # @return [Array<String>]
1560
- attr_accessor :values
1561
-
1562
- def initialize(**args)
1563
- update!(**args)
1564
- end
1565
-
1566
- # Update properties of this object
1567
- def update!(**args)
1568
- @end_time = args[:end_time] if args.key?(:end_time)
1569
- @start_time = args[:start_time] if args.key?(:start_time)
1570
- @values = args[:values] if args.key?(:values)
1571
- end
1572
- end
1573
-
1574
1517
  # The color information of a Product.
1575
1518
  class GoogleCloudRetailV2alphaColorInfo
1576
1519
  include Google::Apis::Core::Hashable
@@ -3025,17 +2968,17 @@ module Google
3025
2968
  end
3026
2969
  end
3027
2970
 
3028
- # Represents a link between a Merchant Center account and a branch. Once a link
3029
- # is established, products from the linked merchant center account will be
3030
- # streamed to the linked branch.
2971
+ # Represents a link between a Merchant Center account and a branch. After a link
2972
+ # is established, products from the linked Merchant Center account are streamed
2973
+ # to the linked branch.
3031
2974
  class GoogleCloudRetailV2alphaMerchantCenterAccountLink
3032
2975
  include Google::Apis::Core::Hashable
3033
2976
 
3034
- # Required. The branch id (e.g. 0/1/2) within the catalog that products from
2977
+ # Required. The branch ID (e.g. 0/1/2) within the catalog that products from
3035
2978
  # merchant_center_account_id are streamed to. When updating this field, an empty
3036
2979
  # value will use the currently configured default branch. However, changing the
3037
2980
  # default branch later on won't change the linked branch here. A single branch
3038
- # id can only have one linked merchant center account id.
2981
+ # ID can only have one linked Merchant Center account ID.
3039
2982
  # Corresponds to the JSON property `branchId`
3040
2983
  # @return [String]
3041
2984
  attr_accessor :branch_id
@@ -3165,9 +3108,9 @@ module Google
3165
3108
  end
3166
3109
  end
3167
3110
 
3168
- # Represents a link between a Merchant Center account and a branch. Once a link
3169
- # is established, products from the linked merchant center account will be
3170
- # streamed to the linked branch.
3111
+ # Represents a link between a Merchant Center account and a branch. After a link
3112
+ # is established, products from the linked Merchant Center account are streamed
3113
+ # to the linked branch.
3171
3114
  class GoogleCloudRetailV2alphaMerchantCenterLink
3172
3115
  include Google::Apis::Core::Hashable
3173
3116
 
@@ -3175,7 +3118,7 @@ module Google
3175
3118
  # merchant_center_account_id are streamed to. When updating this field, an empty
3176
3119
  # value will use the currently configured default branch. However, changing the
3177
3120
  # default branch later on won't change the linked branch here. A single branch
3178
- # ID can only have one linked merchant center account ID.
3121
+ # ID can only have one linked Merchant Center account ID.
3179
3122
  # Corresponds to the JSON property `branchId`
3180
3123
  # @return [String]
3181
3124
  attr_accessor :branch_id
@@ -3205,7 +3148,7 @@ module Google
3205
3148
  # @return [String]
3206
3149
  attr_accessor :language_code
3207
3150
 
3208
- # Required. The linked [Merchant center account ID](https://developers.google.
3151
+ # Required. The linked [Merchant Center account ID](https://developers.google.
3209
3152
  # com/shopping-content/guides/accountstatuses). The account must be a standalone
3210
3153
  # account or a sub-account of a MCA.
3211
3154
  # Corresponds to the JSON property `merchantCenterAccountId`
@@ -3409,13 +3352,13 @@ module Google
3409
3352
  end
3410
3353
  end
3411
3354
 
3412
- # More configs of the frequently-bought-together model type.
3355
+ # Additional configs for the frequently-bought-together model type.
3413
3356
  class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig
3414
3357
  include Google::Apis::Core::Hashable
3415
3358
 
3416
- # Optional. Specifies the context of the model when used in predict requests.
3417
- # Only settable for the `frequently-bought-together` type. Will default to
3418
- # MULTI_CONTEXT if not specified.
3359
+ # Optional. Specifies the context of the model when it is used in predict
3360
+ # requests. Can only be set for the `frequently-bought-together` type. If it isn'
3361
+ # t specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
3419
3362
  # Corresponds to the JSON property `contextProductsType`
3420
3363
  # @return [String]
3421
3364
  attr_accessor :context_products_type
@@ -3434,7 +3377,7 @@ module Google
3434
3377
  class GoogleCloudRetailV2alphaModelModelFeaturesConfig
3435
3378
  include Google::Apis::Core::Hashable
3436
3379
 
3437
- # More configs of the frequently-bought-together model type.
3380
+ # Additional configs for the frequently-bought-together model type.
3438
3381
  # Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
3439
3382
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig]
3440
3383
  attr_accessor :frequently_bought_together_config
@@ -7316,17 +7259,17 @@ module Google
7316
7259
  end
7317
7260
  end
7318
7261
 
7319
- # Represents a link between a Merchant Center account and a branch. Once a link
7320
- # is established, products from the linked merchant center account will be
7321
- # streamed to the linked branch.
7262
+ # Represents a link between a Merchant Center account and a branch. After a link
7263
+ # is established, products from the linked Merchant Center account are streamed
7264
+ # to the linked branch.
7322
7265
  class GoogleCloudRetailV2betaMerchantCenterAccountLink
7323
7266
  include Google::Apis::Core::Hashable
7324
7267
 
7325
- # Required. The branch id (e.g. 0/1/2) within the catalog that products from
7268
+ # Required. The branch ID (e.g. 0/1/2) within the catalog that products from
7326
7269
  # merchant_center_account_id are streamed to. When updating this field, an empty
7327
7270
  # value will use the currently configured default branch. However, changing the
7328
7271
  # default branch later on won't change the linked branch here. A single branch
7329
- # id can only have one linked merchant center account id.
7272
+ # ID can only have one linked Merchant Center account ID.
7330
7273
  # Corresponds to the JSON property `branchId`
7331
7274
  # @return [String]
7332
7275
  attr_accessor :branch_id
@@ -7575,13 +7518,13 @@ module Google
7575
7518
  end
7576
7519
  end
7577
7520
 
7578
- # More configs of the frequently-bought-together model type.
7521
+ # Additional configs for the frequently-bought-together model type.
7579
7522
  class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig
7580
7523
  include Google::Apis::Core::Hashable
7581
7524
 
7582
- # Optional. Specifies the context of the model when used in predict requests.
7583
- # Only settable for the `frequently-bought-together` type. Will default to
7584
- # MULTI_CONTEXT if not specified.
7525
+ # Optional. Specifies the context of the model when it is used in predict
7526
+ # requests. Can only be set for the `frequently-bought-together` type. If it isn'
7527
+ # t specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
7585
7528
  # Corresponds to the JSON property `contextProductsType`
7586
7529
  # @return [String]
7587
7530
  attr_accessor :context_products_type
@@ -7600,7 +7543,7 @@ module Google
7600
7543
  class GoogleCloudRetailV2betaModelModelFeaturesConfig
7601
7544
  include Google::Apis::Core::Hashable
7602
7545
 
7603
- # More configs of the frequently-bought-together model type.
7546
+ # Additional configs for the frequently-bought-together model type.
7604
7547
  # Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
7605
7548
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig]
7606
7549
  attr_accessor :frequently_bought_together_config
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2alpha
18
18
  # Version of the google-apis-retail_v2alpha gem
19
- GEM_VERSION = "0.74.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230420"
25
+ REVISION = "20230516"
26
26
  end
27
27
  end
28
28
  end
@@ -322,12 +322,6 @@ module Google
322
322
  include Google::Apis::Core::JsonObjectSupport
323
323
  end
324
324
 
325
- class GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues
326
- class Representation < Google::Apis::Core::JsonRepresentation; end
327
-
328
- include Google::Apis::Core::JsonObjectSupport
329
- end
330
-
331
325
  class GoogleCloudRetailV2alphaColorInfo
332
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
327
 
@@ -1738,10 +1732,6 @@ module Google
1738
1732
  class Representation < Google::Apis::Core::JsonRepresentation
1739
1733
  property :dynamic_facetable_option, as: 'dynamicFacetableOption'
1740
1734
  property :exact_searchable_option, as: 'exactSearchableOption'
1741
- collection :facet_intervals, as: 'facetIntervals', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval::Representation
1742
-
1743
- collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues::Representation
1744
-
1745
1735
  property :in_use, as: 'inUse'
1746
1736
  property :indexable_option, as: 'indexableOption'
1747
1737
  property :key, as: 'key'
@@ -1752,15 +1742,6 @@ module Google
1752
1742
  end
1753
1743
  end
1754
1744
 
1755
- class GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues
1756
- # @private
1757
- class Representation < Google::Apis::Core::JsonRepresentation
1758
- property :end_time, as: 'endTime'
1759
- property :start_time, as: 'startTime'
1760
- collection :values, as: 'values'
1761
- end
1762
- end
1763
-
1764
1745
  class GoogleCloudRetailV2alphaColorInfo
1765
1746
  # @private
1766
1747
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1447,7 +1447,7 @@ module Google
1447
1447
  # Creates a MerchantCenterAccountLink.
1448
1448
  # @param [String] parent
1449
1449
  # Required. The branch resource where this MerchantCenterAccountLink will be
1450
- # created. Format: projects/`PROJECT_NUMBER`/locations/global/catalogs/`
1450
+ # created. Format: `projects/`PROJECT_NUMBER`/locations/global/catalogs/`
1451
1451
  # CATALOG_ID``
1452
1452
  # @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLink] google_cloud_retail_v2alpha_merchant_center_account_link_object
1453
1453
  # @param [String] fields
@@ -1482,9 +1482,9 @@ module Google
1482
1482
  # Deletes a MerchantCenterAccountLink. If the MerchantCenterAccountLink to
1483
1483
  # delete does not exist, a NOT_FOUND error is returned.
1484
1484
  # @param [String] name
1485
- # Required. Full resource name. Format: projects/`project_number`/locations/`
1485
+ # Required. Full resource name. Format: `projects/`project_number`/locations/`
1486
1486
  # location_id`/catalogs/`catalog_id`/merchantCenterAccountLinks/`
1487
- # merchant_center_account_link_id`
1487
+ # merchant_center_account_link_id``
1488
1488
  # @param [String] fields
1489
1489
  # Selector specifying which fields to include in a partial response.
1490
1490
  # @param [String] quota_user
@@ -1514,8 +1514,8 @@ module Google
1514
1514
 
1515
1515
  # Lists all MerchantCenterAccountLinks under the specified parent Catalog.
1516
1516
  # @param [String] parent
1517
- # Required. The parent Catalog of the resource. It must match this format:
1518
- # projects/`PROJECT_NUMBER`/locations/global/catalogs/`CATALOG_ID`
1517
+ # Required. The parent Catalog of the resource. It must match this format: `
1518
+ # projects/`PROJECT_NUMBER`/locations/global/catalogs/`CATALOG_ID``
1519
1519
  # @param [String] fields
1520
1520
  # Selector specifying which fields to include in a partial response.
1521
1521
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.74.0
4
+ version: 0.76.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: 2023-04-30 00:00:00.000000000 Z
11
+ date: 2023-05-21 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_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.74.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.76.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
63
63
  post_install_message:
64
64
  rdoc_options: []