google-apis-content_v2_1 0.11.0 → 0.16.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: ffaeb8103a7fd88056c8714a60aded6995f473114d4f93f3f081e4d3cc9f11f0
4
- data.tar.gz: 6b71693cc2beaab8b3e36b457eb01c256ab3aa1940d6dfe7b770c85652a6e34e
3
+ metadata.gz: c2ca6532dfbb64f7325468003a7fae358adcb53d915d1f0a3fded978d0ecac41
4
+ data.tar.gz: 99b1184ff7c477493c36f3a27de775f956b6e01d47fe0ed964b844583e359418
5
5
  SHA512:
6
- metadata.gz: 8fe2be7358f36712eab9820eeb59f79e0bfea3c0f30c0069372f068efec6642272e083acaafcc3cfb29a18e22140e7380c0f6bd4c5ae587315d6881d82c7cdfa
7
- data.tar.gz: d84c295ce5b4a556f0776a5d7b406fb1d2c4b23bbe2457d42a8b49c83631582afa0710d49519dfb53de5f9e659a5fc61ce081c7268227194c21fee6f127f31c7
6
+ metadata.gz: c1fb75b037ae22d7f8c8236a26488169401186a8709710c23fb963a03154ebc3f620091788d2879d4ebab5093d3096663175a96d0d7f2297305b1ae8d07811d3
7
+ data.tar.gz: 34c4e94397643c4c33ad770949a909835728f8d5c3238b8cb546f5c26c353b16f240d3eba5bb1cc9d9f4b394679a8279808636103ef5068b12f44404be186f18
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.16.0 (2021-06-29)
4
+
5
+ * Regenerated from discovery document revision 20210624
6
+ * Regenerated using generator version 0.4.0
7
+
8
+ ### v0.15.0 (2021-06-24)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.14.0 (2021-06-09)
13
+
14
+ * Regenerated from discovery document revision 20210603
15
+ * Regenerated using generator version 0.3.0
16
+
17
+ ### v0.13.0 (2021-06-01)
18
+
19
+ * Regenerated from discovery document revision 20210526
20
+
21
+ ### v0.12.0 (2021-05-26)
22
+
23
+ * Regenerated from discovery document revision 20210519
24
+
3
25
  ### v0.11.0 (2021-05-19)
4
26
 
5
27
  * Unspecified changes
@@ -1016,7 +1016,7 @@ module Google
1016
1016
  attr_accessor :action
1017
1017
 
1018
1018
  # Type of the link between the two accounts. Acceptable values are: - "`
1019
- # channelPartner`" - "`eCommercePlatform`"
1019
+ # channelPartner`" - "`eCommercePlatform`" - "`paymentServiceProvider`"
1020
1020
  # Corresponds to the JSON property `linkType`
1021
1021
  # @return [String]
1022
1022
  attr_accessor :link_type
@@ -1027,7 +1027,8 @@ module Google
1027
1027
  attr_accessor :linked_account_id
1028
1028
 
1029
1029
  # Provided services. Acceptable values are: - "`shoppingAdsProductManagement`" -
1030
- # "`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`"
1030
+ # "`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" - "`
1031
+ # paymentProcessing`"
1031
1032
  # Corresponds to the JSON property `services`
1032
1033
  # @return [Array<String>]
1033
1034
  attr_accessor :services
@@ -4824,6 +4825,22 @@ module Google
4824
4825
  class Metrics
4825
4826
  include Google::Apis::Core::Hashable
4826
4827
 
4828
+ # Average order size - the average number of items in an order. **This metric
4829
+ # cannot be segmented by product dimensions.**
4830
+ # Corresponds to the JSON property `aos`
4831
+ # @return [Float]
4832
+ attr_accessor :aos
4833
+
4834
+ # Average order value - the average value (total price of items) of all placed
4835
+ # orders. The currency of the returned value is stored in the currency_code
4836
+ # segment. If this metric is selected, 'segments.currency_code' is automatically
4837
+ # added to the SELECT clause in the search query (unless it is explicitly
4838
+ # selected by the user) and the currency_code segment is populated in the
4839
+ # response. **This metric cannot be segmented by product dimensions.**
4840
+ # Corresponds to the JSON property `aovMicros`
4841
+ # @return [Float]
4842
+ attr_accessor :aov_micros
4843
+
4827
4844
  # Number of clicks.
