google-apis-retail_v2beta 0.54.0 → 0.56.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: fb05a9a1b6de5f05923d2ee461ceba14daaadd7dd478b5baec3f721df5615092
4
- data.tar.gz: 64034e617c232036c90571d4d2afe960a61bebe99ef6197cb8a8333722a4b608
3
+ metadata.gz: 798d9ec10798bfda967bf696ec3e07c2a59c6b16cf6ac7e2d584e70f668ed943
4
+ data.tar.gz: c3797cf568d5ce50ea3762a489b01f340598f9249d91065c084fbf34c6c329a8
5
5
  SHA512:
6
- metadata.gz: 3afd3238566b0eb472f6f3a7a8bdd179117f2dd6b3cab99aa01faeae2a3b999900fa3b61777995fffbb4b03e827e27e59b0e67dd8feb0a7e4631dbe57babb1dc
7
- data.tar.gz: ff46ebb3bae3c70cbe654d17e90ed80ad2b18984d5f347666553e058da6ef37326b2e54141612458550f1e349066abbbef388760d7e2553352b0bed8734a5a5c
6
+ metadata.gz: '020395333939f48e165b9c376a0282aba35f7063e97fe89c4ebeddc596ee8761ca40b55bc13b38169a654e4d1fa7b93dad31d07bba7d613ac3843c545f166bc0'
7
+ data.tar.gz: 234c28d8769919f4f71a18802bd07a0750a58e20ebb70a7ba45c17ef25e0ebaf8d91db851f829f9532cd913276df7f6bfe3a4f5d56ee7427aafbf4fea0de81d5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.56.0 (2022-09-20)
4
+
5
+ * Regenerated from discovery document revision 20220917
6
+ * Regenerated using generator version 0.10.0
7
+
8
+ ### v0.55.0 (2022-09-10)
9
+
10
+ * Regenerated from discovery document revision 20220901
11
+
3
12
  ### v0.54.0 (2022-08-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20220825
@@ -1280,7 +1280,7 @@ module Google
1280
1280
  class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
1281
1281
  include Google::Apis::Core::Hashable
1282
1282
 
1283
- # Required. The candidates to consider on the panel. Limit = 10.
1283
+ # Required. The candidates to consider on the panel.
1284
1284
  # Corresponds to the JSON property `candidates`
1285
1285
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate>]
1286
1286
  attr_accessor :candidates
@@ -1964,15 +1964,15 @@ module Google
1964
1964
  class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
1965
1965
  include Google::Apis::Core::Hashable
1966
1966
 
1967
- # Catalog attributes that were deleted. Only attributes that are not in use by
1968
- # products can be deleted.
1967
+ # Catalog attributes that were deleted. Only pre-loaded catalog attributes that
1968
+ # are neither in use by products nor predefined can be deleted.
1969
1969
  # Corresponds to the JSON property `deletedCatalogAttributes`
1970
1970
  # @return [Array<String>]
1971
1971
  attr_accessor :deleted_catalog_attributes
1972
1972
 
1973
- # Catalog attributes that were reset. Attributes that are in use by products
1974
- # cannot be deleted, however their configuration properties will reset to
1975
- # default values upon removal request.
1973
+ # Catalog attributes that were reset. Catalog attributes that are either in use
1974
+ # by products or are predefined attributes cannot be deleted; however, their
1975
+ # configuration properties will reset to default values upon removal request.
1976
1976
  # Corresponds to the JSON property `resetCatalogAttributes`
1977
1977
  # @return [Array<String>]
1978
1978
  attr_accessor :reset_catalog_attributes
@@ -2151,11 +2151,12 @@ module Google
2151
2151
  # Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
2152
2152
  # CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or
2153
2153
  # CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-
2154
- # loaded CatalogAttributes. Only pre-loaded CatalogAttributes that are neither
2155
- # in use by products nor predefined can be deleted. CatalogAttributes that are
2156
- # either in use by products or are predefined cannot be deleted; however, their
2157
- # configuration properties will reset to default values upon removal request.
2158
- # After catalog changes, it takes about 10 minutes for this field to update.
2154
+ # loaded CatalogAttributes. Only pre-loaded catalog attributes that are neither
2155
+ # in use by products nor predefined can be deleted. Catalog attributes that are
2156
+ # either in use by products or are predefined attributes cannot be deleted;
2157
+ # however, their configuration properties will reset to default values upon
2158
+ # removal request. After catalog changes, it takes about 10 minutes for this
2159
+ # field to update.
2159
2160
  # Corresponds to the JSON property `inUse`
2160
2161
  # @return [Boolean]
2161
2162
  attr_accessor :in_use
