google-api-client 0.30.9 → 0.30.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +89 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +18 -7
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +5 -10
  7. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  8. data/generated/google/apis/adexperiencereport_v1/classes.rb +24 -12
  9. data/generated/google/apis/adexperiencereport_v1/service.rb +6 -9
  10. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -0
  12. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  13. data/generated/google/apis/androidmanagement_v1/classes.rb +62 -9
  14. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +32 -9
  17. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  18. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  19. data/generated/google/apis/bigqueryconnection_v1beta1.rb +37 -0
  20. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +645 -0
  21. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +263 -0
  22. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +378 -0
  23. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  24. data/generated/google/apis/bigtableadmin_v2/classes.rb +41 -16
  25. data/generated/google/apis/bigtableadmin_v2/representations.rb +15 -0
  26. data/generated/google/apis/binaryauthorization_v1.rb +35 -0
  27. data/generated/google/apis/binaryauthorization_v1/classes.rb +388 -0
  28. data/generated/google/apis/binaryauthorization_v1/representations.rb +167 -0
  29. data/generated/google/apis/binaryauthorization_v1/service.rb +313 -0
  30. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  31. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -1
  32. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -6
  33. data/generated/google/apis/calendar_v3.rb +1 -1
  34. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1.rb +1 -1
  36. data/generated/google/apis/cloudasset_v1/classes.rb +52 -1
  37. data/generated/google/apis/cloudasset_v1/representations.rb +17 -0
  38. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  39. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -1
  40. data/generated/google/apis/cloudiot_v1.rb +1 -1
  41. data/generated/google/apis/cloudiot_v1/classes.rb +11 -4
  42. data/generated/google/apis/cloudkms_v1.rb +1 -1
  43. data/generated/google/apis/cloudkms_v1/classes.rb +0 -14
  44. data/generated/google/apis/cloudkms_v1/representations.rb +0 -2
  45. data/generated/google/apis/cloudkms_v1/service.rb +3 -3
  46. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  47. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -1
  48. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +5 -3
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -8
  51. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -1
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -8
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -2
  55. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -4
  57. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -4
  59. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  60. data/generated/google/apis/cloudsearch_v1/classes.rb +14 -3
  61. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  62. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  63. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  64. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  65. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  66. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -0
  67. data/generated/google/apis/cloudtrace_v2/representations.rb +1 -0
  68. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  69. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +1 -0
  70. data/generated/google/apis/composer_v1.rb +1 -1
  71. data/generated/google/apis/composer_v1/classes.rb +17 -24
  72. data/generated/google/apis/composer_v1beta1.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1/classes.rb +17 -24
  74. data/generated/google/apis/compute_alpha.rb +1 -1
  75. data/generated/google/apis/compute_alpha/classes.rb +1139 -284
  76. data/generated/google/apis/compute_alpha/representations.rb +304 -1
  77. data/generated/google/apis/compute_alpha/service.rb +935 -23
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +554 -98
  80. data/generated/google/apis/compute_beta/representations.rb +117 -0
  81. data/generated/google/apis/compute_beta/service.rb +63 -19
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1187 -165
  84. data/generated/google/apis/compute_v1/representations.rb +402 -0
  85. data/generated/google/apis/compute_v1/service.rb +832 -12
  86. data/generated/google/apis/container_v1.rb +1 -1
  87. data/generated/google/apis/container_v1/classes.rb +36 -0
  88. data/generated/google/apis/container_v1/representations.rb +16 -0
  89. data/generated/google/apis/container_v1beta1.rb +1 -1
  90. data/generated/google/apis/container_v1beta1/classes.rb +153 -0
  91. data/generated/google/apis/container_v1beta1/representations.rb +77 -0
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +93 -2
  94. data/generated/google/apis/content_v2/representations.rb +37 -0
  95. data/generated/google/apis/content_v2_1.rb +1 -1
  96. data/generated/google/apis/content_v2_1/classes.rb +86 -2
  97. data/generated/google/apis/content_v2_1/representations.rb +36 -0
  98. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  99. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -106
  100. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -58
  101. data/generated/google/apis/dataflow_v1b3/service.rb +0 -327
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +7 -0
  104. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -0
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1/classes.rb +9 -75
  110. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  111. data/generated/google/apis/datastore_v1beta1/classes.rb +9 -75
  112. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  113. data/generated/google/apis/dfareporting_v3_1/classes.rb +42 -302
  114. data/generated/google/apis/dfareporting_v3_1/representations.rb +8 -84
  115. data/generated/google/apis/dfareporting_v3_1/service.rb +5 -107
  116. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +118 -0
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +70 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +75 -0
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +42 -0
  122. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  123. data/generated/google/apis/dlp_v2/service.rb +125 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +128 -0
  126. data/generated/google/apis/docs_v1/representations.rb +49 -0
  127. data/generated/google/apis/{appstate_v1.rb → domainsrdap_v1.rb} +8 -11
  128. data/generated/google/apis/domainsrdap_v1/classes.rb +269 -0
  129. data/generated/google/apis/{appstate_v1 → domainsrdap_v1}/representations.rb +33 -22
  130. data/generated/google/apis/domainsrdap_v1/service.rb +350 -0
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +10 -1
  133. data/generated/google/apis/drive_v2/representations.rb +1 -0
  134. data/generated/google/apis/drive_v3.rb +1 -1
  135. data/generated/google/apis/drive_v3/classes.rb +10 -1
  136. data/generated/google/apis/drive_v3/representations.rb +1 -0
  137. data/generated/google/apis/driveactivity_v2.rb +1 -1
  138. data/generated/google/apis/firestore_v1.rb +1 -1
  139. data/generated/google/apis/firestore_v1/classes.rb +21 -130
  140. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  141. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -122
  142. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  143. data/generated/google/apis/firestore_v1beta2/classes.rb +14 -83
  144. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  145. data/generated/google/apis/healthcare_v1alpha2/classes.rb +94 -48
  146. data/generated/google/apis/healthcare_v1alpha2/representations.rb +16 -0
  147. data/generated/google/apis/healthcare_v1alpha2/service.rb +117 -75
  148. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  149. data/generated/google/apis/healthcare_v1beta1/classes.rb +56 -2
  150. data/generated/google/apis/healthcare_v1beta1/representations.rb +17 -0
  151. data/generated/google/apis/healthcare_v1beta1/service.rb +10 -5
  152. data/generated/google/apis/homegraph_v1.rb +31 -0
  153. data/generated/google/apis/homegraph_v1/classes.rb +692 -0
  154. data/generated/google/apis/homegraph_v1/representations.rb +323 -0
  155. data/generated/google/apis/homegraph_v1/service.rb +255 -0
  156. data/generated/google/apis/logging_v2.rb +1 -1
  157. data/generated/google/apis/logging_v2/classes.rb +8 -7
  158. data/generated/google/apis/logging_v2/service.rb +40 -35
  159. data/generated/google/apis/ml_v1.rb +1 -1
  160. data/generated/google/apis/monitoring_v3.rb +1 -1
  161. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  162. data/generated/google/apis/pubsub_v1.rb +1 -1
  163. data/generated/google/apis/pubsub_v1/classes.rb +6 -1
  164. data/generated/google/apis/pubsub_v1/service.rb +15 -9
  165. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  166. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -1
  167. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -6
  168. data/generated/google/apis/run_v1alpha1.rb +1 -1
  169. data/generated/google/apis/run_v1alpha1/classes.rb +26 -6
  170. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  171. data/generated/google/apis/run_v1alpha1/service.rb +5 -3
  172. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  173. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -1
  174. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +5 -3
  175. data/generated/google/apis/script_v1.rb +1 -1
  176. data/generated/google/apis/script_v1/service.rb +6 -5
  177. data/generated/google/apis/securitycenter_v1.rb +1 -1
  178. data/generated/google/apis/securitycenter_v1/classes.rb +11 -4
  179. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  180. data/generated/google/apis/securitycenter_v1beta1/classes.rb +11 -4
  181. data/generated/google/apis/servicebroker_v1.rb +1 -1
  182. data/generated/google/apis/servicebroker_v1/classes.rb +6 -1
  183. data/generated/google/apis/servicebroker_v1/service.rb +5 -3
  184. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  185. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -1
  186. data/generated/google/apis/servicebroker_v1alpha1/service.rb +5 -3
  187. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  188. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -1
  189. data/generated/google/apis/servicebroker_v1beta1/service.rb +5 -3
  190. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  191. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -4
  192. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -4
  194. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  195. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -4
  196. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  197. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -4
  198. data/generated/google/apis/serviceusage_v1.rb +1 -1
  199. data/generated/google/apis/serviceusage_v1/classes.rb +30 -4
  200. data/generated/google/apis/serviceusage_v1/representations.rb +14 -0
  201. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  202. data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -4
  203. data/generated/google/apis/serviceusage_v1beta1/representations.rb +14 -0
  204. data/generated/google/apis/slides_v1.rb +1 -1
  205. data/generated/google/apis/slides_v1/classes.rb +1 -1
  206. data/generated/google/apis/speech_v1.rb +1 -1
  207. data/generated/google/apis/speech_v1/classes.rb +9 -7
  208. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  209. data/generated/google/apis/speech_v1p1beta1/classes.rb +17 -15
  210. data/generated/google/apis/speech_v2beta.rb +1 -1
  211. data/generated/google/apis/speech_v2beta/classes.rb +3 -3
  212. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  213. data/generated/google/apis/sqladmin_v1beta4/classes.rb +72 -0
  214. data/generated/google/apis/sqladmin_v1beta4/representations.rb +35 -0
  215. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  216. data/generated/google/apis/storage_v1.rb +1 -1
  217. data/generated/google/apis/storage_v1/classes.rb +7 -1
  218. data/generated/google/apis/storage_v1/representations.rb +2 -2
  219. data/generated/google/apis/storage_v1/service.rb +6 -1
  220. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  221. data/generated/google/apis/storagetransfer_v1/service.rb +1 -9
  222. data/generated/google/apis/testing_v1.rb +1 -1
  223. data/generated/google/apis/testing_v1/classes.rb +19 -0
  224. data/generated/google/apis/testing_v1/representations.rb +3 -0
  225. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  226. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -0
  227. data/generated/google/apis/translate_v3beta1.rb +1 -1
  228. data/generated/google/apis/translate_v3beta1/classes.rb +33 -0
  229. data/generated/google/apis/translate_v3beta1/representations.rb +3 -0
  230. data/generated/google/apis/verifiedaccess_v1.rb +35 -0
  231. data/generated/google/apis/verifiedaccess_v1/classes.rb +174 -0
  232. data/generated/google/apis/verifiedaccess_v1/representations.rb +99 -0
  233. data/generated/google/apis/verifiedaccess_v1/service.rb +120 -0
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +204 -2375
  236. data/generated/google/apis/vision_v1/representations.rb +701 -1634
  237. data/generated/google/apis/vision_v1/service.rb +17 -17
  238. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p1beta1/classes.rb +135 -2306
  240. data/generated/google/apis/vision_v1p1beta1/representations.rb +768 -1701
  241. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  242. data/generated/google/apis/vision_v1p2beta1/classes.rb +326 -2161
  243. data/generated/google/apis/vision_v1p2beta1/representations.rb +897 -1710
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_v3.rb +1 -1
  246. data/generated/google/apis/youtube_v3/classes.rb +8 -2
  247. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  248. data/lib/google/apis/version.rb +1 -1
  249. metadata +22 -6
  250. data/generated/google/apis/appstate_v1/classes.rb +0 -154
  251. data/generated/google/apis/appstate_v1/service.rb +0 -249
