google-apis-retail_v2 0.95.0 → 0.97.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: 47d1e969ecf6040acf9dbe24d6df84de8a08df0ed4c4671f6381f35a4165a526
4
- data.tar.gz: 5c08eaa7fe4ae2cdaba189a284a6d72b1efa15d1167113193cd08ff3b9d0f536
3
+ metadata.gz: e373f1c39746dd6611f0bc79cc7483de82b713cde09430d859316a1dda51cf46
4
+ data.tar.gz: 77192ba419882773b2bd1cce05d6074ecdd23c5ff07f136d50799321506c03cc
5
5
  SHA512:
6
- metadata.gz: 92b4abb4125c25a0ff232c94133f0ba27a34d4c501f4cfc3e262c807f85c9625a1d62f97971b8d8881bbb5225bba02983707e7a15d02deb792f15930bbf0e612
7
- data.tar.gz: 911ce85f265fbe7e79519633607058f7c38e965375315b6c76e05aadca216ac556434e3ffb044aaa7cb2b1d205c8fed4311d2bcf4277e12824ef1cb588223d07
6
+ metadata.gz: 9b5b0f49ba182b8f211476824458af3b2554d895ac3ae0f34f2b947154b516b720e3b3eaf6b85e78fa388a1b185607b778f52ef19510edce25b414498d6c8b54
7
+ data.tar.gz: d63b50fe3b00cf56a73be894dc27f9b9caea61c2a3246fcc62deb17dbd86947cb2d4944d2fabbc55ba3b8bdedeafc296e0b28ad5fbcd6a077d90227575c4efe7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.97.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240702
6
+
7
+ ### v0.96.0 (2024-06-16)
8
+
9
+ * Regenerated from discovery document revision 20240610
10
+
3
11
  ### v0.95.0 (2024-05-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20240509
@@ -921,13 +921,6 @@ module Google
921
921
  # @return [String]
922
922
  attr_accessor :merged_facet_key
923
923
 
924
- # Each instance is a list of facet values that map into the same (possibly
925
- # different) merged facet value. For the current attribute config, each facet
926
- # value should map to at most one merged facet value.
927
- # Corresponds to the JSON property `mergedFacetValues`
928
- # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue>]
929
- attr_accessor :merged_facet_values
930
-
931
924
  def initialize(**args)
932
925
  update!(**args)
933
926
  end
@@ -935,7 +928,6 @@ module Google
935
928
  # Update properties of this object
936
929
  def update!(**args)
937
930
  @merged_facet_key = args[:merged_facet_key] if args.key?(:merged_facet_key)
938
- @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
939
931
  end
940
932
  end
941
933
 
@@ -1114,7 +1106,7 @@ module Google
1114
1106
  end
1115
1107
  end
1116
1108
 
1117
- # Recent search of this user.
1109
+ # Deprecated: Recent search of this user.
1118
1110
  class GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult
1119
1111
  include Google::Apis::Core::Hashable
1120
1112
 
@@ -7402,32 +7394,6 @@ module Google
7402
7394
  end
7403
7395
  end
7404
7396
 
7405
- # Common metadata related to the progress of the operations.
7406
- class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
7407
- include Google::Apis::Core::Hashable
7408
-
7409
- # Operation create time.
7410
- # Corresponds to the JSON property `createTime`
7411
- # @return [String]
7412
- attr_accessor :create_time
7413
-
7414
- # Operation last update time. If the operation is done, this is also the finish
7415
- # time.
7416
- # Corresponds to the JSON property `updateTime`
7417
- # @return [String]
7418
- attr_accessor :update_time
7419
-
7420
- def initialize(**args)
7421
- update!(**args)
7422
- end
7423
-
7424
- # Update properties of this object
7425
- def update!(**args)
7426
- @create_time = args[:create_time] if args.key?(:create_time)
7427
- @update_time = args[:update_time] if args.key?(:update_time)
7428
- end
7429
- end
7430
-
7431
7397
  # Metadata associated with a create operation.
7432
7398
  class GoogleCloudRetailV2betaCreateModelMetadata
7433
7399
  include Google::Apis::Core::Hashable
@@ -7775,127 +7741,6 @@ module Google
7775
7741
  end
7776
7742
  end
7777
7743
 