@@ -2654,6 +2655,27 @@ module Google
2654
2655
  end
2655
2656
  end
2656
2657
 
2658
+ # Metadata associated with a create operation.
2659
+ class GoogleCloudRetailV2betaCreateModelMetadata
2660
+ include Google::Apis::Core::Hashable
2661
+
2662
+ # The resource name of the model that this create applies to. Format: `projects/`
2663
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
2664
+ # `
2665
+ # Corresponds to the JSON property `model`
2666
+ # @return [String]
2667
+ attr_accessor :model
2668
+
2669
+ def initialize(**args)
2670
+ update!(**args)
2671
+ end
2672
+
2673
+ # Update properties of this object
2674
+ def update!(**args)
2675
+ @model = args[:model] if args.key?(:model)
2676
+ end
2677
+ end
2678
+
2657
2679
  # A custom attribute that is not explicitly modeled in Product.
2658
2680
  class GoogleCloudRetailV2betaCustomAttribute
2659
2681
  include Google::Apis::Core::Hashable
@@ -3457,6 +3479,32 @@ module Google
3457
3479
  end
3458
3480
  end
3459
3481
 
3482
+ # Merchant Center Feed filter criterrion.
3483
+ class GoogleCloudRetailV2betaMerchantCenterFeedFilter
3484
+ include Google::Apis::Core::Hashable
3485
+
3486
+ # Merchant Center primary feed id.
3487
+ # Corresponds to the JSON property `primaryFeedId`
3488
+ # @return [Fixnum]
3489
+ attr_accessor :primary_feed_id
3490
+
3491
+ # Merchant Center primary feed name. The name is used for the display purposes
3492
+ # only.
3493
+ # Corresponds to the JSON property `primaryFeedName`
3494
+ # @return [String]
3495
+ attr_accessor :primary_feed_name
3496
+
3497
+ def initialize(**args)
3498
+ update!(**args)
3499
+ end
3500
+
3501
+ # Update properties of this object
3502
+ def update!(**args)
3503
+ @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
3504
+ @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
3505
+ end
3506
+ end
3507
+
3460
3508
  # Represents a link between a Merchant Center account and a branch. Once a link
3461
3509
  # is established, products from the linked merchant center account will be
3462
3510
  # streamed to the linked branch.
@@ -3481,6 +3529,13 @@ module Google
3481
3529
  # @return [Array<String>]
3482
3530
  attr_accessor :destinations
3483
3531
 
3532
+ # Criteria for the Merchant Center feeds to be ingested via the link. All offers
3533
+ # will be ingested if the list is empty. Otherwise the offers will be ingested
3534
+ # from selected feeds.
3535
+ # Corresponds to the JSON property `feeds`
3536
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterFeedFilter>]
3537
+ attr_accessor :feeds
3538
+
3484
3539
  # Language of the title/description and other string attributes. Use language
3485
3540
  # tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
3486
3541
  # 639-1. This specifies the language of offers in Merchant Center that will be
@@ -3513,6 +3568,7 @@ module Google
3513
3568
  def update!(**args)
3514
3569
  @branch_id = args[:branch_id] if args.key?(:branch_id)
3515
3570
  @destinations = args[:destinations] if args.key?(:destinations)
3571
+ @feeds = args[:feeds] if args.key?(:feeds)
3516
3572
  @language_code = args[:language_code] if args.key?(:language_code)
3517
3573
  @merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
3518
3574
  @region_code = args[:region_code] if args.key?(:region_code)
@@ -3747,15 +3803,15 @@ module Google
3747
3803
  # do not have a stockState value of OUT_OF_STOCK. Examples: * tag=("Red" OR "
3748
3804
  # Blue") tag="New-Arrival" tag=(NOT "promotional") * filterOutOfStockItems tag=(-
3749
3805
  # "promotional") * filterOutOfStockItems If your filter blocks all prediction
3750
- # results, the API will return generic (unfiltered) popular products. If you
3751
- # only want results strictly matching the filters, set `strictFiltering` to True
3752
- # in `PredictRequest.params` to receive empty results instead. Note that the API
3753
- # will never return items with storageStatus of "EXPIRED" or "DELETED"
3754
- # regardless of filter choices. If `filterSyntaxV2` is set to true under the `
3755
- # params` field, then attribute-based expressions are expected instead of the
3756
- # above described tag-based syntax. Examples: * (colors: ANY("Red", "Blue")) AND
3757
- # NOT (categories: ANY("Phones")) * (availability: ANY("IN_STOCK")) AND (colors:
3758
- # ANY("Red") OR categories: ANY("Phones"))
3806
+ # results, the API will return *no* results. If instead you want empty result
3807
+ # sets to return generic (unfiltered) popular products, set `strictFiltering` to
3808
+ # False in `PredictRequest.params`. Note that the API will never return items
3809
+ # with storageStatus of "EXPIRED" or "DELETED" regardless of filter choices. If `
3810
+ # filterSyntaxV2` is set to true under the `params` field, then attribute-based
3811
+ # expressions are expected instead of the above described tag-based syntax.
3812
+ # Examples: * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) *
3813
+ # (availability: ANY("IN_STOCK")) AND (colors: ANY("Red") OR categories: ANY("
3814
+ # Phones"))
3759
3815
  # Corresponds to the JSON property `filter`
