google-api-client 0.23.0 → 0.23.1

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 +114 -0
  3. data/CODE_OF_CONDUCT.md +43 -0
  4. data/MIGRATING.md +1 -5
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/service.rb +3 -3
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
  13. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
  15. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  16. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -0
  18. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  19. data/generated/google/apis/appengine_v1.rb +1 -1
  20. data/generated/google/apis/appengine_v1/classes.rb +34 -1
  21. data/generated/google/apis/appengine_v1/representations.rb +16 -0
  22. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
  25. data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
  26. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +6 -4
  31. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  32. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
  33. data/generated/google/apis/chat_v1.rb +2 -2
  34. data/generated/google/apis/chat_v1/classes.rb +76 -0
  35. data/generated/google/apis/chat_v1/representations.rb +25 -0
  36. data/generated/google/apis/chat_v1/service.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +1 -1
  39. data/generated/google/apis/classroom_v1/service.rb +12 -12
  40. data/generated/google/apis/cloudbuild_v1.rb +2 -2
  41. data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
  42. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  47. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  48. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
  49. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
  50. data/generated/google/apis/cloudiot_v1.rb +1 -1
  51. data/generated/google/apis/cloudiot_v1/service.rb +0 -331
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
  54. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  61. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
  62. data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
  63. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  64. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
  65. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
  66. data/generated/google/apis/cloudshell_v1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
  70. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
  71. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1.rb +1 -1
  74. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  75. data/generated/google/apis/compute_alpha.rb +1 -1
  76. data/generated/google/apis/compute_alpha/classes.rb +49 -18
  77. data/generated/google/apis/compute_alpha/representations.rb +6 -1
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +1114 -103
  80. data/generated/google/apis/compute_beta/representations.rb +431 -0
  81. data/generated/google/apis/compute_beta/service.rb +605 -0
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +95 -1
  84. data/generated/google/apis/compute_v1/representations.rb +33 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +1 -1
  87. data/generated/google/apis/container_v1/service.rb +1 -1
  88. data/generated/google/apis/container_v1beta1.rb +1 -1
  89. data/generated/google/apis/container_v1beta1/classes.rb +348 -2
  90. data/generated/google/apis/container_v1beta1/representations.rb +121 -0
  91. data/generated/google/apis/container_v1beta1/service.rb +114 -2
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +147 -0
  94. data/generated/google/apis/content_v2/representations.rb +65 -0
  95. data/generated/google/apis/content_v2/service.rb +81 -1
  96. data/generated/google/apis/content_v2sandbox.rb +1 -1
  97. data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
  98. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  99. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  100. data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
  101. data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +164 -1
  104. data/generated/google/apis/dataproc_v1/representations.rb +70 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  110. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  111. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  112. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  113. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  114. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  115. data/generated/google/apis/dialogflow_v2.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
  117. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  118. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  119. data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
  120. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  121. data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
  122. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  123. data/generated/google/apis/dlp_v2.rb +1 -1
  124. data/generated/google/apis/dlp_v2/classes.rb +70 -26
  125. data/generated/google/apis/dlp_v2/representations.rb +3 -0
  126. data/generated/google/apis/dlp_v2/service.rb +78 -17
  127. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
  131. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
  134. data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
  135. data/generated/google/apis/genomics_v1.rb +1 -1
  136. data/generated/google/apis/genomics_v1/classes.rb +0 -1
  137. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  138. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  139. data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
  140. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
  143. data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
  144. data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
  145. data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
  146. data/generated/google/apis/indexing_v3.rb +32 -0
  147. data/generated/google/apis/indexing_v3/classes.rb +115 -0
  148. data/generated/google/apis/indexing_v3/representations.rb +72 -0
  149. data/generated/google/apis/indexing_v3/service.rb +122 -0
  150. data/generated/google/apis/jobs_v2.rb +1 -1
  151. data/generated/google/apis/jobs_v2/classes.rb +73 -72
  152. data/generated/google/apis/jobs_v2/representations.rb +0 -1
  153. data/generated/google/apis/jobs_v2/service.rb +8 -7
  154. data/generated/google/apis/language_v1.rb +1 -1
  155. data/generated/google/apis/language_v1beta1.rb +1 -1
  156. data/generated/google/apis/language_v1beta2.rb +1 -1
  157. data/generated/google/apis/logging_v2.rb +1 -1
  158. data/generated/google/apis/logging_v2/classes.rb +42 -0
  159. data/generated/google/apis/logging_v2/representations.rb +17 -0
  160. data/generated/google/apis/logging_v2beta1.rb +1 -1
  161. data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
  162. data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
  163. data/generated/google/apis/manufacturers_v1.rb +1 -1
  164. data/generated/google/apis/ml_v1.rb +1 -1
  165. data/generated/google/apis/ml_v1/classes.rb +17 -0
  166. data/generated/google/apis/ml_v1/representations.rb +1 -0
  167. data/generated/google/apis/ml_v1/service.rb +4 -2
  168. data/generated/google/apis/monitoring_v3.rb +1 -1
  169. data/generated/google/apis/monitoring_v3/classes.rb +91 -7
  170. data/generated/google/apis/monitoring_v3/representations.rb +17 -0
  171. data/generated/google/apis/oslogin_v1.rb +1 -1
  172. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  173. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  174. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  175. data/generated/google/apis/partners_v2.rb +1 -1
  176. data/generated/google/apis/people_v1.rb +1 -1
  177. data/generated/google/apis/poly_v1.rb +1 -1
  178. data/generated/google/apis/poly_v1/classes.rb +12 -2
  179. data/generated/google/apis/poly_v1/representations.rb +1 -0
  180. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1.rb +1 -1
  182. data/generated/google/apis/pubsub_v1/classes.rb +57 -4
  183. data/generated/google/apis/pubsub_v1/representations.rb +19 -0
  184. data/generated/google/apis/pubsub_v1/service.rb +40 -2
  185. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  186. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  187. data/generated/google/apis/redis_v1beta1.rb +1 -1
  188. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  189. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  190. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  191. data/generated/google/apis/script_v1.rb +4 -1
  192. data/generated/google/apis/searchconsole_v1.rb +1 -1
  193. data/generated/google/apis/servicebroker_v1.rb +1 -1
  194. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  195. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  196. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
  197. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
  198. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
  199. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
  202. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  203. data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
  204. data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
  205. data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
  206. data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
  207. data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
  208. data/generated/google/apis/serviceusage_v1/service.rb +423 -0
  209. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  210. data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
  211. data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
  212. data/generated/google/apis/serviceuser_v1.rb +1 -1
  213. data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
  214. data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
  215. data/generated/google/apis/serviceuser_v1/service.rb +2 -2
  216. data/generated/google/apis/sheets_v4.rb +1 -1
  217. data/generated/google/apis/slides_v1.rb +1 -1
  218. data/generated/google/apis/slides_v1/classes.rb +9 -3
  219. data/generated/google/apis/spanner_v1.rb +1 -1
  220. data/generated/google/apis/speech_v1.rb +2 -2
  221. data/generated/google/apis/speech_v1/service.rb +1 -1
  222. data/generated/google/apis/speech_v1beta1.rb +2 -2
  223. data/generated/google/apis/speech_v1beta1/service.rb +1 -1
  224. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  225. data/generated/google/apis/testing_v1.rb +1 -1
  226. data/generated/google/apis/testing_v1/classes.rb +1 -1
  227. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  228. data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
  229. data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
  230. data/generated/google/apis/videointelligence_v1.rb +1 -1
  231. data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
  232. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  233. data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +4 -2
  236. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  237. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
  238. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
  240. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  241. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  242. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  243. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  244. data/lib/google/apis/version.rb +1 -1
  245. metadata +15 -10
  246. data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
  247. data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
  248. data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
  249. data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
  250. data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
  251. data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class CutoffTime
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class Datafeed
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -460,6 +466,12 @@ module Google
460
466
  include Google::Apis::Core::JsonObjectSupport