4828
4845
  # Corresponds to the JSON property `clicks`
4829
4846
  # @return [Fixnum]
@@ -4835,20 +4852,145 @@ module Google
4835
4852
  # @return [Float]
4836
4853
  attr_accessor :ctr
4837
4854
 
4855
+ # Average number of days between an order being placed and the order being fully
4856
+ # shipped, reported on the last shipment date. **This metric cannot be segmented
4857
+ # by product dimensions.**
4858
+ # Corresponds to the JSON property `daysToShip`
4859
+ # @return [Float]
4860
+ attr_accessor :days_to_ship
4861
+
4838
4862
  # Number of times merchant's products are shown.
4839
4863
  # Corresponds to the JSON property `impressions`
4840
4864
  # @return [Fixnum]
4841
4865
  attr_accessor :impressions
4842
4866
 
4867
+ # Average number of days between an item being ordered and the item being
4868
+ # Corresponds to the JSON property `itemDaysToShip`
4869
+ # @return [Float]
4870
+ attr_accessor :item_days_to_ship
4871
+
4872
+ # Percentage of shipped items in relation to all finalized items (shipped or
4873
+ # rejected by the merchant; unshipped items are not taken into account),
4874
+ # reported on the order date. Item fill rate is lowered by merchant rejections.
4875
+ # Corresponds to the JSON property `itemFillRate`
4876
+ # @return [Float]
4877
+ attr_accessor :item_fill_rate
4878
+
4879
+ # Total price of ordered items. Excludes shipping, taxes (US only), and customer
4880
+ # cancellations that happened within 30 minutes of placing the order. The
4881
+ # currency of the returned value is stored in the currency_code segment. If this
4882
+ # metric is selected, 'segments.currency_code' is automatically added to the
4883
+ # SELECT clause in the search query (unless it is explicitly selected by the
4884
+ # user) and the currency_code segment is populated in the response.
4885
+ # Corresponds to the JSON property `orderedItemSalesMicros`
4886
+ # @return [Fixnum]
4887
+ attr_accessor :ordered_item_sales_micros
4888
+
4889
+ # Number of ordered items. Excludes customer cancellations that happened within
4890
+ # 30 minutes of placing the order.
4891
+ # Corresponds to the JSON property `orderedItems`
4892
+ # @return [Fixnum]
4893
+ attr_accessor :ordered_items
4894
+
4895
+ # Number of placed orders. Excludes customer cancellations that happened within
4896
+ # 30 minutes of placing the order. **This metric cannot be segmented by product
4897
+ # dimensions.**
4898
+ # Corresponds to the JSON property `orders`
4899
+ # @return [Fixnum]
4900
+ attr_accessor :orders
4901
+
4902
+ # Number of ordered items canceled by the merchant, reported on the order date.
4903
+ # Corresponds to the JSON property `rejectedItems`
4904
+ # @return [Fixnum]
4905
+ attr_accessor :rejected_items
4906
+
4907
+ # Total price of returned items divided by the total price of shipped items,
4908
+ # reported on the order date. If this metric is selected, 'segments.
4909
+ # currency_code' is automatically added to the SELECT clause in the search query
4910
+ # (unless it is explicitly selected by the user) and the currency_code segment
4911
+ # is populated in the response.
4912
+ # Corresponds to the JSON property `returnRate`
4913
+ # @return [Float]
4914
+ attr_accessor :return_rate
4915
+
4916
+ # Number of ordered items sent back for return, reported on the date when the
4917
+ # merchant accepted the return.
4918
+ # Corresponds to the JSON property `returnedItems`
4919
+ # @return [Fixnum]
4920
+ attr_accessor :returned_items
4921
+
4922
+ # Total price of ordered items sent back for return, reported on the date when
4923
+ # the merchant accepted the return. The currency of the returned value is stored
4924
+ # in the currency_code segment. If this metric is selected, 'segments.
4925
+ # currency_code' is automatically added to the SELECT clause in the search query
4926
+ # (unless it is explicitly selected by the user) and the currency_code segment
4927
+ # is populated in the response.
4928
+ # Corresponds to the JSON property `returnsMicros`
4929
+ # @return [Fixnum]
4930
+ attr_accessor :returns_micros
4931
+
4932
+ # Total price of shipped items, reported on the order date. Excludes shipping
4933
+ # and taxes (US only). The currency of the returned value is stored in the
4934
+ # currency_code segment. If this metric is selected, 'segments.currency_code' is
4935
+ # automatically added to the SELECT clause in the search query (unless it is
4936
+ # explicitly selected by the user) and the currency_code segment is populated in
4937
+ # the response.
4938
+ # Corresponds to the JSON property `shippedItemSalesMicros`
4939
+ # @return [Fixnum]
4940
+ attr_accessor :shipped_item_sales_micros
4941
+
4942
+ # Number of shipped items, reported on the shipment date.
4943
+ # Corresponds to the JSON property `shippedItems`
4944
+ # @return [Fixnum]
4945
+ attr_accessor :shipped_items
4946
+
4947
+ # Number of fully shipped orders, reported on the last shipment date. **This
4948
+ # metric cannot be segmented by product dimensions.**
4949
+ # Corresponds to the JSON property `shippedOrders`
4950
+ # @return [Fixnum]
4951
+ attr_accessor :shipped_orders
4952
+
4953
+ # Number of ordered items not shipped up until the end of the queried day. If a
4954
+ # multi-day period is specified in the search query, the returned value is the
4955
+ # average number of unshipped items over the days in the queried period.
4956
+ # Corresponds to the JSON property `unshippedItems`
4957
+ # @return [Float]
4958
+ attr_accessor :unshipped_items
4959
+
4960
+ # Number of orders not shipped or partially shipped up until the end of the
4961
+ # queried day. If a multi-day period is specified in the search query, the
4962
+ # returned value is the average number of unshipped orders over the days in the
4963
+ # queried period. **This metric cannot be segmented by product dimensions.**
4964
+ # Corresponds to the JSON property `unshippedOrders`
4965
+ # @return [Float]
4966
+ attr_accessor :unshipped_orders
4967
+
4843
4968
  def initialize(**args)
