google-apis-content_v2_1 0.41.0 → 0.43.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: 6d50467a671e5ed5ac4c990ed96bc9f5a763d38313aa1a302e6bd9d8d90a1ce8
4
- data.tar.gz: 359f542aede48f2669ee9a66e02e39fd7842c2f9b851a7b92c2eff771dab91af
3
+ metadata.gz: 66a2bda298d2aedeacb2e40110603992a84b9a647af525ca80ee27b3f6d589e7
4
+ data.tar.gz: b266cbef4a7354f9c4970eda5b8222baa874a25687476e5327a070639fce7498
5
5
  SHA512:
6
- metadata.gz: d16a6de547bc4329315bc68074b066c2c42e8469b7509df607d4ad88b08905ba35a0d41aed485b2be1c0524fcdb34155f6601897aa8770032699d782e91dba6a
7
- data.tar.gz: 3c389b3992b5c2f55cbdb33db407c3876effc63bafaa0302df7fef12b9692e0ae9f5948b1545979086c47aef6e75764ab2186a8f52461b318b3d3ff00af48bad
6
+ metadata.gz: 05d131171cecf17bda30c8d6496911a048c3f993a4cd032d023165539c22868be4a6efef1f2db0b7d125f7787c4d090e1bb4b2091c2768f7dad3767739795ca2
7
+ data.tar.gz: 8f63c71eeb6cbb07b41cdc230ab191faab2a7e10c02e6c24f5a8793f1739f5807ab9b816eebb1db2b3efcdebc749140003fa487591fd822f5a18c7550f2d1d17
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.43.0 (2025-06-29)
4
+
5
+ * Regenerated from discovery document revision 20250621
6
+
7
+ ### v0.42.0 (2025-06-08)
8
+
9
+ * Regenerated from discovery document revision 20250603
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.41.0 (2025-05-04)
4
13
 
5
14
  * Regenerated from discovery document revision 20250427
@@ -1354,6 +1354,12 @@ module Google
1354
1354
  attr_accessor :payments_manager
1355
1355
  alias_method :payments_manager?, :payments_manager
1356
1356
 
1357
+ # Optional. Whether user has standard read-only access.
1358
+ # Corresponds to the JSON property `readOnly`
1359
+ # @return [Boolean]
1360
+ attr_accessor :read_only
1361
+ alias_method :read_only?, :read_only
1362
+
1357
1363
  # Whether user is a reporting manager. This role is equivalent to the
1358
1364
  # Performance and insights role in Merchant Center.
1359
1365
  # Corresponds to the JSON property `reportingManager`
@@ -1372,6 +1378,7 @@ module Google
1372
1378
  @order_manager = args[:order_manager] if args.key?(:order_manager)
1373
1379
  @payments_analyst = args[:payments_analyst] if args.key?(:payments_analyst)
1374
1380
  @payments_manager = args[:payments_manager] if args.key?(:payments_manager)
1381
+ @read_only = args[:read_only] if args.key?(:read_only)
1375
1382
  @reporting_manager = args[:reporting_manager] if args.key?(:reporting_manager)
1376
1383
  end
1377
1384
  end
@@ -9004,6 +9011,11 @@ module Google
9004
9011
  # @return [Fixnum]
9005
9012
  attr_accessor :max_handling_time
9006
9013
 
9014
+ # Maximum retail price (MRP) of the item. Applicable to India only.
9015
+ # Corresponds to the JSON property `maximumRetailPrice`
9016
+ # @return [Google::Apis::ContentV2_1::Price]
9017
+ attr_accessor :maximum_retail_price
9018
+
9007
9019
  # The energy efficiency class as defined in EU directive 2010/30/EU.
9008
9020
  # Corresponds to the JSON property `minEnergyEfficiencyClass`
9009
9021
  # @return [String]
@@ -9322,6 +9334,7 @@ module Google
9322
9334
  @material = args[:material] if args.key?(:material)
9323
9335
  @max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class)
9324
9336
  @max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
9337
+ @maximum_retail_price = args[:maximum_retail_price] if args.key?(:maximum_retail_price)
9325
9338
  @min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class)
9326
9339
  @min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
9327
9340
  @mobile_link = args[:mobile_link] if args.key?(:mobile_link)
@@ -11117,6 +11130,12 @@ module Google
11117
11130
  # @return [String]
11118
11131
  attr_accessor :coupon_value_type
11119
11132
 
11133
+ # The custom redemption restriction for the promotion. If the `
11134
+ # redemption_restriction` field is set to `CUSTOM`, this field must be set.
11135
+ # Corresponds to the JSON property `customRedemptionRestriction`
11136
+ # @return [String]
11137
+ attr_accessor :custom_redemption_restriction
11138
+
11120
11139
  # Free gift description for the promotion.
11121
11140
  # Corresponds to the JSON property `freeGiftDescription`
11122
11141
  # @return [String]
@@ -11187,6 +11206,11 @@ module Google
11187
11206
  # @return [String]
11188
11207
  attr_accessor :long_title
11189
11208
 
11209
+ # The price represented as a number and currency.
11210
+ # Corresponds to the JSON property `maxDiscountAmount`
11211
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
11212
+ attr_accessor :max_discount_amount
11213
+
11190
11214
  # The price represented as a number and currency.
11191
11215
  # Corresponds to the JSON property `minimumPurchaseAmount`
11192
11216
  # @return [Google::Apis::ContentV2_1::PriceAmount]
@@ -11288,6 +11312,11 @@ module Google
11288
11312
  # @return [Array<String>]