@@ -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 = '20190805'
29
+ REVISION = '20190905'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -4053,7 +4053,7 @@ module Google
4053
4053
  # @return [Google::Apis::ContentV2::OrderCustomer]
4054
4054
  attr_accessor :customer
4055
4055
 
4056
- # Delivery details for shipments.
4056
+ # Delivery details for shipments of type delivery.
4057
4057
  # Corresponds to the JSON property `deliveryDetails`
4058
4058
  # @return [Google::Apis::ContentV2::OrderDeliveryDetails]
4059
4059
  attr_accessor :delivery_details
@@ -4101,6 +4101,11 @@ module Google
4101
4101
  # @return [String]
4102
4102
  attr_accessor :payment_status
4103
4103
 
4104
+ # Pickup details for shipments of type pickup.
4105
+ # Corresponds to the JSON property `pickupDetails`
4106
+ # @return [Google::Apis::ContentV2::OrderPickupDetails]
4107
+ attr_accessor :pickup_details
4108
+
4104
4109
  # The date when the order was placed, in ISO 8601 format.
4105
4110
  # Corresponds to the JSON property `placedDate`
4106
4111
  # @return [String]
@@ -4165,6 +4170,7 @@ module Google
4165
4170
  @net_amount = args[:net_amount] if args.key?(:net_amount)