4844
4969
  update!(**args)
4845
4970
  end
4846
4971
 
4847
4972
  # Update properties of this object
4848
4973
  def update!(**args)
4974
+ @aos = args[:aos] if args.key?(:aos)
4975
+ @aov_micros = args[:aov_micros] if args.key?(:aov_micros)
4849
4976
  @clicks = args[:clicks] if args.key?(:clicks)
4850
4977
  @ctr = args[:ctr] if args.key?(:ctr)
4978
+ @days_to_ship = args[:days_to_ship] if args.key?(:days_to_ship)
4851
4979
  @impressions = args[:impressions] if args.key?(:impressions)
4980
+ @item_days_to_ship = args[:item_days_to_ship] if args.key?(:item_days_to_ship)
4981
+ @item_fill_rate = args[:item_fill_rate] if args.key?(:item_fill_rate)
4982
+ @ordered_item_sales_micros = args[:ordered_item_sales_micros] if args.key?(:ordered_item_sales_micros)
4983
+ @ordered_items = args[:ordered_items] if args.key?(:ordered_items)
4984
+ @orders = args[:orders] if args.key?(:orders)
4985
+ @rejected_items = args[:rejected_items] if args.key?(:rejected_items)
4986
+ @return_rate = args[:return_rate] if args.key?(:return_rate)
4987
+ @returned_items = args[:returned_items] if args.key?(:returned_items)
4988
+ @returns_micros = args[:returns_micros] if args.key?(:returns_micros)
4989
+ @shipped_item_sales_micros = args[:shipped_item_sales_micros] if args.key?(:shipped_item_sales_micros)
4990
+ @shipped_items = args[:shipped_items] if args.key?(:shipped_items)
4991
+ @shipped_orders = args[:shipped_orders] if args.key?(:shipped_orders)
4992
+ @unshipped_items = args[:unshipped_items] if args.key?(:unshipped_items)
4993
+ @unshipped_orders = args[:unshipped_orders] if args.key?(:unshipped_orders)
4852
4994
  end
4853
4995
  end
4854
4996
 
@@ -6306,14 +6448,15 @@ module Google
6306
6448
  # Turkish Post) - "`eub`" (ePacket) - "`chukou1`" (Chukou1 Logistics) - "`bestex`