461
467
  end
462
468
 
469
+ class LiaPosDataProvider
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
463
475
  class LiaSettings
464
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
477
 
@@ -496,6 +508,12 @@ module Google
496
508
  include Google::Apis::Core::JsonObjectSupport
497
509
  end
498
510
 
511
+ class LiasettingsListPosDataProvidersResponse
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
499
517
  class LiasettingsListResponse
500
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
519
 
@@ -520,6 +538,12 @@ module Google
520
538
  include Google::Apis::Core::JsonObjectSupport
521
539
  end
522
540
 
541
+ class LiasettingsSetPosDataProviderResponse
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
523
547
  class LocationIdSet
524
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
549
 
@@ -1769,6 +1793,15 @@ module Google
1769
1793
  end
1770
1794
  end
1771
1795
 
1796
+ class CutoffTime
1797
+ # @private
1798
+ class Representation < Google::Apis::Core::JsonRepresentation
1799
+ property :hour, as: 'hour'
1800
+ property :minute, as: 'minute'
1801
+ property :timezone, as: 'timezone'
1802
+ end
1803
+ end
1804
+
1772
1805
  class Datafeed
1773
1806
  # @private
1774
1807
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1972,9 +2005,13 @@ module Google
1972
2005
  class DeliveryTime
1973
2006
  # @private