3760
3816
  # @return [String]
3761
3817
  attr_accessor :filter
@@ -4055,6 +4111,8 @@ module Google
4055
4111
  attr_accessor :available_quantity
4056
4112
 
4057
4113
  # The timestamp when this Product becomes available for SearchService.Search.
4114
+ # Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and
4115
+ # ignored for Type.VARIANT.
4058
4116
  # Corresponds to the JSON property `availableTime`
4059
4117
  # @return [String]
4060
4118
  attr_accessor :available_time
@@ -4123,7 +4181,10 @@ module Google
4123
4181
  attr_accessor :description
4124
4182
 
4125
4183
  # The timestamp when this product becomes unavailable for SearchService.Search.
4126
- # If it is set, the Product is not available for SearchService.Search after
4184
+ # Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and
4185
+ # ignored for Type.VARIANT. In general, we suggest the users to delete the stale
4186
+ # products explicitly, instead of using this field to determine staleness. If it
4187
+ # is set, the Product is not available for SearchService.Search after
4127
4188
  # expire_time. However, the product can still be retrieved by ProductService.
4128
4189
  # GetProduct and ProductService.ListProducts. expire_time must be later than
4129
4190
  # available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown.
@@ -4186,7 +4247,8 @@ module Google
4186
4247
 
4187
4248
  # Output only. A list of local inventories specific to different places. This is
4188
4249
  # only available for users who have Retail Search enabled, and it can be managed
4189
- # by AddLocalInventories and RemoveLocalInventories APIs.
4250
+ # by ProductService.AddLocalInventories and ProductService.
4251
+ # RemoveLocalInventories APIs.
4190
4252
  # Corresponds to the JSON property `localInventories`
4191
4253
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaLocalInventory>]
4192
4254
  attr_accessor :local_inventories
@@ -4309,7 +4371,10 @@ module Google
4309
4371
  # @return [String]
4310
4372
  attr_accessor :title
4311
4373
 
4312
- # Input only. The TTL (time to live) of the product. If it is set, it must be a
4374
+ # Input only. The TTL (time to live) of the product. Note that this is only
4375
+ # applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.
4376
+ # In general, we suggest the users to delete the stale products explicitly,
4377
+ # instead of using this field to determine staleness. If it is set, it must be a
4313
4378
  # non-negative value, and expire_time is set as current timestamp plus ttl. The
4314
4379
  # derived expire_time is returned in the output and ttl is left blank when
4315
4380
  # retrieving the Product. If it is set, the product is not available for
@@ -6421,6 +6486,27 @@ module Google
6421
6486
  end
6422
6487
  end
6423
6488
 
6489
+ # Metadata associated with a tune operation.
6490
+ class GoogleCloudRetailV2betaTuneModelMetadata
6491
+ include Google::Apis::Core::Hashable
6492
+
6493
+ # The resource name of the model that this tune applies to. Format: `projects/`
6494
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
6495
+ # `
6496
+ # Corresponds to the JSON property `model`
6497
+ # @return [String]
6498
+ attr_accessor :model
6499
+
6500
+ def initialize(**args)
6501
+ update!(**args)
6502
+ end
6503
+
6504
+ # Update properties of this object
6505
+ def update!(**args)
6506
+ @model = args[:model] if args.key?(:model)
6507
+ end
6508
+ end
6509
+
6424
6510
  # Request to manually start a tuning process now (instead of waiting for the
6425
6511
  # periodically scheduled tuning to happen).
6426
6512
  class GoogleCloudRetailV2betaTuneModelRequest
@@ -6435,6 +6521,19 @@ module Google
6435
6521
  end
6436
6522
  end
6437
6523
 
6524
+ # Response associated with a tune operation.
6525
+ class GoogleCloudRetailV2betaTuneModelResponse
6526
+ include Google::Apis::Core::Hashable
6527
+
6528
+ def initialize(**args)
6529
+ update!(**args)
6530
+ end
6531
+
6532
+ # Update properties of this object
6533
+ def update!(**args)
6534
+ end
6535
+ end
6536
+
6438
6537
  # UserEvent captures all metadata information Retail API needs to know about how