6307
6449
  # " (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) -
6308
6450
  # "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) -
6309
- # "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India)
6310
- # Supported carriers for FR are: - "`la poste`" (La Poste) *automatic status
6311
- # updates * - "`colissimo`" (Colissimo by La Poste) *automatic status updates* -
6312
- # "`ups`" (United Parcel Service) *automatic status updates * - "`chronopost`" (
6313
- # Chronopost by La Poste) - "`gls`" (General Logistics Systems France) - "`dpd`"
6314
- # (DPD Group by GeoPost) - "`bpost`" (Belgian Post Group) - "`colis prive`" (
6315
- # Colis Privé) - "`boxtal`" (Boxtal) - "`geodis`" (GEODIS) - "`tnt`" (TNT) - "`
6316
- # db schenker`" (DB Schenker) - "`aramex`" (Aramex)
6451
+ # "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India) - "`
6452
+ # lso`" (Lone Star Overnight) - "`tww`" (Team Worldwide) Supported carriers for
6453
+ # FR are: - "`la poste`" (La Poste) *automatic status updates * - "`colissimo`" (
6454
+ # Colissimo by La Poste) *automatic status updates* - "`ups`" (United Parcel
6455
+ # Service) *automatic status updates * - "`chronopost`" (Chronopost by La Poste)
6456
+ # - "`gls`" (General Logistics Systems France) - "`dpd`" (DPD Group by GeoPost) -
6457
+ # "`bpost`" (Belgian Post Group) - "`colis prive`" (Colis Privé) - "`boxtal`" (
6458
+ # Boxtal) - "`geodis`" (GEODIS) - "`tnt`" (TNT) - "`db schenker`" (DB Schenker) -
6459
+ # "`aramex`" (Aramex)
6317
6460
  # Corresponds to the JSON property `carrier`
6318
6461
  # @return [String]
6319
6462
  attr_accessor :carrier
@@ -9954,6 +10097,11 @@ module Google
9954
10097
  # @return [String]
9955
10098
  attr_accessor :link
9956
10099
 
10100
+ # URL template for merchant hosted local storefront.
10101
+ # Corresponds to the JSON property `linkTemplate`
10102
+ # @return [String]
10103
+ attr_accessor :link_template
10104
+
9957
10105
  # Loyalty points that users receive after purchasing the item. Japan only.
9958
10106
  # Corresponds to the JSON property `loyaltyPoints`
9959
10107
  # @return [Google::Apis::ContentV2_1::LoyaltyPoints]
@@ -9989,6 +10137,11 @@ module Google
9989
10137
  # @return [String]
9990
10138
  attr_accessor :mobile_link
9991
10139
 
10140
+ # URL template for merchant hosted local storefront optimized for mobile devices.
10141
+ # Corresponds to the JSON property `mobileLinkTemplate`
10142
+ # @return [String]
10143
+ attr_accessor :mobile_link_template
10144
+
9992
10145
  # Manufacturer Part Number (MPN) of the item.
9993
10146
  # Corresponds to the JSON property `mpn`
9994
10147
  # @return [String]
@@ -10013,6 +10166,19 @@ module Google
10013
10166
  # @return [String]
10014
10167
  attr_accessor :pattern
10015
10168
 
10169
+ # The pick up option for the item. Acceptable values are: - "`buy`" - "`reserve`"
10170
+ # - "`ship to store`" - "`not supported`"
10171
+ # Corresponds to the JSON property `pickupMethod`
10172
+ # @return [String]
10173
+ attr_accessor :pickup_method
10174
+
10175
+ # Item store pickup timeline. Acceptable values are: - "`same day`" - "`next day`
10176
+ # " - "`2-day`" - "`3-day`" - "`4-day`" - "`5-day`" - "`6-day`" - "`7-day`" - "`
10177
+ # multi-week`"
10178
+ # Corresponds to the JSON property `pickupSla`
10179
+ # @return [String]
10180
+ attr_accessor :pickup_sla
10181
+
10016
10182
  # Price of the item.
10017
10183
  # Corresponds to the JSON property `price`
10018
10184
  # @return [Google::Apis::ContentV2_1::Price]
@@ -10207,6 +10373,7 @@ module Google
10207
10373
  @item_group_id = args[:item_group_id] if args.key?(:item_group_id)
