google-apis-retail_v2 0.68.0 → 0.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c45882b8bad29e354ce8b668a9738ca233277e54518996005938ce338f001b9
4
- data.tar.gz: e058eaf18c8f3ad0d0c86a0c1ecf4b29f927e611b3467947387b8d0c45d335bf
3
+ metadata.gz: 6ad77f2d05d615bfb7a3ef7767ff5e46b14d30f40d67078a3ac8b06b9ae1328e
4
+ data.tar.gz: 830ccb9adafd13220bf6ca3528409c4dc485f44f76c0a4dc51c91d46a2551f63
5
5
  SHA512:
6
- metadata.gz: d827811f81c3e322ea8909a82b1c24d7774ee9fc1521d8ecfb97fe3c41660dd5c2302fbc09b7a2bdc557cf4d8b6bf00ce40b9814319262a861a68dc12e08aa0d
7
- data.tar.gz: 99723b9ae756a7a9a632823dd9c0644c5b5a44b0eac471a6c8c836722a1ee1ec3023dfdb381ace31dbab706d526b4e4c77ac94c92f87b145a497c54caab7c24e
6
+ metadata.gz: 59a21c3e22f066b01ccd1178d3c5a26623c69130c7432daf85468f7f564fec7d49d693b58da1b200f298b674304dcebf746afa8c07662a872e6577593c6aba1c
7
+ data.tar.gz: 13e4390249bda200000fe31abe1063a9029916a31be5e68d41f02d4c06025a645e9e3d314f945bfe35a0cabaf52144d4cce63d9c4747deddd669ab810e6ae130
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.69.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230321
6
+
3
7
  ### v0.68.0 (2023-03-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20230309
@@ -2155,9 +2155,9 @@ module Google
2155
2155
  # filterSyntaxV2` is set to true under the `params` field, then attribute-based
2156
2156
  # expressions are expected instead of the above described tag-based syntax.
2157
2157
  # Examples: * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) *
2158
- # (brands: ANY("Pixel")) AND (colors: ANY("Red") OR categories: ANY("Phones"))
2159
- # For more information, see [Filter recommendations](https://cloud.google.com/
2160
- # retail/docs/filter-recs).
2158
+ # (availability: ANY("IN_STOCK")) AND (colors: ANY("Red") OR categories: ANY("
2159
+ # Phones")) For more information, see [Filter recommendations](https://cloud.
2160
+ # google.com/retail/docs/filter-recs).
2161
2161
  # Corresponds to the JSON property `filter`
2162
2162
  # @return [String]
2163
2163
  attr_accessor :filter
@@ -3724,6 +3724,13 @@ module Google
3724
3724
  class GoogleCloudRetailV2SearchRequest
3725
3725
  include Google::Apis::Core::Hashable
3726
3726
 
3727
+ # Represents the banner in request, for projects that combine banners. For
3728
+ # example: a retailer can sell products under different banners like retailer-
3729
+ # main, retailer-baby, retailer-meds, etc. under one project.
3730
+ # Corresponds to the JSON property `banner`
3731
+ # @return [String]
3732
+ attr_accessor :banner
3733
+
3727
3734
  # Boost specification to boost certain items.
3728
3735
  # Corresponds to the JSON property `boostSpec`
3729
3736
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestBoostSpec]
@@ -3905,6 +3912,7 @@ module Google
3905
3912
 
3906
3913
  # Update properties of this object
3907
3914
  def update!(**args)
3915
+ @banner = args[:banner] if args.key?(:banner)
3908
3916
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
3909
3917
  @branch = args[:branch] if args.key?(:branch)
3910
3918
  @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
@@ -4931,6 +4939,13 @@ module Google
4931
4939
  # @return [String]
4932
4940
  attr_accessor :attribution_token
4933
4941
 
4942
+ # Represents the banner of the user event, for projects that combine banners.
4943
+ # For example: retailer can have events from multiple banners like retailer-main,
4944
+ # retailer-baby, retailer-meds, etc. under one project.
4945
+ # Corresponds to the JSON property `banner`
4946
+ # @return [String]
4947
+ attr_accessor :banner
4948
+
4934
4949
  # The ID or name of the associated shopping cart. This ID is used to associate
4935
4950
  # multiple items added or present in the cart before purchase. This can only be
4936
4951
  # set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view`
@@ -4945,13 +4960,6 @@ module Google
4945
4960
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2CompletionDetail]
4946
4961
  attr_accessor :completion_detail
