google-api-client 0.9.8 → 0.9.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/Gemfile +9 -1
  4. data/README.md +10 -2
  5. data/api_names.yaml +63 -110
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +260 -13
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +81 -0
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  16. data/generated/google/apis/admin_directory_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/classes.rb +86 -0
  18. data/generated/google/apis/admin_directory_v1/representations.rb +24 -0
  19. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  20. data/generated/google/apis/admin_reports_v1.rb +3 -3
  21. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  22. data/generated/google/apis/adsense_v1_4.rb +1 -1
  23. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  24. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  26. data/generated/google/apis/analytics_v3.rb +1 -1
  27. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  28. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  29. data/generated/google/apis/analytics_v3/service.rb +217 -0
  30. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  31. data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidenterprise_v1/classes.rb +813 -49
  34. data/generated/google/apis/androidenterprise_v1/representations.rb +336 -0
  35. data/generated/google/apis/androidenterprise_v1/service.rb +1234 -145
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/classes.rb +47 -8
  38. data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
  39. data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
  40. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  41. data/generated/google/apis/appengine_v1beta5/classes.rb +516 -313
  42. data/generated/google/apis/appengine_v1beta5/representations.rb +115 -22
  43. data/generated/google/apis/appengine_v1beta5/service.rb +329 -33
  44. data/generated/google/apis/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  46. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  47. data/generated/google/apis/appstate_v1.rb +1 -1
  48. data/generated/google/apis/bigquery_v2.rb +1 -1
  49. data/generated/google/apis/bigquery_v2/classes.rb +277 -20
  50. data/generated/google/apis/bigquery_v2/representations.rb +86 -0
  51. data/generated/google/apis/bigquery_v2/service.rb +8 -2
  52. data/generated/google/apis/books_v1.rb +2 -2
  53. data/generated/google/apis/books_v1/classes.rb +79 -1
  54. data/generated/google/apis/books_v1/representations.rb +34 -0
  55. data/generated/google/apis/books_v1/service.rb +7 -3
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/civicinfo_v2.rb +3 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  59. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  61. data/generated/google/apis/classroom_v1.rb +1 -1
  62. data/generated/google/apis/classroom_v1/classes.rb +183 -37
  63. data/generated/google/apis/classroom_v1/representations.rb +74 -9
  64. data/generated/google/apis/classroom_v1/service.rb +403 -38
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1/classes.rb +381 -17
  67. data/generated/google/apis/cloudbuild_v1/representations.rb +137 -2
  68. data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
  69. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  70. data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
  71. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  73. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +502 -111
  74. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +162 -24
  75. data/generated/google/apis/cloudresourcemanager_v1/service.rb +274 -30
  76. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  77. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +121 -9
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +46 -0
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +71 -58
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +2299 -434
  82. data/generated/google/apis/compute_beta/representations.rb +752 -33
  83. data/generated/google/apis/compute_beta/service.rb +6067 -3153
  84. data/generated/google/apis/compute_v1.rb +1 -1
  85. data/generated/google/apis/compute_v1/classes.rb +1681 -207
  86. data/generated/google/apis/compute_v1/representations.rb +552 -0
  87. data/generated/google/apis/compute_v1/service.rb +2797 -1171
  88. data/generated/google/apis/content_v2.rb +1 -1
  89. data/generated/google/apis/content_v2/classes.rb +757 -1
  90. data/generated/google/apis/content_v2/representations.rb +337 -0
  91. data/generated/google/apis/content_v2/service.rb +244 -0
  92. data/generated/google/apis/dataflow_v1b3.rb +38 -0
  93. data/generated/google/apis/dataflow_v1b3/classes.rb +4053 -0
  94. data/generated/google/apis/dataflow_v1b3/representations.rb +1736 -0
  95. data/generated/google/apis/dataflow_v1b3/service.rb +875 -0
  96. data/generated/google/apis/dataproc_v1.rb +2 -2
  97. data/generated/google/apis/dataproc_v1/classes.rb +213 -68
  98. data/generated/google/apis/dataproc_v1/representations.rb +38 -0
  99. data/generated/google/apis/dataproc_v1/service.rb +78 -48
  100. data/generated/google/apis/datastore_v1.rb +38 -0
  101. data/generated/google/apis/datastore_v1/classes.rb +1284 -0
  102. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  103. data/generated/google/apis/datastore_v1/service.rb +259 -0
  104. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  105. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  106. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  107. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  108. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  109. data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
  110. data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
  111. data/generated/google/apis/deploymentmanager_v2/service.rb +217 -55
  112. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  113. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  114. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  115. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  116. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  117. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  118. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  119. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +1 -1
  122. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  123. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  124. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +27 -3
  129. data/generated/google/apis/drive_v2/representations.rb +4 -0
  130. data/generated/google/apis/drive_v2/service.rb +16 -3
  131. data/generated/google/apis/drive_v3.rb +1 -1
  132. data/generated/google/apis/drive_v3/classes.rb +50 -16
  133. data/generated/google/apis/drive_v3/representations.rb +4 -0
  134. data/generated/google/apis/drive_v3/service.rb +12 -2
  135. data/generated/google/apis/fitness_v1.rb +8 -2
  136. data/generated/google/apis/fitness_v1/classes.rb +64 -6
  137. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  138. data/generated/google/apis/fitness_v1/service.rb +17 -18
  139. data/generated/google/apis/fusiontables_v2.rb +1 -1
  140. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_management_v1management.rb +1 -1
  143. data/generated/google/apis/games_v1.rb +1 -1
  144. data/generated/google/apis/genomics_v1.rb +2 -4
  145. data/generated/google/apis/genomics_v1/classes.rb +143 -34
  146. data/generated/google/apis/genomics_v1/representations.rb +48 -11
  147. data/generated/google/apis/genomics_v1/service.rb +35 -37
  148. data/generated/google/apis/gmail_v1.rb +10 -1
  149. data/generated/google/apis/gmail_v1/classes.rb +542 -4
  150. data/generated/google/apis/gmail_v1/representations.rb +213 -0
  151. data/generated/google/apis/gmail_v1/service.rb +898 -1
  152. data/generated/google/apis/groupssettings_v1.rb +1 -1
  153. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  154. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  155. data/generated/google/apis/iam_v1.rb +2 -2
  156. data/generated/google/apis/iam_v1/classes.rb +181 -206
  157. data/generated/google/apis/iam_v1/representations.rb +36 -45
  158. data/generated/google/apis/iam_v1/service.rb +101 -67
  159. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  160. data/generated/google/apis/identitytoolkit_v3/classes.rb +171 -1
  161. data/generated/google/apis/identitytoolkit_v3/representations.rb +26 -0
  162. data/generated/google/apis/language_v1beta1.rb +36 -0
  163. data/generated/google/apis/language_v1beta1/classes.rb +599 -0
  164. data/generated/google/apis/language_v1beta1/representations.rb +289 -0
  165. data/generated/google/apis/language_v1beta1/service.rb +152 -0
  166. data/generated/google/apis/logging_v2beta1.rb +6 -6
  167. data/generated/google/apis/logging_v2beta1/classes.rb +760 -731
  168. data/generated/google/apis/logging_v2beta1/representations.rb +136 -147
  169. data/generated/google/apis/logging_v2beta1/service.rb +290 -209
  170. data/generated/google/apis/mirror_v1.rb +2 -2
  171. data/generated/google/apis/mirror_v1/service.rb +1 -1
  172. data/generated/google/apis/monitoring_v3.rb +45 -0
  173. data/generated/google/apis/monitoring_v3/classes.rb +1337 -0
  174. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  175. data/generated/google/apis/monitoring_v3/service.rb +711 -0
  176. data/generated/google/apis/oauth2_v2.rb +1 -1
  177. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  178. data/generated/google/apis/plus_domains_v1.rb +1 -1
  179. data/generated/google/apis/plus_v1.rb +1 -1
  180. data/generated/google/apis/pubsub_v1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1/classes.rb +10 -9
  182. data/generated/google/apis/pubsub_v1/service.rb +128 -27
  183. data/generated/google/apis/qpx_express_v1.rb +1 -1
  184. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  185. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  186. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  187. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  188. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  189. data/generated/google/apis/script_v1.rb +1 -1
  190. data/generated/google/apis/script_v1/classes.rb +6 -0
  191. data/generated/google/apis/script_v1/representations.rb +1 -0
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +910 -89
  194. data/generated/google/apis/sheets_v4/representations.rb +194 -10
  195. data/generated/google/apis/sheets_v4/service.rb +216 -49
  196. data/generated/google/apis/slides_v1.rb +49 -0
  197. data/generated/google/apis/slides_v1/classes.rb +3926 -0
  198. data/generated/google/apis/slides_v1/representations.rb +1722 -0
  199. data/generated/google/apis/slides_v1/service.rb +202 -0
  200. data/generated/google/apis/speech_v1beta1.rb +34 -0
  201. data/generated/google/apis/speech_v1beta1/classes.rb +511 -0
  202. data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
  203. data/generated/google/apis/speech_v1beta1/service.rb +271 -0
  204. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  205. data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -8
  206. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  207. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  208. data/generated/google/apis/storage_v1.rb +1 -1
  209. data/generated/google/apis/storage_v1/classes.rb +43 -18
  210. data/generated/google/apis/storage_v1/representations.rb +4 -1
  211. data/generated/google/apis/storage_v1/service.rb +5 -2
  212. data/generated/google/apis/translate_v2.rb +2 -2
  213. data/generated/google/apis/translate_v2/service.rb +1 -1
  214. data/generated/google/apis/vision_v1.rb +1 -1
  215. data/generated/google/apis/vision_v1/classes.rb +12 -11
  216. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  217. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  218. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  219. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  220. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  221. data/generated/google/apis/youtube_v3.rb +1 -1
  222. data/generated/google/apis/youtube_v3/classes.rb +183 -21
  223. data/generated/google/apis/youtube_v3/representations.rb +85 -4
  224. data/generated/google/apis/youtube_v3/service.rb +41 -5
  225. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  226. data/google-api-client.gemspec +2 -1
  227. data/lib/google/apis/core/api_command.rb +4 -0
  228. data/lib/google/apis/core/base_service.rb +10 -4
  229. data/lib/google/apis/core/download.rb +7 -2
  230. data/lib/google/apis/core/http_command.rb +5 -1
  231. data/lib/google/apis/core/upload.rb +7 -1
  232. data/lib/google/apis/errors.rb +2 -2
  233. data/lib/google/apis/generator/annotator.rb +6 -0
  234. data/lib/google/apis/version.rb +1 -1
  235. data/samples/cli/lib/samples/bigquery.rb +101 -0
  236. data/samples/cli/lib/samples/sheets.rb +61 -0
  237. data/sync.rb +71 -0
  238. metadata +55 -13
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20160520'
29
+ REVISION = '20161027'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -493,6 +493,18 @@ module Google
493
493
  # @return [Google::Apis::ContentV2::AccountShippingShippingServiceCostRule]