10208
10374
  @kind = args[:kind] if args.key?(:kind)
10209
10375
  @link = args[:link] if args.key?(:link)
10376
+ @link_template = args[:link_template] if args.key?(:link_template)
10210
10377
  @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
10211
10378
  @material = args[:material] if args.key?(:material)
10212
10379
  @max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class)
@@ -10214,10 +10381,13 @@ module Google
10214
10381
  @min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class)
10215
10382
  @min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
10216
10383
  @mobile_link = args[:mobile_link] if args.key?(:mobile_link)
10384
+ @mobile_link_template = args[:mobile_link_template] if args.key?(:mobile_link_template)
10217
10385
  @mpn = args[:mpn] if args.key?(:mpn)
10218
10386
  @multipack = args[:multipack] if args.key?(:multipack)
10219
10387
  @offer_id = args[:offer_id] if args.key?(:offer_id)
10220
10388
  @pattern = args[:pattern] if args.key?(:pattern)
10389
+ @pickup_method = args[:pickup_method] if args.key?(:pickup_method)
10390
+ @pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla)
10221
10391
  @price = args[:price] if args.key?(:price)
10222
10392
  @product_details = args[:product_details] if args.key?(:product_details)
10223
10393
  @product_highlights = args[:product_highlights] if args.key?(:product_highlights)
@@ -10827,11 +10997,12 @@ module Google
10827
10997
  # @return [String]
10828
10998
  attr_accessor :product_id
10829
10999
 
10830
- # The list of product attributes to be updated. Attributes specified in the
10831
- # update mask without a value specified in the body will be deleted from the
10832
- # product. Only top-level product attributes can be updated. If not defined,
10833
- # product attributes with set values will be updated and other attributes will
10834
- # stay unchanged. Only defined if the method is `update`.
11000
+ # The comma-separated list of product attributes to be updated. Example: `"title,
11001
+ # salePrice"`. Attributes specified in the update mask without a value specified
11002
+ # in the body will be deleted from the product. Only top-level product
11003
+ # attributes can be updated. If not defined, product attributes with set values
11004
+ # will be updated and other attributes will stay unchanged. Only defined if the
11005
+ # method is `update`.
10835
11006
  # Corresponds to the JSON property `updateMask`
10836
11007
  # @return [String]
10837
11008
  attr_accessor :update_mask
@@ -13174,6 +13345,68 @@ module Google
13174
13345
  class Segments
13175
13346
  include Google::Apis::Core::Hashable
13176
13347
 
13348
+ # Brand of the product.
13349
+ # Corresponds to the JSON property `brand`
13350
+ # @return [String]
13351
+ attr_accessor :brand
13352
+
13353
+ # Product category (1st level) in Google's product taxonomy.
13354
+ # Corresponds to the JSON property `categoryL1`
13355
+ # @return [String]
13356
+ attr_accessor :category_l1
13357
+
13358
+ # Product category (2nd level) in Google's product taxonomy.
13359
+ # Corresponds to the JSON property `categoryL2`
13360
+ # @return [String]
13361
+ attr_accessor :category_l2
13362
+
13363
+ # Product category (3rd level) in Google's product taxonomy.
13364
+ # Corresponds to the JSON property `categoryL3`
13365
+ # @return [String]
13366
+ attr_accessor :category_l3
13367
+
13368
+ # Product category (4th level) in Google's product taxonomy.
13369
+ # Corresponds to the JSON property `categoryL4`
13370
+ # @return [String]
13371
+ attr_accessor :category_l4
13372
+
13373
+ # Product category (5th level) in Google's product taxonomy.
13374
+ # Corresponds to the JSON property `categoryL5`
13375
+ # @return [String]
13376
+ attr_accessor :category_l5
13377
+
13378
+ # Currency in which price metrics are represented, e.g., if you select `
13379
+ # ordered_item_sales_micros`, the returned value will be represented by this
13380
+ # currency.
13381
+ # Corresponds to the JSON property `currencyCode`
13382
+ # @return [String]
13383
+ attr_accessor :currency_code
13384
+
13385
+ # Custom label 0 for custom grouping of products.
13386
+ # Corresponds to the JSON property `customLabel0`
13387
+ # @return [String]
13388
+ attr_accessor :custom_label0
13389
+
13390
+ # Custom label 1 for custom grouping of products.
13391
+ # Corresponds to the JSON property `customLabel1`
13392
+ # @return [String]
13393
+ attr_accessor :custom_label1
13394
+
13395
+ # Custom label 2 for custom grouping of products.
13396
+ # Corresponds to the JSON property `customLabel2`
13397
+ # @return [String]
13398
+ attr_accessor :custom_label2
13399
+
13400
+ # Custom label 3 for custom grouping of products.
13401
+ # Corresponds to the JSON property `customLabel3`
13402
+ # @return [String]
13403
+ attr_accessor :custom_label3
13404
+
13405
+ # Custom label 4 for custom grouping of products.
13406
+ # Corresponds to the JSON property `customLabel4`
13407
+ # @return [String]
13408
+ attr_accessor :custom_label4
13409
+
13177
13410
  # Represents a whole or partial calendar date, such as a birthday. The time of