4166
4171
  @payment_method = args[:payment_method] if args.key?(:payment_method)
4167
4172
  @payment_status = args[:payment_status] if args.key?(:payment_status)
4173
+ @pickup_details = args[:pickup_details] if args.key?(:pickup_details)
4168
4174
  @placed_date = args[:placed_date] if args.key?(:placed_date)
4169
4175
  @promotions = args[:promotions] if args.key?(:promotions)
4170
4176
  @refunds = args[:refunds] if args.key?(:refunds)
@@ -4311,6 +4317,12 @@ module Google
4311
4317
  # @return [String]
4312
4318
  attr_accessor :full_name
4313
4319
 
4320
+ # Email address for receiving merchant issued value-added tax or invoice
4321
+ # documentation of this order.
4322
+ # Corresponds to the JSON property `invoiceReceivingEmail`
4323
+ # @return [String]
4324
+ attr_accessor :invoice_receiving_email
4325
+
4314
4326
  # Customer's marketing preferences. Contains the marketing opt-in information
4315
4327
  # that is current at the time that the merchant call. User preference selections
4316
4328
  # can change from one order to the next so preferences must be checked with
@@ -4328,6 +4340,7 @@ module Google
4328
4340
  @email = args[:email] if args.key?(:email)
4329
4341
  @explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference)