7778
- # Represents a link between a Merchant Center account and a branch. After a link
7779
- # is established, products from the linked Merchant Center account are streamed
7780
- # to the linked branch.
7781
- class GoogleCloudRetailV2betaMerchantCenterAccountLink
7782
- include Google::Apis::Core::Hashable
7783
-
7784
- # Required. The branch ID (e.g. 0/1/2) within the catalog that products from
7785
- # merchant_center_account_id are streamed to. When updating this field, an empty
7786
- # value will use the currently configured default branch. However, changing the
7787
- # default branch later on won't change the linked branch here. A single branch
7788
- # ID can only have one linked Merchant Center account ID.
7789
- # Corresponds to the JSON property `branchId`
7790
- # @return [String]
7791
- attr_accessor :branch_id
7792
-
7793
- # Criteria for the Merchant Center feeds to be ingested via the link. All offers
7794
- # will be ingested if the list is empty. Otherwise the offers will be ingested
7795
- # from selected feeds.
7796
- # Corresponds to the JSON property `feedFilters`
7797
- # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
7798
- attr_accessor :feed_filters
7799
-
7800
- # The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
7801
- # //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
7802
- # FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
7803
- # Corresponds to the JSON property `feedLabel`
7804
- # @return [String]
7805
- attr_accessor :feed_label
7806
-
7807
- # Output only. Immutable. MerchantCenterAccountLink identifier, which is the
7808
- # final component of name. This field is auto generated and follows the
7809
- # convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
7810
- # catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
7811
- # Corresponds to the JSON property `id`
7812
- # @return [String]
7813
- attr_accessor :id
7814
-
7815
- # Language of the title/description and other string attributes. Use language
7816
- # tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
7817
- # 639-1. This specifies the language of offers in Merchant Center that will be
7818
- # accepted. If empty, no language filtering will be performed. Example value: `
7819
- # en`.
7820
- # Corresponds to the JSON property `languageCode`
7821
- # @return [String]
7822
- attr_accessor :language_code
7823
-
7824
- # Required. The linked [Merchant center account id](https://developers.google.
7825
- # com/shopping-content/guides/accountstatuses). The account must be a standalone
7826
- # account or a sub-account of a MCA.
7827
- # Corresponds to the JSON property `merchantCenterAccountId`
7828
- # @return [Fixnum]
7829
- attr_accessor :merchant_center_account_id
7830
-
7831
- # Output only. Immutable. Full resource name of the Merchant Center Account Link,
7832
- # such as `projects/*/locations/global/catalogs/default_catalog/
7833
- # merchantCenterAccountLinks/merchant_center_account_link`.
7834
- # Corresponds to the JSON property `name`
7835
- # @return [String]
7836
- attr_accessor :name
7837
-
7838
- # Output only. Google Cloud project ID.
7839
- # Corresponds to the JSON property `projectId`
7840
- # @return [String]
7841
- attr_accessor :project_id
7842
-
7843
- # Optional. An optional arbitrary string that could be used as a tag for
7844
- # tracking link source.
7845
- # Corresponds to the JSON property `source`
7846
- # @return [String]
7847
- attr_accessor :source
7848
-
7849
- # Output only. Represents the state of the link.
7850
- # Corresponds to the JSON property `state`
7851
- # @return [String]
7852
- attr_accessor :state
7853
-
7854
- def initialize(**args)
7855
- update!(**args)
7856
- end
7857
-
7858
- # Update properties of this object
7859
- def update!(**args)
7860
- @branch_id = args[:branch_id] if args.key?(:branch_id)
7861
- @feed_filters = args[:feed_filters] if args.key?(:feed_filters)
7862
- @feed_label = args[:feed_label] if args.key?(:feed_label)
7863
- @id = args[:id] if args.key?(:id)
7864
- @language_code = args[:language_code] if args.key?(:language_code)
7865
- @merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
7866
- @name = args[:name] if args.key?(:name)
7867
- @project_id = args[:project_id] if args.key?(:project_id)
7868
- @source = args[:source] if args.key?(:source)
7869
- @state = args[:state] if args.key?(:state)
7870
- end
7871
- end
7872
-
7873
- # Merchant Center Feed filter criterion.
7874
- class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
7875
- include Google::Apis::Core::Hashable
7876
-
7877
- # Merchant Center primary feed ID.
7878
- # Corresponds to the JSON property `primaryFeedId`
7879
- # @return [Fixnum]
7880
- attr_accessor :primary_feed_id
7881
-
7882
- # Merchant Center primary feed name. The name is used for the display purposes
7883
- # only.
7884
- # Corresponds to the JSON property `primaryFeedName`
7885
- # @return [String]
7886
- attr_accessor :primary_feed_name
7887
-
7888
- def initialize(**args)
7889
- update!(**args)
7890
- end
7891
-
7892
- # Update properties of this object
7893
- def update!(**args)
7894
- @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
7895
- @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
7896
- end
7897
- end
7898
-
7899
7744
  # Metadata that describes the training and serving parameters of a Model. A