13178
13411
  # day and time zone are either specified elsewhere or are insignificant. The
13179
13412
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -13191,20 +13424,81 @@ module Google
13191
13424
  # @return [String]
13192
13425
  attr_accessor :offer_id
13193
13426
 
13427
+ # Product category (1st level) in merchant's own product taxonomy.
13428
+ # Corresponds to the JSON property `productTypeL1`
13429
+ # @return [String]
13430
+ attr_accessor :product_type_l1
13431
+
13432
+ # Product category (2nd level) in merchant's own product taxonomy.
13433
+ # Corresponds to the JSON property `productTypeL2`
13434
+ # @return [String]
13435
+ attr_accessor :product_type_l2
13436
+
13437
+ # Product category (3rd level) in merchant's own product taxonomy.
13438
+ # Corresponds to the JSON property `productTypeL3`
13439
+ # @return [String]
13440
+ attr_accessor :product_type_l3
13441
+
13442
+ # Product category (4th level) in merchant's own product taxonomy.
13443
+ # Corresponds to the JSON property `productTypeL4`
13444
+ # @return [String]
13445
+ attr_accessor :product_type_l4
13446
+
13447
+ # Product category (5th level) in merchant's own product taxonomy.
13448
+ # Corresponds to the JSON property `productTypeL5`
13449
+ # @return [String]
13450
+ attr_accessor :product_type_l5
13451
+
13194
13452
  # Program to which metrics apply, e.g., Free Product Listing.
13195
13453
  # Corresponds to the JSON property `program`
13196
13454
  # @return [String]
13197
13455
  attr_accessor :program
13198
13456
 
13457
+ # Title of the product.
13458
+ # Corresponds to the JSON property `title`
13459
+ # @return [String]
13460
+ attr_accessor :title
13461
+
13462
+ # Represents a whole or partial calendar date, such as a birthday. The time of
13463
+ # day and time zone are either specified elsewhere or are insignificant. The
13464
+ # date is relative to the Gregorian Calendar. This can represent one of the
13465
+ # following: * A full date, with non-zero year, month, and day values * A month
13466
+ # and day value, with a zero year, such as an anniversary * A year on its own,
13467
+ # with zero month and day values * A year and month value, with a zero day, such
13468
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
13469
+ # google.protobuf.Timestamp`.
13470
+ # Corresponds to the JSON property `week`
13471
+ # @return [Google::Apis::ContentV2_1::Date]
13472
+ attr_accessor :week
13473
+
13199
13474
  def initialize(**args)
13200
13475
  update!(**args)
13201
13476
  end
13202
13477
 
13203
13478
  # Update properties of this object
13204
13479
  def update!(**args)
13480
+ @brand = args[:brand] if args.key?(:brand)
13481
+ @category_l1 = args[:category_l1] if args.key?(:category_l1)
13482
+ @category_l2 = args[:category_l2] if args.key?(:category_l2)
13483
+ @category_l3 = args[:category_l3] if args.key?(:category_l3)
13484
+ @category_l4 = args[:category_l4] if args.key?(:category_l4)
13485
+ @category_l5 = args[:category_l5] if args.key?(:category_l5)
13486
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
13487
+ @custom_label0 = args[:custom_label0] if args.key?(:custom_label0)
13488
+ @custom_label1 = args[:custom_label1] if args.key?(:custom_label1)
13489
+ @custom_label2 = args[:custom_label2] if args.key?(:custom_label2)
13490
+ @custom_label3 = args[:custom_label3] if args.key?(:custom_label3)
13491
+ @custom_label4 = args[:custom_label4] if args.key?(:custom_label4)
13205
13492
  @date = args[:date] if args.key?(:date)