4947
4962
 
4948
- # Represents the domain of the user event, for projects that combine domains.
4949
- # For example: retailer can have events from multiple domains like retailer-main,
4950
- # retailer-baby, retailer-meds, etc. under one project.
4951
- # Corresponds to the JSON property `domain`
4952
- # @return [String]
4953
- attr_accessor :domain
4954
-
4955
4963
  # Only required for UserEventService.ImportUserEvents method. Timestamp of when
4956
4964
  # the user event happened.
4957
4965
  # Corresponds to the JSON property `eventTime`
@@ -5105,9 +5113,9 @@ module Google
5105
5113
  def update!(**args)
5106
5114
  @attributes = args[:attributes] if args.key?(:attributes)
5107
5115
  @attribution_token = args[:attribution_token] if args.key?(:attribution_token)
5116
+ @banner = args[:banner] if args.key?(:banner)
5108
5117
  @cart_id = args[:cart_id] if args.key?(:cart_id)
5109
5118
  @completion_detail = args[:completion_detail] if args.key?(:completion_detail)
5110
- @domain = args[:domain] if args.key?(:domain)
5111
5119
  @event_time = args[:event_time] if args.key?(:event_time)
5112
5120
  @event_type = args[:event_type] if args.key?(:event_type)
5113
5121
  @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids)
@@ -5347,6 +5355,32 @@ module Google
5347
5355
  end
5348
5356
  end
5349
5357
 
5358
+ # Common metadata related to the progress of the operations.
5359
+ class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
5360
+ include Google::Apis::Core::Hashable
5361
+
5362
+ # Operation create time.
5363
+ # Corresponds to the JSON property `createTime`
5364
+ # @return [String]
5365
+ attr_accessor :create_time
5366
+
5367
+ # Operation last update time. If the operation is done, this is also the finish
5368
+ # time.
5369
+ # Corresponds to the JSON property `updateTime`
5370
+ # @return [String]
5371
+ attr_accessor :update_time
5372
+
5373
+ def initialize(**args)
5374
+ update!(**args)
5375
+ end
5376
+
5377
+ # Update properties of this object
5378
+ def update!(**args)
5379
+ @create_time = args[:create_time] if args.key?(:create_time)
5380
+ @update_time = args[:update_time] if args.key?(:update_time)
5381
+ end
5382
+ end
5383
+
5350
5384
  # Metadata associated with a create operation.
5351
5385
  class GoogleCloudRetailV2alphaCreateModelMetadata
5352
5386
  include Google::Apis::Core::Hashable
@@ -5666,6 +5700,120 @@ module Google
5666
5700
  end
5667
5701
  end
5668
5702
 