1974
2007
  class Representation < Google::Apis::Core::JsonRepresentation
2008
+ property :cutoff_time, as: 'cutoffTime', class: Google::Apis::ContentV2::CutoffTime, decorator: Google::Apis::ContentV2::CutoffTime::Representation
2009
+
1975
2010
  collection :holiday_cutoffs, as: 'holidayCutoffs', class: Google::Apis::ContentV2::HolidayCutoff, decorator: Google::Apis::ContentV2::HolidayCutoff::Representation
1976
2011
 
2012
+ property :max_handling_time_in_days, as: 'maxHandlingTimeInDays'
1977
2013
  property :max_transit_time_in_days, as: 'maxTransitTimeInDays'
2014
+ property :min_handling_time_in_days, as: 'minHandlingTimeInDays'
1978
2015
  property :min_transit_time_in_days, as: 'minTransitTimeInDays'
1979
2016
  end
1980
2017
  end
@@ -2204,6 +2241,8 @@ module Google
2204
2241
 
2205
2242
  property :on_display_to_order, as: 'onDisplayToOrder', class: Google::Apis::ContentV2::LiaOnDisplayToOrderSettings, decorator: Google::Apis::ContentV2::LiaOnDisplayToOrderSettings::Representation
2206
2243
 
2244
+ property :pos_data_provider, as: 'posDataProvider', class: Google::Apis::ContentV2::LiaPosDataProvider, decorator: Google::Apis::ContentV2::LiaPosDataProvider::Representation
2245
+
2207
2246
  property :store_pickup_active, as: 'storePickupActive'
2208
2247
  end
2209
2248
  end
@@ -2226,6 +2265,14 @@ module Google
2226
2265
  end
2227
2266
  end
2228
2267
 
2268
+ class LiaPosDataProvider
2269
+ # @private
2270
+ class Representation < Google::Apis::Core::JsonRepresentation
2271
+ property :pos_data_provider_id, :numeric_string => true, as: 'posDataProviderId'
2272
+ property :pos_external_account_id, as: 'posExternalAccountId'
2273
+ end
2274
+ end
2275
+
2229
2276
  class LiaSettings
2230
2277
  # @private
2231
2278
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2297,6 +2344,15 @@ module Google
2297
2344
  end
2298
2345
  end
2299
2346
 
2347
+ class LiasettingsListPosDataProvidersResponse
2348
+ # @private
2349
+ class Representation < Google::Apis::Core::JsonRepresentation
2350
+ property :kind, as: 'kind'
2351
+ collection :pos_data_providers, as: 'posDataProviders', class: Google::Apis::ContentV2::PosDataProviders, decorator: Google::Apis::ContentV2::PosDataProviders::Representation
2352
+
2353
+ end
2354
+ end
2355
+
2300
2356
  class LiasettingsListResponse
2301
2357
  # @private
2302
2358
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2328,6 +2384,13 @@ module Google
2328
2384
  end
2329
2385
  end
2330
2386
 
2387
+ class LiasettingsSetPosDataProviderResponse
2388
+ # @private
2389
+ class Representation < Google::Apis::Core::JsonRepresentation
2390
+ property :kind, as: 'kind'
2391
+ end
2392
+ end
2393
+
2331
2394
  class LocationIdSet
2332
2395
  # @private
2333
2396
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3845,6 +3908,7 @@ module Google
3845
3908
 
