google-api-client 0.11.3 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -0
  3. data/api_names.yaml +32317 -34465
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  14. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  19. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  22. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  23. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  24. data/generated/google/apis/analytics_v3/service.rb +82 -82
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
  27. data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
  28. data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  31. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  32. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  33. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  34. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  35. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  36. data/generated/google/apis/appengine_v1.rb +1 -1
  37. data/generated/google/apis/appengine_v1/classes.rb +825 -817
  38. data/generated/google/apis/appengine_v1/representations.rb +185 -184
  39. data/generated/google/apis/appengine_v1/service.rb +220 -216
  40. data/generated/google/apis/appstate_v1.rb +1 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2/classes.rb +9 -7
  43. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  44. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  45. data/generated/google/apis/blogger_v3/service.rb +3 -3
  46. data/generated/google/apis/books_v1/classes.rb +55 -55
  47. data/generated/google/apis/books_v1/representations.rb +67 -67
  48. data/generated/google/apis/books_v1/service.rb +82 -82
  49. data/generated/google/apis/calendar_v3.rb +1 -1
  50. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  51. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  52. data/generated/google/apis/calendar_v3/service.rb +2 -2
  53. data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  55. data/generated/google/apis/civicinfo_v2/service.rb +8 -8
  56. data/generated/google/apis/classroom_v1.rb +24 -24
  57. data/generated/google/apis/classroom_v1/classes.rb +381 -381
  58. data/generated/google/apis/classroom_v1/representations.rb +108 -108
  59. data/generated/google/apis/classroom_v1/service.rb +503 -503
  60. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  61. data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
  62. data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
  63. data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
  64. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  65. data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
  66. data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
  67. data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
  70. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
  71. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  74. data/generated/google/apis/cloudkms_v1.rb +3 -3
  75. data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
  76. data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
  77. data/generated/google/apis/cloudkms_v1/service.rb +224 -224
  78. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  79. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
  80. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
  81. data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
  85. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  88. data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +57 -15
  91. data/generated/google/apis/compute_beta/representations.rb +30 -14
  92. data/generated/google/apis/compute_beta/service.rb +52 -52
  93. data/generated/google/apis/compute_v1.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +223 -10
  95. data/generated/google/apis/compute_v1/representations.rb +85 -16
  96. data/generated/google/apis/compute_v1/service.rb +327 -51
  97. data/generated/google/apis/container_v1/classes.rb +267 -267
  98. data/generated/google/apis/container_v1/representations.rb +61 -61
  99. data/generated/google/apis/container_v1/service.rb +123 -123
  100. data/generated/google/apis/content_v2.rb +1 -1
  101. data/generated/google/apis/content_v2/classes.rb +71 -71
  102. data/generated/google/apis/content_v2/representations.rb +105 -105
  103. data/generated/google/apis/content_v2/service.rb +120 -120
  104. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  105. data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
  106. data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
  107. data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
  108. data/generated/google/apis/dataproc_v1.rb +1 -1
  109. data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
  110. data/generated/google/apis/dataproc_v1/representations.rb +147 -147
  111. data/generated/google/apis/dataproc_v1/service.rb +309 -305
  112. data/generated/google/apis/datastore_v1.rb +1 -1
  113. data/generated/google/apis/datastore_v1/classes.rb +818 -818
  114. data/generated/google/apis/datastore_v1/representations.rb +151 -151
  115. data/generated/google/apis/datastore_v1/service.rb +62 -62
  116. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  117. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  118. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  119. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  120. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  121. data/generated/google/apis/discovery_v1/service.rb +1 -1
  122. data/generated/google/apis/dns_v1.rb +1 -1
  123. data/generated/google/apis/dns_v1/classes.rb +3 -3
  124. data/generated/google/apis/dns_v1/representations.rb +6 -6
  125. data/generated/google/apis/dns_v1/service.rb +12 -12
  126. data/generated/google/apis/dns_v2beta1.rb +1 -1
  127. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  129. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/service.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
  136. data/generated/google/apis/firebaserules_v1.rb +1 -1
  137. data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
  138. data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
  139. data/generated/google/apis/firebaserules_v1/service.rb +89 -89
  140. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  143. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  144. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  145. data/generated/google/apis/games_management_v1management.rb +1 -1
  146. data/generated/google/apis/games_v1.rb +1 -1
  147. data/generated/google/apis/games_v1/classes.rb +23 -23
  148. data/generated/google/apis/games_v1/representations.rb +43 -43
  149. data/generated/google/apis/games_v1/service.rb +72 -72
  150. data/generated/google/apis/genomics_v1.rb +7 -7
  151. data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
  152. data/generated/google/apis/genomics_v1/representations.rb +298 -298
  153. data/generated/google/apis/genomics_v1/service.rb +1160 -1160
  154. data/generated/google/apis/groupssettings_v1/service.rb +0 -3
  155. data/generated/google/apis/iam_v1.rb +1 -1
  156. data/generated/google/apis/iam_v1/classes.rb +235 -235
  157. data/generated/google/apis/iam_v1/representations.rb +72 -72
  158. data/generated/google/apis/iam_v1/service.rb +189 -189
  159. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  160. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  161. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  162. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  163. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  164. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  165. data/generated/google/apis/language_v1/classes.rb +220 -220
  166. data/generated/google/apis/language_v1/representations.rb +81 -81
  167. data/generated/google/apis/language_v1/service.rb +43 -43
  168. data/generated/google/apis/language_v1beta1/classes.rb +448 -448
  169. data/generated/google/apis/language_v1beta1/representations.rb +106 -106
  170. data/generated/google/apis/language_v1beta1/service.rb +31 -31
  171. data/generated/google/apis/licensing_v1/service.rb +2 -2
  172. data/generated/google/apis/logging_v2/classes.rb +737 -737
  173. data/generated/google/apis/logging_v2/representations.rb +120 -120
  174. data/generated/google/apis/logging_v2/service.rb +479 -479
  175. data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
  176. data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
  177. data/generated/google/apis/logging_v2beta1/service.rb +349 -349
  178. data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
  179. data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
  180. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  181. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  182. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  183. data/generated/google/apis/mirror_v1/service.rb +20 -20
  184. data/generated/google/apis/ml_v1.rb +1 -1
  185. data/generated/google/apis/ml_v1/classes.rb +1285 -1205
  186. data/generated/google/apis/ml_v1/representations.rb +204 -174
  187. data/generated/google/apis/ml_v1/service.rb +150 -145
  188. data/generated/google/apis/monitoring_v3.rb +1 -1
  189. data/generated/google/apis/monitoring_v3/classes.rb +880 -880
  190. data/generated/google/apis/monitoring_v3/representations.rb +154 -154
  191. data/generated/google/apis/monitoring_v3/service.rb +299 -299
  192. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  193. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  194. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  195. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  196. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  197. data/generated/google/apis/partners_v2.rb +1 -1
  198. data/generated/google/apis/partners_v2/classes.rb +524 -509
  199. data/generated/google/apis/partners_v2/representations.rb +115 -111
  200. data/generated/google/apis/partners_v2/service.rb +287 -287
  201. data/generated/google/apis/people_v1.rb +13 -13
  202. data/generated/google/apis/people_v1/classes.rb +1150 -1150
  203. data/generated/google/apis/people_v1/representations.rb +258 -258
  204. data/generated/google/apis/people_v1/service.rb +7 -7
  205. data/generated/google/apis/plus_domains_v1.rb +1 -1
  206. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  207. data/generated/google/apis/plus_v1.rb +1 -1
  208. data/generated/google/apis/plus_v1/service.rb +1 -1
  209. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  210. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
  211. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
  212. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
  213. data/generated/google/apis/pubsub_v1/classes.rb +228 -228
  214. data/generated/google/apis/pubsub_v1/representations.rb +69 -69
  215. data/generated/google/apis/pubsub_v1/service.rb +182 -182
  216. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  217. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  218. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  219. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  220. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  221. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  222. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  223. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  226. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  227. data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
  228. data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
  229. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  230. data/generated/google/apis/script_v1.rb +9 -9
  231. data/generated/google/apis/script_v1/classes.rb +94 -94
  232. data/generated/google/apis/script_v1/representations.rb +26 -26
  233. data/generated/google/apis/searchconsole_v1.rb +1 -1
  234. data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
  235. data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
  236. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  237. data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
  238. data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
  239. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  240. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  241. data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
  242. data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
  243. data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
  244. data/generated/google/apis/serviceuser_v1.rb +4 -4
  245. data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
  246. data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
  247. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  248. data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
  249. data/generated/google/apis/sheets_v4/representations.rb +324 -324
  250. data/generated/google/apis/sheets_v4/service.rb +49 -49
  251. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  252. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  253. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  254. data/generated/google/apis/slides_v1.rb +4 -4
  255. data/generated/google/apis/slides_v1/classes.rb +2907 -2907
  256. data/generated/google/apis/slides_v1/representations.rb +695 -695
  257. data/generated/google/apis/slides_v1/service.rb +40 -40
  258. data/generated/google/apis/sourcerepo_v1.rb +7 -1
  259. data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
  260. data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
  261. data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
  262. data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
  263. data/generated/google/apis/spanner_v1/representations.rb +205 -205
  264. data/generated/google/apis/spanner_v1/service.rb +525 -525
  265. data/generated/google/apis/speech_v1beta1.rb +1 -1
  266. data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
  267. data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
  268. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  269. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  270. data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
  271. data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
  272. data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
  273. data/generated/google/apis/storage_v1/classes.rb +6 -6
  274. data/generated/google/apis/storage_v1/representations.rb +4 -4
  275. data/generated/google/apis/storage_v1/service.rb +1 -1
  276. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  277. data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
  278. data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
  279. data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
  280. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  281. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  282. data/generated/google/apis/translate_v2.rb +1 -1
  283. data/generated/google/apis/translate_v2/classes.rb +46 -46
  284. data/generated/google/apis/translate_v2/representations.rb +22 -22
  285. data/generated/google/apis/translate_v2/service.rb +81 -74
  286. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  287. data/generated/google/apis/vision_v1/representations.rb +166 -166
  288. data/generated/google/apis/vision_v1/service.rb +6 -6
  289. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  290. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  291. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  292. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  293. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  294. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  295. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  296. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  297. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  298. data/generated/google/apis/youtube_v3/service.rb +80 -80
  299. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  300. data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
  301. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  302. data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
  303. data/google-api-client.gemspec +3 -3
  304. data/lib/google/apis/core/base_service.rb +6 -0
  305. data/lib/google/apis/generator/annotator.rb +2 -2
  306. data/lib/google/apis/generator/model.rb +2 -2
  307. data/lib/google/apis/version.rb +1 -1
  308. metadata +11 -94
  309. data/dl.rb +0 -0
  310. data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
  311. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
  312. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
  313. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
  314. data/generated/google/apis/appengine_v1beta4.rb +0 -35
  315. data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
  316. data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
  317. data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
  318. data/generated/google/apis/appengine_v1beta5.rb +0 -40
  319. data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
  320. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
  321. data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
  322. data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
  323. data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
  324. data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
  325. data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
  326. data/generated/google/apis/classroom_v1beta1.rb +0 -49
  327. data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
  328. data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
  329. data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
  330. data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
  331. data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
  332. data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
  333. data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
  334. data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
  335. data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
  336. data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
  337. data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
  338. data/generated/google/apis/container_v1beta1.rb +0 -35
  339. data/generated/google/apis/container_v1beta1/classes.rb +0 -466
  340. data/generated/google/apis/container_v1beta1/representations.rb +0 -177
  341. data/generated/google/apis/container_v1beta1/service.rb +0 -394
  342. data/generated/google/apis/coordinate_v1.rb +0 -37
  343. data/generated/google/apis/coordinate_v1/classes.rb +0 -669
  344. data/generated/google/apis/coordinate_v1/representations.rb +0 -321
  345. data/generated/google/apis/coordinate_v1/service.rb +0 -678
  346. data/generated/google/apis/datastore_v1beta2.rb +0 -40
  347. data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
  348. data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
  349. data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
  350. data/generated/google/apis/datastore_v1beta3.rb +0 -38
  351. data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
  352. data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
  353. data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
  354. data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
  355. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
  356. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
  357. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
  358. data/generated/google/apis/dfareporting_v2_1.rb +0 -37
  359. data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
  360. data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
  361. data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
  362. data/generated/google/apis/dfareporting_v2_3.rb +0 -37
  363. data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
  364. data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
  365. data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
  366. data/generated/google/apis/dfareporting_v2_5.rb +0 -40
  367. data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
  368. data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
  369. data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
  370. data/generated/google/apis/dfareporting_v2_6.rb +0 -40
  371. data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
  372. data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
  373. data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
  374. data/generated/google/apis/gan_v1beta1.rb +0 -31
  375. data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
  376. data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
  377. data/generated/google/apis/gan_v1beta1/service.rb +0 -682
  378. data/generated/google/apis/genomics_v1beta2.rb +0 -46
  379. data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
  380. data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
  381. data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
  382. data/generated/google/apis/logging_v1beta3.rb +0 -47
  383. data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
  384. data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
  385. data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
  386. data/generated/google/apis/manager_v1beta2.rb +0 -53
  387. data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
  388. data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
  389. data/generated/google/apis/manager_v1beta2/service.rb +0 -372
  390. data/generated/google/apis/pubsub_v1beta2.rb +0 -37
  391. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
  392. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
  393. data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
  394. data/generated/google/apis/tracing_v1.rb +0 -40
  395. data/generated/google/apis/tracing_v1/classes.rb +0 -664
  396. data/generated/google/apis/tracing_v1/representations.rb +0 -279
  397. data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -38,8 +38,8 @@ module Google