4330
4342
  @full_name = args[:full_name] if args.key?(:full_name)
4343
+ @invoice_receiving_email = args[:invoice_receiving_email] if args.key?(:invoice_receiving_email)
4331
4344
  @marketing_rights_info = args[:marketing_rights_info] if args.key?(:marketing_rights_info)
4332
4345
  end
4333
4346
  end
@@ -4555,6 +4568,11 @@ module Google
4555
4568
  # @return [Fixnum]
4556
4569
  attr_accessor :quantity_pending
4557
4570
 
4571
+ # Number of items ready for pickup.
4572
+ # Corresponds to the JSON property `quantityReadyForPickup`
4573
+ # @return [Fixnum]
4574
+ attr_accessor :quantity_ready_for_pickup
4575
+
4558
4576
  # Number of items returned.
4559
4577
  # Corresponds to the JSON property `quantityReturned`
4560
4578
  # @return [Fixnum]
@@ -4601,6 +4619,7 @@ module Google
4601
4619
  @quantity_delivered = args[:quantity_delivered] if args.key?(:quantity_delivered)
4602
4620
  @quantity_ordered = args[:quantity_ordered] if args.key?(:quantity_ordered)
4603
4621
  @quantity_pending = args[:quantity_pending] if args.key?(:quantity_pending)
4622
+ @quantity_ready_for_pickup = args[:quantity_ready_for_pickup] if args.key?(:quantity_ready_for_pickup)
4604
4623
  @quantity_returned = args[:quantity_returned] if args.key?(:quantity_returned)
4605
4624
  @quantity_shipped = args[:quantity_shipped] if args.key?(:quantity_shipped)
4606
4625
  @return_info = args[:return_info] if args.key?(:return_info)
@@ -4822,6 +4841,12 @@ module Google
4822
4841
  # @return [String]
4823
4842
  attr_accessor :ship_by_date
4824
4843
 
4844
+ # Type of shipment. Indicates whether deliveryDetails or pickupDetails is
4845
+ # applicable for this shipment.
4846
+ # Corresponds to the JSON property `type`
4847
+ # @return [String]
4848
+ attr_accessor :type
4849
+
4825
4850
  def initialize(**args)
4826
4851
  update!(**args)
4827
4852
  end
@@ -4831,6 +4856,7 @@ module Google
4831
4856
  @deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
4832
4857
  @method_prop = args[:method_prop] if args.key?(:method_prop)
4833
4858
  @ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
4859
+ @type = args[:type] if args.key?(:type)
4834
4860
  end
4835
4861
  end
4836
4862
 
@@ -4956,6 +4982,64 @@ module Google
4956
4982
  end
4957
4983
  end
4958
4984
 
4985
+ #
4986
+ class OrderPickupDetails
4987
+ include Google::Apis::Core::Hashable
4988
+
4989
+ # Address of the pickup location where the shipment should be sent. Note that
4990
+ # recipientName in the address is the name of the business at the pickup
4991
+ # location.
4992
+ # Corresponds to the JSON property `address`
4993
+ # @return [Google::Apis::ContentV2::OrderAddress]
4994
+ attr_accessor :address
4995
+
4996
+ # Collectors authorized to pick up shipment from the pickup location.
4997
+ # Corresponds to the JSON property `collectors`
4998
+ # @return [Array<Google::Apis::ContentV2::OrderPickupDetailsCollector>]
4999
+ attr_accessor :collectors
5000
+
5001
+ # ID of the pickup location.
5002
+ # Corresponds to the JSON property `locationId`
5003
+ # @return [String]
5004
+ attr_accessor :location_id
5005
+
5006
+ def initialize(**args)
5007
+ update!(**args)
5008
+ end
5009
+
5010
+ # Update properties of this object
5011
+ def update!(**args)
5012
+ @address = args[:address] if args.key?(:address)
5013
+ @collectors = args[:collectors] if args.key?(:collectors)
5014
+ @location_id = args[:location_id] if args.key?(:location_id)
5015
+ end
5016
+ end
5017
+
5018
+ #
5019
+ class OrderPickupDetailsCollector
5020
+ include Google::Apis::Core::Hashable
5021
+
5022
+ # Name of the person picking up the shipment.
5023
+ # Corresponds to the JSON property `name`
5024
+ # @return [String]
5025
+ attr_accessor :name
5026
+
5027
+ # Phone number of the person picking up the shipment.
5028
+ # Corresponds to the JSON property `phoneNumber`
5029
+ # @return [String]
5030
+ attr_accessor :phone_number
5031
+
5032
+ def initialize(**args)
5033
+ update!(**args)
5034
+ end
5035
+
5036
+ # Update properties of this object
5037
+ def update!(**args)
5038
+ @name = args[:name] if args.key?(:name)
5039
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
5040
+ end
5041
+ end
5042
+
4959
5043
  #