13206
13493
  @offer_id = args[:offer_id] if args.key?(:offer_id)
13494
+ @product_type_l1 = args[:product_type_l1] if args.key?(:product_type_l1)
13495
+ @product_type_l2 = args[:product_type_l2] if args.key?(:product_type_l2)
13496
+ @product_type_l3 = args[:product_type_l3] if args.key?(:product_type_l3)
13497
+ @product_type_l4 = args[:product_type_l4] if args.key?(:product_type_l4)
13498
+ @product_type_l5 = args[:product_type_l5] if args.key?(:product_type_l5)
13207
13499
  @program = args[:program] if args.key?(:program)
13500
+ @title = args[:title] if args.key?(:title)
13501
+ @week = args[:week] if args.key?(:week)
13208
13502
  end
13209
13503
  end
13210
13504
 
@@ -14772,7 +15066,8 @@ module Google
14772
15066
  # @return [String]
14773
15067
  attr_accessor :unit
14774
15068
 
14775
- # Required. The weight represented as a number.
15069
+ # Required. The weight represented as a number. The weight can have a maximum
15070
+ # precision of four decimal places.
14776
15071
  # Corresponds to the JSON property `value`
14777
15072
  # @return [String]
14778
15073
  attr_accessor :value
@@ -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.11.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210514"
25
+ REVISION = "20210624"
26
26
  end
27
27
  end
28
28
  end
@@ -3568,9 +3568,26 @@ module Google
3568
3568
  class Metrics
3569
3569
  # @private
3570
3570
  class Representation < Google::Apis::Core::JsonRepresentation
3571
+ property :aos, as: 'aos'
3572
+ property :aov_micros, as: 'aovMicros'
3571
3573
  property :clicks, :numeric_string => true, as: 'clicks'
3572
3574
  property :ctr, as: 'ctr'
3575
+ property :days_to_ship, as: 'daysToShip'
3573
3576
  property :impressions, :numeric_string => true, as: 'impressions'
3577
+ property :item_days_to_ship, as: 'itemDaysToShip'
3578
+ property :item_fill_rate, as: 'itemFillRate'
3579
+ property :ordered_item_sales_micros, :numeric_string => true, as: 'orderedItemSalesMicros'
3580
+ property :ordered_items, :numeric_string => true, as: 'orderedItems'
3581
+ property :orders, :numeric_string => true, as: 'orders'
3582
+ property :rejected_items, :numeric_string => true, as: 'rejectedItems'
3583
+ property :return_rate, as: 'returnRate'
3584
+ property :returned_items, :numeric_string => true, as: 'returnedItems'
3585
+ property :returns_micros, :numeric_string => true, as: 'returnsMicros'
3586
+ property :shipped_item_sales_micros, :numeric_string => true, as: 'shippedItemSalesMicros'
3587
+ property :shipped_items, :numeric_string => true, as: 'shippedItems'
3588
+ property :shipped_orders, :numeric_string => true, as: 'shippedOrders'
3589
+ property :unshipped_items, as: 'unshippedItems'
3590
+ property :unshipped_orders, as: 'unshippedOrders'
3574
3591
  end
3575
3592
  end
3576
3593
 
@@ -4925,6 +4942,7 @@ module Google
4925
4942
  property :item_group_id, as: 'itemGroupId'
4926
4943
  property :kind, as: 'kind'
4927
4944
  property :link, as: 'link'
4945
+ property :link_template, as: 'linkTemplate'
4928
4946
  property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2_1::LoyaltyPoints, decorator: Google::Apis::ContentV2_1::LoyaltyPoints::Representation
4929
4947
 
4930
4948
  property :material, as: 'material'
@@ -4933,10 +4951,13 @@ module Google
4933
4951
  property :min_energy_efficiency_class, as: 'minEnergyEfficiencyClass'
4934
4952
  property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'
4935
4953
  property :mobile_link, as: 'mobileLink'