5703
+ # Represents a link between a Merchant Center account and a branch. Once a link
5704
+ # is established, products from the linked merchant center account will be
5705
+ # streamed to the linked branch. LINT.IfChange(MerchantCenterAccountLink)
5706
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLink
5707
+ include Google::Apis::Core::Hashable
5708
+
5709
+ # Required. The branch id (e.g. 0/1/2) within the catalog that products from
5710
+ # merchant_center_account_id are streamed to. When updating this field, an empty
5711
+ # value will use the currently configured default branch. However, changing the
5712
+ # default branch later on won't change the linked branch here. A single branch
5713
+ # id can only have one linked merchant center account id.
5714
+ # Corresponds to the JSON property `branchId`
5715
+ # @return [String]
5716
+ attr_accessor :branch_id
5717
+
5718
+ # Criteria for the Merchant Center feeds to be ingested via the link. All offers
5719
+ # will be ingested if the list is empty. Otherwise the offers will be ingested
5720
+ # from selected feeds.
5721
+ # Corresponds to the JSON property `feedFilters`
5722
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
5723
+ attr_accessor :feed_filters
5724
+
5725
+ # The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
5726
+ # //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
5727
+ # FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
5728
+ # Corresponds to the JSON property `feedLabel`
5729
+ # @return [String]
5730
+ attr_accessor :feed_label
5731
+
5732
+ # Output only. Immutable. MerchantCenterAccountLink identifier, which is the
5733
+ # final component of name. This field is auto generated and follows the
5734
+ # convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
5735
+ # catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
5736
+ # Corresponds to the JSON property `id`
5737
+ # @return [String]
5738
+ attr_accessor :id
5739
+
5740
+ # Language of the title/description and other string attributes. Use language
5741
+ # tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
5742
+ # 639-1. This specifies the language of offers in Merchant Center that will be
5743
+ # accepted. If empty, no language filtering will be performed. Example value: `
5744
+ # en`.
5745
+ # Corresponds to the JSON property `languageCode`
5746
+ # @return [String]
5747
+ attr_accessor :language_code
5748
+
5749
+ # Required. The linked [Merchant center account id](https://developers.google.
5750
+ # com/shopping-content/guides/accountstatuses). The account must be a standalone
5751
+ # account or a sub-account of a MCA.
5752
+ # Corresponds to the JSON property `merchantCenterAccountId`
5753
+ # @return [Fixnum]
5754
+ attr_accessor :merchant_center_account_id
5755
+
5756
+ # Output only. Immutable. Full resource name of the Merchant Center Account Link,
5757
+ # such as `projects/*/locations/global/catalogs/default_catalog/
5758
+ # merchantCenterAccountLinks/merchant_center_account_link`.
5759
+ # Corresponds to the JSON property `name`
5760
+ # @return [String]
5761
+ attr_accessor :name
5762
+
5763
+ # Output only. GCP project ID.
5764
+ # Corresponds to the JSON property `projectId`
5765
+ # @return [String]
5766
+ attr_accessor :project_id
5767
+
5768
+ # Output only. Represents the state of the link.
5769
+ # Corresponds to the JSON property `state`
5770
+ # @return [String]
5771
+ attr_accessor :state
5772
+
5773
+ def initialize(**args)
5774
+ update!(**args)
5775
+ end
5776
+
5777
+ # Update properties of this object
5778
+ def update!(**args)
5779
+ @branch_id = args[:branch_id] if args.key?(:branch_id)
5780
+ @feed_filters = args[:feed_filters] if args.key?(:feed_filters)
5781
+ @feed_label = args[:feed_label] if args.key?(:feed_label)
5782
+ @id = args[:id] if args.key?(:id)
5783
+ @language_code = args[:language_code] if args.key?(:language_code)
5784
+ @merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
5785
+ @name = args[:name] if args.key?(:name)
5786
+ @project_id = args[:project_id] if args.key?(:project_id)
5787
+ @state = args[:state] if args.key?(:state)
5788
+ end
5789
+ end
5790
+
5791
+ # Merchant Center Feed filter criterion.
5792
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
5793
+ include Google::Apis::Core::Hashable
5794
+
5795
+ # Merchant Center primary feed ID.
5796
+ # Corresponds to the JSON property `primaryFeedId`
5797
+ # @return [Fixnum]
5798
+ attr_accessor :primary_feed_id
5799
+
5800
+ # Merchant Center primary feed name. The name is used for the display purposes
5801
+ # only.
5802
+ # Corresponds to the JSON property `primaryFeedName`
5803
+ # @return [String]
5804
+ attr_accessor :primary_feed_name
5805
+
5806
+ def initialize(**args)
5807
+ update!(**args)
5808
+ end
5809
+
5810
+ # Update properties of this object
5811
+ def update!(**args)
5812
+ @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
5813
+ @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
5814
+ end
5815
+ end
5816
+
5669
5817
  # Metadata that describes the training and serving parameters of a Model. A
5670
5818
  # Model can be associated with a ServingConfig and then queried through the
5671
5819
  # Predict API.
@@ -6355,6 +6503,32 @@ module Google
6355
6503
  end
6356
6504
  end
6357
6505
 
6506
+ # Common metadata related to the progress of the operations.
6507
+ class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
6508
+ include Google::Apis::Core::Hashable
6509
+
6510
+ # Operation create time.
6511
+ # Corresponds to the JSON property `createTime`
6512
+ # @return [String]
6513
+ attr_accessor :create_time
6514
+
6515
+ # Operation last update time. If the operation is done, this is also the finish
6516
+ # time.
6517
+ # Corresponds to the JSON property `updateTime`
6518
+ # @return [String]
6519
+ attr_accessor :update_time
6520
+
6521
+ def initialize(**args)
6522
+ update!(**args)
6523
+ end
6524
+
6525
+ # Update properties of this object
6526
+ def update!(**args)
6527
+ @create_time = args[:create_time] if args.key?(:create_time)
6528
+ @update_time = args[:update_time] if args.key?(:update_time)
6529
+ end
6530
+ end
6531
+
6358
6532
  # Metadata associated with a create operation.