4960
5044
  class OrderRefund
4961
5045
  include Google::Apis::Core::Hashable
@@ -5187,7 +5271,7 @@ module Google
5187
5271
  # - "gls"
5188
5272
  # - "dpd"
5189
5273
  # - "bpost"
5190
- # - "colis priv�"
5274
+ # - "colis prive"
5191
5275
  # - "boxtal"
5192
5276
  # - "geodis"
5193
5277
  # Corresponds to the JSON property `carrier`
@@ -10609,6 +10693,12 @@ module Google
10609
10693
  # @return [String]
10610
10694
  attr_accessor :predefined_delivery_address
10611
10695
 
10696
+ # Identifier of one of the predefined pickup details. Required for orders
10697
+ # containing line items with shipping type pickup.
10698
+ # Corresponds to the JSON property `predefinedPickupDetails`
10699
+ # @return [String]
10700
+ attr_accessor :predefined_pickup_details
10701
+
10612
10702
  # Deprecated. Ignored if provided.
10613
10703
  # Corresponds to the JSON property `promotions`
10614
10704
  # @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
@@ -10645,6 +10735,7 @@ module Google
10645
10735
  @notification_mode = args[:notification_mode] if args.key?(:notification_mode)
10646
10736
  @payment_method = args[:payment_method] if args.key?(:payment_method)
10647
10737
  @predefined_delivery_address = args[:predefined_delivery_address] if args.key?(:predefined_delivery_address)
10738
+ @predefined_pickup_details = args[:predefined_pickup_details] if args.key?(:predefined_pickup_details)
10648
10739
  @promotions = args[:promotions] if args.key?(:promotions)
10649
10740
  @shipping_cost = args[:shipping_cost] if args.key?(:shipping_cost)
10650
10741
  @shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax)
@@ -748,6 +748,18 @@ module Google
748
748
  include Google::Apis::Core::JsonObjectSupport
749
749
  end
750
750
 
751
+ class OrderPickupDetails
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
757
+ class OrderPickupDetailsCollector
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
751
763
  class OrderRefund
752
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
765
 
@@ -2798,6 +2810,8 @@ module Google
2798
2810
  property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::OrderPaymentMethod, decorator: Google::Apis::ContentV2::OrderPaymentMethod::Representation
2799
2811
 
2800
2812
  property :payment_status, as: 'paymentStatus'
2813
+ property :pickup_details, as: 'pickupDetails', class: Google::Apis::ContentV2::OrderPickupDetails, decorator: Google::Apis::ContentV2::OrderPickupDetails::Representation
2814
+
2801
2815
  property :placed_date, as: 'placedDate'
2802
2816
  collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderLegacyPromotion, decorator: Google::Apis::ContentV2::OrderLegacyPromotion::Representation
2803
2817
 
@@ -2846,6 +2860,7 @@ module Google
2846
2860
  property :email, as: 'email'
2847
2861
  property :explicit_marketing_preference, as: 'explicitMarketingPreference'
2848
2862
  property :full_name, as: 'fullName'
2863
+ property :invoice_receiving_email, as: 'invoiceReceivingEmail'
2849
2864
  property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2::OrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2::OrderCustomerMarketingRightsInfo::Representation
2850
2865
 
2851
2866
  end
@@ -2912,6 +2927,7 @@ module Google
2912
2927
  property :quantity_delivered, as: 'quantityDelivered'
2913
2928
  property :quantity_ordered, as: 'quantityOrdered'
2914
2929
  property :quantity_pending, as: 'quantityPending'
2930
+ property :quantity_ready_for_pickup, as: 'quantityReadyForPickup'
2915
2931
  property :quantity_returned, as: 'quantityReturned'
2916
2932
  property :quantity_shipped, as: 'quantityShipped'
2917
2933
  property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2::OrderLineItemReturnInfo::Representation