3846
3909
  property :main_table, as: 'mainTable', class: Google::Apis::ContentV2::Table, decorator: Google::Apis::ContentV2::Table::Representation
3847
3910
 
3911
+ property :name, as: 'name'
3848
3912
  property :single_value, as: 'singleValue', class: Google::Apis::ContentV2::Value, decorator: Google::Apis::ContentV2::Value::Representation
3849
3913
 
3850
3914
  collection :subtables, as: 'subtables', class: Google::Apis::ContentV2::Table, decorator: Google::Apis::ContentV2::Table::Representation
@@ -3997,6 +4061,7 @@ module Google
3997
4061
  class Representation < Google::Apis::Core::JsonRepresentation
3998
4062
  property :customer, as: 'customer', class: Google::Apis::ContentV2::TestOrderCustomer, decorator: Google::Apis::ContentV2::TestOrderCustomer::Representation
3999
4063
 
4064
+ property :enable_orderinvoices, as: 'enableOrderinvoices'
4000
4065
  property :kind, as: 'kind'
4001
4066
  collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::TestOrderLineItem, decorator: Google::Apis::ContentV2::TestOrderLineItem::Representation
4002
4067
 
@@ -440,7 +440,8 @@ module Google
440
440
  execute_or_queue_command(command, &block)
441
441
  end
442
442
 
443
- # Retrieves the status of a Merchant Center account.
443
+ # Retrieves the status of a Merchant Center account. Multi-client accounts can
444
+ # only call this method for sub-accounts.
444
445
  # @param [Fixnum] merchant_id
445
446
  # The ID of the managing account. If this parameter is not the same as accountId,
446
447
  # then this account must be a multi-client account and accountId must be the ID
@@ -1404,6 +1405,37 @@ module Google
1404
1405
  execute_or_queue_command(command, &block)
1405
1406
  end
1406
1407
 
1408
+ # Retrieves the list of POS data providers that have active settings for the all
1409
+ # eiligible countries.
1410
+ # @param [String] fields
1411
+ # Selector specifying which fields to include in a partial response.
1412
+ # @param [String] quota_user
1413
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
1414
+ # characters.
1415
+ # @param [String] user_ip
1416
+ # Deprecated. Please use quotaUser instead.
1417
+ # @param [Google::Apis::RequestOptions] options
1418
+ # Request-specific options
1419
+ #
1420
+ # @yield [result, err] Result & error if block supplied
1421
+ # @yieldparam result [Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse] parsed result object
1422
+ # @yieldparam err [StandardError] error object if request failed
1423
+ #
1424
+ # @return [Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse]
1425
+ #
1426
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1427
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1428
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1429
+ def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1430
+ command = make_simple_command(:get, 'liasettings/posdataproviders', options)
1431
+ command.response_representation = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse::Representation
1432
+ command.response_class = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse
1433
+ command.query['fields'] = fields unless fields.nil?
1434
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1435
+ command.query['userIp'] = user_ip unless user_ip.nil?
1436
+ execute_or_queue_command(command, &block)
1437
+ end
1438
+
1407
1439
  # Updates the LIA settings of the account. This method supports patch semantics.
1408
1440
  # @param [Fixnum] merchant_id
1409
1441
  # The ID of the managing account. If this parameter is not the same as accountId,
@@ -1582,6 +1614,54 @@ module Google
1582
1614
  execute_or_queue_command(command, &block)
1583
1615
  end
1584
1616
 