6359
6533
  class GoogleCloudRetailV2betaCreateModelMetadata
6360
6534
  include Google::Apis::Core::Hashable
@@ -6668,6 +6842,120 @@ module Google
6668
6842
  end
6669
6843
  end
6670
6844
 
6845
+ # Represents a link between a Merchant Center account and a branch. Once a link
6846
+ # is established, products from the linked merchant center account will be
6847
+ # streamed to the linked branch. LINT.IfChange(MerchantCenterAccountLink)
6848
+ class GoogleCloudRetailV2betaMerchantCenterAccountLink
6849
+ include Google::Apis::Core::Hashable
6850
+
6851
+ # Required. The branch id (e.g. 0/1/2) within the catalog that products from
6852
+ # merchant_center_account_id are streamed to. When updating this field, an empty
6853
+ # value will use the currently configured default branch. However, changing the
6854
+ # default branch later on won't change the linked branch here. A single branch
6855
+ # id can only have one linked merchant center account id.
6856
+ # Corresponds to the JSON property `branchId`
6857
+ # @return [String]
6858
+ attr_accessor :branch_id
6859
+
6860
+ # Criteria for the Merchant Center feeds to be ingested via the link. All offers
6861
+ # will be ingested if the list is empty. Otherwise the offers will be ingested
6862
+ # from selected feeds.
6863
+ # Corresponds to the JSON property `feedFilters`
6864
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
6865
+ attr_accessor :feed_filters
6866
+
6867
+ # The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
6868
+ # //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
6869
+ # FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
6870
+ # Corresponds to the JSON property `feedLabel`
6871
+ # @return [String]
6872
+ attr_accessor :feed_label
6873
+
6874
+ # Output only. Immutable. MerchantCenterAccountLink identifier, which is the
6875
+ # final component of name. This field is auto generated and follows the
6876
+ # convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
6877
+ # catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
6878
+ # Corresponds to the JSON property `id`
6879
+ # @return [String]
6880
+ attr_accessor :id
6881
+
6882
+ # Language of the title/description and other string attributes. Use language
6883
+ # tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
6884
+ # 639-1. This specifies the language of offers in Merchant Center that will be
6885
+ # accepted. If empty, no language filtering will be performed. Example value: `
6886
+ # en`.
6887
+ # Corresponds to the JSON property `languageCode`
6888
+ # @return [String]
6889
+ attr_accessor :language_code
6890
+
6891
+ # Required. The linked [Merchant center account id](https://developers.google.
6892
+ # com/shopping-content/guides/accountstatuses). The account must be a standalone
6893
+ # account or a sub-account of a MCA.
6894
+ # Corresponds to the JSON property `merchantCenterAccountId`
6895
+ # @return [Fixnum]
6896
+ attr_accessor :merchant_center_account_id
6897
+
6898
+ # Output only. Immutable. Full resource name of the Merchant Center Account Link,
6899
+ # such as `projects/*/locations/global/catalogs/default_catalog/
6900
+ # merchantCenterAccountLinks/merchant_center_account_link`.
6901
+ # Corresponds to the JSON property `name`
6902
+ # @return [String]
6903
+ attr_accessor :name
6904
+
6905
+ # Output only. GCP project ID.
6906
+ # Corresponds to the JSON property `projectId`
6907
+ # @return [String]
6908
+ attr_accessor :project_id
6909
+
6910
+ # Output only. Represents the state of the link.
6911
+ # Corresponds to the JSON property `state`
6912
+ # @return [String]
6913
+ attr_accessor :state
6914
+
6915
+ def initialize(**args)
6916
+ update!(**args)
6917
+ end
6918
+
6919
+ # Update properties of this object
6920
+ def update!(**args)
6921
+ @branch_id = args[:branch_id] if args.key?(:branch_id)
6922
+ @feed_filters = args[:feed_filters] if args.key?(:feed_filters)
6923
+ @feed_label = args[:feed_label] if args.key?(:feed_label)
6924
+ @id = args[:id] if args.key?(:id)
6925
+ @language_code = args[:language_code] if args.key?(:language_code)
6926
+ @merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
6927
+ @name = args[:name] if args.key?(:name)
6928
+ @project_id = args[:project_id] if args.key?(:project_id)
6929
+ @state = args[:state] if args.key?(:state)
6930
+ end
6931
+ end
6932
+
6933
+ # Merchant Center Feed filter criterion.
6934
+ class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
6935
+ include Google::Apis::Core::Hashable
6936
+
6937
+ # Merchant Center primary feed ID.
6938
+ # Corresponds to the JSON property `primaryFeedId`
6939
+ # @return [Fixnum]
6940
+ attr_accessor :primary_feed_id
6941
+
6942
+ # Merchant Center primary feed name. The name is used for the display purposes
6943
+ # only.
6944
+ # Corresponds to the JSON property `primaryFeedName`
6945
+ # @return [String]
6946
+ attr_accessor :primary_feed_name
6947
+
6948
+ def initialize(**args)
6949
+ update!(**args)
6950
+ end
6951
+
6952
+ # Update properties of this object
6953
+ def update!(**args)
6954
+ @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
6955
+ @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
6956
+ end
6957
+ end
6958
+
6671
6959
  # Metadata that describes the training and serving parameters of a Model. A