@@ -2983,6 +2999,7 @@ module Google
2983
2999
  property :method_prop, as: 'method', class: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod::Representation
2984
3000
 
2985
3001
  property :ship_by_date, as: 'shipByDate'
3002
+ property :type, as: 'type'
2986
3003
  end
2987
3004
  end
2988
3005
 
@@ -3017,6 +3034,25 @@ module Google
3017
3034
  end
3018
3035
  end
3019
3036
 
3037
+ class OrderPickupDetails
3038
+ # @private
3039
+ class Representation < Google::Apis::Core::JsonRepresentation
3040
+ property :address, as: 'address', class: Google::Apis::ContentV2::OrderAddress, decorator: Google::Apis::ContentV2::OrderAddress::Representation
3041
+
3042
+ collection :collectors, as: 'collectors', class: Google::Apis::ContentV2::OrderPickupDetailsCollector, decorator: Google::Apis::ContentV2::OrderPickupDetailsCollector::Representation
3043
+
3044
+ property :location_id, as: 'locationId'
3045
+ end
3046
+ end
3047
+
3048
+ class OrderPickupDetailsCollector
3049
+ # @private
3050
+ class Representation < Google::Apis::Core::JsonRepresentation
3051
+ property :name, as: 'name'
3052
+ property :phone_number, as: 'phoneNumber'
3053
+ end
3054
+ end
3055
+
3020
3056
  class OrderRefund
3021
3057
  # @private
3022
3058
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4584,6 +4620,7 @@ module Google
4584
4620
  property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2::TestOrderPaymentMethod::Representation
4585
4621
 
4586
4622
  property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
4623
+ property :predefined_pickup_details, as: 'predefinedPickupDetails'
4587
4624
  collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderLegacyPromotion, decorator: Google::Apis::ContentV2::OrderLegacyPromotion::Representation
4588
4625
 
4589
4626
  property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2_1
28
28
  VERSION = 'V2_1'
29
- REVISION = '20190809'
29
+ REVISION = '20190905'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -3429,7 +3429,7 @@ module Google
3429
3429
  # @return [Google::Apis::ContentV2_1::OrderCustomer]
3430
3430
  attr_accessor :customer
3431
3431
 
3432
- # Delivery details for shipments.
3432
+ # Delivery details for shipments of type delivery.
3433
3433
  # Corresponds to the JSON property `deliveryDetails`
3434
3434
  # @return [Google::Apis::ContentV2_1::OrderDeliveryDetails]
3435
3435
  attr_accessor :delivery_details
@@ -3479,6 +3479,11 @@ module Google
3479
3479
  # @return [String]
3480
3480
  attr_accessor :payment_status
3481
3481
 
3482
+ # Pickup details for shipments of type pickup.
3483
+ # Corresponds to the JSON property `pickupDetails`
3484
+ # @return [Google::Apis::ContentV2_1::OrderPickupDetails]
3485
+ attr_accessor :pickup_details
3486
+
3482
3487
  # The date when the order was placed, in ISO 8601 format.
3483
3488
  # Corresponds to the JSON property `placedDate`
3484
3489
  # @return [String]
@@ -3537,6 +3542,7 @@ module Google
3537
3542
  @net_price_amount = args[:net_price_amount] if args.key?(:net_price_amount)
3538
3543
  @net_tax_amount = args[:net_tax_amount] if args.key?(:net_tax_amount)
3539
3544
  @payment_status = args[:payment_status] if args.key?(:payment_status)
3545
+ @pickup_details = args[:pickup_details] if args.key?(:pickup_details)
3540
3546
  @placed_date = args[:placed_date] if args.key?(:placed_date)
3541
3547
  @promotions = args[:promotions] if args.key?(:promotions)
3542
3548
  @refunds = args[:refunds] if args.key?(:refunds)
@@ -3848,6 +3854,11 @@ module Google
3848
3854
  # @return [Fixnum]
3849
3855
  attr_accessor :quantity_pending
3850
3856
 
3857
+ # Number of items ready for pickup.
3858
+ # Corresponds to the JSON property `quantityReadyForPickup`
3859
+ # @return [Fixnum]
3860
+ attr_accessor :quantity_ready_for_pickup
3861
+
3851
3862
  # Number of items returned.
3852
3863
  # Corresponds to the JSON property `quantityReturned`
3853
3864
  # @return [Fixnum]
@@ -3900,6 +3911,7 @@ module Google
3900
3911
  @quantity_delivered = args[:quantity_delivered] if args.key?(:quantity_delivered)
3901
3912
  @quantity_ordered = args[:quantity_ordered] if args.key?(:quantity_ordered)