4954
+ property :mobile_link_template, as: 'mobileLinkTemplate'
4936
4955
  property :mpn, as: 'mpn'
4937
4956
  property :multipack, :numeric_string => true, as: 'multipack'
4938
4957
  property :offer_id, as: 'offerId'
4939
4958
  property :pattern, as: 'pattern'
4959
+ property :pickup_method, as: 'pickupMethod'
4960
+ property :pickup_sla, as: 'pickupSla'
4940
4961
  property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
4941
4962
 
4942
4963
  collection :product_details, as: 'productDetails', class: Google::Apis::ContentV2_1::ProductProductDetail, decorator: Google::Apis::ContentV2_1::ProductProductDetail::Representation
@@ -5798,10 +5819,30 @@ module Google
5798
5819
  class Segments
5799
5820
  # @private
5800
5821
  class Representation < Google::Apis::Core::JsonRepresentation
5822
+ property :brand, as: 'brand'
5823
+ property :category_l1, as: 'categoryL1'
5824
+ property :category_l2, as: 'categoryL2'
5825
+ property :category_l3, as: 'categoryL3'
5826
+ property :category_l4, as: 'categoryL4'
5827
+ property :category_l5, as: 'categoryL5'
5828
+ property :currency_code, as: 'currencyCode'
5829
+ property :custom_label0, as: 'customLabel0'
5830
+ property :custom_label1, as: 'customLabel1'
5831
+ property :custom_label2, as: 'customLabel2'
5832
+ property :custom_label3, as: 'customLabel3'
5833
+ property :custom_label4, as: 'customLabel4'
5801
5834
  property :date, as: 'date', class: Google::Apis::ContentV2_1::Date, decorator: Google::Apis::ContentV2_1::Date::Representation
5802
5835
 
5803
5836
  property :offer_id, as: 'offerId'
5837
+ property :product_type_l1, as: 'productTypeL1'
5838
+ property :product_type_l2, as: 'productTypeL2'
5839
+ property :product_type_l3, as: 'productTypeL3'
5840
+ property :product_type_l4, as: 'productTypeL4'
5841
+ property :product_type_l5, as: 'productTypeL5'
5804
5842
  property :program, as: 'program'
5843
+ property :title, as: 'title'
5844
+ property :week, as: 'week', class: Google::Apis::ContentV2_1::Date, decorator: Google::Apis::ContentV2_1::Date::Representation
5845
+
5805
5846
  end
5806
5847
  end
5807
5848
 
@@ -4035,11 +4035,11 @@ module Google
4035
4035
  # The REST ID of the product for which to update.
4036
4036
  # @param [Google::Apis::ContentV2_1::Product] product_object
4037
4037
  # @param [String] update_mask
4038
- # The list of product attributes to be updated. Attributes specified in the
4039
- # update mask without a value specified in the body will be deleted from the
4040
- # product. Only top-level product attributes can be updated. If not defined,
4041
- # product attributes with set values will be updated and other attributes will
4042
- # stay unchanged.
4038
+ # The comma-separated list of product attributes to be updated. Example: `"title,
4039
+ # salePrice"`. Attributes specified in the update mask without a value specified
4040
+ # in the body will be deleted from the product. Only top-level product
4041
+ # attributes can be updated. If not defined, product attributes with set values
4042
+ # will be updated and other attributes will stay unchanged.
4043
4043
  # @param [String] fields
4044
4044
  # Selector specifying which fields to include in a partial response.
4045
4045
  # @param [String] quota_user
@@ -4523,7 +4523,8 @@ module Google
4523
4523
  # Required. The id of the region to update.
4524
4524
  # @param [Google::Apis::ContentV2_1::Region] region_object
4525
4525
  # @param [String] update_mask
4526
- # Optional. The field mask indicating the fields to update.
4526
+ # Optional. The comma-separated field mask indicating the fields to update.
4527
+ # Example: `"displayName,postalCodeArea.regionCode"`.
4527
4528
  # @param [String] fields
4528
4529
  # Selector specifying which fields to include in a partial response.
4529
4530
  # @param [String] quota_user
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-content_v2_1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.16.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: 2021-05-24 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Content API for Shopping V2_1. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2_1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.16.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2_1
57
63
  post_install_message:
58
64
  rdoc_options: []