6672
6960
  # Model can be associated with a ServingConfig and then queried through the
6673
6961
  # Predict API.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2
18
18
  # Version of the google-apis-retail_v2 gem
19
- GEM_VERSION = "0.68.0"
19
+ GEM_VERSION = "0.69.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 = "20230309"
25
+ REVISION = "20230321"
26
26
  end
27
27
  end
28
28
  end
@@ -784,6 +784,12 @@ module Google
784
784
  include Google::Apis::Core::JsonObjectSupport
785
785
  end
786
786
 
787
+ class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
787
793
  class GoogleCloudRetailV2alphaCreateModelMetadata
788
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
789
795
 
@@ -850,6 +856,18 @@ module Google
850
856
  include Google::Apis::Core::JsonObjectSupport
851
857
  end
852
858
 
859
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLink
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
865
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
853
871
  class GoogleCloudRetailV2alphaModel
854
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
873
 
@@ -1012,6 +1030,12 @@ module Google
1012
1030
  include Google::Apis::Core::JsonObjectSupport
1013
1031
  end
1014
1032
 
1033
+ class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
1034
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1035
+
1036
+ include Google::Apis::Core::JsonObjectSupport
1037
+ end
1038
+
1015
1039
  class GoogleCloudRetailV2betaCreateModelMetadata
1016
1040
  class Representation < Google::Apis::Core::JsonRepresentation; end
1017
1041
 
@@ -1078,6 +1102,18 @@ module Google
1078
1102
  include Google::Apis::Core::JsonObjectSupport
1079
1103
  end
1080
1104
 
1105
+ class GoogleCloudRetailV2betaMerchantCenterAccountLink
1106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1107
+
1108
+ include Google::Apis::Core::JsonObjectSupport
1109
+ end
1110
+
1111
+ class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
1112
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
1081
1117
  class GoogleCloudRetailV2betaModel
1082
1118
  class Representation < Google::Apis::Core::JsonRepresentation; end
1083
1119
 
@@ -2124,6 +2160,7 @@ module Google
2124
2160
  class GoogleCloudRetailV2SearchRequest
2125
2161
  # @private
2126
2162
  class Representation < Google::Apis::Core::JsonRepresentation
2163
+ property :banner, as: 'banner'
2127
2164
  property :boost_spec, as: 'boostSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestBoostSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestBoostSpec::Representation
2128
2165
 
2129
2166
  property :branch, as: 'branch'
@@ -2376,10 +2413,10 @@ module Google
2376
2413
  hash :attributes, as: 'attributes', class: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute::Representation
2377
2414
 
2378
2415
  property :attribution_token, as: 'attributionToken'
2416
+ property :banner, as: 'banner'
2379
2417
  property :cart_id, as: 'cartId'
2380
2418
  property :completion_detail, as: 'completionDetail', class: Google::Apis::RetailV2::GoogleCloudRetailV2CompletionDetail, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CompletionDetail::Representation
2381
2419
 
2382
- property :domain, as: 'domain'
2383
2420
  property :event_time, as: 'eventTime'
2384
2421
  property :event_type, as: 'eventType'
2385
2422
  collection :experiment_ids, as: 'experimentIds'
@@ -2472,6 +2509,14 @@ module Google
2472
2509
  end
2473
2510
  end
2474
2511
 