1617
+ # Sets the POS data provider for the specified country.
1618
+ # @param [Fixnum] merchant_id
1619
+ # The ID of the managing account. If this parameter is not the same as accountId,
1620
+ # then this account must be a multi-client account and accountId must be the ID
1621
+ # of a sub-account of this account.
1622
+ # @param [Fixnum] account_id
1623
+ # The ID of the account for which to retrieve accessible Google My Business
1624
+ # accounts.
1625
+ # @param [String] country
1626
+ # The country for which the POS data provider is selected.
1627
+ # @param [Fixnum] pos_data_provider_id
1628
+ # The ID of POS data provider.
1629
+ # @param [String] pos_external_account_id
1630
+ # The account ID by which this merchant is known to the POS data provider.
1631
+ # @param [String] fields
1632
+ # Selector specifying which fields to include in a partial response.
1633
+ # @param [String] quota_user
1634
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
1635
+ # characters.
1636
+ # @param [String] user_ip
1637
+ # Deprecated. Please use quotaUser instead.
1638
+ # @param [Google::Apis::RequestOptions] options
1639
+ # Request-specific options
1640
+ #
1641
+ # @yield [result, err] Result & error if block supplied
1642
+ # @yieldparam result [Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse] parsed result object
1643
+ # @yieldparam err [StandardError] error object if request failed
1644
+ #
1645
+ # @return [Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse]
1646
+ #
1647
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1648
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1649
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1650
+ def setposdataprovider_liasetting(merchant_id, account_id, country: nil, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1651
+ command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
1652
+ command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation
1653
+ command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse
1654
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
1655
+ command.params['accountId'] = account_id unless account_id.nil?
1656
+ command.query['country'] = country unless country.nil?
1657
+ command.query['posDataProviderId'] = pos_data_provider_id unless pos_data_provider_id.nil?
1658
+ command.query['posExternalAccountId'] = pos_external_account_id unless pos_external_account_id.nil?
1659
+ command.query['fields'] = fields unless fields.nil?
1660
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1661
+ command.query['userIp'] = user_ip unless user_ip.nil?
1662
+ execute_or_queue_command(command, &block)
1663
+ end
1664
+
1585
1665
  # Updates the LIA settings of the account.
1586
1666
  # @param [Fixnum] merchant_id
1587
1667
  # The ID of the managing account. If this parameter is not the same as accountId,
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2sandbox
28
28
  VERSION = 'V2sandbox'
29
- REVISION = '20180529'
29
+ REVISION = '20180608'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -3624,6 +3624,12 @@ module Google
3624
3624
  # @return [Google::Apis::ContentV2sandbox::TestOrderCustomer]
3625
3625
  attr_accessor :customer
3626
3626
 
3627
+ # Whether the orderinvoices service should support this order.
3628
+ # Corresponds to the JSON property `enableOrderinvoices`
3629
+ # @return [Boolean]
3630
+ attr_accessor :enable_orderinvoices
3631
+ alias_method :enable_orderinvoices?, :enable_orderinvoices
3632
+
3627
3633
  # Identifies what kind of resource this is. Value: the fixed string "content#
3628
3634
  # testOrder".
3629
3635
  # Corresponds to the JSON property `kind`
@@ -3679,6 +3685,7 @@ module Google
3679
3685
  # Update properties of this object
3680
3686
  def update!(**args)
3681
3687
  @customer = args[:customer] if args.key?(:customer)
3688
+ @enable_orderinvoices = args[:enable_orderinvoices] if args.key?(:enable_orderinvoices)
3682
3689
  @kind = args[:kind] if args.key?(:kind)
3683
3690
  @line_items = args[:line_items] if args.key?(:line_items)
3684
3691
  @notification_mode = args[:notification_mode] if args.key?(:notification_mode)
@@ -1644,6 +1644,7 @@ module Google
1644
1644
  class Representation < Google::Apis::Core::JsonRepresentation
1645
1645
  property :customer, as: 'customer', class: Google::Apis::ContentV2sandbox::TestOrderCustomer, decorator: Google::Apis::ContentV2sandbox::TestOrderCustomer::Representation
1646
1646
 
1647
+ property :enable_orderinvoices, as: 'enableOrderinvoices'
1647
1648
  property :kind, as: 'kind'
1648
1649
  collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::TestOrderLineItem, decorator: Google::Apis::ContentV2sandbox::TestOrderLineItem::Representation
1649
1650
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20180413'
28
+ REVISION = '20180614'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -204,6 +204,74 @@ module Google
204
204
  end
205
205
  end
206
206
 
207
+ # Metadata for a BigQuery connector used by the job.
208
+ class BigQueryIoDetails
209
+ include Google::Apis::Core::Hashable
210
+
211
+ # Dataset accessed in the connection.
212
+ # Corresponds to the JSON property `dataset`
213
+ # @return [String]
214
+ attr_accessor :dataset
215
+
216
+ # Project accessed in the connection.
217
+ # Corresponds to the JSON property `projectId`
218
+ # @return [String]
219
+ attr_accessor :project_id
220
+
221
+ # Query used to access data in the connection.
222
+ # Corresponds to the JSON property `query`
223
+ # @return [String]
224
+ attr_accessor :query
225
+
226
+ # Table accessed in the connection.
227
+ # Corresponds to the JSON property `table`
228
+ # @return [String]
229
+ attr_accessor :table
230
+
231
+ def initialize(**args)
232
+ update!(**args)
233
+ end
234
+
235
+ # Update properties of this object
236
+ def update!(**args)
237
+ @dataset = args[:dataset] if args.key?(:dataset)
238
+ @project_id = args[:project_id] if args.key?(:project_id)
239
+ @query = args[:query] if args.key?(:query)
240
+ @table = args[:table] if args.key?(:table)
241
+ end
242
+ end
243
+
244
+ # Metadata for a BigTable connector used by the job.
245
+ class BigTableIoDetails
246
+ include Google::Apis::Core::Hashable
247
+
248
+ # InstanceId accessed in the connection.
249
+ # Corresponds to the JSON property `instanceId`
250
+ # @return [String]
251
+ attr_accessor :instance_id
252
+
253
+ # ProjectId accessed in the connection.
254
+ # Corresponds to the JSON property `projectId`
255
+ # @return [String]
256
+ attr_accessor :project_id
257
+
258
+ # TableId accessed in the connection.
259
+ # Corresponds to the JSON property `tableId`
260
+ # @return [String]
261
+ attr_accessor :table_id
262
+
263
+ def initialize(**args)
264
+ update!(**args)
265
+ end
266
+
267
+ # Update properties of this object
268
+ def update!(**args)
269
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
270
+ @project_id = args[:project_id] if args.key?(:project_id)
271
+ @table_id = args[:table_id] if args.key?(:table_id)
272
+ end
273
+ end
274
+
207
275
  # Modeled after information exposed by /proc/stat.
208
276
  class CpuTime
209
277
  include Google::Apis::Core::Hashable
@@ -734,6 +802,31 @@ module Google
734
802
  end
735
803
  end
736
804
 
805
+ # Metadata for a Datastore connector used by the job.
806
+ class DatastoreIoDetails
807
+ include Google::Apis::Core::Hashable
808
+
809
+ # Namespace used in the connection.
810
+ # Corresponds to the JSON property `namespace`
811
+ # @return [String]
812
+ attr_accessor :namespace
813
+
814
+ # ProjectId accessed in the connection.
815
+ # Corresponds to the JSON property `projectId`
816
+ # @return [String]
817
+ attr_accessor :project_id
818
+
819
+ def initialize(**args)
820
+ update!(**args)
821
+ end
822
+
823
+ # Update properties of this object
824
+ def update!(**args)
825
+ @namespace = args[:namespace] if args.key?(:namespace)
826
+ @project_id = args[:project_id] if args.key?(:project_id)
827
+ end
828
+ end
829
+
737
830
  # Specification of one of the bundles produced as a result of splitting
738
831
  # a Source (e.g. when executing a SourceSplitRequest, or when
739
832
  # splitting an active task using WorkItemStatus.dynamic_source_split),
@@ -1197,6 +1290,25 @@ module Google
1197
1290
  end
1198
1291
  end
1199
1292
 
1293
+ # Metadata for a File connector used by the job.
1294
+ class FileIoDetails
1295
+ include Google::Apis::Core::Hashable
1296
+
1297
+ # File Pattern used to access files by the connector.
1298
+ # Corresponds to the JSON property `filePattern`
1299
+ # @return [String]
1300
+ attr_accessor :file_pattern
1301
+
1302
+ def initialize(**args)
1303
+ update!(**args)
1304
+ end
1305
+
1306
+ # Update properties of this object
1307
+ def update!(**args)
1308
+ @file_pattern = args[:file_pattern] if args.key?(:file_pattern)
1309
+ end
1310
+ end
1311
+
1200
1312
  # An instruction that copies its inputs (zero or more) to its (single) output.
1201
1313
  class FlattenInstruction
1202
1314
  include Google::Apis::Core::Hashable
@@ -1622,6 +1734,12 @@ module Google
1622
1734
  # @return [String]
1623
1735
  attr_accessor :id
1624
1736
 
1737
+ # Metadata available primarily for filtering jobs. Will be included in the
1738
+ # ListJob response and Job SUMMARY view+.
1739
+ # Corresponds to the JSON property `jobMetadata`
1740
+ # @return [Google::Apis::DataflowV1b3::JobMetadata]
1741
+ attr_accessor :job_metadata
1742
+
1625
1743
  # User-defined labels for this job.
1626
1744
  # The labels map can contain no more than 64 entries. Entries of the labels
1627
1745
  # map are UTF8 strings that comply with the following restrictions:
@@ -1734,6 +1852,7 @@ module Google
1734
1852
  @environment = args[:environment] if args.key?(:environment)
1735
1853
  @execution_info = args[:execution_info] if args.key?(:execution_info)
1736
1854
  @id = args[:id] if args.key?(:id)
1855
+ @job_metadata = args[:job_metadata] if args.key?(:job_metadata)
1737
1856
  @labels = args[:labels] if args.key?(:labels)
1738
1857
  @location = args[:location] if args.key?(:location)
1739
1858
  @name = args[:name] if args.key?(:name)
@@ -1829,6 +1948,62 @@ module Google
1829
1948
  end
1830
1949
  end
1831
1950
 
1951
+ # Metadata available primarily for filtering jobs. Will be included in the
1952
+ # ListJob response and Job SUMMARY view+.
1953
+ class JobMetadata
1954
+ include Google::Apis::Core::Hashable
1955
+
1956
+ # Identification of a BigTable source used in the Dataflow job.
1957
+ # Corresponds to the JSON property `bigTableDetails`
1958
+ # @return [Array<Google::Apis::DataflowV1b3::BigTableIoDetails>]
1959
+ attr_accessor :big_table_details
1960
+
1961
+ # Identification of a BigQuery source used in the Dataflow job.
1962
+ # Corresponds to the JSON property `bigqueryDetails`
1963
+ # @return [Array<Google::Apis::DataflowV1b3::BigQueryIoDetails>]
1964
+ attr_accessor :bigquery_details
1965
+
1966
+ # Identification of a Datastore source used in the Dataflow job.
1967
+ # Corresponds to the JSON property `datastoreDetails`
1968
+ # @return [Array<Google::Apis::DataflowV1b3::DatastoreIoDetails>]
1969
+ attr_accessor :datastore_details
1970
+
1971
+ # Identification of a File source used in the Dataflow job.
1972
+ # Corresponds to the JSON property `fileDetails`
1973
+ # @return [Array<Google::Apis::DataflowV1b3::FileIoDetails>]
1974
+ attr_accessor :file_details
1975
+
1976
+ # Identification of a PubSub source used in the Dataflow job.
1977
+ # Corresponds to the JSON property `pubsubDetails`
1978
+ # @return [Array<Google::Apis::DataflowV1b3::PubSubIoDetails>]
1979
+ attr_accessor :pubsub_details
1980
+
1981
+ # The version of the SDK used to run the jobl
1982
+ # Corresponds to the JSON property `sdkVersion`
1983
+ # @return [Google::Apis::DataflowV1b3::SdkVersion]
1984
+ attr_accessor :sdk_version
1985
+
1986
+ # Identification of a Spanner source used in the Dataflow job.
1987
+ # Corresponds to the JSON property `spannerDetails`
1988
+ # @return [Array<Google::Apis::DataflowV1b3::SpannerIoDetails>]
1989
+ attr_accessor :spanner_details
1990
+
1991
+ def initialize(**args)
1992
+ update!(**args)
1993
+ end
1994
+
1995
+ # Update properties of this object
1996
+ def update!(**args)
1997
+ @big_table_details = args[:big_table_details] if args.key?(:big_table_details)
1998
+ @bigquery_details = args[:bigquery_details] if args.key?(:bigquery_details)
1999
+ @datastore_details = args[:datastore_details] if args.key?(:datastore_details)
2000
+ @file_details = args[:file_details] if args.key?(:file_details)
2001
+ @pubsub_details = args[:pubsub_details] if args.key?(:pubsub_details)
2002
+ @sdk_version = args[:sdk_version] if args.key?(:sdk_version)
2003
+ @spanner_details = args[:spanner_details] if args.key?(:spanner_details)
2004
+ end
2005
+ end
2006
+
1832
2007
  # JobMetrics contains a collection of metrics descibing the detailed progress
1833
2008
  # of a Dataflow job. Metrics correspond to user-defined and system-defined
1834
2009
  # metrics in the job.
@@ -2767,6 +2942,31 @@ module Google
2767
2942
  end
2768
2943
  end
2769
2944
 
2945
+ # Metadata for a PubSub connector used by the job.
2946
+ class PubSubIoDetails
2947
+ include Google::Apis::Core::Hashable
2948
+
2949
+ # Subscription used in the connection.
2950
+ # Corresponds to the JSON property `subscription`
2951
+ # @return [String]
2952
+ attr_accessor :subscription
2953
+
2954
+ # Topic accessed in the connection.
2955
+ # Corresponds to the JSON property `topic`
2956
+ # @return [String]
2957
+ attr_accessor :topic
2958
+
2959
+ def initialize(**args)
2960
+ update!(**args)
2961
+ end
2962
+
2963
+ # Update properties of this object
2964
+ def update!(**args)
2965
+ @subscription = args[:subscription] if args.key?(:subscription)
2966
+ @topic = args[:topic] if args.key?(:topic)
2967
+ end
2968
+ end
2969
+
2770
2970
  # Identifies a pubsub location to use for transferring data into or
2771
2971
  # out of a streaming Dataflow job.
2772
2972
  class PubsubLocation
@@ -3056,6 +3256,37 @@ module Google
3056
3256
  end
3057
3257
  end
3058
3258
 
3259
+ # The version of the SDK used to run the jobl
3260
+ class SdkVersion
3261
+ include Google::Apis::Core::Hashable
3262
+
3263
+ # The support status for this SDK version.
3264
+ # Corresponds to the JSON property `sdkSupportStatus`
3265
+ # @return [String]
3266
+ attr_accessor :sdk_support_status
3267
+
3268
+ # The version of the SDK used to run the job.
3269
+ # Corresponds to the JSON property `version`
3270
+ # @return [String]
3271
+ attr_accessor :version
3272
+
3273
+ # A readable string describing the version of the sdk.
3274
+ # Corresponds to the JSON property `versionDisplayName`
3275
+ # @return [String]
3276
+ attr_accessor :version_display_name
3277
+
3278
+ def initialize(**args)
3279
+ update!(**args)
3280
+ end
3281
+
3282
+ # Update properties of this object
3283
+ def update!(**args)
3284
+ @sdk_support_status = args[:sdk_support_status] if args.key?(:sdk_support_status)
3285
+ @version = args[:version] if args.key?(:version)
3286
+ @version_display_name = args[:version_display_name] if args.key?(:version_display_name)
3287
+ end
3288
+ end
3289
+
3059
3290
  # Request to send encoded debug information.
3060
3291
  class SendDebugCaptureRequest
3061
3292
  include Google::Apis::Core::Hashable
@@ -3713,6 +3944,37 @@ module Google
3713
3944
  end
3714
3945
  end
3715
3946
 
3947
+ # Metadata for a Spanner connector used by the job.
3948
+ class SpannerIoDetails
3949
+ include Google::Apis::Core::Hashable
3950
+
3951
+ # DatabaseId accessed in the connection.
3952
+ # Corresponds to the JSON property `databaseId`
3953
+ # @return [String]
3954
+ attr_accessor :database_id
3955
+
3956
+ # InstanceId accessed in the connection.
3957
+ # Corresponds to the JSON property `instanceId`
3958
+ # @return [String]
3959
+ attr_accessor :instance_id
3960
+
3961
+ # ProjectId accessed in the connection.
3962
+ # Corresponds to the JSON property `projectId`
3963
+ # @return [String]
3964
+ attr_accessor :project_id
3965
+
3966
+ def initialize(**args)
3967
+ update!(**args)
3968
+ end
3969
+
3970
+ # Update properties of this object
3971
+ def update!(**args)
3972
+ @database_id = args[:database_id] if args.key?(:database_id)
3973
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
3974
+ @project_id = args[:project_id] if args.key?(:project_id)
3975
+ end
3976
+ end
3977
+
3716
3978
  # A representation of an int64, n, that is immune to precision loss when
3717
3979
  # encoded in JSON.
3718
3980
  class SplitInt64