7900
7745
  # Model can be associated with a ServingConfig and then queried through the
7901
7746
  # 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.95.0"
19
+ GEM_VERSION = "0.97.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240509"
25
+ REVISION = "20240702"
26
26
  end
27
27
  end
28
28
  end
@@ -1198,12 +1198,6 @@ module Google
1198
1198
  include Google::Apis::Core::JsonObjectSupport
1199
1199
  end
1200
1200
 
1201
- class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
1202
- class Representation < Google::Apis::Core::JsonRepresentation; end
1203
-
1204
- include Google::Apis::Core::JsonObjectSupport
1205
- end
1206
-
1207
1201
  class GoogleCloudRetailV2betaCreateModelMetadata
1208
1202
  class Representation < Google::Apis::Core::JsonRepresentation; end
1209
1203
 
@@ -1276,18 +1270,6 @@ module Google
1276
1270
  include Google::Apis::Core::JsonObjectSupport
1277
1271
  end
1278
1272
 
1279
- class GoogleCloudRetailV2betaMerchantCenterAccountLink
1280
- class Representation < Google::Apis::Core::JsonRepresentation; end
1281
-
1282
- include Google::Apis::Core::JsonObjectSupport
1283
- end
1284
-
1285
- class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
1286
- class Representation < Google::Apis::Core::JsonRepresentation; end
1287
-
1288
- include Google::Apis::Core::JsonObjectSupport
1289
- end
1290
-
1291
1273
  class GoogleCloudRetailV2betaModel
1292
1274
  class Representation < Google::Apis::Core::JsonRepresentation; end
1293
1275
 
@@ -1661,8 +1643,6 @@ module Google
1661
1643
  # @private
1662
1644
  class Representation < Google::Apis::Core::JsonRepresentation
1663
1645
  property :merged_facet_key, as: 'mergedFacetKey'
1664
- collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue::Representation
1665
-
1666
1646
  end
1667
1647
  end
1668
1648
 
@@ -3306,14 +3286,6 @@ module Google
3306
3286
  end
3307
3287
  end
3308
3288
 
3309
- class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
3310
- # @private
3311
- class Representation < Google::Apis::Core::JsonRepresentation
3312
- property :create_time, as: 'createTime'
3313
- property :update_time, as: 'updateTime'
3314
- end
3315
- end
3316
-
3317
3289
  class GoogleCloudRetailV2betaCreateModelMetadata
3318
3290
  # @private
3319
3291
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3428,31 +3400,6 @@ module Google
3428
3400
  end
3429
3401
  end
3430
3402
 
3431
- class GoogleCloudRetailV2betaMerchantCenterAccountLink
3432
- # @private
3433
- class Representation < Google::Apis::Core::JsonRepresentation
3434
- property :branch_id, as: 'branchId'
3435
- collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
3436
-
3437
- property :feed_label, as: 'feedLabel'
3438
- property :id, as: 'id'
3439
- property :language_code, as: 'languageCode'
3440
- property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
3441
- property :name, as: 'name'
3442
- property :project_id, as: 'projectId'
3443
- property :source, as: 'source'
3444
- property :state, as: 'state'
3445
- end
3446
- end
3447
-
3448
- class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
3449
- # @private
3450
- class Representation < Google::Apis::Core::JsonRepresentation
3451
- property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
3452
- property :primary_feed_name, as: 'primaryFeedName'
3453
- end
3454
- end
3455
-
3456
3403
  class GoogleCloudRetailV2betaModel
3457
3404
  # @private
3458
3405
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -75,8 +75,8 @@ module Google
75
75
  # all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `
76
76
  # MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
77
77
  # @param [Boolean] enable_attribute_suggestions
78
- # If true, attribute suggestions are enabled and provided in response. This
79
- # field is only available for "cloud-retail" dataset.
78
+ # If true, attribute suggestions are enabled and provided in the response. This
79
+ # field is only available for the "cloud-retail" dataset.
80
80
  # @param [String] entity
81
81
  # The entity for customers who run multiple entities, domains, sites, or regions,
82
82
  # for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`,
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.95.0
4
+ version: 0.97.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: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-07-25 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.95.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.97.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: []