2512
+ class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
2513
+ # @private
2514
+ class Representation < Google::Apis::Core::JsonRepresentation
2515
+ property :create_time, as: 'createTime'
2516
+ property :update_time, as: 'updateTime'
2517
+ end
2518
+ end
2519
+
2475
2520
  class GoogleCloudRetailV2alphaCreateModelMetadata
2476
2521
  # @private
2477
2522
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2576,6 +2621,30 @@ module Google
2576
2621
  end
2577
2622
  end
2578
2623
 
2624
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLink
2625
+ # @private
2626
+ class Representation < Google::Apis::Core::JsonRepresentation
2627
+ property :branch_id, as: 'branchId'
2628
+ collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
2629
+
2630
+ property :feed_label, as: 'feedLabel'
2631
+ property :id, as: 'id'
2632
+ property :language_code, as: 'languageCode'
2633
+ property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
2634
+ property :name, as: 'name'
2635
+ property :project_id, as: 'projectId'
2636
+ property :state, as: 'state'
2637
+ end
2638
+ end
2639
+
2640
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
2641
+ # @private
2642
+ class Representation < Google::Apis::Core::JsonRepresentation
2643
+ property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
2644
+ property :primary_feed_name, as: 'primaryFeedName'
2645
+ end
2646
+ end
2647
+
2579
2648
  class GoogleCloudRetailV2alphaModel
2580
2649
  # @private
2581
2650
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2785,6 +2854,14 @@ module Google
2785
2854
  end
2786
2855
  end
2787
2856
 
2857
+ class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
2858
+ # @private
2859
+ class Representation < Google::Apis::Core::JsonRepresentation
2860
+ property :create_time, as: 'createTime'
2861
+ property :update_time, as: 'updateTime'
2862
+ end
2863
+ end
2864
+
2788
2865
  class GoogleCloudRetailV2betaCreateModelMetadata
2789
2866
  # @private
2790
2867
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2887,6 +2964,30 @@ module Google
2887
2964
  end
2888
2965
  end
2889
2966
 
2967
+ class GoogleCloudRetailV2betaMerchantCenterAccountLink
2968
+ # @private
2969
+ class Representation < Google::Apis::Core::JsonRepresentation
2970
+ property :branch_id, as: 'branchId'
2971
+ collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
2972
+
2973
+ property :feed_label, as: 'feedLabel'
2974
+ property :id, as: 'id'
2975
+ property :language_code, as: 'languageCode'
2976
+ property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
2977
+ property :name, as: 'name'
2978
+ property :project_id, as: 'projectId'
2979
+ property :state, as: 'state'
2980
+ end
2981
+ end
2982
+
2983
+ class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
2984
+ # @private
2985
+ class Representation < Google::Apis::Core::JsonRepresentation
2986
+ property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
2987
+ property :primary_feed_name, as: 'primaryFeedName'
2988
+ end
2989
+ end
2990
+
2890
2991
  class GoogleCloudRetailV2betaModel
2891
2992
  # @private
2892
2993
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -57,6 +57,8 @@ module Google
57
57
  # @param [String] catalog
58
58
  # Required. Catalog for which the completion is performed. Full resource name of
59
59
  # catalog, such as `projects/*/locations/global/catalogs/default_catalog`.
60
+ # @param [String] banner
61
+ # The banner context for completion suggestions.
60
62
  # @param [String] dataset
61
63
  # Determines which dataset to use for fetching completion. "user-data" will use
62
64
  # the imported dataset through CompletionService.ImportCompletionData. "cloud-
@@ -110,11 +112,12 @@ module Google
110
112
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
111
113
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112
114
  # @raise [Google::Apis::AuthorizationError] Authorization is required
113
- def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
115
+ def complete_project_location_catalog_query(catalog, banner: nil, dataset: nil, device_type: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
114
116
  command = make_simple_command(:get, 'v2/{+catalog}:completeQuery', options)
115
117
  command.response_representation = Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponse::Representation
116
118
  command.response_class = Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponse
117
119
  command.params['catalog'] = catalog unless catalog.nil?
120
+ command.query['banner'] = banner unless banner.nil?
118
121
  command.query['dataset'] = dataset unless dataset.nil?
119
122
  command.query['deviceType'] = device_type unless device_type.nil?
120
123
  command.query['languageCodes'] = language_codes unless language_codes.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.68.0
4
+ version: 0.69.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-03-19 00:00:00.000000000 Z
11
+ date: 2023-03-26 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.68.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.69.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
63
63
  post_install_message:
64
64
  rdoc_options: []