6439
6538
  # end users interact with customers' website.
6440
6539
  class GoogleCloudRetailV2betaUserEvent
@@ -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.54.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220825"
25
+ REVISION = "20220917"
26
26
  end
27
27
  end
28
28
  end
@@ -568,6 +568,12 @@ module Google
568
568
  include Google::Apis::Core::JsonObjectSupport
569
569
  end
570
570
 
571
+ class GoogleCloudRetailV2betaCreateModelMetadata
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
571
577
  class GoogleCloudRetailV2betaCustomAttribute
572
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
579
 
@@ -712,6 +718,12 @@ module Google
712
718
  include Google::Apis::Core::JsonObjectSupport
713
719
  end
714
720
 
721
+ class GoogleCloudRetailV2betaMerchantCenterFeedFilter
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
715
727
  class GoogleCloudRetailV2betaMerchantCenterLink
716
728
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
729
 
@@ -1090,12 +1102,24 @@ module Google
1090
1102
  include Google::Apis::Core::JsonObjectSupport
1091
1103
  end
1092
1104
 
1105
+ class GoogleCloudRetailV2betaTuneModelMetadata
1106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1107
+
1108
+ include Google::Apis::Core::JsonObjectSupport
1109
+ end
1110
+
1093
1111
  class GoogleCloudRetailV2betaTuneModelRequest
1094
1112
  class Representation < Google::Apis::Core::JsonRepresentation; end
1095
1113
 
1096
1114
  include Google::Apis::Core::JsonObjectSupport
1097
1115
  end
1098
1116
 
1117
+ class GoogleCloudRetailV2betaTuneModelResponse
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1099
1123
  class GoogleCloudRetailV2betaUserEvent
1100
1124
  class Representation < Google::Apis::Core::JsonRepresentation; end
1101
1125
 
@@ -1925,6 +1949,13 @@ module Google
1925
1949
  end
1926
1950
  end
1927
1951
 
1952
+ class GoogleCloudRetailV2betaCreateModelMetadata
1953
+ # @private
1954
+ class Representation < Google::Apis::Core::JsonRepresentation
1955
+ property :model, as: 'model'
1956
+ end
1957
+ end
1958
+
1928
1959
  class GoogleCloudRetailV2betaCustomAttribute
1929
1960
  # @private
1930
1961
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2157,11 +2188,21 @@ module Google
2157
2188
  end
2158
2189
  end
2159
2190
 
2191
+ class GoogleCloudRetailV2betaMerchantCenterFeedFilter
2192
+ # @private
2193
+ class Representation < Google::Apis::Core::JsonRepresentation
2194
+ property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
2195
+ property :primary_feed_name, as: 'primaryFeedName'
2196
+ end
2197
+ end
2198
+
2160
2199
  class GoogleCloudRetailV2betaMerchantCenterLink
2161
2200
  # @private
2162
2201
  class Representation < Google::Apis::Core::JsonRepresentation
2163
2202
  property :branch_id, as: 'branchId'
2164
2203
  collection :destinations, as: 'destinations'
2204
+ collection :feeds, as: 'feeds', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterFeedFilter::Representation
2205
+
2165
2206
  property :language_code, as: 'languageCode'
2166
2207
  property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
2167
2208
  property :region_code, as: 'regionCode'
@@ -2817,12 +2858,25 @@ module Google
2817
2858
  end
2818
2859
  end
2819
2860
 
2861
+ class GoogleCloudRetailV2betaTuneModelMetadata
2862
+ # @private
2863
+ class Representation < Google::Apis::Core::JsonRepresentation
2864
+ property :model, as: 'model'
2865
+ end
2866
+ end
2867
+
2820
2868
  class GoogleCloudRetailV2betaTuneModelRequest
2821
2869
  # @private
2822
2870
  class Representation < Google::Apis::Core::JsonRepresentation
2823
2871
  end
2824
2872
  end
2825
2873
 
2874
+ class GoogleCloudRetailV2betaTuneModelResponse
2875
+ # @private
2876
+ class Representation < Google::Apis::Core::JsonRepresentation
2877
+ end
2878
+ end
2879
+
2826
2880
  class GoogleCloudRetailV2betaUserEvent
2827
2881
  # @private
2828
2882
  class Representation < Google::Apis::Core::JsonRepresentation
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.54.0
4
+ version: 0.56.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-09-05 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: 0.9.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: 0.9.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.56.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: []