494
494
  attr_accessor :cost_rule_tree
495
495
 
496
+ # The maximum number of days in transit. Must be a value between 0 and 250
497
+ # included. A value of 0 means same day delivery.
498
+ # Corresponds to the JSON property `maxDaysInTransit`
499
+ # @return [String]
500
+ attr_accessor :max_days_in_transit
501
+
502
+ # The minimum number of days in transit. Must be a value between 0 and
503
+ # maxDaysIntransit included. A value of 0 means same day delivery.
504
+ # Corresponds to the JSON property `minDaysInTransit`
505
+ # @return [String]
506
+ attr_accessor :min_days_in_transit
507
+
496
508
  # The name of this shipping service.
497
509
  # Corresponds to the JSON property `name`
498
510
  # @return [String]
@@ -512,6 +524,8 @@ module Google
512
524
  @active = args[:active] if args.key?(:active)
513
525
  @calculation_method = args[:calculation_method] if args.key?(:calculation_method)
514
526
  @cost_rule_tree = args[:cost_rule_tree] if args.key?(:cost_rule_tree)
527
+ @max_days_in_transit = args[:max_days_in_transit] if args.key?(:max_days_in_transit)
528
+ @min_days_in_transit = args[:min_days_in_transit] if args.key?(:min_days_in_transit)
515
529
  @name = args[:name] if args.key?(:name)
516
530
  @sale_country = args[:sale_country] if args.key?(:sale_country)