11289
11313
  attr_accessor :redemption_channel
11290
11314
 
11315
+ # The redemption restriction for the promotion.
11316
+ # Corresponds to the JSON property `redemptionRestriction`
11317
+ # @return [String]
11318
+ attr_accessor :redemption_restriction
11319
+
11291
11320
  # Shipping service names for the promotion.
11292
11321
  # Corresponds to the JSON property `shippingServiceNames`
11293
11322
  # @return [Array<String>]
@@ -11327,6 +11356,7 @@ module Google
11327
11356
  @brand_exclusion = args[:brand_exclusion] if args.key?(:brand_exclusion)
11328
11357
  @content_language = args[:content_language] if args.key?(:content_language)
11329
11358
  @coupon_value_type = args[:coupon_value_type] if args.key?(:coupon_value_type)
11359
+ @custom_redemption_restriction = args[:custom_redemption_restriction] if args.key?(:custom_redemption_restriction)
11330
11360
  @free_gift_description = args[:free_gift_description] if args.key?(:free_gift_description)
11331
11361
  @free_gift_item_id = args[:free_gift_item_id] if args.key?(:free_gift_item_id)
11332
11362
  @free_gift_value = args[:free_gift_value] if args.key?(:free_gift_value)
@@ -11340,6 +11370,7 @@ module Google
11340
11370
  @limit_quantity = args[:limit_quantity] if args.key?(:limit_quantity)
11341
11371
  @limit_value = args[:limit_value] if args.key?(:limit_value)
11342
11372
  @long_title = args[:long_title] if args.key?(:long_title)
11373
+ @max_discount_amount = args[:max_discount_amount] if args.key?(:max_discount_amount)
11343
11374
  @minimum_purchase_amount = args[:minimum_purchase_amount] if args.key?(:minimum_purchase_amount)
11344
11375
  @minimum_purchase_quantity = args[:minimum_purchase_quantity] if args.key?(:minimum_purchase_quantity)
11345
11376
  @money_budget = args[:money_budget] if args.key?(:money_budget)
@@ -11359,6 +11390,7 @@ module Google
11359
11390
  @promotion_status = args[:promotion_status] if args.key?(:promotion_status)
11360
11391
  @promotion_url = args[:promotion_url] if args.key?(:promotion_url)
11361
11392
  @redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
11393
+ @redemption_restriction = args[:redemption_restriction] if args.key?(:redemption_restriction)
11362
11394
  @shipping_service_names = args[:shipping_service_names] if args.key?(:shipping_service_names)
11363
11395
  @store_applicability = args[:store_applicability] if args.key?(:store_applicability)
11364
11396
  @store_code = args[:store_code] if args.key?(:store_code)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContentV2_1
18
18
  # Version of the google-apis-content_v2_1 gem
19
- GEM_VERSION = "0.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250427"
25
+ REVISION = "20250621"
26
26
  end
27
27
  end
28
28
  end
@@ -2338,6 +2338,7 @@ module Google
2338
2338
  property :order_manager, as: 'orderManager'
2339
2339
  property :payments_analyst, as: 'paymentsAnalyst'
2340
2340
  property :payments_manager, as: 'paymentsManager'
2341
+ property :read_only, as: 'readOnly'
2341
2342
  property :reporting_manager, as: 'reportingManager'
2342
2343
  end
2343
2344
  end
@@ -4322,6 +4323,8 @@ module Google
4322
4323
  property :material, as: 'material'
4323
4324
  property :max_energy_efficiency_class, as: 'maxEnergyEfficiencyClass'
4324
4325
  property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
4326
+ property :maximum_retail_price, as: 'maximumRetailPrice', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
4327
+
4325
4328
  property :min_energy_efficiency_class, as: 'minEnergyEfficiencyClass'
4326
4329
  property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'
4327
4330
  property :mobile_link, as: 'mobileLink'
@@ -4827,6 +4830,7 @@ module Google
4827
4830
  collection :brand_exclusion, as: 'brandExclusion'
4828
4831
  property :content_language, as: 'contentLanguage'
4829
4832
  property :coupon_value_type, as: 'couponValueType'
4833
+ property :custom_redemption_restriction, as: 'customRedemptionRestriction'
4830
4834
  property :free_gift_description, as: 'freeGiftDescription'
4831
4835
  property :free_gift_item_id, as: 'freeGiftItemId'
4832
4836
  property :free_gift_value, as: 'freeGiftValue', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
@@ -4842,6 +4846,8 @@ module Google
4842
4846
  property :limit_value, as: 'limitValue', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
4843
4847
 
4844
4848
  property :long_title, as: 'longTitle'
4849
+ property :max_discount_amount, as: 'maxDiscountAmount', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
4850
+
4845
4851
  property :minimum_purchase_amount, as: 'minimumPurchaseAmount', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
4846
4852
 
4847
4853
  property :minimum_purchase_quantity, as: 'minimumPurchaseQuantity'
@@ -4867,6 +4873,7 @@ module Google
4867
4873
 
4868
4874
  property :promotion_url, as: 'promotionUrl'
4869
4875
  collection :redemption_channel, as: 'redemptionChannel'
4876
+ property :redemption_restriction, as: 'redemptionRestriction'
4870
4877
  collection :shipping_service_names, as: 'shippingServiceNames'
4871
4878
  property :store_applicability, as: 'storeApplicability'
4872
4879
  collection :store_code, as: 'storeCode'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-content_v2_1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-content_v2_1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.41.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.43.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-content_v2_1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Content API for Shopping V2_1
79
79
  test_files: []