3902
3913
  @quantity_pending = args[:quantity_pending] if args.key?(:quantity_pending)
3914
+ @quantity_ready_for_pickup = args[:quantity_ready_for_pickup] if args.key?(:quantity_ready_for_pickup)
3903
3915
  @quantity_returned = args[:quantity_returned] if args.key?(:quantity_returned)
3904
3916
  @quantity_shipped = args[:quantity_shipped] if args.key?(:quantity_shipped)
3905
3917
  @quantity_undeliverable = args[:quantity_undeliverable] if args.key?(:quantity_undeliverable)
@@ -4147,6 +4159,12 @@ module Google
4147
4159
  # @return [String]
4148
4160
  attr_accessor :ship_by_date
4149
4161
 
4162
+ # Type of shipment. Indicates whether deliveryDetails or pickupDetails is
4163
+ # applicable for this shipment.
4164
+ # Corresponds to the JSON property `type`
4165
+ # @return [String]
4166
+ attr_accessor :type
4167
+
4150
4168
  def initialize(**args)
4151
4169
  update!(**args)
4152
4170
  end
@@ -4156,6 +4174,7 @@ module Google
4156
4174
  @deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
4157
4175
  @method_prop = args[:method_prop] if args.key?(:method_prop)
4158
4176
  @ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
4177
+ @type = args[:type] if args.key?(:type)
4159
4178
  end
4160
4179
  end
4161
4180
 
@@ -4224,6 +4243,64 @@ module Google
4224
4243
  end
4225
4244
  end
4226
4245
 
4246
+ #
4247
+ class OrderPickupDetails
4248
+ include Google::Apis::Core::Hashable
4249
+
4250
+ # Address of the pickup location where the shipment should be sent. Note that
4251
+ # recipientName in the address is the name of the business at the pickup
4252
+ # location.
4253
+ # Corresponds to the JSON property `address`
4254
+ # @return [Google::Apis::ContentV2_1::OrderAddress]
4255
+ attr_accessor :address
4256
+
4257
+ # Collectors authorized to pick up shipment from the pickup location.
4258
+ # Corresponds to the JSON property `collectors`
4259
+ # @return [Array<Google::Apis::ContentV2_1::OrderPickupDetailsCollector>]
4260
+ attr_accessor :collectors
4261
+
4262
+ # ID of the pickup location.
4263
+ # Corresponds to the JSON property `locationId`
4264
+ # @return [String]
4265
+ attr_accessor :location_id
4266
+
4267
+ def initialize(**args)
4268
+ update!(**args)
4269
+ end
4270
+
4271
+ # Update properties of this object
4272
+ def update!(**args)
4273
+ @address = args[:address] if args.key?(:address)
4274
+ @collectors = args[:collectors] if args.key?(:collectors)
4275
+ @location_id = args[:location_id] if args.key?(:location_id)
4276
+ end
4277
+ end
4278
+
4279
+ #
4280
+ class OrderPickupDetailsCollector
4281
+ include Google::Apis::Core::Hashable
4282
+
4283
+ # Name of the person picking up the shipment.
4284
+ # Corresponds to the JSON property `name`
4285
+ # @return [String]
4286
+ attr_accessor :name
4287
+
4288
+ # Phone number of the person picking up the shipment.
4289
+ # Corresponds to the JSON property `phoneNumber`
4290
+ # @return [String]
4291
+ attr_accessor :phone_number
4292
+
4293
+ def initialize(**args)
4294
+ update!(**args)
4295
+ end
4296
+
4297
+ # Update properties of this object
4298
+ def update!(**args)
4299
+ @name = args[:name] if args.key?(:name)
4300
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
4301
+ end
4302
+ end
4303
+
4227
4304
  #
4228
4305
  class OrderPromotion
4229
4306
  include Google::Apis::Core::Hashable
@@ -4555,7 +4632,7 @@ module Google
4555
4632
  # - "gls"
4556
4633
  # - "dpd"
4557
4634
  # - "bpost"
4558
- # - "colis priv�"
4635
+ # - "colis prive"
4559
4636
  # - "boxtal"
4560
4637
  # - "geodis"
4561
4638
  # Corresponds to the JSON property `carrier`
@@ -9417,6 +9494,12 @@ module Google
9417
9494
  # @return [String]
9418
9495
  attr_accessor :predefined_email
9419
9496
 
9497
+ # Identifier of one of the predefined pickup details. Required for orders
9498
+ # containing line items with shipping type pickup.
9499
+ # Corresponds to the JSON property `predefinedPickupDetails`
9500
+ # @return [String]
9501
+ attr_accessor :predefined_pickup_details
9502
+
9420
9503
  # Promotions associated with the order.