38
38
 
39
39
  # The bucket's Cross-Origin Resource Sharing (CORS) configuration.
40
40
  # Corresponds to the JSON property `cors`
41
- # @return [Array<Google::Apis::StorageV1::Bucket::CorsConfiguration>]
42
- attr_accessor :cors_configurations
41
+ # @return [Array<Google::Apis::StorageV1::Bucket::Cor>]
42
+ attr_accessor :cors
43
43
 
44
44
  # Default access controls to apply to new objects when no ACL is provided.
45
45
  # Corresponds to the JSON property `defaultObjectAcl`
@@ -150,7 +150,7 @@ module Google
150
150
  def update!(**args)
151
151
  @acl = args[:acl] if args.key?(:acl)
152
152
  @billing = args[:billing] if args.key?(:billing)
153
- @cors_configurations = args[:cors_configurations] if args.key?(:cors_configurations)
153
+ @cors = args[:cors] if args.key?(:cors)
154
154
  @default_object_acl = args[:default_object_acl] if args.key?(:default_object_acl)
155
155
  @etag = args[:etag] if args.key?(:etag)
156
156
  @id = args[:id] if args.key?(:id)
@@ -192,7 +192,7 @@ module Google
192
192
  end
193
193
 
194
194
  #
195
- class CorsConfiguration
195
+ class Cor
196
196
  include Google::Apis::Core::Hashable
197
197
 
198
198
  # The value, in seconds, to return in the Access-Control-Max-Age header used in
@@ -206,7 +206,7 @@ module Google
206
206
  # any method".
207
207
  # Corresponds to the JSON property `method`
208
208
  # @return [Array<String>]
209
- attr_accessor :http_method
209
+ attr_accessor :method_prop
210
210
 
211
211
  # The list of Origins eligible to receive CORS response headers. Note: "*" is
212
212
  # permitted in the list of origins, and means "any Origin".
@@ -227,7 +227,7 @@ module Google
227
227
  # Update properties of this object
228
228
  def update!(**args)
229
229
  @max_age_seconds = args[:max_age_seconds] if args.key?(:max_age_seconds)
230
- @http_method = args[:http_method] if args.key?(:http_method)
230
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
231
231
  @origin = args[:origin] if args.key?(:origin)
232
232
  @response_header = args[:response_header] if args.key?(:response_header)
233
233
  end
@@ -31,7 +31,7 @@ module Google
31
31
  include Google::Apis::Core::JsonObjectSupport
32
32
  end
33
33
 
34
- class CorsConfiguration
34
+ class Cor
35
35
  class Representation < Google::Apis::Core::JsonRepresentation; end
36
36
 
37
37
  include Google::Apis::Core::JsonObjectSupport
@@ -227,7 +227,7 @@ module Google
227
227
 
228
228
  property :billing, as: 'billing', class: Google::Apis::StorageV1::Bucket::Billing, decorator: Google::Apis::StorageV1::Bucket::Billing::Representation
229
229
 
230
- collection :cors_configurations, as: 'cors', class: Google::Apis::StorageV1::Bucket::CorsConfiguration, decorator: Google::Apis::StorageV1::Bucket::CorsConfiguration::Representation
230
+ collection :cors, as: 'cors', class: Google::Apis::StorageV1::Bucket::Cor, decorator: Google::Apis::StorageV1::Bucket::Cor::Representation
231
231
 
232
232
  collection :default_object_acl, as: 'defaultObjectAcl', class: Google::Apis::StorageV1::ObjectAccessControl, decorator: Google::Apis::StorageV1::ObjectAccessControl::Representation
233
233
 
@@ -264,11 +264,11 @@ module Google
264
264
  end
265
265
  end
266
266
 
267
- class CorsConfiguration
267
+ class Cor
268
268
  # @private
269
269
  class Representation < Google::Apis::Core::JsonRepresentation
270
270
  property :max_age_seconds, as: 'maxAgeSeconds'
271
- collection :http_method, as: 'method'
271
+ collection :method_prop, as: 'method'
272
272
  collection :origin, as: 'origin'
273
273
  collection :response_header, as: 'responseHeader'
274
274
  end
@@ -2398,7 +2398,7 @@ module Google
2398
2398
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2399
2399
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2400
2400
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2401
- def watch_all_objects(bucket, channel_object = nil, delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2401
+ def watch_object_all(bucket, channel_object = nil, delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2402
2402
  command = make_simple_command(:post, 'b/{bucket}/o/watch', options)
2403
2403
  command.request_representation = Google::Apis::StorageV1::Channel::Representation
2404
2404
  command.request_object = channel_object
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/storage/transfer
27
27
  module StoragetransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170518'
29
+ REVISION = '20170601'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,181 +22,27 @@ module Google
22
22
  module Apis
23
23
  module StoragetransferV1
24
24
 
25
- # A summary of errors by error code, plus a count and sample error log
26
- # entries.
27
- class ErrorSummary
28
- include Google::Apis::Core::Hashable
29
-
30
- # Count of this type of error.
31
- # Required.
32
- # Corresponds to the JSON property `errorCount`
33
- # @return [Fixnum]
34
- attr_accessor :error_count
35
-
36
- # Error samples.
37
- # Corresponds to the JSON property `errorLogEntries`
38
- # @return [Array<Google::Apis::StoragetransferV1::ErrorLogEntry>]
39
- attr_accessor :error_log_entries
40
-
41
- # Required.
42
- # Corresponds to the JSON property `errorCode`
43
- # @return [String]
44
- attr_accessor :error_code
45
-
46
- def initialize(**args)
47
- update!(**args)
48
- end
49
-
50
- # Update properties of this object
51
- def update!(**args)
52
- @error_count = args[:error_count] if args.key?(:error_count)
53
- @error_log_entries = args[:error_log_entries] if args.key?(:error_log_entries)
54
- @error_code = args[:error_code] if args.key?(:error_code)
55
- end
56
- end
57
-
58
- # An HttpData specifies a list of objects on the web to be transferred over
59
- # HTTP. The information of the objects to be transferred is contained in a
60
- # file referenced by a URL. The first line in the file must be
61
- # "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines
62
- # specify the information of the list of objects, one object per list entry.
63
- # Each entry has the following tab-delimited fields:
64
- # * HTTP URL - The location of the object.
65
- # * Length - The size of the object in bytes.
66
- # * MD5 - The base64-encoded MD5 hash of the object.
67
- # For an example of a valid TSV file, see
68
- # [Transferring data from URLs](https://cloud.google.com/storage/transfer/#urls)
69
- # When transferring data based on a URL list, keep the following in mind:
70
- # * When an object located at `http(s)://hostname:port/<URL-path>` is
71
- # transferred
72
- # to a data sink, the name of the object at the data sink is
73
- # `<hostname>/<URL-path>`.
74
- # * If the specified size of an object does not match the actual size of the
75
- # object fetched, the object will not be transferred.
76
- # * If the specified MD5 does not match the MD5 computed from the transferred
77
- # bytes, the object transfer will fail. For more information, see
78
- # [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
79
- # * Ensure that each URL you specify is publicly accessible. For
80
- # example, in Google Cloud Storage you can
81
- # [share an object publicly]
82
- # (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get
83
- # a link to it.
84
- # * Storage Transfer Service obeys `robots.txt` rules and requires the source
85
- # HTTP server to support `Range` requests and to return a `Content-Length`
86
- # header in each response.
87
- # * [ObjectConditions](#ObjectConditions) have no effect when filtering objects
88
- # to transfer.
89
- class HttpData
90
- include Google::Apis::Core::Hashable
91
-
92
- # The URL that points to the file that stores the object list entries.
93
- # This file must allow public access. Currently, only URLs with HTTP and
94
- # HTTPS schemes are supported.
95
- # Required.
96
- # Corresponds to the JSON property `listUrl`
97
- # @return [String]
98
- attr_accessor :list_url
99
-
100
- def initialize(**args)
101
- update!(**args)
102
- end
103
-
104
- # Update properties of this object
105
- def update!(**args)
106
- @list_url = args[:list_url] if args.key?(:list_url)
107
- end
108
- end
109
-
110
- # In a GcsData, an object's name is the Google Cloud Storage object's name and
111
- # its `lastModificationTime` refers to the object's updated time, which changes
112
- # when the content or the metadata of the object is updated.
113
- class GcsData
114
- include Google::Apis::Core::Hashable
115
-
116
- # Google Cloud Storage bucket name (see
117
- # [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#
118
- # requirements)).
119
- # Required.
120
- # Corresponds to the JSON property `bucketName`
121
- # @return [String]
122
- attr_accessor :bucket_name
123
-
124
- def initialize(**args)
125
- update!(**args)
126
- end
127
-
128
- # Update properties of this object
129
- def update!(**args)
130
- @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
131
- end
132
- end
133
-
134
- # Response from ListTransferJobs.
135
- class ListTransferJobsResponse
136
- include Google::Apis::Core::Hashable
137
-
138
- # A list of transfer jobs.
139
- # Corresponds to the JSON property `transferJobs`
140
- # @return [Array<Google::Apis::StoragetransferV1::TransferJob>]
141
- attr_accessor :transfer_jobs
142
-
143
- # The list next page token.
144
- # Corresponds to the JSON property `nextPageToken`
145
- # @return [String]
146
- attr_accessor :next_page_token
147
-
148
- def initialize(**args)
149
- update!(**args)
150
- end
151
-
152
- # Update properties of this object
153
- def update!(**args)
154
- @transfer_jobs = args[:transfer_jobs] if args.key?(:transfer_jobs)
155
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
156
- end
157
- end
158
-
159
- # Request passed to UpdateTransferJob.
160
- class UpdateTransferJobRequest
25
+ # Conditions that determine which objects will be transferred.
26
+ class ObjectConditions
161
27
  include Google::Apis::Core::Hashable
162
28
 
163
- # This resource represents the configuration of a transfer job that runs
164
- # periodically.
165
- # Corresponds to the JSON property `transferJob`
166
- # @return [Google::Apis::StoragetransferV1::TransferJob]
167
- attr_accessor :transfer_job
168
-
169
- # The ID of the Google Cloud Platform Console project that owns the job.
170
- # Required.
171
- # Corresponds to the JSON property `projectId`
172
- # @return [String]
173
- attr_accessor :project_id
174
-
175
- # The field mask of the fields in `transferJob` that are to be updated in
176
- # this request. Fields in `transferJob` that can be updated are:
177
- # `description`, `transferSpec`, and `status`. To update the `transferSpec`
178
- # of the job, a complete transfer specification has to be provided. An
179
- # incomplete specification which misses any required fields will be rejected
180
- # with the error `INVALID_ARGUMENT`.
181
- # Corresponds to the JSON property `updateTransferJobFieldMask`
29
+ # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value
30
+ # and `maxTimeElapsedSinceLastModification` takes the maximum possible
31
+ # value of Duration. Objects that satisfy the object conditions
32
+ # must either have a `lastModificationTime` greater or equal to
33
+ # `NOW` - `maxTimeElapsedSinceLastModification` and less than
34
+ # `NOW` - `minTimeElapsedSinceLastModification`, or not have a
35
+ # `lastModificationTime`.
36
+ # Corresponds to the JSON property `minTimeElapsedSinceLastModification`
182
37
  # @return [String]
183
- attr_accessor :update_transfer_job_field_mask
184
-
185
- def initialize(**args)
186
- update!(**args)
187
- end
188
-
189
- # Update properties of this object
190
- def update!(**args)
191
- @transfer_job = args[:transfer_job] if args.key?(:transfer_job)
192
- @project_id = args[:project_id] if args.key?(:project_id)
193
- @update_transfer_job_field_mask = args[:update_transfer_job_field_mask] if args.key?(:update_transfer_job_field_mask)
194
- end
195
- end
38
+ attr_accessor :min_time_elapsed_since_last_modification
196
39
 
197
- # Conditions that determine which objects will be transferred.
198
- class ObjectConditions
199
- include Google::Apis::Core::Hashable
40
+ # `excludePrefixes` must follow the requirements described for
41
+ # `includePrefixes`.
42
+ # The max size of `excludePrefixes` is 1000.
43
+ # Corresponds to the JSON property `excludePrefixes`
44
+ # @return [Array<String>]
45
+ attr_accessor :exclude_prefixes
200
46
 
201
47
  # `maxTimeElapsedSinceLastModification` is the complement to
202
48
  # `minTimeElapsedSinceLastModification`.
@@ -233,34 +79,16 @@ module Google
233
79
  # @return [Array<String>]
234
80
  attr_accessor :include_prefixes
235
81
 
236
- # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value
237
- # and `maxTimeElapsedSinceLastModification` takes the maximum possible
238
- # value of Duration. Objects that satisfy the object conditions
239
- # must either have a `lastModificationTime` greater or equal to
240
- # `NOW` - `maxTimeElapsedSinceLastModification` and less than
241
- # `NOW` - `minTimeElapsedSinceLastModification`, or not have a
242
- # `lastModificationTime`.
243
- # Corresponds to the JSON property `minTimeElapsedSinceLastModification`
244
- # @return [String]
245
- attr_accessor :min_time_elapsed_since_last_modification
246
-
247
- # `excludePrefixes` must follow the requirements described for
248
- # `includePrefixes`.
249
- # The max size of `excludePrefixes` is 1000.
250
- # Corresponds to the JSON property `excludePrefixes`
251
- # @return [Array<String>]
252
- attr_accessor :exclude_prefixes
253
-
254
82
  def initialize(**args)
255
83
  update!(**args)
256
84
  end
257
85
 
258
86
  # Update properties of this object
259
87
  def update!(**args)
260
- @max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification)
261
- @include_prefixes = args[:include_prefixes] if args.key?(:include_prefixes)
262
88
  @min_time_elapsed_since_last_modification = args[:min_time_elapsed_since_last_modification] if args.key?(:min_time_elapsed_since_last_modification)
263
89
  @exclude_prefixes = args[:exclude_prefixes] if args.key?(:exclude_prefixes)
90
+ @max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification)
91
+ @include_prefixes = args[:include_prefixes] if args.key?(:include_prefixes)
264
92
  end
265
93
  end
266
94
 
@@ -269,33 +97,6 @@ module Google
269
97
  class Operation
270
98
  include Google::Apis::Core::Hashable
271
99
 
272
- # If the value is `false`, it means the operation is still in progress.
273
- # If true, the operation is completed, and either `error` or `response` is
274
- # available.
275
- # Corresponds to the JSON property `done`
276
- # @return [Boolean]
277
- attr_accessor :done
278
- alias_method :done?, :done
279
-
280
- # The normal response of the operation in case of success. If the original
281
- # method returns no data on success, such as `Delete`, the response is
282
- # `google.protobuf.Empty`. If the original method is standard
283
- # `Get`/`Create`/`Update`, the response should be the resource. For other
284
- # methods, the response should have the type `XxxResponse`, where `Xxx`
285
- # is the original method name. For example, if the original method name
286
- # is `TakeSnapshot()`, the inferred response type is
287
- # `TakeSnapshotResponse`.
288
- # Corresponds to the JSON property `response`
289
- # @return [Hash<String,Object>]
290
- attr_accessor :response
291
-
292
- # The server-assigned name, which is only unique within the same service that
293
- # originally returns it. If you use the default HTTP mapping, the `name` should
294
- # have the format of `transferOperations/some/unique/name`.
295
- # Corresponds to the JSON property `name`
296
- # @return [String]
297
- attr_accessor :name
298
-
299
100
  # The `Status` type defines a logical error model that is suitable for different
300
101
  # programming environments, including REST APIs and RPC APIs. It is used by
301
102
  # [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -344,19 +145,46 @@ module Google
344
145
  # @return [Hash<String,Object>]
345
146
  attr_accessor :metadata
346
147
 
347
- def initialize(**args)
348
- update!(**args)
349
- end
148
+ # If the value is `false`, it means the operation is still in progress.
149
+ # If true, the operation is completed, and either `error` or `response` is
150
+ # available.
151
+ # Corresponds to the JSON property `done`
152
+ # @return [Boolean]
153
+ attr_accessor :done
154
+ alias_method :done?, :done
350
155
 
351
- # Update properties of this object
352
- def update!(**args)
353
- @done = args[:done] if args.key?(:done)
354
- @response = args[:response] if args.key?(:response)
355
- @name = args[:name] if args.key?(:name)
356
- @error = args[:error] if args.key?(:error)
357
- @metadata = args[:metadata] if args.key?(:metadata)
358
- end
359
- end
156
+ # The normal response of the operation in case of success. If the original
157
+ # method returns no data on success, such as `Delete`, the response is
158
+ # `google.protobuf.Empty`. If the original method is standard
159
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
160
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
161
+ # is the original method name. For example, if the original method name
162
+ # is `TakeSnapshot()`, the inferred response type is
163
+ # `TakeSnapshotResponse`.
164
+ # Corresponds to the JSON property `response`
165
+ # @return [Hash<String,Object>]
166
+ attr_accessor :response
167
+
168
+ # The server-assigned name, which is only unique within the same service that
169
+ # originally returns it. If you use the default HTTP mapping, the `name` should
170
+ # have the format of `transferOperations/some/unique/name`.
171
+ # Corresponds to the JSON property `name`
172
+ # @return [String]
173
+ attr_accessor :name
174
+
175
+ def initialize(**args)
176
+ update!(**args)
177
+ end
178
+
179
+ # Update properties of this object
180
+ def update!(**args)
181
+ @error = args[:error] if args.key?(:error)
182
+ @metadata = args[:metadata] if args.key?(:metadata)
183
+ @done = args[:done] if args.key?(:done)
184
+ @response = args[:response] if args.key?(:response)
185
+ @name = args[:name] if args.key?(:name)
186
+ end
187
+ end
360
188
 
361
189
  # TransferOptions uses three boolean parameters to define the actions
362
190
  # to be performed on objects in a transfer.
@@ -479,6 +307,19 @@ module Google
479
307
  end
480
308
  end
481
309
 
310
+ # Request passed to ResumeTransferOperation.
311
+ class ResumeTransferOperationRequest
312
+ include Google::Apis::Core::Hashable
313
+
314
+ def initialize(**args)
315
+ update!(**args)
316
+ end
317
+
318
+ # Update properties of this object
319
+ def update!(**args)
320
+ end
321
+ end
322
+
482
323
  # The `Status` type defines a logical error model that is suitable for different
483
324
  # programming environments, including REST APIs and RPC APIs. It is used by
484
325
  # [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -551,19 +392,6 @@ module Google
551
392
  end
552
393
  end
553
394
 
554
- # Request passed to ResumeTransferOperation.
555
- class ResumeTransferOperationRequest
556
- include Google::Apis::Core::Hashable
557
-
558
- def initialize(**args)
559
- update!(**args)
560
- end
561
-
562
- # Update properties of this object
563
- def update!(**args)
564
- end
565
- end
566
-
567
395
  # The response message for Operations.ListOperations.
568
396
  class ListOperationsResponse
569
397
  include Google::Apis::Core::Hashable
@@ -681,6 +509,22 @@ module Google
681
509
  class TransferJob
682
510
  include Google::Apis::Core::Hashable
683
511
 
512
+ # A description provided by the user for the job. Its max length is 1024
513
+ # bytes when Unicode-encoded.
514
+ # Corresponds to the JSON property `description`
515
+ # @return [String]
516
+ attr_accessor :description
517
+
518
+ # This field cannot be changed by user requests.
519
+ # Corresponds to the JSON property `creationTime`
520
+ # @return [String]
521
+ attr_accessor :creation_time
522
+
523
+ # Configuration for running a transfer.
524
+ # Corresponds to the JSON property `transferSpec`
525
+ # @return [Google::Apis::StoragetransferV1::TransferSpec]
526
+ attr_accessor :transfer_spec
527
+
684
528
  # Status of the job. This value MUST be specified for
685
529
  # `CreateTransferJobRequests`.
686
530
  # NOTE: The effect of the new job status takes place during a subsequent job
@@ -696,11 +540,6 @@ module Google
696
540
  # @return [Google::Apis::StoragetransferV1::Schedule]
697
541
  attr_accessor :schedule
698
542
 
699
- # This field cannot be changed by user requests.
700
- # Corresponds to the JSON property `deletionTime`
701
- # @return [String]
702
- attr_accessor :deletion_time
703
-
704
543
  # A globally unique name assigned by Storage Transfer Service when the
705
544
  # job is created. This field should be left empty in requests to create a new
706
545
  # transfer job; otherwise, the requests result in an `INVALID_ARGUMENT`
@@ -710,9 +549,9 @@ module Google
710
549
  attr_accessor :name
711
550
 
712
551
  # This field cannot be changed by user requests.
713
- # Corresponds to the JSON property `lastModificationTime`
552
+ # Corresponds to the JSON property `deletionTime`
714
553
  # @return [String]
715
- attr_accessor :last_modification_time
554
+ attr_accessor :deletion_time
716
555
 
717
556
  # The ID of the Google Cloud Platform Console project that owns the job.
718
557
  # Required.
@@ -720,21 +559,10 @@ module Google
720
559
  # @return [String]
721
560
  attr_accessor :project_id
722
561
 
723
- # A description provided by the user for the job. Its max length is 1024
724
- # bytes when Unicode-encoded.
725
- # Corresponds to the JSON property `description`
726
- # @return [String]
727
- attr_accessor :description
728
-
729
- # Configuration for running a transfer.
730
- # Corresponds to the JSON property `transferSpec`
731
- # @return [Google::Apis::StoragetransferV1::TransferSpec]
732
- attr_accessor :transfer_spec
733
-
734
562
  # This field cannot be changed by user requests.
735
- # Corresponds to the JSON property `creationTime`
563
+ # Corresponds to the JSON property `lastModificationTime`
736
564
  # @return [String]
737
- attr_accessor :creation_time
565
+ attr_accessor :last_modification_time
738
566
 
739
567
  def initialize(**args)
740
568
  update!(**args)
@@ -742,15 +570,15 @@ module Google
742
570
 
743
571
  # Update properties of this object
744
572
  def update!(**args)
573
+ @description = args[:description] if args.key?(:description)
574
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
575
+ @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
745
576
  @status = args[:status] if args.key?(:status)
746
577
  @schedule = args[:schedule] if args.key?(:schedule)
747
- @deletion_time = args[:deletion_time] if args.key?(:deletion_time)
748
578
  @name = args[:name] if args.key?(:name)
749
- @last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
579
+ @deletion_time = args[:deletion_time] if args.key?(:deletion_time)
750
580
  @project_id = args[:project_id] if args.key?(:project_id)
751
- @description = args[:description] if args.key?(:description)
752
- @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
753
- @creation_time = args[:creation_time] if args.key?(:creation_time)
581
+ @last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
754
582
  end
755
583
  end
756
584
 
@@ -758,17 +586,6 @@ module Google
758
586
  class Schedule
759
587
  include Google::Apis::Core::Hashable
760
588
 
761
- # Represents a whole calendar date, e.g. date of birth. The time of day and
762
- # time zone are either specified elsewhere or are not significant. The date
763
- # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
764
- # represent a year and month where the day is not significant, e.g. credit card
765
- # expiration date. The year may be 0 to represent a month and day independent
766
- # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
767
- # and `google.protobuf.Timestamp`.
768
- # Corresponds to the JSON property `scheduleEndDate`
769
- # @return [Google::Apis::StoragetransferV1::Date]
770
- attr_accessor :schedule_end_date
771
-
772
589
  # Represents a time of day. The date and time zone are either not significant
773
590
  # or are specified elsewhere. An API may choose to allow leap seconds. Related
774
591
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -787,15 +604,26 @@ module Google
787
604
  # @return [Google::Apis::StoragetransferV1::Date]
788
605
  attr_accessor :schedule_start_date
789
606
 
607
+ # Represents a whole calendar date, e.g. date of birth. The time of day and
608
+ # time zone are either specified elsewhere or are not significant. The date
609
+ # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
610
+ # represent a year and month where the day is not significant, e.g. credit card
611
+ # expiration date. The year may be 0 to represent a month and day independent
612
+ # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
613
+ # and `google.protobuf.Timestamp`.
614
+ # Corresponds to the JSON property `scheduleEndDate`
615
+ # @return [Google::Apis::StoragetransferV1::Date]
616
+ attr_accessor :schedule_end_date
617
+
790
618
  def initialize(**args)
791
619
  update!(**args)
792
620
  end
793
621
 
794
622
  # Update properties of this object
795
623
  def update!(**args)
796
- @schedule_end_date = args[:schedule_end_date] if args.key?(:schedule_end_date)
797
624
  @start_time_of_day = args[:start_time_of_day] if args.key?(:start_time_of_day)
798
625
  @schedule_start_date = args[:schedule_start_date] if args.key?(:schedule_start_date)
626
+ @schedule_end_date = args[:schedule_end_date] if args.key?(:schedule_end_date)
799
627
  end
800
628
  end
801
629
 
@@ -809,11 +637,6 @@ module Google
809
637
  class Date
810
638
  include Google::Apis::Core::Hashable
811
639
 
812
- # Month of year. Must be from 1 to 12.
813
- # Corresponds to the JSON property `month`
814
- # @return [Fixnum]
815
- attr_accessor :month
816
-
817
640
  # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
818
641
  # a year.
819
642
  # Corresponds to the JSON property `year`
@@ -826,15 +649,20 @@ module Google
826
649
  # @return [Fixnum]
827
650
  attr_accessor :day
828
651
 
652
+ # Month of year. Must be from 1 to 12.
653
+ # Corresponds to the JSON property `month`
654
+ # @return [Fixnum]
655
+ attr_accessor :month
656
+
829
657
  def initialize(**args)
830
658
  update!(**args)
831
659
  end
832
660
 
833
661
  # Update properties of this object
834
662
  def update!(**args)
835
- @month = args[:month] if args.key?(:month)
836
663
  @year = args[:year] if args.key?(:year)
837
664
  @day = args[:day] if args.key?(:day)
665
+ @month = args[:month] if args.key?(:month)
838
666
  end
839
667
  end
840
668
 
@@ -842,6 +670,17 @@ module Google
842
670
  class TransferOperation
843
671
  include Google::Apis::Core::Hashable
844
672
 
673
+ # The ID of the Google Cloud Platform Console project that owns the operation.
674
+ # Required.
675
+ # Corresponds to the JSON property `projectId`
676
+ # @return [String]
677
+ attr_accessor :project_id
678
+
679
+ # End time of this transfer execution.
680
+ # Corresponds to the JSON property `endTime`
681
+ # @return [String]
682
+ attr_accessor :end_time
683
+
845
684
  # Start time of this transfer execution.
846
685
  # Corresponds to the JSON property `startTime`
847
686
  # @return [String]
@@ -877,23 +716,14 @@ module Google
877
716
  # @return [String]
878
717
  attr_accessor :name
879
718
 
880
- # The ID of the Google Cloud Platform Console project that owns the operation.
881
- # Required.
882
- # Corresponds to the JSON property `projectId`
883
- # @return [String]
884
- attr_accessor :project_id
885
-
886
- # End time of this transfer execution.
887
- # Corresponds to the JSON property `endTime`
888
- # @return [String]
889
- attr_accessor :end_time
890
-
891
719
  def initialize(**args)
892
720
  update!(**args)
893
721
  end
894
722
 
895
723
  # Update properties of this object
896
724
  def update!(**args)
725
+ @project_id = args[:project_id] if args.key?(:project_id)
726
+ @end_time = args[:end_time] if args.key?(:end_time)
897
727
  @start_time = args[:start_time] if args.key?(:start_time)
898
728
  @transfer_job_name = args[:transfer_job_name] if args.key?(:transfer_job_name)
899
729
  @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
@@ -901,8 +731,6 @@ module Google
901
731
  @counters = args[:counters] if args.key?(:counters)
902
732
  @error_breakdowns = args[:error_breakdowns] if args.key?(:error_breakdowns)
903
733
  @name = args[:name] if args.key?(:name)
904
- @project_id = args[:project_id] if args.key?(:project_id)
905
- @end_time = args[:end_time] if args.key?(:end_time)
906
734
  end
907
735
  end
908
736
 
@@ -911,13 +739,6 @@ module Google
911
739
  class AwsS3Data
912
740
  include Google::Apis::Core::Hashable
913
741
 
914
- # AWS access key (see
915
- # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-
916
- # security-credentials.html)).
917
- # Corresponds to the JSON property `awsAccessKey`
918
- # @return [Google::Apis::StoragetransferV1::AwsAccessKey]
919
- attr_accessor :aws_access_key
920
-
921
742
  # S3 Bucket name (see
922
743
  # [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-
923
744
  # bucket-get-location-example.html)).
@@ -926,14 +747,21 @@ module Google
926
747
  # @return [String]
927
748
  attr_accessor :bucket_name
928
749
 
750
+ # AWS access key (see
751
+ # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-
752
+ # security-credentials.html)).
753
+ # Corresponds to the JSON property `awsAccessKey`
754
+ # @return [Google::Apis::StoragetransferV1::AwsAccessKey]
755
+ attr_accessor :aws_access_key
756
+
929
757
  def initialize(**args)
930
758
  update!(**args)
931
759
  end
932
760
 
933
761
  # Update properties of this object
934
762
  def update!(**args)
935
- @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
936
763
  @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
764
+ @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
937
765
  end
938
766
  end
939
767
 
@@ -943,26 +771,26 @@ module Google
943
771
  class AwsAccessKey
944
772
  include Google::Apis::Core::Hashable
945
773
 
946
- # AWS secret access key. This field is not returned in RPC responses.
947
- # Required.
948
- # Corresponds to the JSON property `secretAccessKey`
949
- # @return [String]
950
- attr_accessor :secret_access_key
951
-
952
774
  # AWS access key ID.
953
775
  # Required.
954
776
  # Corresponds to the JSON property `accessKeyId`
955
777
  # @return [String]
956
778
  attr_accessor :access_key_id
957
779
 
780
+ # AWS secret access key. This field is not returned in RPC responses.
781
+ # Required.
782
+ # Corresponds to the JSON property `secretAccessKey`
783
+ # @return [String]
784
+ attr_accessor :secret_access_key
785
+
958
786
  def initialize(**args)
959
787
  update!(**args)
960
788
  end
961
789
 
962
790
  # Update properties of this object
963
791
  def update!(**args)
964
- @secret_access_key = args[:secret_access_key] if args.key?(:secret_access_key)
965
792
  @access_key_id = args[:access_key_id] if args.key?(:access_key_id)
793
+ @secret_access_key = args[:secret_access_key] if args.key?(:secret_access_key)
966
794
  end
967
795
  end
968
796
 
@@ -1002,6 +830,31 @@ module Google
1002
830
  class TransferCounters
1003
831
  include Google::Apis::Core::Hashable
1004
832
 
833
+ # Bytes that failed to be deleted from the data sink.
834
+ # Corresponds to the JSON property `bytesFailedToDeleteFromSink`
835
+ # @return [Fixnum]
836
+ attr_accessor :bytes_failed_to_delete_from_sink
837
+
838
+ # Bytes that are deleted from the data sink.
839
+ # Corresponds to the JSON property `bytesDeletedFromSink`
840
+ # @return [Fixnum]
841
+ attr_accessor :bytes_deleted_from_sink
842
+
843
+ # Bytes in the data source that failed during the transfer.
844
+ # Corresponds to the JSON property `bytesFromSourceFailed`
845
+ # @return [Fixnum]
846
+ attr_accessor :bytes_from_source_failed
847
+
848
+ # Objects that are copied to the data sink.
849
+ # Corresponds to the JSON property `objectsCopiedToSink`
850
+ # @return [Fixnum]
851
+ attr_accessor :objects_copied_to_sink
852
+
853
+ # Objects in the data source that failed during the transfer.
854
+ # Corresponds to the JSON property `objectsFromSourceFailed`
855
+ # @return [Fixnum]
856
+ attr_accessor :objects_from_source_failed
857
+
1005
858
  # Bytes found only in the data sink that are scheduled to be deleted.
1006
859
  # Corresponds to the JSON property `bytesFoundOnlyFromSink`
1007
860
  # @return [Fixnum]
@@ -1017,6 +870,12 @@ module Google
1017
870
  # @return [Fixnum]
1018
871
  attr_accessor :bytes_copied_to_sink
1019
872
 
873
+ # Objects in the data source that are not transferred because they already
874
+ # exist in the data sink.
875
+ # Corresponds to the JSON property `objectsFromSourceSkippedBySync`
876
+ # @return [Fixnum]
877
+ attr_accessor :objects_from_source_skipped_by_sync
878
+
1020
879
  # Bytes found in the data source that are scheduled to be transferred,
1021
880
  # which will be copied, excluded based on conditions, or skipped due to
1022
881
  # failures.
@@ -1024,12 +883,6 @@ module Google
1024
883
  # @return [Fixnum]
1025
884
  attr_accessor :bytes_found_from_source
1026
885
 
1027
- # Objects in the data source that are not transferred because they already
1028
- # exist in the data sink.
1029
- # Corresponds to the JSON property `objectsFromSourceSkippedBySync`
1030
- # @return [Fixnum]
1031
- attr_accessor :objects_from_source_skipped_by_sync
1032
-
1033
886
  # Objects found in the data source that are scheduled to be transferred,
1034
887
  # which will be copied, excluded based on conditions, or skipped due to
1035
888
  # failures.
@@ -1047,69 +900,216 @@ module Google
1047
900
  # @return [Fixnum]
1048
901
  attr_accessor :objects_failed_to_delete_from_sink
1049
902
 
1050
- # Objects that are deleted from the data sink.
1051
- # Corresponds to the JSON property `objectsDeletedFromSink`
1052
- # @return [Fixnum]
1053
- attr_accessor :objects_deleted_from_sink
1054
-
1055
903
  # Objects found only in the data sink that are scheduled to be deleted.
1056
904
  # Corresponds to the JSON property `objectsFoundOnlyFromSink`
1057
905
  # @return [Fixnum]
1058
906
  attr_accessor :objects_found_only_from_sink
1059
907
 
908
+ # Objects that are deleted from the data sink.
909
+ # Corresponds to the JSON property `objectsDeletedFromSink`
910
+ # @return [Fixnum]
911
+ attr_accessor :objects_deleted_from_sink
912
+
1060
913
  # Bytes in the data source that are not transferred because they already
1061
914
  # exist in the data sink.
1062
915
  # Corresponds to the JSON property `bytesFromSourceSkippedBySync`
1063
916
  # @return [Fixnum]
1064
917
  attr_accessor :bytes_from_source_skipped_by_sync
1065
918
 
1066
- # Bytes that failed to be deleted from the data sink.
1067
- # Corresponds to the JSON property `bytesFailedToDeleteFromSink`
1068
- # @return [Fixnum]
1069
- attr_accessor :bytes_failed_to_delete_from_sink
1070
-
1071
- # Bytes that are deleted from the data sink.
1072
- # Corresponds to the JSON property `bytesDeletedFromSink`
1073
- # @return [Fixnum]
1074
- attr_accessor :bytes_deleted_from_sink
1075
-
1076
- # Bytes in the data source that failed during the transfer.
1077
- # Corresponds to the JSON property `bytesFromSourceFailed`
1078
- # @return [Fixnum]
1079
- attr_accessor :bytes_from_source_failed
1080
-
1081
- # Objects in the data source that failed during the transfer.
1082
- # Corresponds to the JSON property `objectsFromSourceFailed`
1083
- # @return [Fixnum]
1084
- attr_accessor :objects_from_source_failed
1085
-
1086
- # Objects that are copied to the data sink.
1087
- # Corresponds to the JSON property `objectsCopiedToSink`
1088
- # @return [Fixnum]
1089
- attr_accessor :objects_copied_to_sink
1090
-
1091
919
  def initialize(**args)
1092
920
  update!(**args)
1093
921
  end
1094
922
 
1095
923
  # Update properties of this object
1096
924
  def update!(**args)
925
+ @bytes_failed_to_delete_from_sink = args[:bytes_failed_to_delete_from_sink] if args.key?(:bytes_failed_to_delete_from_sink)
926
+ @bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink)
927
+ @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed)
928
+ @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink)
929
+ @objects_from_source_failed = args[:objects_from_source_failed] if args.key?(:objects_from_source_failed)
1097
930
  @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink)
1098
931
  @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source)
1099
932
  @bytes_copied_to_sink = args[:bytes_copied_to_sink] if args.key?(:bytes_copied_to_sink)
1100
- @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source)
1101
933
  @objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync)
934
+ @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source)
1102
935
  @objects_found_from_source = args[:objects_found_from_source] if args.key?(:objects_found_from_source)
1103
936
  @bytes_deleted_from_source = args[:bytes_deleted_from_source] if args.key?(:bytes_deleted_from_source)
1104
937
  @objects_failed_to_delete_from_sink = args[:objects_failed_to_delete_from_sink] if args.key?(:objects_failed_to_delete_from_sink)
1105
- @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
1106
938
  @objects_found_only_from_sink = args[:objects_found_only_from_sink] if args.key?(:objects_found_only_from_sink)
939
+ @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
1107
940
  @bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync)
1108
- @bytes_failed_to_delete_from_sink = args[:bytes_failed_to_delete_from_sink] if args.key?(:bytes_failed_to_delete_from_sink)
1109
- @bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink)
1110
- @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed)
1111
- @objects_from_source_failed = args[:objects_from_source_failed] if args.key?(:objects_from_source_failed)
1112
- @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink)
941
+ end
942
+ end
943
+
944
+ # A summary of errors by error code, plus a count and sample error log
945
+ # entries.
946
+ class ErrorSummary
947
+ include Google::Apis::Core::Hashable
948
+
949
+ # Count of this type of error.
950
+ # Required.
951
+ # Corresponds to the JSON property `errorCount`
952
+ # @return [Fixnum]
953
+ attr_accessor :error_count
954
+
955
+ # Error samples.
956
+ # Corresponds to the JSON property `errorLogEntries`
957
+ # @return [Array<Google::Apis::StoragetransferV1::ErrorLogEntry>]
958
+ attr_accessor :error_log_entries
959
+
960
+ # Required.
961
+ # Corresponds to the JSON property `errorCode`
962
+ # @return [String]
963
+ attr_accessor :error_code
964
+
965
+ def initialize(**args)
966
+ update!(**args)
967
+ end
968
+
969
+ # Update properties of this object
970
+ def update!(**args)
971
+ @error_count = args[:error_count] if args.key?(:error_count)
972
+ @error_log_entries = args[:error_log_entries] if args.key?(:error_log_entries)
973
+ @error_code = args[:error_code] if args.key?(:error_code)
974
+ end
975
+ end
976
+
977
+ # An HttpData specifies a list of objects on the web to be transferred over
978
+ # HTTP. The information of the objects to be transferred is contained in a
979
+ # file referenced by a URL. The first line in the file must be
980
+ # "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines
981
+ # specify the information of the list of objects, one object per list entry.
982
+ # Each entry has the following tab-delimited fields:
983
+ # * HTTP URL - The location of the object.
984
+ # * Length - The size of the object in bytes.
985
+ # * MD5 - The base64-encoded MD5 hash of the object.
986
+ # For an example of a valid TSV file, see
987
+ # [Transferring data from URLs](https://cloud.google.com/storage/transfer/#urls)
988
+ # When transferring data based on a URL list, keep the following in mind:
989
+ # * When an object located at `http(s)://hostname:port/<URL-path>` is
990
+ # transferred
991
+ # to a data sink, the name of the object at the data sink is
992
+ # `<hostname>/<URL-path>`.
993
+ # * If the specified size of an object does not match the actual size of the
994
+ # object fetched, the object will not be transferred.
995
+ # * If the specified MD5 does not match the MD5 computed from the transferred
996
+ # bytes, the object transfer will fail. For more information, see
997
+ # [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
998
+ # * Ensure that each URL you specify is publicly accessible. For
999
+ # example, in Google Cloud Storage you can
1000
+ # [share an object publicly]
1001
+ # (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get
1002
+ # a link to it.
1003
+ # * Storage Transfer Service obeys `robots.txt` rules and requires the source
1004
+ # HTTP server to support `Range` requests and to return a `Content-Length`
1005
+ # header in each response.
1006
+ # * [ObjectConditions](#ObjectConditions) have no effect when filtering objects
1007
+ # to transfer.
1008
+ class HttpData
1009
+ include Google::Apis::Core::Hashable
1010
+
1011
+ # The URL that points to the file that stores the object list entries.
1012
+ # This file must allow public access. Currently, only URLs with HTTP and
1013
+ # HTTPS schemes are supported.
1014
+ # Required.
1015
+ # Corresponds to the JSON property `listUrl`
1016
+ # @return [String]
1017
+ attr_accessor :list_url
1018
+
1019
+ def initialize(**args)
1020
+ update!(**args)
1021
+ end
1022
+
1023
+ # Update properties of this object
1024
+ def update!(**args)
1025
+ @list_url = args[:list_url] if args.key?(:list_url)
1026
+ end
1027
+ end
1028
+
1029
+ # In a GcsData, an object's name is the Google Cloud Storage object's name and
1030
+ # its `lastModificationTime` refers to the object's updated time, which changes
1031
+ # when the content or the metadata of the object is updated.
1032
+ class GcsData
1033
+ include Google::Apis::Core::Hashable
1034
+
1035
+ # Google Cloud Storage bucket name (see
1036
+ # [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#
1037
+ # requirements)).
1038
+ # Required.
1039
+ # Corresponds to the JSON property `bucketName`
1040
+ # @return [String]
1041
+ attr_accessor :bucket_name
1042
+
1043
+ def initialize(**args)
1044
+ update!(**args)
1045
+ end
1046
+
1047
+ # Update properties of this object
1048
+ def update!(**args)
1049
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
1050
+ end
1051
+ end
1052
+
1053
+ # Response from ListTransferJobs.
1054
+ class ListTransferJobsResponse
1055
+ include Google::Apis::Core::Hashable
1056
+
1057
+ # The list next page token.
1058
+ # Corresponds to the JSON property `nextPageToken`
1059
+ # @return [String]
1060
+ attr_accessor :next_page_token
1061
+
1062
+ # A list of transfer jobs.
1063
+ # Corresponds to the JSON property `transferJobs`
1064
+ # @return [Array<Google::Apis::StoragetransferV1::TransferJob>]
1065
+ attr_accessor :transfer_jobs
1066
+
1067
+ def initialize(**args)
1068
+ update!(**args)
1069
+ end
1070
+
1071
+ # Update properties of this object
1072
+ def update!(**args)
1073
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1074
+ @transfer_jobs = args[:transfer_jobs] if args.key?(:transfer_jobs)
1075
+ end
1076
+ end
1077
+
1078
+ # Request passed to UpdateTransferJob.
1079
+ class UpdateTransferJobRequest
1080
+ include Google::Apis::Core::Hashable
1081
+
1082
+ # The ID of the Google Cloud Platform Console project that owns the job.
1083
+ # Required.
1084
+ # Corresponds to the JSON property `projectId`
1085
+ # @return [String]
1086
+ attr_accessor :project_id
1087
+
1088
+ # The field mask of the fields in `transferJob` that are to be updated in
1089
+ # this request. Fields in `transferJob` that can be updated are:
1090
+ # `description`, `transferSpec`, and `status`. To update the `transferSpec`
1091
+ # of the job, a complete transfer specification has to be provided. An
1092
+ # incomplete specification which misses any required fields will be rejected
1093
+ # with the error `INVALID_ARGUMENT`.
1094
+ # Corresponds to the JSON property `updateTransferJobFieldMask`
1095
+ # @return [String]
1096
+ attr_accessor :update_transfer_job_field_mask
1097
+
1098
+ # This resource represents the configuration of a transfer job that runs
1099
+ # periodically.
1100
+ # Corresponds to the JSON property `transferJob`
1101
+ # @return [Google::Apis::StoragetransferV1::TransferJob]
1102
+ attr_accessor :transfer_job
1103
+
1104
+ def initialize(**args)
1105
+ update!(**args)
1106
+ end
1107
+
1108
+ # Update properties of this object
1109
+ def update!(**args)
1110
+ @project_id = args[:project_id] if args.key?(:project_id)
1111
+ @update_transfer_job_field_mask = args[:update_transfer_job_field_mask] if args.key?(:update_transfer_job_field_mask)
1112
+ @transfer_job = args[:transfer_job] if args.key?(:transfer_job)
1113
1113
  end
1114
1114
  end
1115
1115
  end