517
531
  end
@@ -1499,6 +1513,93 @@ module Google
1499
1513
  end
1500
1514
  end
1501
1515
 
1516
+ #
1517
+ class CarrierRate
1518
+ include Google::Apis::Core::Hashable
1519
+
1520
+ # Carrier service, such as "UPS" or "Fedex". The list of supported carriers can
1521
+ # be retrieved via the getSupportedCarriers method. Required.
1522
+ # Corresponds to the JSON property `carrierName`
1523
+ # @return [String]
1524
+ attr_accessor :carrier_name
1525
+
1526
+ # Carrier service, such as "ground" or "2 days". The list of supported services
1527
+ # for a carrier can be retrieved via the getSupportedCarriers method. Required.
1528
+ # Corresponds to the JSON property `carrierService`
1529
+ # @return [String]
1530
+ attr_accessor :carrier_service
1531
+
1532
+ # Additive shipping rate modifier. Can be negative. For example ` "value": "1", "
1533
+ # currency" : "USD" ` adds $1 to the rate, ` "value": "-3", "currency" : "USD" `
1534
+ # removes $3 from the rate. Optional.
1535
+ # Corresponds to the JSON property `flatAdjustment`
1536
+ # @return [Google::Apis::ContentV2::Price]
1537
+ attr_accessor :flat_adjustment
1538
+
1539
+ # Name of the carrier rate. Must be unique per rate group. Required.
1540
+ # Corresponds to the JSON property `name`
1541
+ # @return [String]
1542
+ attr_accessor :name
1543
+
1544
+ # Shipping origin for this carrier rate. Required.
1545
+ # Corresponds to the JSON property `originPostalCode`
1546
+ # @return [String]
1547
+ attr_accessor :origin_postal_code
1548
+
1549
+ # Multiplicative shipping rate modifier as a number in decimal notation. Can be
1550
+ # negative. For example "5.4" increases the rate by 5.4%, "-3" decreases the
1551
+ # rate by 3%. Optional.
1552
+ # Corresponds to the JSON property `percentageAdjustment`
1553
+ # @return [String]
1554
+ attr_accessor :percentage_adjustment
1555
+
1556
+ def initialize(**args)
1557
+ update!(**args)
1558
+ end
1559
+
1560
+ # Update properties of this object
1561
+ def update!(**args)
1562
+ @carrier_name = args[:carrier_name] if args.key?(:carrier_name)
1563
+ @carrier_service = args[:carrier_service] if args.key?(:carrier_service)
1564
+ @flat_adjustment = args[:flat_adjustment] if args.key?(:flat_adjustment)
1565
+ @name = args[:name] if args.key?(:name)
1566
+ @origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
1567
+ @percentage_adjustment = args[:percentage_adjustment] if args.key?(:percentage_adjustment)
1568
+ end
1569
+ end
1570
+
1571
+ #
1572
+ class CarriersCarrier
1573
+ include Google::Apis::Core::Hashable
1574
+
1575
+ # The CLDR country code of the carrier (e.g., "US"). Always present.
1576
+ # Corresponds to the JSON property `country`
1577
+ # @return [String]
1578
+ attr_accessor :country
1579
+
1580
+ # The name of the carrier (e.g., "UPS"). Always present.
1581
+ # Corresponds to the JSON property `name`
1582
+ # @return [String]
1583
+ attr_accessor :name
1584
+
1585
+ # A list of supported services (e.g., "ground") for that carrier. Contains at
1586
+ # least one service.
1587
+ # Corresponds to the JSON property `services`
1588
+ # @return [Array<String>]
1589
+ attr_accessor :services
1590
+
1591
+ def initialize(**args)
1592
+ update!(**args)
1593
+ end
1594
+
1595
+ # Update properties of this object
1596
+ def update!(**args)
1597
+ @country = args[:country] if args.key?(:country)
1598
+ @name = args[:name] if args.key?(:name)
1599
+ @services = args[:services] if args.key?(:services)
1600
+ end
1601
+ end
1602
+
1502
1603
  # Datafeed data.
1503
1604
  class Datafeed
1504
1605
  include Google::Apis::Core::Hashable
@@ -2116,6 +2217,34 @@ module Google
2116
2217
  end
2117
2218
  end
2118
2219
 
2220
+ #
2221
+ class DeliveryTime
2222
+ include Google::Apis::Core::Hashable
2223
+
2224
+ # Maximum number of business days that is spent in transit. 0 means same day
2225
+ # delivery, 1 means next day delivery. Must be greater than or equal to
2226
+ # minTransitTimeInDays. Required.
2227
+ # Corresponds to the JSON property `maxTransitTimeInDays`
2228
+ # @return [Fixnum]
2229
+ attr_accessor :max_transit_time_in_days
2230
+
2231
+ # Minimum number of business days that is spent in transit. 0 means same day
2232
+ # delivery, 1 means next day delivery. Required.
2233
+ # Corresponds to the JSON property `minTransitTimeInDays`
2234
+ # @return [Fixnum]
2235
+ attr_accessor :min_transit_time_in_days
2236
+
2237
+ def initialize(**args)
2238
+ update!(**args)
2239
+ end
2240
+
2241
+ # Update properties of this object
2242
+ def update!(**args)
2243
+ @max_transit_time_in_days = args[:max_transit_time_in_days] if args.key?(:max_transit_time_in_days)
2244
+ @min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
2245
+ end
2246
+ end
2247
+
2119
2248
  # An error returned by the API.
2120
2249
  class Error
2121
2250
  include Google::Apis::Core::Hashable
@@ -2178,6 +2307,63 @@ module Google
2178
2307
  end
2179
2308
  end
2180
2309
 
2310
+ # A non-empty list of row or column headers for a table. Exactly one of prices,
2311
+ # weights, numItems, postalCodeGroupNames, or locations must be set.
2312
+ class Headers
2313
+ include Google::Apis::Core::Hashable
2314
+
2315
+ # A list of location ID sets. Must be non-empty. Can only be set if all other
2316
+ # fields are not set.
2317
+ # Corresponds to the JSON property `locations`
2318
+ # @return [Array<Google::Apis::ContentV2::LocationIdSet>]
2319
+ attr_accessor :locations
2320
+
2321
+ # A list of inclusive number of items upper bounds. The last value can be "
2322
+ # infinity". For example ["10", "50", "infinity"] represents the headers "<= 10
2323
+ # items", " 50 items". Must be non-empty. Can only be set if all other fields
2324
+ # are not set.
2325
+ # Corresponds to the JSON property `numberOfItems`
2326
+ # @return [Array<String>]
2327
+ attr_accessor :number_of_items
2328
+
2329
+ # A list of postal group names. The last value can be "all other locations".
2330
+ # Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code
2331
+ # groups must match the delivery country of the service. Must be non-empty. Can
2332
+ # only be set if all other fields are not set.
2333
+ # Corresponds to the JSON property `postalCodeGroupNames`
2334
+ # @return [Array<String>]
2335
+ attr_accessor :postal_code_group_names
2336
+
2337
+ # be "infinity". For example [`"value": "10", "currency": "USD"`, `"value": "500"
2338
+ # , "currency": "USD"`, `"value": "infinity", "currency": "USD"`] represents the
2339
+ # headers "<= $10", " $500". All prices within a service must have the same
2340
+ # currency. Must be non-empty. Can only be set if all other fields are not set.
2341
+ # Corresponds to the JSON property `prices`
2342
+ # @return [Array<Google::Apis::ContentV2::Price>]
2343
+ attr_accessor :prices
2344
+
2345
+ # be "infinity". For example [`"value": "10", "unit": "kg"`, `"value": "50", "
2346
+ # unit": "kg"`, `"value": "infinity", "unit": "kg"`] represents the headers "<=
2347
+ # 10kg", " 50kg". All weights within a service must have the same unit. Must be
2348
+ # non-empty. Can only be set if all other fields are not set.
2349
+ # Corresponds to the JSON property `weights`
2350
+ # @return [Array<Google::Apis::ContentV2::Weight>]
2351
+ attr_accessor :weights
2352
+
2353
+ def initialize(**args)
2354
+ update!(**args)
2355
+ end
2356
+
2357
+ # Update properties of this object
2358
+ def update!(**args)
2359
+ @locations = args[:locations] if args.key?(:locations)
2360
+ @number_of_items = args[:number_of_items] if args.key?(:number_of_items)
2361
+ @postal_code_group_names = args[:postal_code_group_names] if args.key?(:postal_code_group_names)
2362
+ @prices = args[:prices] if args.key?(:prices)
2363
+ @weights = args[:weights] if args.key?(:weights)
2364
+ end
2365
+ end
2366
+
2181
2367
  #
2182
2368
  class Installment
2183
2369
  include Google::Apis::Core::Hashable
@@ -2228,6 +2414,14 @@ module Google
2228
2414
  # @return [Google::Apis::ContentV2::LoyaltyPoints]
2229
2415
  attr_accessor :loyalty_points
2230
2416
 
2417
+ # Store pickup information. Only supported for local inventory. Not setting
2418
+ # pickup means "don't update" while setting it to the empty value (`` in JSON)
2419
+ # means "delete". Otherwise, pickupMethod and pickupSla must be set together,
2420
+ # unless pickupMethod is "not supported".
2421
+ # Corresponds to the JSON property `pickup`
2422
+ # @return [Google::Apis::ContentV2::InventoryPickup]
2423
+ attr_accessor :pickup
2424
+
2231
2425
  # The price of the product.
2232
2426
  # Corresponds to the JSON property `price`
2233
2427
  # @return [Google::Apis::ContentV2::Price]
@@ -2267,6 +2461,7 @@ module Google
2267
2461
  @installment = args[:installment] if args.key?(:installment)
2268
2462
  @kind = args[:kind] if args.key?(:kind)
2269
2463
  @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
2464
+ @pickup = args[:pickup] if args.key?(:pickup)
2270
2465
  @price = args[:price] if args.key?(:price)
2271
2466
  @quantity = args[:quantity] if args.key?(:quantity)
2272
2467
  @sale_price = args[:sale_price] if args.key?(:sale_price)
@@ -2396,6 +2591,36 @@ module Google
2396
2591
  end
2397
2592
  end
2398
2593
 
2594
+ #
2595
+ class InventoryPickup
2596
+ include Google::Apis::Core::Hashable
2597
+
2598
+ # Whether store pickup is available for this offer and whether the pickup option
2599
+ # should be shown as buy, reserve, or not supported. Only supported for local
2600
+ # inventory. Unless the value is "not supported", must be submitted together
2601
+ # with pickupSla.
2602
+ # Corresponds to the JSON property `pickupMethod`
2603
+ # @return [String]
2604
+ attr_accessor :pickup_method
2605
+
2606
+ # The expected date that an order will be ready for pickup, relative to when the
2607
+ # order is placed. Only supported for local inventory. Must be submitted
2608
+ # together with pickupMethod.
2609
+ # Corresponds to the JSON property `pickupSla`
2610
+ # @return [String]
2611
+ attr_accessor :pickup_sla
2612
+
2613
+ def initialize(**args)
2614
+ update!(**args)
2615
+ end
2616
+
2617
+ # Update properties of this object
2618
+ def update!(**args)
2619
+ @pickup_method = args[:pickup_method] if args.key?(:pickup_method)
2620
+ @pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla)
2621
+ end
2622
+ end
2623
+
2399
2624
  #
2400
2625
  class SetInventoryRequest
2401
2626
  include Google::Apis::Core::Hashable
@@ -2415,6 +2640,14 @@ module Google
2415
2640
  # @return [Google::Apis::ContentV2::LoyaltyPoints]
2416
2641
  attr_accessor :loyalty_points
2417
2642
 
2643
+ # Store pickup information. Only supported for local inventory. Not setting
2644
+ # pickup means "don't update" while setting it to the empty value (`` in JSON)
2645
+ # means "delete". Otherwise, pickupMethod and pickupSla must be set together,
2646
+ # unless pickupMethod is "not supported".
2647
+ # Corresponds to the JSON property `pickup`
2648
+ # @return [Google::Apis::ContentV2::InventoryPickup]
2649
+ attr_accessor :pickup
2650
+
2418
2651
  # The price of the product.
2419
2652
  # Corresponds to the JSON property `price`
2420
2653
  # @return [Google::Apis::ContentV2::Price]
@@ -2453,6 +2686,7 @@ module Google
2453
2686
  @availability = args[:availability] if args.key?(:availability)
2454
2687
  @installment = args[:installment] if args.key?(:installment)
2455
2688
  @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
2689
+ @pickup = args[:pickup] if args.key?(:pickup)
2456
2690
  @price = args[:price] if args.key?(:price)
2457
2691
  @quantity = args[:quantity] if args.key?(:quantity)
2458
2692
  @sale_price = args[:sale_price] if args.key?(:sale_price)
@@ -2481,6 +2715,26 @@ module Google
2481
2715
  end
2482
2716
  end
2483
2717
 
2718
+ #
2719
+ class LocationIdSet
2720
+ include Google::Apis::Core::Hashable
2721
+
2722
+ # A non-empty list of location IDs. They must all be of the same location type (
2723
+ # e.g., state).
2724
+ # Corresponds to the JSON property `locationIds`
2725
+ # @return [Array<String>]
2726
+ attr_accessor :location_ids
2727
+
2728
+ def initialize(**args)
2729
+ update!(**args)
2730
+ end
2731
+
2732
+ # Update properties of this object
2733
+ def update!(**args)
2734
+ @location_ids = args[:location_ids] if args.key?(:location_ids)
2735
+ end
2736
+ end
2737
+
2484
2738
  #
2485
2739
  class LoyaltyPoints
2486
2740
  include Google::Apis::Core::Hashable
@@ -2524,6 +2778,11 @@ module Google
2524
2778
  attr_accessor :acknowledged
2525
2779
  alias_method :acknowledged?, :acknowledged
2526
2780
 
2781
+ # The channel type of the order: "purchaseOnGoogle" or "googleExpress".
2782
+ # Corresponds to the JSON property `channelType`
2783
+ # @return [String]
2784
+ attr_accessor :channel_type
2785
+
2527
2786
  # The details of the customer who placed the order.
2528
2787
  # Corresponds to the JSON property `customer`
2529
2788
  # @return [Google::Apis::ContentV2::OrderCustomer]
@@ -2625,6 +2884,7 @@ module Google
2625
2884
  # Update properties of this object
2626
2885
  def update!(**args)
2627
2886
  @acknowledged = args[:acknowledged] if args.key?(:acknowledged)
2887
+ @channel_type = args[:channel_type] if args.key?(:channel_type)
2628
2888
  @customer = args[:customer] if args.key?(:customer)
2629
2889
  @delivery_details = args[:delivery_details] if args.key?(:delivery_details)
2630
2890
  @id = args[:id] if args.key?(:id)
@@ -2733,7 +2993,7 @@ module Google
2733
2993
  # @return [Fixnum]
2734
2994
  attr_accessor :quantity
2735
2995
 
2736
- # The reason for the cancellation. Orders that are cancelled with a noIventory
2996
+ # The reason for the cancellation. Orders that are cancelled with a noInventory
2737
2997
  # reason will lead to the removal of the product from POG until you make an
2738
2998
  # update to that product. This will not affect your Shopping ads.
2739
2999
  # Corresponds to the JSON property `reason`
@@ -4520,6 +4780,71 @@ module Google
4520
4780
  end
4521
4781
  end
4522
4782
 
4783
+ #
4784
+ class PostalCodeGroup
4785
+ include Google::Apis::Core::Hashable
4786
+
4787
+ # The CLDR territory code of the country the postal code group applies to.
4788
+ # Required.
4789
+ # Corresponds to the JSON property `country`
4790
+ # @return [String]
4791
+ attr_accessor :country
4792
+
4793
+ # The name of the postal code group, referred to in headers. Required.
4794
+ # Corresponds to the JSON property `name`
4795
+ # @return [String]
4796
+ attr_accessor :name
4797
+
4798
+ # A range of postal codes. Required.
4799
+ # Corresponds to the JSON property `postalCodeRanges`
4800
+ # @return [Array<Google::Apis::ContentV2::PostalCodeRange>]
4801
+ attr_accessor :postal_code_ranges
4802
+
4803
+ def initialize(**args)
4804
+ update!(**args)
4805
+ end
4806
+
4807
+ # Update properties of this object
4808
+ def update!(**args)
4809
+ @country = args[:country] if args.key?(:country)
4810
+ @name = args[:name] if args.key?(:name)
4811
+ @postal_code_ranges = args[:postal_code_ranges] if args.key?(:postal_code_ranges)
4812
+ end
4813
+ end
4814
+
4815
+ #
4816
+ class PostalCodeRange
4817
+ include Google::Apis::Core::Hashable
4818
+
4819
+ # A postal code or a pattern of the form prefix* denoting the inclusive lower
4820
+ # bound of the range defining the area. Examples values: "94108", "9410*", "9*".
4821
+ # Required.
4822
+ # Corresponds to the JSON property `postalCodeRangeBegin`
4823
+ # @return [String]
4824
+ attr_accessor :postal_code_range_begin
4825
+
4826
+ # A postal code or a pattern of the form prefix* denoting the inclusive upper
4827
+ # bound of the range defining the area. It must have the same length as
4828
+ # postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then
4829
+ # postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a
4830
+ # pattern then postalCodeRangeEnd must be a pattern with the same prefix length.
4831
+ # Optional: if not set, then the area is defined as being all the postal codes
4832
+ # matching postalCodeRangeBegin.
4833
+ # Corresponds to the JSON property `postalCodeRangeEnd`
4834
+ # @return [String]
4835
+ attr_accessor :postal_code_range_end
4836
+
4837
+ def initialize(**args)
4838
+ update!(**args)
4839
+ end
4840
+
4841
+ # Update properties of this object
4842
+ def update!(**args)
4843
+ @postal_code_range_begin = args[:postal_code_range_begin] if args.key?(:postal_code_range_begin)
4844
+ @postal_code_range_end = args[:postal_code_range_end] if args.key?(:postal_code_range_end)
4845
+ end
4846
+ end
4847
+
4523
4848
  #
4524
4849
  class Price
4525
4850
  include Google::Apis::Core::Hashable
@@ -5820,6 +6145,387 @@ module Google
5820
6145
  end
5821
6146
  end
5822
6147
 
6148
+ #
6149
+ class RateGroup
6150
+ include Google::Apis::Core::Hashable
6151
+
6152
+ # A list of shipping labels defining the products to which this rate group
6153
+ # applies to. This is a disjunction: only one of the labels has to match for the
6154
+ # rate group to apply. May only be empty for the last rate group of a service.
6155
+ # Required.
6156
+ # Corresponds to the JSON property `applicableShippingLabels`
6157
+ # @return [Array<String>]
6158
+ attr_accessor :applicable_shipping_labels
6159
+
6160
+ # A list of carrier rates that can be referred to by mainTable or singleValue.
6161
+ # Corresponds to the JSON property `carrierRates`
6162
+ # @return [Array<Google::Apis::ContentV2::CarrierRate>]
6163
+ attr_accessor :carrier_rates
6164
+
6165
+ # A table defining the rate group, when singleValue is not expressive enough.
6166
+ # Can only be set if singleValue is not set.
6167
+ # Corresponds to the JSON property `mainTable`
6168
+ # @return [Google::Apis::ContentV2::Table]
6169
+ attr_accessor :main_table
6170
+
6171
+ # The single value of a rate group or the value of a rate group table's cell.
6172
+ # Exactly one of noShipping, flatRate, pricePercentage, carrierRateName,
6173
+ # subtableName must be set.
6174
+ # Corresponds to the JSON property `singleValue`
6175
+ # @return [Google::Apis::ContentV2::Value]
6176
+ attr_accessor :single_value
6177
+
6178
+ # A list of subtables referred to by mainTable. Can only be set if mainTable is
6179
+ # set.
6180
+ # Corresponds to the JSON property `subtables`
6181
+ # @return [Array<Google::Apis::ContentV2::Table>]
6182
+ attr_accessor :subtables
6183
+
6184
+ def initialize(**args)
6185
+ update!(**args)
6186
+ end
6187
+
6188
+ # Update properties of this object
6189
+ def update!(**args)
6190
+ @applicable_shipping_labels = args[:applicable_shipping_labels] if args.key?(:applicable_shipping_labels)
6191
+ @carrier_rates = args[:carrier_rates] if args.key?(:carrier_rates)
6192
+ @main_table = args[:main_table] if args.key?(:main_table)
6193
+ @single_value = args[:single_value] if args.key?(:single_value)
6194
+ @subtables = args[:subtables] if args.key?(:subtables)
6195
+ end
6196
+ end
6197
+
6198
+ #
6199
+ class Row
6200
+ include Google::Apis::Core::Hashable
6201
+
6202
+ # The list of cells that constitute the row. Must have the same length as
6203
+ # columnHeaders for two-dimensional tables, a length of 1 for one-dimensional
6204
+ # tables. Required.
6205
+ # Corresponds to the JSON property `cells`
6206
+ # @return [Array<Google::Apis::ContentV2::Value>]
6207
+ attr_accessor :cells
6208
+
6209
+ def initialize(**args)
6210
+ update!(**args)
6211
+ end
6212
+
6213
+ # Update properties of this object
6214
+ def update!(**args)
6215
+ @cells = args[:cells] if args.key?(:cells)
6216
+ end
6217
+ end
6218
+
6219
+ #
6220
+ class Service
6221
+ include Google::Apis::Core::Hashable
6222
+
6223
+ # A boolean exposing the active status of the shipping service. Required.
6224
+ # Corresponds to the JSON property `active`
6225
+ # @return [Boolean]
6226
+ attr_accessor :active
6227
+ alias_method :active?, :active
6228
+
6229
+ # The CLDR code of the currency to which this service applies. Must match that
6230
+ # of the prices in rate groups.
6231
+ # Corresponds to the JSON property `currency`
6232
+ # @return [String]
6233
+ attr_accessor :currency
6234
+
6235
+ # The CLDR territory code of the country to which the service applies. Required.
6236
+ # Corresponds to the JSON property `deliveryCountry`
6237
+ # @return [String]
6238
+ attr_accessor :delivery_country
6239
+
6240
+ # Time spent in various aspects from order to the delivery of the product.
6241
+ # Required.
6242
+ # Corresponds to the JSON property `deliveryTime`
6243
+ # @return [Google::Apis::ContentV2::DeliveryTime]
6244
+ attr_accessor :delivery_time
6245
+
6246
+ # Free-form name of the service. Must be unique within target account. Required.
6247
+ # Corresponds to the JSON property `name`
6248
+ # @return [String]
6249
+ attr_accessor :name
6250
+
6251
+ # Shipping rate group definitions. Only the last one is allowed to have an empty
6252
+ # applicableShippingLabels, which means "everything else". The other
6253
+ # applicableShippingLabels must not overlap.
6254
+ # Corresponds to the JSON property `rateGroups`
6255
+ # @return [Array<Google::Apis::ContentV2::RateGroup>]
6256
+ attr_accessor :rate_groups
6257
+
6258
+ def initialize(**args)
6259
+ update!(**args)
6260
+ end
6261
+
6262
+ # Update properties of this object
6263
+ def update!(**args)
6264
+ @active = args[:active] if args.key?(:active)
6265
+ @currency = args[:currency] if args.key?(:currency)
6266
+ @delivery_country = args[:delivery_country] if args.key?(:delivery_country)
6267
+ @delivery_time = args[:delivery_time] if args.key?(:delivery_time)
6268
+ @name = args[:name] if args.key?(:name)
6269
+ @rate_groups = args[:rate_groups] if args.key?(:rate_groups)
6270
+ end
6271
+ end
6272
+
6273
+ # The merchant account's shipping settings.
6274
+ class ShippingSettings
6275
+ include Google::Apis::Core::Hashable
6276
+
6277
+ # The ID of the account to which these account shipping settings belong. Ignored
6278
+ # upon update, always present in get request responses.
6279
+ # Corresponds to the JSON property `accountId`
6280
+ # @return [String]
6281
+ attr_accessor :account_id
6282
+
6283
+ # A list of postal code groups that can be referred to in services. Optional.
6284
+ # Corresponds to the JSON property `postalCodeGroups`
6285
+ # @return [Array<Google::Apis::ContentV2::PostalCodeGroup>]
6286
+ attr_accessor :postal_code_groups
6287
+
6288
+ # The target account's list of services. Optional.
6289
+ # Corresponds to the JSON property `services`
6290
+ # @return [Array<Google::Apis::ContentV2::Service>]
6291
+ attr_accessor :services
6292
+
6293
+ def initialize(**args)
6294
+ update!(**args)
6295
+ end
6296
+
6297
+ # Update properties of this object
6298
+ def update!(**args)
6299
+ @account_id = args[:account_id] if args.key?(:account_id)
6300
+ @postal_code_groups = args[:postal_code_groups] if args.key?(:postal_code_groups)
6301
+ @services = args[:services] if args.key?(:services)
6302
+ end
6303
+ end
6304
+
6305
+ #
6306
+ class ShippingsettingsCustomBatchRequest
6307
+ include Google::Apis::Core::Hashable
6308
+
6309
+ # The request entries to be processed in the batch.
6310
+ # Corresponds to the JSON property `entries`
6311
+ # @return [Array<Google::Apis::ContentV2::ShippingsettingsCustomBatchRequestEntry>]
6312
+ attr_accessor :entries
6313
+
6314
+ def initialize(**args)
6315
+ update!(**args)
6316
+ end
6317
+
6318
+ # Update properties of this object
6319
+ def update!(**args)
6320
+ @entries = args[:entries] if args.key?(:entries)
6321
+ end
6322
+ end
6323
+
6324
+ # A batch entry encoding a single non-batch accountshipping request.
6325
+ class ShippingsettingsCustomBatchRequestEntry
6326
+ include Google::Apis::Core::Hashable
6327
+
6328
+ # The ID of the account for which to get/update account shipping settings.
6329
+ # Corresponds to the JSON property `accountId`
6330
+ # @return [String]
6331
+ attr_accessor :account_id
6332
+
6333
+ # An entry ID, unique within the batch request.
6334
+ # Corresponds to the JSON property `batchId`
6335
+ # @return [Fixnum]
6336
+ attr_accessor :batch_id
6337
+
6338
+ # The ID of the managing account.
6339
+ # Corresponds to the JSON property `merchantId`
6340
+ # @return [String]
6341
+ attr_accessor :merchant_id
6342
+
6343
+ #
6344
+ # Corresponds to the JSON property `method`
6345
+ # @return [String]
6346
+ attr_accessor :method_prop
6347
+
6348
+ # The merchant account's shipping settings.
6349
+ # Corresponds to the JSON property `shippingSettings`
6350
+ # @return [Google::Apis::ContentV2::ShippingSettings]
6351
+ attr_accessor :shipping_settings
6352
+
6353
+ def initialize(**args)
6354
+ update!(**args)
6355
+ end
6356
+
6357
+ # Update properties of this object
6358
+ def update!(**args)
6359
+ @account_id = args[:account_id] if args.key?(:account_id)
6360
+ @batch_id = args[:batch_id] if args.key?(:batch_id)
6361
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
6362
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
6363
+ @shipping_settings = args[:shipping_settings] if args.key?(:shipping_settings)
6364
+ end
6365
+ end
6366
+
6367
+ #
6368
+ class ShippingsettingsCustomBatchResponse
6369
+ include Google::Apis::Core::Hashable
6370
+
6371
+ # The result of the execution of the batch requests.
6372
+ # Corresponds to the JSON property `entries`
6373
+ # @return [Array<Google::Apis::ContentV2::ShippingsettingsCustomBatchResponseEntry>]
6374
+ attr_accessor :entries
6375
+
6376
+ # Identifies what kind of resource this is. Value: the fixed string "content#
6377
+ # shippingsettingsCustomBatchResponse".
6378
+ # Corresponds to the JSON property `kind`
6379
+ # @return [String]
6380
+ attr_accessor :kind
6381
+
6382
+ def initialize(**args)
6383
+ update!(**args)
6384
+ end
6385
+
6386
+ # Update properties of this object
6387
+ def update!(**args)
6388
+ @entries = args[:entries] if args.key?(:entries)
6389
+ @kind = args[:kind] if args.key?(:kind)
6390
+ end
6391
+ end
6392
+
6393
+ # A batch entry encoding a single non-batch shipping settings response.
6394
+ class ShippingsettingsCustomBatchResponseEntry
6395
+ include Google::Apis::Core::Hashable
6396
+
6397
+ # The ID of the request entry to which this entry responds.
6398
+ # Corresponds to the JSON property `batchId`
6399
+ # @return [Fixnum]
6400
+ attr_accessor :batch_id
6401
+
6402
+ # A list of errors returned by a failed batch entry.
6403
+ # Corresponds to the JSON property `errors`
6404
+ # @return [Google::Apis::ContentV2::Errors]
6405
+ attr_accessor :errors
6406
+
6407
+ # Identifies what kind of resource this is. Value: the fixed string "content#
6408
+ # shippingsettingsCustomBatchResponseEntry".
6409
+ # Corresponds to the JSON property `kind`
6410
+ # @return [String]
6411
+ attr_accessor :kind
6412
+
6413
+ # The merchant account's shipping settings.
6414
+ # Corresponds to the JSON property `shippingSettings`
6415
+ # @return [Google::Apis::ContentV2::ShippingSettings]
6416
+ attr_accessor :shipping_settings
6417
+
6418
+ def initialize(**args)
6419
+ update!(**args)
6420
+ end
6421
+
6422
+ # Update properties of this object
6423
+ def update!(**args)
6424
+ @batch_id = args[:batch_id] if args.key?(:batch_id)
6425
+ @errors = args[:errors] if args.key?(:errors)
6426
+ @kind = args[:kind] if args.key?(:kind)
6427
+ @shipping_settings = args[:shipping_settings] if args.key?(:shipping_settings)
6428
+ end
6429
+ end
6430
+
6431
+ #
6432
+ class ShippingsettingsGetSupportedCarriersResponse
6433
+ include Google::Apis::Core::Hashable
6434
+
6435
+ # A list of supported carriers. May be empty.
6436
+ # Corresponds to the JSON property `carriers`
6437
+ # @return [Array<Google::Apis::ContentV2::CarriersCarrier>]
6438
+ attr_accessor :carriers
6439
+
6440
+ # Identifies what kind of resource this is. Value: the fixed string "content#
6441
+ # shippingsettingsGetSupportedCarriersResponse".
6442
+ # Corresponds to the JSON property `kind`
6443
+ # @return [String]
6444
+ attr_accessor :kind
6445
+
6446
+ def initialize(**args)
6447
+ update!(**args)
6448
+ end
6449
+
6450
+ # Update properties of this object
6451
+ def update!(**args)
6452
+ @carriers = args[:carriers] if args.key?(:carriers)
6453
+ @kind = args[:kind] if args.key?(:kind)
6454
+ end
6455
+ end
6456
+
6457
+ #
6458
+ class ShippingsettingsListResponse
6459
+ include Google::Apis::Core::Hashable
6460
+
6461
+ # Identifies what kind of resource this is. Value: the fixed string "content#
6462
+ # shippingsettingsListResponse".
6463
+ # Corresponds to the JSON property `kind`
6464
+ # @return [String]
6465
+ attr_accessor :kind
6466
+
6467
+ # The token for the retrieval of the next page of shipping settings.
6468
+ # Corresponds to the JSON property `nextPageToken`
6469
+ # @return [String]
6470
+ attr_accessor :next_page_token
6471
+
6472
+ #
6473
+ # Corresponds to the JSON property `resources`
6474
+ # @return [Array<Google::Apis::ContentV2::ShippingSettings>]
6475
+ attr_accessor :resources
6476
+
6477
+ def initialize(**args)
6478
+ update!(**args)
6479
+ end
6480
+
6481
+ # Update properties of this object
6482
+ def update!(**args)
6483
+ @kind = args[:kind] if args.key?(:kind)
6484
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6485
+ @resources = args[:resources] if args.key?(:resources)
6486
+ end
6487
+ end
6488
+
6489
+ #
6490
+ class Table
6491
+ include Google::Apis::Core::Hashable
6492
+
6493
+ # A non-empty list of row or column headers for a table. Exactly one of prices,
6494
+ # weights, numItems, postalCodeGroupNames, or locations must be set.
6495
+ # Corresponds to the JSON property `columnHeaders`
6496
+ # @return [Google::Apis::ContentV2::Headers]
6497
+ attr_accessor :column_headers
6498
+
6499
+ # Name of the table. Required for subtables, ignored for the main table.
6500
+ # Corresponds to the JSON property `name`
6501
+ # @return [String]
6502
+ attr_accessor :name
6503
+
6504
+ # A non-empty list of row or column headers for a table. Exactly one of prices,
6505
+ # weights, numItems, postalCodeGroupNames, or locations must be set.
6506
+ # Corresponds to the JSON property `rowHeaders`
6507
+ # @return [Google::Apis::ContentV2::Headers]
6508
+ attr_accessor :row_headers
6509
+
6510
+ # The list of rows that constitute the table. Must have the same length as
6511
+ # rowHeaders. Required.
6512
+ # Corresponds to the JSON property `rows`
6513
+ # @return [Array<Google::Apis::ContentV2::Row>]
6514
+ attr_accessor :rows
6515
+
6516
+ def initialize(**args)
6517
+ update!(**args)
6518
+ end
6519
+
6520
+ # Update properties of this object
6521
+ def update!(**args)
6522
+ @column_headers = args[:column_headers] if args.key?(:column_headers)
6523
+ @name = args[:name] if args.key?(:name)
6524
+ @row_headers = args[:row_headers] if args.key?(:row_headers)
6525
+ @rows = args[:rows] if args.key?(:rows)
6526
+ end
6527
+ end
6528
+
5823
6529
  #
5824
6530
  class TestOrder
5825
6531
  include Google::Apis::Core::Hashable
@@ -6103,6 +6809,56 @@ module Google
6103
6809
  end
6104
6810
  end
6105
6811
 
6812
+ # The single value of a rate group or the value of a rate group table's cell.
6813
+ # Exactly one of noShipping, flatRate, pricePercentage, carrierRateName,
6814
+ # subtableName must be set.
6815
+ class Value
6816
+ include Google::Apis::Core::Hashable
6817
+
6818
+ # The name of a carrier rate referring to a carrier rate defined in the same
6819
+ # rate group. Can only be set if all other fields are not set.
6820
+ # Corresponds to the JSON property `carrierRateName`
6821
+ # @return [String]
6822
+ attr_accessor :carrier_rate_name
6823
+
6824
+ # A flat rate. Can only be set if all other fields are not set.
6825
+ # Corresponds to the JSON property `flatRate`
6826
+ # @return [Google::Apis::ContentV2::Price]
6827
+ attr_accessor :flat_rate
6828
+
6829
+ # If true, then the product can't ship. Must be true when set, can only be set
6830
+ # if all other fields are not set.
6831
+ # Corresponds to the JSON property `noShipping`
6832
+ # @return [Boolean]
6833
+ attr_accessor :no_shipping
6834
+ alias_method :no_shipping?, :no_shipping
6835
+
6836
+ # A percentage of the price represented as a number in decimal notation (e.g., "
6837
+ # 5.4"). Can only be set if all other fields are not set.
6838
+ # Corresponds to the JSON property `pricePercentage`
6839
+ # @return [String]
6840
+ attr_accessor :price_percentage
6841
+
6842
+ # The name of a subtable. Can only be set in table cells (i.e., not for single
6843
+ # values), and only if all other fields are not set.
6844
+ # Corresponds to the JSON property `subtableName`
6845
+ # @return [String]
6846
+ attr_accessor :subtable_name
6847
+
6848
+ def initialize(**args)
6849
+ update!(**args)
6850
+ end
6851
+
6852
+ # Update properties of this object
6853
+ def update!(**args)
6854
+ @carrier_rate_name = args[:carrier_rate_name] if args.key?(:carrier_rate_name)
6855
+ @flat_rate = args[:flat_rate] if args.key?(:flat_rate)
6856
+ @no_shipping = args[:no_shipping] if args.key?(:no_shipping)
6857
+ @price_percentage = args[:price_percentage] if args.key?(:price_percentage)
6858
+ @subtable_name = args[:subtable_name] if args.key?(:subtable_name)
6859
+ end
6860
+ end
6861
+
6106
6862
  #
6107
6863
  class Weight
6108
6864
  include Google::Apis::Core::Hashable