9421
9504
  # Corresponds to the JSON property `promotions`
9422
9505
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
@@ -9448,6 +9531,7 @@ module Google
9448
9531
  @predefined_billing_address = args[:predefined_billing_address] if args.key?(:predefined_billing_address)
9449
9532
  @predefined_delivery_address = args[:predefined_delivery_address] if args.key?(:predefined_delivery_address)
9450
9533
  @predefined_email = args[:predefined_email] if args.key?(:predefined_email)
9534
+ @predefined_pickup_details = args[:predefined_pickup_details] if args.key?(:predefined_pickup_details)
9451
9535
  @promotions = args[:promotions] if args.key?(:promotions)
9452
9536
  @shipping_cost = args[:shipping_cost] if args.key?(:shipping_cost)
9453
9537
  @shipping_option = args[:shipping_option] if args.key?(:shipping_option)
@@ -676,6 +676,18 @@ module Google
676
676
  include Google::Apis::Core::JsonObjectSupport
677
677
  end
678
678
 
679
+ class OrderPickupDetails
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class OrderPickupDetailsCollector
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
679
691
  class OrderPromotion
680
692
  class Representation < Google::Apis::Core::JsonRepresentation; end
681
693
 
@@ -2495,6 +2507,8 @@ module Google
2495
2507
  property :net_tax_amount, as: 'netTaxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
2496
2508
 
2497
2509
  property :payment_status, as: 'paymentStatus'
2510
+ property :pickup_details, as: 'pickupDetails', class: Google::Apis::ContentV2_1::OrderPickupDetails, decorator: Google::Apis::ContentV2_1::OrderPickupDetails::Representation
2511
+
2498
2512
  property :placed_date, as: 'placedDate'
2499
2513
  collection :promotions, as: 'promotions', class: Google::Apis::ContentV2_1::OrderPromotion, decorator: Google::Apis::ContentV2_1::OrderPromotion::Representation
2500
2514
 
@@ -2592,6 +2606,7 @@ module Google
2592
2606
  property :quantity_delivered, as: 'quantityDelivered'
2593
2607
  property :quantity_ordered, as: 'quantityOrdered'
2594
2608
  property :quantity_pending, as: 'quantityPending'
2609
+ property :quantity_ready_for_pickup, as: 'quantityReadyForPickup'
2595
2610
  property :quantity_returned, as: 'quantityReturned'
2596
2611
  property :quantity_shipped, as: 'quantityShipped'
2597
2612
  property :quantity_undeliverable, as: 'quantityUndeliverable'
@@ -2674,6 +2689,7 @@ module Google
2674
2689
  property :method_prop, as: 'method', class: Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod::Representation
2675
2690
 
2676
2691
  property :ship_by_date, as: 'shipByDate'
2692
+ property :type, as: 'type'
2677
2693
  end
2678
2694
  end
2679
2695
 
@@ -2695,6 +2711,25 @@ module Google
2695
2711
  end
2696
2712
  end
2697
2713
 
2714
+ class OrderPickupDetails
2715
+ # @private
2716
+ class Representation < Google::Apis::Core::JsonRepresentation
2717
+ property :address, as: 'address', class: Google::Apis::ContentV2_1::OrderAddress, decorator: Google::Apis::ContentV2_1::OrderAddress::Representation
2718
+
2719
+ collection :collectors, as: 'collectors', class: Google::Apis::ContentV2_1::OrderPickupDetailsCollector, decorator: Google::Apis::ContentV2_1::OrderPickupDetailsCollector::Representation
2720
+
2721
+ property :location_id, as: 'locationId'
2722
+ end
2723
+ end
2724
+
2725
+ class OrderPickupDetailsCollector
2726
+ # @private
2727
+ class Representation < Google::Apis::Core::JsonRepresentation
2728
+ property :name, as: 'name'
2729
+ property :phone_number, as: 'phoneNumber'
2730
+ end
2731
+ end
2732
+
2698
2733
  class OrderPromotion
2699
2734
  # @private
2700
2735
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4135,6 +4170,7 @@ module Google
4135
4170
  property :predefined_billing_address, as: 'predefinedBillingAddress'
4136
4171
  property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
4137
4172
  property :predefined_email, as: 'predefinedEmail'
4173
+ property :predefined_pickup_details, as: 'predefinedPickupDetails'
4138
4174
  collection :promotions, as: 'promotions', class: Google::Apis::ContentV2_1::OrderPromotion, decorator: Google::Apis::ContentV2_1::OrderPromotion::Representation
4139
4175
 
4140
4176
  property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation