google-api-client 0.41.2 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (897) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +529 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -129
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
  59. data/generated/google/apis/apigee_v1/representations.rb +593 -0
  60. data/generated/google/apis/apigee_v1/service.rb +2596 -1692
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  133. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  134. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  135. data/generated/google/apis/classroom_v1.rb +1 -1
  136. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  137. data/generated/google/apis/classroom_v1/service.rb +645 -900
  138. data/generated/google/apis/cloudasset_v1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  140. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  141. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  143. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  144. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  146. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  147. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  148. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  149. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  150. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  151. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  152. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  153. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  154. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  155. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  156. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  157. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  158. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  159. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  160. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  161. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  162. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  163. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  164. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  165. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  166. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  167. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  168. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  169. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  170. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  171. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  172. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  173. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  174. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  175. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  176. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  177. data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
  178. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  179. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  180. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  181. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  182. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  183. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  184. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  185. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  186. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  187. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  188. data/generated/google/apis/cloudiot_v1.rb +1 -1
  189. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  190. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  191. data/generated/google/apis/cloudkms_v1.rb +1 -1
  192. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  193. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  194. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  195. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  196. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  197. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  198. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  200. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  201. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  203. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  204. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  207. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  208. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  209. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  210. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  211. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  212. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  213. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  214. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  215. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  216. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  217. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  218. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  219. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  220. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  221. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  222. data/generated/google/apis/cloudshell_v1.rb +1 -1
  223. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  224. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  225. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  226. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  227. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  228. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  229. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  231. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  232. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  234. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  235. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  236. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  237. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  238. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  240. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  241. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  243. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  244. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  246. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  247. data/generated/google/apis/composer_v1.rb +1 -1
  248. data/generated/google/apis/composer_v1/classes.rb +190 -242
  249. data/generated/google/apis/composer_v1/service.rb +79 -150
  250. data/generated/google/apis/composer_v1beta1.rb +1 -1
  251. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  252. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  253. data/generated/google/apis/compute_alpha.rb +1 -1
  254. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  255. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  256. data/generated/google/apis/compute_alpha/service.rb +710 -699
  257. data/generated/google/apis/compute_beta.rb +1 -1
  258. data/generated/google/apis/compute_beta/classes.rb +879 -75
  259. data/generated/google/apis/compute_beta/representations.rb +204 -1
  260. data/generated/google/apis/compute_beta/service.rb +875 -607
  261. data/generated/google/apis/compute_v1.rb +1 -1
  262. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  263. data/generated/google/apis/compute_v1/representations.rb +480 -15
  264. data/generated/google/apis/compute_v1/service.rb +1076 -43
  265. data/generated/google/apis/container_v1.rb +1 -1
  266. data/generated/google/apis/container_v1/classes.rb +946 -961
  267. data/generated/google/apis/container_v1/representations.rb +69 -0
  268. data/generated/google/apis/container_v1/service.rb +435 -502
  269. data/generated/google/apis/container_v1beta1.rb +1 -1
  270. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  271. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  272. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  273. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  275. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  276. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  277. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  278. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  279. data/generated/google/apis/content_v2.rb +1 -1
  280. data/generated/google/apis/content_v2/classes.rb +20 -3
  281. data/generated/google/apis/content_v2/representations.rb +1 -0
  282. data/generated/google/apis/content_v2_1.rb +1 -1
  283. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  284. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  285. data/generated/google/apis/content_v2_1/service.rb +53 -2
  286. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  287. data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
  288. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  289. data/generated/google/apis/customsearch_v1/service.rb +461 -0
  290. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  291. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  292. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  293. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  294. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  295. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  296. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  297. data/generated/google/apis/datafusion_v1.rb +40 -0
  298. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  299. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
  300. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  301. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  302. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  303. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  304. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  305. data/generated/google/apis/dataproc_v1.rb +1 -1
  306. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  307. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  308. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  309. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  310. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  311. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  312. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  313. data/generated/google/apis/datastore_v1.rb +1 -1
  314. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  315. data/generated/google/apis/datastore_v1/service.rb +52 -63
  316. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  317. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  318. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  319. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  320. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  321. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  322. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  323. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  324. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  325. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  327. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  335. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  337. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  338. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
  339. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  340. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
  341. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  342. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  343. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  344. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  345. data/generated/google/apis/displayvideo_v1.rb +7 -1
  346. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
  347. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  348. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  349. data/generated/google/apis/dlp_v2.rb +1 -1
  350. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  351. data/generated/google/apis/dlp_v2/service.rb +962 -905
  352. data/generated/google/apis/dns_v1.rb +4 -4
  353. data/generated/google/apis/dns_v1/classes.rb +290 -162
  354. data/generated/google/apis/dns_v1/service.rb +232 -180
  355. data/generated/google/apis/dns_v1beta2.rb +1 -1
  356. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  357. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  358. data/generated/google/apis/docs_v1.rb +1 -1
  359. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  360. data/generated/google/apis/docs_v1/service.rb +17 -22
  361. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  362. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  363. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  364. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  365. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  366. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  367. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  368. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  369. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  370. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  371. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  372. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  373. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  374. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  375. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  376. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  377. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  378. data/generated/google/apis/drive_v2.rb +1 -1
  379. data/generated/google/apis/drive_v2/classes.rb +82 -8
  380. data/generated/google/apis/drive_v2/representations.rb +23 -0
  381. data/generated/google/apis/drive_v2/service.rb +102 -25
  382. data/generated/google/apis/drive_v3.rb +1 -1
  383. data/generated/google/apis/drive_v3/classes.rb +87 -8
  384. data/generated/google/apis/drive_v3/representations.rb +24 -0
  385. data/generated/google/apis/drive_v3/service.rb +67 -16
  386. data/generated/google/apis/driveactivity_v2.rb +1 -1
  387. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  388. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  389. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  390. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  391. data/generated/google/apis/fcm_v1.rb +1 -1
  392. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  393. data/generated/google/apis/fcm_v1/service.rb +5 -6
  394. data/generated/google/apis/file_v1.rb +1 -1
  395. data/generated/google/apis/file_v1/classes.rb +154 -173
  396. data/generated/google/apis/file_v1/service.rb +43 -52
  397. data/generated/google/apis/file_v1beta1.rb +1 -1
  398. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  399. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  400. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  401. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  402. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  403. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  404. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  405. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  406. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  407. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  408. data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
  409. data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
  410. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  411. data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
  412. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  413. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  414. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  415. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
  416. data/generated/google/apis/firebaseml_v1.rb +1 -1
  417. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  418. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  419. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  420. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  421. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  422. data/generated/google/apis/firebaserules_v1.rb +1 -1
  423. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  424. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  425. data/generated/google/apis/firestore_v1.rb +1 -1
  426. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  427. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  428. data/generated/google/apis/firestore_v1/service.rb +227 -185
  429. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  430. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  431. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  432. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  433. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  434. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  435. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  436. data/generated/google/apis/fitness_v1.rb +1 -1
  437. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  438. data/generated/google/apis/fitness_v1/service.rb +125 -146
  439. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  440. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  441. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  442. data/generated/google/apis/games_management_v1management.rb +2 -3
  443. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  444. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  445. data/generated/google/apis/games_v1.rb +5 -4
  446. data/generated/google/apis/games_v1/classes.rb +320 -2085
  447. data/generated/google/apis/games_v1/representations.rb +14 -647
  448. data/generated/google/apis/games_v1/service.rb +161 -1109
  449. data/generated/google/apis/gameservices_v1.rb +1 -1
  450. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  451. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  452. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  453. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  454. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  455. data/generated/google/apis/genomics_v1.rb +1 -1
  456. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  457. data/generated/google/apis/genomics_v1/service.rb +28 -43
  458. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  459. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  460. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  461. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  462. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  463. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  464. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  465. data/generated/google/apis/gmail_v1.rb +3 -3
  466. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  467. data/generated/google/apis/gmail_v1/service.rb +263 -290
  468. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  469. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  470. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  471. data/generated/google/apis/groupsmigration_v1.rb +3 -3
  472. data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
  473. data/generated/google/apis/groupssettings_v1.rb +1 -1
  474. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  475. data/generated/google/apis/healthcare_v1.rb +1 -1
  476. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  477. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  478. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  479. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  480. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  481. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  482. data/generated/google/apis/homegraph_v1.rb +1 -1
  483. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  484. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  485. data/generated/google/apis/iam_v1.rb +5 -2
  486. data/generated/google/apis/iam_v1/classes.rb +388 -573
  487. data/generated/google/apis/iam_v1/service.rb +430 -544
  488. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  489. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  490. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  491. data/generated/google/apis/iap_v1.rb +1 -1
  492. data/generated/google/apis/iap_v1/classes.rb +246 -355
  493. data/generated/google/apis/iap_v1/service.rb +61 -71
  494. data/generated/google/apis/iap_v1beta1.rb +1 -1
  495. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  496. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  497. data/generated/google/apis/indexing_v3.rb +1 -1
  498. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  499. data/generated/google/apis/kgsearch_v1.rb +1 -1
  500. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  501. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  502. data/generated/google/apis/language_v1.rb +1 -1
  503. data/generated/google/apis/language_v1/classes.rb +93 -111
  504. data/generated/google/apis/language_v1/service.rb +4 -4
  505. data/generated/google/apis/language_v1beta1.rb +1 -1
  506. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  507. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  508. data/generated/google/apis/language_v1beta2.rb +1 -1
  509. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  510. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  511. data/generated/google/apis/libraryagent_v1.rb +1 -1
  512. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  513. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  514. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  515. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  516. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  517. data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
  518. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  519. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  520. data/generated/google/apis/localservices_v1/service.rb +199 -0
  521. data/generated/google/apis/logging_v2.rb +1 -1
  522. data/generated/google/apis/logging_v2/classes.rb +174 -214
  523. data/generated/google/apis/logging_v2/representations.rb +15 -0
  524. data/generated/google/apis/logging_v2/service.rb +1017 -584
  525. data/generated/google/apis/managedidentities_v1.rb +1 -1
  526. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  527. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  528. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  529. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  530. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  531. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  532. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  533. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  534. data/generated/google/apis/manufacturers_v1.rb +1 -1
  535. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  536. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  537. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  538. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  539. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  540. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  541. data/generated/google/apis/ml_v1.rb +1 -1
  542. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  543. data/generated/google/apis/ml_v1/representations.rb +64 -0
  544. data/generated/google/apis/ml_v1/service.rb +194 -253
  545. data/generated/google/apis/monitoring_v1.rb +1 -1
  546. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  547. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  548. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  549. data/generated/google/apis/monitoring_v3.rb +1 -1
  550. data/generated/google/apis/monitoring_v3/classes.rb +263 -315
  551. data/generated/google/apis/monitoring_v3/representations.rb +3 -0
  552. data/generated/google/apis/monitoring_v3/service.rb +126 -141
  553. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  554. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  555. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  556. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  557. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  558. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  559. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  560. data/generated/google/apis/osconfig_v1.rb +1 -1
  561. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  562. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  563. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  564. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  565. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  566. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  567. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  568. data/generated/google/apis/oslogin_v1.rb +1 -1
  569. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  570. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  571. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  572. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  573. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  574. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  575. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  576. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  577. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  578. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  579. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  580. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  581. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  582. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  583. data/generated/google/apis/people_v1.rb +1 -1
  584. data/generated/google/apis/people_v1/classes.rb +493 -403
  585. data/generated/google/apis/people_v1/representations.rb +98 -0
  586. data/generated/google/apis/people_v1/service.rb +169 -385
  587. data/generated/google/apis/playablelocations_v3.rb +1 -1
  588. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  589. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  590. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  591. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  592. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  593. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  594. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  595. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  596. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  597. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  598. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  599. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  600. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  601. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  602. data/generated/google/apis/pubsub_v1.rb +1 -1
  603. data/generated/google/apis/pubsub_v1/classes.rb +407 -516
  604. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  605. data/generated/google/apis/pubsub_v1/service.rb +217 -252
  606. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  607. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  608. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  609. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  610. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  611. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  612. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  613. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  614. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  615. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  616. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  617. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  618. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  619. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  620. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  621. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  622. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  623. data/generated/google/apis/recommender_v1.rb +1 -1
  624. data/generated/google/apis/recommender_v1/classes.rb +271 -84
  625. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  626. data/generated/google/apis/recommender_v1/service.rb +143 -35
  627. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  628. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  629. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  630. data/generated/google/apis/redis_v1.rb +1 -1
  631. data/generated/google/apis/redis_v1/classes.rb +477 -116
  632. data/generated/google/apis/redis_v1/representations.rb +139 -0
  633. data/generated/google/apis/redis_v1/service.rb +93 -110
  634. data/generated/google/apis/redis_v1beta1.rb +1 -1
  635. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  636. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  637. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  638. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  639. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  640. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  641. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  642. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  643. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  644. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  645. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  646. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  647. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  648. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  649. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  650. data/generated/google/apis/reseller_v1.rb +4 -3
  651. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  652. data/generated/google/apis/reseller_v1/service.rb +247 -252
  653. data/generated/google/apis/run_v1.rb +2 -2
  654. data/generated/google/apis/run_v1/classes.rb +837 -1244
  655. data/generated/google/apis/run_v1/representations.rb +1 -1
  656. data/generated/google/apis/run_v1/service.rb +234 -248
  657. data/generated/google/apis/run_v1alpha1.rb +2 -2
  658. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  659. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  660. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  661. data/generated/google/apis/run_v1beta1.rb +2 -2
  662. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  663. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  664. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  665. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  666. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  667. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  668. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  669. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  670. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  671. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  672. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  673. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  674. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  675. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  676. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  677. data/generated/google/apis/script_v1.rb +1 -1
  678. data/generated/google/apis/script_v1/classes.rb +88 -111
  679. data/generated/google/apis/script_v1/service.rb +63 -69
  680. data/generated/google/apis/searchconsole_v1.rb +4 -3
  681. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  682. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  683. data/generated/google/apis/secretmanager_v1.rb +1 -1
  684. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  685. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  686. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  687. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  688. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  689. data/generated/google/apis/securitycenter_v1.rb +1 -1
  690. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  691. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  692. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  693. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  694. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  695. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  696. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  697. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  698. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  699. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  700. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  701. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  702. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  703. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  704. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  705. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  706. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  707. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  708. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  709. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  710. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  711. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  712. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  713. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  714. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  715. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  716. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  717. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  718. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  719. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  720. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  721. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  722. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  723. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  724. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  725. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  726. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  727. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  728. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  729. data/generated/google/apis/serviceusage_v1.rb +1 -1
  730. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  731. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  732. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  733. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  734. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  735. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  736. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  737. data/generated/google/apis/sheets_v4.rb +1 -1
  738. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  739. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  740. data/generated/google/apis/sheets_v4/service.rb +113 -149
  741. data/generated/google/apis/site_verification_v1.rb +1 -1
  742. data/generated/google/apis/slides_v1.rb +1 -1
  743. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  744. data/generated/google/apis/slides_v1/service.rb +23 -30
  745. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  746. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  747. data/generated/google/apis/spanner_v1.rb +1 -1
  748. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  749. data/generated/google/apis/spanner_v1/service.rb +443 -618
  750. data/generated/google/apis/speech_v1.rb +1 -1
  751. data/generated/google/apis/speech_v1/classes.rb +174 -220
  752. data/generated/google/apis/speech_v1/service.rb +27 -32
  753. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  754. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  755. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  756. data/generated/google/apis/speech_v2beta1.rb +1 -1
  757. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  758. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  759. data/generated/google/apis/sql_v1beta4.rb +1 -1
  760. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  761. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  762. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  763. data/generated/google/apis/storage_v1.rb +1 -1
  764. data/generated/google/apis/storage_v1/classes.rb +8 -7
  765. data/generated/google/apis/storage_v1/representations.rb +2 -2
  766. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  767. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  768. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  769. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  770. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  771. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  772. data/generated/google/apis/tagmanager_v1.rb +2 -3
  773. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  774. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  775. data/generated/google/apis/tagmanager_v2.rb +2 -3
  776. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  777. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  778. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  779. data/generated/google/apis/tasks_v1.rb +1 -1
  780. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  781. data/generated/google/apis/tasks_v1/service.rb +16 -17
  782. data/generated/google/apis/testing_v1.rb +1 -1
  783. data/generated/google/apis/testing_v1/classes.rb +383 -374
  784. data/generated/google/apis/testing_v1/representations.rb +35 -0
  785. data/generated/google/apis/testing_v1/service.rb +22 -28
  786. data/generated/google/apis/texttospeech_v1.rb +1 -1
  787. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  788. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  789. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  790. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  791. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  792. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  793. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  794. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  795. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  796. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  797. data/generated/google/apis/tpu_v1.rb +1 -1
  798. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  799. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  800. data/generated/google/apis/tpu_v1/service.rb +21 -25
  801. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  802. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  803. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  804. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  805. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  806. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  807. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  808. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  809. data/generated/google/apis/translate_v3.rb +1 -1
  810. data/generated/google/apis/translate_v3/classes.rb +148 -175
  811. data/generated/google/apis/translate_v3/service.rb +122 -138
  812. data/generated/google/apis/translate_v3beta1.rb +1 -1
  813. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  814. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  815. data/generated/google/apis/vectortile_v1.rb +1 -1
  816. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  817. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  818. data/generated/google/apis/videointelligence_v1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  820. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  821. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  826. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  827. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  828. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  829. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  830. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  831. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  832. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  833. data/generated/google/apis/vision_v1.rb +1 -1
  834. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  835. data/generated/google/apis/vision_v1/service.rb +254 -340
  836. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  837. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  838. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  839. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  840. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  841. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  842. data/generated/google/apis/webfonts_v1.rb +2 -3
  843. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  844. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  845. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  847. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  848. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  849. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  850. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  851. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  852. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  853. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  854. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  855. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  856. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  857. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  858. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  859. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  860. data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
  861. data/generated/google/apis/youtube_v3.rb +1 -1
  862. data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
  863. data/generated/google/apis/youtube_v3/representations.rb +458 -0
  864. data/generated/google/apis/youtube_v3/service.rb +1303 -1274
  865. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  866. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  867. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  868. data/lib/google/apis/core/base_service.rb +7 -1
  869. data/lib/google/apis/version.rb +1 -1
  870. metadata +47 -43
  871. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  872. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
  873. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  874. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  875. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  876. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  877. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  878. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  879. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  880. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  881. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  882. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  883. data/generated/google/apis/dns_v2beta1.rb +0 -43
  884. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  885. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  886. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  887. data/generated/google/apis/oauth2_v2.rb +0 -40
  888. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  889. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  890. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  891. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  892. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  893. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  894. data/generated/google/apis/storage_v1beta2.rb +0 -40
  895. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  896. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  897. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -49,19 +49,18 @@ module Google
49
49
 
50
50
  # Removes an item from a group.
51
51
  # @param [String] id
52
- # The `id` parameter specifies the YouTube group item ID of the group item
53
- # that is being deleted.
52
+ # The `id` parameter specifies the YouTube group item ID of the group item that
53
+ # is being deleted.
54
54
  # @param [String] on_behalf_of_content_owner
55
55
  # This parameter can only be used in a properly authorized request. **Note:**
56
- # This parameter is intended exclusively for YouTube content partners that
57
- # own and manage many different YouTube channels.
58
- # The `onBehalfOfContentOwner` parameter indicates that the request's
59
- # authorization credentials identify a YouTube user who is acting on behalf
60
- # of the content owner specified in the parameter value. It allows content
61
- # owners to authenticate once and get access to all their video and channel
62
- # data, without having to provide authentication credentials for each
63
- # individual channel. The account that the user authenticates with must be
64
- # linked to the specified YouTube content owner.
56
+ # This parameter is intended exclusively for YouTube content partners that own
57
+ # and manage many different YouTube channels. The `onBehalfOfContentOwner`
58
+ # parameter indicates that the request's authorization credentials identify a
59
+ # YouTube user who is acting on behalf of the content owner specified in the
60
+ # parameter value. It allows content owners to authenticate once and get access
61
+ # to all their video and channel data, without having to provide authentication
62
+ # credentials for each individual channel. The account that the user
63
+ # authenticates with must be linked to the specified YouTube content owner.
65
64
  # @param [String] fields
66
65
  # Selector specifying which fields to include in a partial response.
67
66
  # @param [String] quota_user
@@ -94,15 +93,14 @@ module Google
94
93
  # @param [Google::Apis::YoutubeAnalyticsV2::GroupItem] group_item_object
95
94
  # @param [String] on_behalf_of_content_owner
96
95
  # This parameter can only be used in a properly authorized request. **Note:**
97
- # This parameter is intended exclusively for YouTube content partners that
98
- # own and manage many different YouTube channels.
99
- # The `onBehalfOfContentOwner` parameter indicates that the request's
100
- # authorization credentials identify a YouTube user who is acting on behalf
101
- # of the content owner specified in the parameter value. It allows content
102
- # owners to authenticate once and get access to all their video and channel
103
- # data, without having to provide authentication credentials for each
104
- # individual channel. The account that the user authenticates with must be
105
- # linked to the specified YouTube content owner.
96
+ # This parameter is intended exclusively for YouTube content partners that own
97
+ # and manage many different YouTube channels. The `onBehalfOfContentOwner`
98
+ # parameter indicates that the request's authorization credentials identify a
99
+ # YouTube user who is acting on behalf of the content owner specified in the
100
+ # parameter value. It allows content owners to authenticate once and get access
101
+ # to all their video and channel data, without having to provide authentication
102
+ # credentials for each individual channel. The account that the user
103
+ # authenticates with must be linked to the specified YouTube content owner.
106
104
  # @param [String] fields
107
105
  # Selector specifying which fields to include in a partial response.
108
106
  # @param [String] quota_user
@@ -138,15 +136,14 @@ module Google
138
136
  # want to retrieve group items.
139
137
  # @param [String] on_behalf_of_content_owner
140
138
  # This parameter can only be used in a properly authorized request. **Note:**
141
- # This parameter is intended exclusively for YouTube content partners that
142
- # own and manage many different YouTube channels.
143
- # The `onBehalfOfContentOwner` parameter indicates that the request's
144
- # authorization credentials identify a YouTube user who is acting on behalf
145
- # of the content owner specified in the parameter value. It allows content
146
- # owners to authenticate once and get access to all their video and channel
147
- # data, without having to provide authentication credentials for each
148
- # individual channel. The account that the user authenticates with must be
149
- # linked to the specified YouTube content owner.
139
+ # This parameter is intended exclusively for YouTube content partners that own
140
+ # and manage many different YouTube channels. The `onBehalfOfContentOwner`
141
+ # parameter indicates that the request's authorization credentials identify a
142
+ # YouTube user who is acting on behalf of the content owner specified in the
143
+ # parameter value. It allows content owners to authenticate once and get access
144
+ # to all their video and channel data, without having to provide authentication
145
+ # credentials for each individual channel. The account that the user
146
+ # authenticates with must be linked to the specified YouTube content owner.
150
147
  # @param [String] fields
151
148
  # Selector specifying which fields to include in a partial response.
152
149
  # @param [String] quota_user
@@ -177,19 +174,18 @@ module Google
177
174
 
178
175
  # Deletes a group.
179
176
  # @param [String] id
180
- # The `id` parameter specifies the YouTube group ID of the group that is
181
- # being deleted.
177
+ # The `id` parameter specifies the YouTube group ID of the group that is being
178
+ # deleted.
182
179
  # @param [String] on_behalf_of_content_owner
183
180
  # This parameter can only be used in a properly authorized request. **Note:**
184
- # This parameter is intended exclusively for YouTube content partners that
185
- # own and manage many different YouTube channels.
186
- # The `onBehalfOfContentOwner` parameter indicates that the request's
187
- # authorization credentials identify a YouTube user who is acting on behalf
188
- # of the content owner specified in the parameter value. It allows content
189
- # owners to authenticate once and get access to all their video and channel
190
- # data, without having to provide authentication credentials for each
191
- # individual channel. The account that the user authenticates with must be
192
- # linked to the specified YouTube content owner.
181
+ # This parameter is intended exclusively for YouTube content partners that own
182
+ # and manage many different YouTube channels. The `onBehalfOfContentOwner`
183
+ # parameter indicates that the request's authorization credentials identify a
184
+ # YouTube user who is acting on behalf of the content owner specified in the
185
+ # parameter value. It allows content owners to authenticate once and get access
186
+ # to all their video and channel data, without having to provide authentication
187
+ # credentials for each individual channel. The account that the user
188
+ # authenticates with must be linked to the specified YouTube content owner.
193
189
  # @param [String] fields
194
190
  # Selector specifying which fields to include in a partial response.
195
191
  # @param [String] quota_user
@@ -222,15 +218,14 @@ module Google
222
218
  # @param [Google::Apis::YoutubeAnalyticsV2::Group] group_object
223
219
  # @param [String] on_behalf_of_content_owner
224
220
  # This parameter can only be used in a properly authorized request. **Note:**
225
- # This parameter is intended exclusively for YouTube content partners that
226
- # own and manage many different YouTube channels.
227
- # The `onBehalfOfContentOwner` parameter indicates that the request's
228
- # authorization credentials identify a YouTube user who is acting on behalf
229
- # of the content owner specified in the parameter value. It allows content
230
- # owners to authenticate once and get access to all their video and channel
231
- # data, without having to provide authentication credentials for each
232
- # individual channel. The account that the user authenticates with must be
233
- # linked to the specified YouTube content owner.
221
+ # This parameter is intended exclusively for YouTube content partners that own
222
+ # and manage many different YouTube channels. The `onBehalfOfContentOwner`
223
+ # parameter indicates that the request's authorization credentials identify a
224
+ # YouTube user who is acting on behalf of the content owner specified in the
225
+ # parameter value. It allows content owners to authenticate once and get access
226
+ # to all their video and channel data, without having to provide authentication
227
+ # credentials for each individual channel. The account that the user
228
+ # authenticates with must be linked to the specified YouTube content owner.
234
229
  # @param [String] fields
235
230
  # Selector specifying which fields to include in a partial response.
236
231
  # @param [String] quota_user
@@ -261,30 +256,28 @@ module Google
261
256
  end
262
257
 
263
258
  # Returns a collection of groups that match the API request parameters. For
264
- # example, you can retrieve all groups that the authenticated user owns,
265
- # or you can retrieve one or more groups by their unique IDs.
259
+ # example, you can retrieve all groups that the authenticated user owns, or you
260
+ # can retrieve one or more groups by their unique IDs.
266
261
  # @param [String] id
267
- # The `id` parameter specifies a comma-separated list of the YouTube group
268
- # ID(s) for the resource(s) that are being retrieved. Each group must be
269
- # owned by the authenticated user. In a `group` resource, the `id` property
270
- # specifies the group's YouTube group ID.
271
- # Note that if you do not specify a value for the `id` parameter, then you
272
- # must set the `mine` parameter to `true`.
262
+ # The `id` parameter specifies a comma-separated list of the YouTube group ID(s)
263
+ # for the resource(s) that are being retrieved. Each group must be owned by the
264
+ # authenticated user. In a `group` resource, the `id` property specifies the
265
+ # group's YouTube group ID. Note that if you do not specify a value for the `id`
266
+ # parameter, then you must set the `mine` parameter to `true`.
273
267
  # @param [Boolean] mine
274
268
  # This parameter can only be used in a properly authorized request. Set this
275
269
  # parameter's value to true to retrieve all groups owned by the authenticated
276
270
  # user.
277
271
  # @param [String] on_behalf_of_content_owner
278
272
  # This parameter can only be used in a properly authorized request. **Note:**
279
- # This parameter is intended exclusively for YouTube content partners that
280
- # own and manage many different YouTube channels.
281
- # The `onBehalfOfContentOwner` parameter indicates that the request's
282
- # authorization credentials identify a YouTube user who is acting on behalf
283
- # of the content owner specified in the parameter value. It allows content
284
- # owners to authenticate once and get access to all their video and channel
285
- # data, without having to provide authentication credentials for each
286
- # individual channel. The account that the user authenticates with must be
287
- # linked to the specified YouTube content owner.
273
+ # This parameter is intended exclusively for YouTube content partners that own
274
+ # and manage many different YouTube channels. The `onBehalfOfContentOwner`
275
+ # parameter indicates that the request's authorization credentials identify a
276
+ # YouTube user who is acting on behalf of the content owner specified in the
277
+ # parameter value. It allows content owners to authenticate once and get access
278
+ # to all their video and channel data, without having to provide authentication
279
+ # credentials for each individual channel. The account that the user
280
+ # authenticates with must be linked to the specified YouTube content owner.
288
281
  # @param [String] page_token
289
282
  # The `pageToken` parameter identifies a specific page in the result set that
290
283
  # should be returned. In an API response, the `nextPageToken` property
@@ -323,15 +316,14 @@ module Google
323
316
  # @param [Google::Apis::YoutubeAnalyticsV2::Group] group_object
324
317
  # @param [String] on_behalf_of_content_owner
325
318
  # This parameter can only be used in a properly authorized request. **Note:**
326
- # This parameter is intended exclusively for YouTube content partners that
327
- # own and manage many different YouTube channels.
328
- # The `onBehalfOfContentOwner` parameter indicates that the request's
329
- # authorization credentials identify a YouTube user who is acting on behalf
330
- # of the content owner specified in the parameter value. It allows content
331
- # owners to authenticate once and get access to all their video and channel
332
- # data, without having to provide authentication credentials for each
333
- # individual channel. The account that the user authenticates with must be
334
- # linked to the specified YouTube content owner.
319
+ # This parameter is intended exclusively for YouTube content partners that own
320
+ # and manage many different YouTube channels. The `onBehalfOfContentOwner`
321
+ # parameter indicates that the request's authorization credentials identify a
322
+ # YouTube user who is acting on behalf of the content owner specified in the
323
+ # parameter value. It allows content owners to authenticate once and get access
324
+ # to all their video and channel data, without having to provide authentication
325
+ # credentials for each individual channel. The account that the user
326
+ # authenticates with must be linked to the specified YouTube content owner.
335
327
  # @param [String] fields
336
328
  # Selector specifying which fields to include in a partial response.
337
329
  # @param [String] quota_user
@@ -363,71 +355,59 @@ module Google
363
355
 
364
356
  # Retrieve your YouTube Analytics reports.
365
357
  # @param [String] currency
366
- # The currency to which financial metrics should be converted. The default is
367
- # US Dollar (USD). If the result contains no financial metrics, this flag
368
- # will be ignored. Responds with an error if the specified currency is not
369
- # recognized.",
358
+ # The currency to which financial metrics should be converted. The default is US
359
+ # Dollar (USD). If the result contains no financial metrics, this flag will be
360
+ # ignored. Responds with an error if the specified currency is not recognized.",
370
361
  # pattern: [A-Z]`3`
371
362
  # @param [String] dimensions
372
- # A comma-separated list of YouTube Analytics dimensions, such as `views` or
373
- # `ageGroup,gender`. See the [Available
374
- # Reports](/youtube/analytics/v2/available_reports) document for a list of
375
- # the reports that you can retrieve and the dimensions used for those
376
- # reports. Also see the [Dimensions](/youtube/analytics/v2/dimsmets/dims)
377
- # document for definitions of those dimensions."
363
+ # A comma-separated list of YouTube Analytics dimensions, such as `views` or `
364
+ # ageGroup,gender`. See the [Available Reports](/youtube/analytics/v2/
365
+ # available_reports) document for a list of the reports that you can retrieve
366
+ # and the dimensions used for those reports. Also see the [Dimensions](/youtube/
367
+ # analytics/v2/dimsmets/dims) document for definitions of those dimensions."
378
368
  # pattern: [0-9a-zA-Z,]+
379
369
  # @param [String] end_date
380
- # The end date for fetching YouTube Analytics data. The value should be in
381
- # `YYYY-MM-DD` format.
382
- # required: true, pattern: [0-9]`4`-[0-9]`2`-[0-9]`2`
370
+ # The end date for fetching YouTube Analytics data. The value should be in `YYYY-
371
+ # MM-DD` format. required: true, pattern: [0-9]`4`-[0-9]`2`-[0-9]`2`
383
372
  # @param [String] filters
384
373
  # A list of filters that should be applied when retrieving YouTube Analytics
385
374
  # data. The [Available Reports](/youtube/analytics/v2/available_reports)
386
- # document identifies the dimensions that can be used to filter each report,
387
- # and the [Dimensions](/youtube/analytics/v2/dimsmets/dims) document defines
388
- # those dimensions. If a request uses multiple filters, join them together
389
- # with a semicolon (`;`), and the returned result table will satisfy both
390
- # filters. For example, a filters parameter value of
391
- # `video==dMH0bHeiRNg;country==IT` restricts the result set to include data
392
- # for the given video in Italy.",
375
+ # document identifies the dimensions that can be used to filter each report, and
376
+ # the [Dimensions](/youtube/analytics/v2/dimsmets/dims) document defines those
377
+ # dimensions. If a request uses multiple filters, join them together with a
378
+ # semicolon (`;`), and the returned result table will satisfy both filters. For
379
+ # example, a filters parameter value of `video==dMH0bHeiRNg;country==IT`
380
+ # restricts the result set to include data for the given video in Italy.",
393
381
  # @param [String] ids
394
- # Identifies the YouTube channel or content owner for which you are
395
- # retrieving YouTube Analytics data.
396
- # - To request data for a YouTube user, set the `ids` parameter value to
397
- # `channel==CHANNEL_ID`, where `CHANNEL_ID` specifies the unique YouTube
398
- # channel ID.
399
- # - To request data for a YouTube CMS content owner, set the `ids` parameter
400
- # value to `contentOwner==OWNER_NAME`, where `OWNER_NAME` is the CMS name
401
- # of the content owner.
402
- # required: true, pattern: [a-zA-Z]+==[a-zA-Z0-9_+-]+
382
+ # Identifies the YouTube channel or content owner for which you are retrieving
383
+ # YouTube Analytics data. - To request data for a YouTube user, set the `ids`
384
+ # parameter value to `channel==CHANNEL_ID`, where `CHANNEL_ID` specifies the
385
+ # unique YouTube channel ID. - To request data for a YouTube CMS content owner,
386
+ # set the `ids` parameter value to `contentOwner==OWNER_NAME`, where `OWNER_NAME`
387
+ # is the CMS name of the content owner. required: true, pattern: [a-zA-Z]+==[a-
388
+ # zA-Z0-9_+-]+
403
389
  # @param [Boolean] include_historical_channel_data
404
- # If set to true historical data (i.e. channel data from before the linking
405
- # of the channel to the content owner) will be retrieved.",
390
+ # If set to true historical data (i.e. channel data from before the linking of
391
+ # the channel to the content owner) will be retrieved.",
406
392
  # @param [Fixnum] max_results
407
- # The maximum number of rows to include in the response.",
408
- # minValue: 1
393
+ # The maximum number of rows to include in the response.", minValue: 1
409
394
  # @param [String] metrics
410
- # A comma-separated list of YouTube Analytics metrics, such as `views` or
411
- # `likes,dislikes`. See the
412
- # [Available Reports](/youtube/analytics/v2/available_reports) document for
413
- # a list of the reports that you can retrieve and the metrics
414
- # available in each report, and see the
415
- # [Metrics](/youtube/analytics/v2/dimsmets/mets) document for definitions of
416
- # those metrics.
417
- # required: true, pattern: [0-9a-zA-Z,]+
395
+ # A comma-separated list of YouTube Analytics metrics, such as `views` or `likes,
396
+ # dislikes`. See the [Available Reports](/youtube/analytics/v2/available_reports)
397
+ # document for a list of the reports that you can retrieve and the metrics
398
+ # available in each report, and see the [Metrics](/youtube/analytics/v2/dimsmets/
399
+ # mets) document for definitions of those metrics. required: true, pattern: [0-
400
+ # 9a-zA-Z,]+
418
401
  # @param [String] sort
419
- # A comma-separated list of dimensions or metrics that determine the sort
420
- # order for YouTube Analytics data. By default the sort order is ascending.
421
- # The '`-`' prefix causes descending sort order.",
422
- # pattern: [-0-9a-zA-Z,]+
402
+ # A comma-separated list of dimensions or metrics that determine the sort order
403
+ # for YouTube Analytics data. By default the sort order is ascending. The '`-`'
404
+ # prefix causes descending sort order.", pattern: [-0-9a-zA-Z,]+
423
405
  # @param [String] start_date
424
- # The start date for fetching YouTube Analytics data. The value should be in
425
- # `YYYY-MM-DD` format.
426
- # required: true, pattern: "[0-9]`4`-[0-9]`2`-[0-9]`2`
406
+ # The start date for fetching YouTube Analytics data. The value should be in `
407
+ # YYYY-MM-DD` format. required: true, pattern: "[0-9]`4`-[0-9]`2`-[0-9]`2`
427
408
  # @param [Fixnum] start_index
428
- # An index of the first entity to retrieve. Use this parameter as a
429
- # pagination mechanism along with the max-results parameter (one-based,
430
- # inclusive).",
409
+ # An index of the first entity to retrieve. Use this parameter as a pagination
410
+ # mechanism along with the max-results parameter (one-based, inclusive).",
431
411
  # minValue: 1
432
412
  # @param [String] fields
433
413
  # Selector specifying which fields to include in a partial response.
@@ -20,12 +20,13 @@ module Google
20
20
  module Apis
21
21
  # YouTube Content ID API
22
22
  #
23
- # API for YouTube partners. To use this API a YouTube CMS account is required.
23
+ # The YouTube Content ID API allows the management of YouTube assets along with
24
+ # their associated content, references, ownership, rights and policies.
24
25
  #
25
- # @see https://developers.google.com/youtube/partner/
26
+ # @see https://devsite.googleplex.com/youtube/partner/docs/v1/
26
27
  module YoutubePartnerV1
27
28
  VERSION = 'V1'
28
- REVISION = '20200525'
29
+ REVISION = '20200827'
29
30
 
30
31
  # View and manage your assets and associated content on YouTube
31
32
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -48,48 +48,6 @@ module Google
48
48
  end
49
49
  end
50
50
 
51
- #
52
- class AllowedAdvertisingOptions
53
- include Google::Apis::Core::Hashable
54
-
55
- # This setting indicates whether the partner can display ads when videos run in
56
- # an embedded player.
57
- # Corresponds to the JSON property `adsOnEmbeds`
58
- # @return [Boolean]
59
- attr_accessor :ads_on_embeds
60
- alias_method :ads_on_embeds?, :ads_on_embeds
61
-
62
- # This property identifies the resource type. Its value is youtubePartner#
63
- # allowedAdvertisingOptions.
64
- # Corresponds to the JSON property `kind`
65
- # @return [String]
66
- attr_accessor :kind
67
-
68
- # A list of ad formats that the partner is allowed to use for its uploaded
69
- # videos.
70
- # Corresponds to the JSON property `licAdFormats`
71
- # @return [Array<String>]
72
- attr_accessor :lic_ad_formats
73
-
74
- # A list of ad formats that the partner is allowed to use for claimed, user-
75
- # uploaded content.
76
- # Corresponds to the JSON property `ugcAdFormats`
77
- # @return [Array<String>]
78
- attr_accessor :ugc_ad_formats
79
-
80
- def initialize(**args)
81
- update!(**args)
82
- end
83
-
84
- # Update properties of this object
85
- def update!(**args)
86
- @ads_on_embeds = args[:ads_on_embeds] if args.key?(:ads_on_embeds)
87
- @kind = args[:kind] if args.key?(:kind)
88
- @lic_ad_formats = args[:lic_ad_formats] if args.key?(:lic_ad_formats)
89
- @ugc_ad_formats = args[:ugc_ad_formats] if args.key?(:ugc_ad_formats)
90
- end
91
- end
92
-
93
51
  #
94
52
  class Asset
95
53
  include Google::Apis::Core::Hashable
@@ -182,7 +140,7 @@ module Google
182
140
  # The date and time the asset was created. The value is specified in RFC 3339 (
183
141
  # YYYY-MM-DDThh:mm:ss.000Z) format.
184
142
  # Corresponds to the JSON property `timeCreated`
185
- # @return [DateTime]
143
+ # @return [String]
186
144
  attr_accessor :time_created
187
145
 
188
146
  # The asset's type. This value determines the metadata fields that you can set
@@ -553,7 +511,7 @@ module Google
553
511
  # The date and time the asset was created. The value is specified in RFC 3339 (
554
512
  # YYYY-MM-DDThh:mm:ss.000Z) format.
555
513
  # Corresponds to the JSON property `timeCreated`
556
- # @return [DateTime]
514
+ # @return [String]
557
515
  attr_accessor :time_created
558
516
 
559
517
  # Title of this asset.
@@ -584,6 +542,56 @@ module Google
584
542
  end
585
543
  end
586
544
 
545
+ # Information to read/write to blobstore2.
546
+ class Blobstore2Info
547
+ include Google::Apis::Core::Hashable
548
+
549
+ # The blob generation id.
550
+ # Corresponds to the JSON property `blobGeneration`
551
+ # @return [Fixnum]
552
+ attr_accessor :blob_generation
553
+
554
+ # The blob id, e.g., /blobstore/prod/playground/scotty
555
+ # Corresponds to the JSON property `blobId`
556
+ # @return [String]
557
+ attr_accessor :blob_id
558
+
559
+ # Read handle passed from Bigstore -> Scotty for a GCS download. This is a
560
+ # signed, serialized blobstore2.ReadHandle proto which must never be set outside
561
+ # of Bigstore, and is not applicable to non-GCS media downloads.
562
+ # Corresponds to the JSON property `downloadReadHandle`
563
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
564
+ # @return [String]
565
+ attr_accessor :download_read_handle
566
+
567
+ # The blob read token. Needed to read blobs that have not been replicated. Might
568
+ # not be available until the final call.
569
+ # Corresponds to the JSON property `readToken`
570
+ # @return [String]
571
+ attr_accessor :read_token
572
+
573
+ # Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a
574
+ # signed, serialized blobstore2.BlobMetadataContainer proto which must never be
575
+ # consumed outside of Bigstore, and is not applicable to non-GCS media uploads.
576
+ # Corresponds to the JSON property `uploadMetadataContainer`
577
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
578
+ # @return [String]
579
+ attr_accessor :upload_metadata_container
580
+
581
+ def initialize(**args)
582
+ update!(**args)
583
+ end
584
+
585
+ # Update properties of this object
586
+ def update!(**args)
587
+ @blob_generation = args[:blob_generation] if args.key?(:blob_generation)
588
+ @blob_id = args[:blob_id] if args.key?(:blob_id)
589
+ @download_read_handle = args[:download_read_handle] if args.key?(:download_read_handle)
590
+ @read_token = args[:read_token] if args.key?(:read_token)
591
+ @upload_metadata_container = args[:upload_metadata_container] if args.key?(:upload_metadata_container)
592
+ end
593
+ end
594
+
587
595
  #
588
596
  class Campaign
589
597
  include Google::Apis::Core::Hashable
@@ -612,12 +620,12 @@ module Google
612
620
 
613
621
  # The time the campaign was created.
614
622
  # Corresponds to the JSON property `timeCreated`
615
- # @return [DateTime]
623
+ # @return [String]
616
624
  attr_accessor :time_created
617
625
 
618
626
  # The time the campaign was last modified.
619
627
  # Corresponds to the JSON property `timeLastModified`
620
- # @return [DateTime]
628
+ # @return [String]
621
629
  attr_accessor :time_last_modified
622
630
 
623
631
  def initialize(**args)
@@ -648,7 +656,7 @@ module Google
648
656
  # The time at which the campaign should expire. Do not specify a value if the
649
657
  # campaign has no expiration time.
650
658
  # Corresponds to the JSON property `expireTime`
651
- # @return [DateTime]
659
+ # @return [String]
652
660
  attr_accessor :expire_time
653
661
 
654
662
  # The user-given name of the campaign.
@@ -665,7 +673,7 @@ module Google
665
673
  # The time at which the campaign should start. Do not specify a value if the
666
674
  # campaign should start immediately.
667
675
  # Corresponds to the JSON property `startTime`
668
- # @return [DateTime]
676
+ # @return [String]
669
677
  attr_accessor :start_time
670
678
 
671
679
  def initialize(**args)
@@ -808,12 +816,12 @@ module Google
808
816
  # If this claim was auto-generated based on a provided reference, this section
809
817
  # will provide details of the match that generated the claim.
810
818
  # Corresponds to the JSON property `matchInfo`
811
- # @return [Google::Apis::YoutubePartnerV1::Claim::MatchInfo]
819
+ # @return [Google::Apis::YoutubePartnerV1::MatchInfo]
812
820
  attr_accessor :match_info
813
821
 
814
822
  #
815
823
  # Corresponds to the JSON property `origin`
816
- # @return [Google::Apis::YoutubePartnerV1::Claim::Origin]
824
+ # @return [Google::Apis::YoutubePartnerV1::Origin]
817
825
  attr_accessor :origin
818
826
 
819
827
  # The policy provided by the viewing owner on the claim.
@@ -830,7 +838,7 @@ module Google
830
838
 
831
839
  # The time the claim was created.
832
840
  # Corresponds to the JSON property `timeCreated`
833
- # @return [DateTime]
841
+ # @return [String]
834
842
  attr_accessor :time_created
835
843
 
836
844
  # The unique YouTube video ID that identifies the video associated with the
@@ -859,130 +867,6 @@ module Google
859
867
  @time_created = args[:time_created] if args.key?(:time_created)
860
868
  @video_id = args[:video_id] if args.key?(:video_id)
861
869
  end
862
-
863
- # If this claim was auto-generated based on a provided reference, this section
864
- # will provide details of the match that generated the claim.
865
- class MatchInfo
866
- include Google::Apis::Core::Hashable
867
-
868
- # Details of the longest match between the reference and the user video.
869
- # Corresponds to the JSON property `longestMatch`
870
- # @return [Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch]
871
- attr_accessor :longest_match
872
-
873
- # Details about each match segment. Each item in the list contains information
874
- # about one match segment associated with the claim. It is possible to have
875
- # multiple match segments. For example, if the audio and video content of an
876
- # uploaded video match that of a reference video, there would be two match
877
- # segments. One segment would describe the audio match and the other would
878
- # describe the video match.
879
- # Corresponds to the JSON property `matchSegments`
880
- # @return [Array<Google::Apis::YoutubePartnerV1::MatchSegment>]
881
- attr_accessor :match_segments
882
-
883
- # The reference ID that generated this match.
884
- # Corresponds to the JSON property `referenceId`
885
- # @return [String]
886
- attr_accessor :reference_id
887
-
888
- # Details of the total amount of reference and user video content which matched
889
- # each other. Note these two values may differ if either the reference or the
890
- # user video contains a loop.
891
- # Corresponds to the JSON property `totalMatch`
892
- # @return [Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch]
893
- attr_accessor :total_match
894
-
895
- def initialize(**args)
896
- update!(**args)
897
- end
898
-
899
- # Update properties of this object
900
- def update!(**args)
901
- @longest_match = args[:longest_match] if args.key?(:longest_match)
902
- @match_segments = args[:match_segments] if args.key?(:match_segments)
903
- @reference_id = args[:reference_id] if args.key?(:reference_id)
904
- @total_match = args[:total_match] if args.key?(:total_match)
905
- end
906
-
907
- # Details of the longest match between the reference and the user video.
908
- class LongestMatch
909
- include Google::Apis::Core::Hashable
910
-
911
- # The duration of the longest match between the reference and the user video.
912
- # Corresponds to the JSON property `durationSecs`
913
- # @return [Fixnum]
914
- attr_accessor :duration_secs
915
-
916
- # The offset in seconds into the reference at which the longest match began.
917
- # Corresponds to the JSON property `referenceOffset`
918
- # @return [Fixnum]
919
- attr_accessor :reference_offset
920
-
921
- # The offset in seconds into the user video at which the longest match began.
922
- # Corresponds to the JSON property `userVideoOffset`
923
- # @return [Fixnum]
924
- attr_accessor :user_video_offset
925
-
926
- def initialize(**args)
927
- update!(**args)
928
- end
929
-
930
- # Update properties of this object
931
- def update!(**args)
932
- @duration_secs = args[:duration_secs] if args.key?(:duration_secs)
933
- @reference_offset = args[:reference_offset] if args.key?(:reference_offset)
934
- @user_video_offset = args[:user_video_offset] if args.key?(:user_video_offset)
935
- end
936
- end
937
-
938
- # Details of the total amount of reference and user video content which matched
939
- # each other. Note these two values may differ if either the reference or the
940
- # user video contains a loop.
941
- class TotalMatch
942
- include Google::Apis::Core::Hashable
943
-
944
- # The total amount of content in the reference which matched the user video in
945
- # seconds.
946
- # Corresponds to the JSON property `referenceDurationSecs`
947
- # @return [Fixnum]
948
- attr_accessor :reference_duration_secs
949
-
950
- # The total amount of content in the user video which matched the reference in
951
- # seconds.
952
- # Corresponds to the JSON property `userVideoDurationSecs`
953
- # @return [Fixnum]
954
- attr_accessor :user_video_duration_secs
955
-
956
- def initialize(**args)
957
- update!(**args)
958
- end
959
-
960
- # Update properties of this object
961
- def update!(**args)
962
- @reference_duration_secs = args[:reference_duration_secs] if args.key?(:reference_duration_secs)
963
- @user_video_duration_secs = args[:user_video_duration_secs] if args.key?(:user_video_duration_secs)
964
- end
965
- end
966
- end
967
-
968
- #
969
- class Origin
970
- include Google::Apis::Core::Hashable
971
-
972
- #
973
- # Corresponds to the JSON property `source`
974
- # @return [String]
975
- attr_accessor :source
976
-
977
- def initialize(**args)
978
- update!(**args)
979
- end
980
-
981
- # Update properties of this object
982
- def update!(**args)
983
- @source = args[:source] if args.key?(:source)
984
- end
985
- end
986
870
  end
987
871
 
988
872
  #
@@ -1002,12 +886,12 @@ module Google
1002
886
 
1003
887
  # Data related to source of the event.
1004
888
  # Corresponds to the JSON property `source`
1005
- # @return [Google::Apis::YoutubePartnerV1::ClaimEvent::Source]
889
+ # @return [Google::Apis::YoutubePartnerV1::Source]
1006
890
  attr_accessor :source
1007
891
 
1008
892
  # The time when the event occurred.
1009
893
  # Corresponds to the JSON property `time`
1010
- # @return [DateTime]
894
+ # @return [String]
1011
895
  attr_accessor :time
1012
896
 
1013
897
  # Type of the event.
@@ -1017,7 +901,7 @@ module Google
1017
901
 
1018
902
  # Details of event's type.
1019
903
  # Corresponds to the JSON property `typeDetails`
1020
- # @return [Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails]
904
+ # @return [Google::Apis::YoutubePartnerV1::TypeDetails]
1021
905
  attr_accessor :type_details
1022
906
 
1023
907
  def initialize(**args)
@@ -1033,74 +917,6 @@ module Google
1033
917
  @type = args[:type] if args.key?(:type)
1034
918
  @type_details = args[:type_details] if args.key?(:type_details)
1035
919
  end
1036
-
1037
- # Data related to source of the event.
1038
- class Source
1039
- include Google::Apis::Core::Hashable
1040
-
1041
- # Id of content owner that initiated the event.
1042
- # Corresponds to the JSON property `contentOwnerId`
1043
- # @return [String]
1044
- attr_accessor :content_owner_id
1045
-
1046
- # Type of the event source.
1047
- # Corresponds to the JSON property `type`
1048
- # @return [String]
1049
- attr_accessor :type
1050
-
1051
- # Email of user who initiated the event.
1052
- # Corresponds to the JSON property `userEmail`
1053
- # @return [String]
1054
- attr_accessor :user_email
1055
-
1056
- def initialize(**args)
1057
- update!(**args)
1058
- end
1059
-
1060
- # Update properties of this object
1061
- def update!(**args)
1062
- @content_owner_id = args[:content_owner_id] if args.key?(:content_owner_id)
1063
- @type = args[:type] if args.key?(:type)
1064
- @user_email = args[:user_email] if args.key?(:user_email)
1065
- end
1066
- end
1067
-
1068
- # Details of event's type.
1069
- class TypeDetails
1070
- include Google::Apis::Core::Hashable
1071
-
1072
- # Appeal explanations for dispute_appeal event.
1073
- # Corresponds to the JSON property `appealExplanation`
1074
- # @return [String]
1075
- attr_accessor :appeal_explanation
1076
-
1077
- # Dispute notes for dispute_create events.
1078
- # Corresponds to the JSON property `disputeNotes`
1079
- # @return [String]
1080
- attr_accessor :dispute_notes
1081
-
1082
- # Dispute reason for dispute_create and dispute_appeal events.
1083
- # Corresponds to the JSON property `disputeReason`
1084
- # @return [String]
1085
- attr_accessor :dispute_reason
1086
-
1087
- # Status that was a result of update for claim_update event.
1088
- # Corresponds to the JSON property `updateStatus`
1089
- # @return [String]
1090
- attr_accessor :update_status
1091
-
1092
- def initialize(**args)
1093
- update!(**args)
1094
- end
1095
-
1096
- # Update properties of this object
1097
- def update!(**args)
1098
- @appeal_explanation = args[:appeal_explanation] if args.key?(:appeal_explanation)
1099
- @dispute_notes = args[:dispute_notes] if args.key?(:dispute_notes)
1100
- @dispute_reason = args[:dispute_reason] if args.key?(:dispute_reason)
1101
- @update_status = args[:update_status] if args.key?(:update_status)
1102
- end
1103
- end
1104
920
  end
1105
921
 
1106
922
  #
@@ -1268,7 +1084,7 @@ module Google
1268
1084
 
1269
1085
  #
1270
1086
  # Corresponds to the JSON property `origin`
1271
- # @return [Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin]
1087
+ # @return [Google::Apis::YoutubePartnerV1::YoutubePartnerApiProtoFrontendV1Origin]
1272
1088
  attr_accessor :origin
1273
1089
 
1274
1090
  # The claim's status.
@@ -1284,12 +1100,12 @@ module Google
1284
1100
 
1285
1101
  # The time the claim was created.
1286
1102
  # Corresponds to the JSON property `timeCreated`
1287
- # @return [DateTime]
1103
+ # @return [String]
1288
1104
  attr_accessor :time_created
1289
1105
 
1290
1106
  # The time the claim status and/or status detail was last modified.
1291
1107
  # Corresponds to the JSON property `timeStatusLastModified`
1292
- # @return [DateTime]
1108
+ # @return [String]
1293
1109
  attr_accessor :time_status_last_modified
1294
1110
 
1295
1111
  # The unique YouTube video ID that identifies the video associated with the
@@ -1328,59 +1144,83 @@ module Google
1328
1144
  @video_title = args[:video_title] if args.key?(:video_title)
1329
1145
  @video_views = args[:video_views] if args.key?(:video_views)
1330
1146
  end
1331
-
1332
- #
1333
- class Origin
1334
- include Google::Apis::Core::Hashable
1335
-
1336
- #
1337
- # Corresponds to the JSON property `source`
1338
- # @return [String]
1339
- attr_accessor :source
1340
-
1341
- def initialize(**args)
1342
- update!(**args)
1343
- end
1344
-
1345
- # Update properties of this object
1346
- def update!(**args)
1347
- @source = args[:source] if args.key?(:source)
1348
- end
1349
- end
1350
1147
  end
1351
1148
 
1352
- #
1353
- class ClaimedVideoDefaults
1149
+ # A sequence of media data references representing composite data. Introduced to
1150
+ # support Bigstore composite objects. For details, visit http://go/bigstore-
1151
+ # composites.
1152
+ class CompositeMedia
1354
1153
  include Google::Apis::Core::Hashable
1355
1154
 
1356
- # Set this property to true to enable automatically generated breaks for a newly
1357
- # claimed video longer than 10 minutes. The first partner that claims the video
1358
- # sets its default advertising options to that video. claimedVideoOptions.
1359
- # auto_generated_breaks_default
1360
- # Corresponds to the JSON property `autoGeneratedBreaks`
1361
- # @return [Boolean]
1362
- attr_accessor :auto_generated_breaks
1363
- alias_method :auto_generated_breaks?, :auto_generated_breaks
1155
+ # Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be
1156
+ # the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating
1157
+ # v1, use blobstore2_info instead. For now, any v2 blob will also be represented
1158
+ # in this field as v1 BlobRef.
1159
+ # Corresponds to the JSON property `blobRef`
1160
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1161
+ # @return [String]
1162
+ attr_accessor :blob_ref
1163
+
1164
+ # Information to read/write to blobstore2.
1165
+ # Corresponds to the JSON property `blobstore2Info`
1166
+ # @return [Google::Apis::YoutubePartnerV1::Blobstore2Info]
1167
+ attr_accessor :blobstore2_info
1168
+
1169
+ # A binary data reference for a media download. Serves as a technology-agnostic
1170
+ # binary reference in some Google infrastructure. This value is a serialized
1171
+ # storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get
1172
+ # around the fact that the cosmo proto (as well as others it includes) doesn't
1173
+ # support JavaScript. This prevents us from including the actual type of this
1174
+ # field.
1175
+ # Corresponds to the JSON property `cosmoBinaryReference`
1176
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1177
+ # @return [String]
1178
+ attr_accessor :cosmo_binary_reference
1179
+
1180
+ # crc32.c hash for the payload.
1181
+ # Corresponds to the JSON property `crc32cHash`
1182
+ # @return [Fixnum]
1183
+ attr_accessor :crc32c_hash
1364
1184
 
1365
- # Set this property to true to indicate that the channel's claimedVideoOptions
1366
- # can override the content owner's claimedVideoOptions.
1367
- # Corresponds to the JSON property `channelOverride`
1368
- # @return [Boolean]
1369
- attr_accessor :channel_override
1370
- alias_method :channel_override?, :channel_override
1185
+ # Media data, set if reference_type is INLINE
1186
+ # Corresponds to the JSON property `inline`
1187
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1188
+ # @return [String]
1189
+ attr_accessor :inline
1371
1190
 
1372
- # Identifies this resource as default options for newly claimed video. Value: "
1373
- # youtubePartner#claimedVideoDefaults".
1374
- # Corresponds to the JSON property `kind`
1191
+ # Size of the data, in bytes
1192
+ # Corresponds to the JSON property `length`
1193
+ # @return [Fixnum]
1194
+ attr_accessor :length
1195
+
1196
+ # MD5 hash for the payload.
1197
+ # Corresponds to the JSON property `md5Hash`
1198
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1375
1199
  # @return [String]
1376
- attr_accessor :kind
1200
+ attr_accessor :md5_hash
1377
1201
 
1378
- # A list of ad formats that could be used as the default settings for a newly
1379
- # claimed video. The first partner that claims the video sets its default
1380
- # advertising options to that video.
1381
- # Corresponds to the JSON property `newVideoDefaults`
1382
- # @return [Array<String>]
1383
- attr_accessor :new_video_defaults
1202
+ # This is a copy of the tech.blob.ObjectId proto, which could not be used
1203
+ # directly here due to transitive closure issues with JavaScript support; see
1204
+ # http://b/8801763.
1205
+ # Corresponds to the JSON property `objectId`
1206
+ # @return [Google::Apis::YoutubePartnerV1::ObjectIdProp]
1207
+ attr_accessor :object_id_prop
1208
+
1209
+ # Path to the data, set if reference_type is PATH
1210
+ # Corresponds to the JSON property `path`
1211
+ # @return [String]
1212
+ attr_accessor :path
1213
+
1214
+ # Describes what the field reference contains.
1215
+ # Corresponds to the JSON property `referenceType`
1216
+ # @return [String]
1217
+ attr_accessor :reference_type
1218
+
1219
+ # SHA-1 hash for the payload.
1220
+ # Corresponds to the JSON property `sha1Hash`
1221
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1222
+ # @return [String]
1223
+ attr_accessor :sha1_hash
1384
1224
 
1385
1225
  def initialize(**args)
1386
1226
  update!(**args)
@@ -1388,10 +1228,17 @@ module Google
1388
1228
 
1389
1229
  # Update properties of this object
1390
1230
  def update!(**args)
1391
- @auto_generated_breaks = args[:auto_generated_breaks] if args.key?(:auto_generated_breaks)
1392
- @channel_override = args[:channel_override] if args.key?(:channel_override)
1393
- @kind = args[:kind] if args.key?(:kind)
1394
- @new_video_defaults = args[:new_video_defaults] if args.key?(:new_video_defaults)
1231
+ @blob_ref = args[:blob_ref] if args.key?(:blob_ref)
1232
+ @blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
1233
+ @cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
1234
+ @crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
1235
+ @inline = args[:inline] if args.key?(:inline)
1236
+ @length = args[:length] if args.key?(:length)
1237
+ @md5_hash = args[:md5_hash] if args.key?(:md5_hash)
1238
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
1239
+ @path = args[:path] if args.key?(:path)
1240
+ @reference_type = args[:reference_type] if args.key?(:reference_type)
1241
+ @sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
1395
1242
  end
1396
1243
  end
1397
1244
 
@@ -1537,27 +1384,16 @@ module Google
1537
1384
  end
1538
1385
 
1539
1386
  #
1540
- class ContentOwnerAdvertisingOption
1387
+ class ContentOwnerListResponse
1541
1388
  include Google::Apis::Core::Hashable
1542
1389
 
1543
- # This object identifies the ad formats that the content owner is allowed to use.
1544
- # Corresponds to the JSON property `allowedOptions`
1545
- # @return [Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions]
1546
- attr_accessor :allowed_options
1547
-
1548
- # This object identifies the advertising options used by default for the content
1549
- # owner's newly claimed videos.
1550
- # Corresponds to the JSON property `claimedVideoOptions`
1551
- # @return [Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults]
1552
- attr_accessor :claimed_video_options
1553
-
1554
- # The value that YouTube uses to uniquely identify the content owner.
1555
- # Corresponds to the JSON property `id`
1556
- # @return [String]
1557
- attr_accessor :id
1390
+ # A list of content owners that match the request criteria.
1391
+ # Corresponds to the JSON property `items`
1392
+ # @return [Array<Google::Apis::YoutubePartnerV1::ContentOwner>]
1393
+ attr_accessor :items
1558
1394
 
1559
- # The type of the API resource. For this resource, the value is youtubePartner#
1560
- # contentOwnerAdvertisingOption.
1395
+ # The type of the API response. For this operation, the value is youtubePartner#
1396
+ # contentOwnerList.
1561
1397
  # Corresponds to the JSON property `kind`
1562
1398
  # @return [String]
1563
1399
  attr_accessor :kind
@@ -1568,27 +1404,48 @@ module Google
1568
1404
 
1569
1405
  # Update properties of this object
1570
1406
  def update!(**args)
1571
- @allowed_options = args[:allowed_options] if args.key?(:allowed_options)
1572
- @claimed_video_options = args[:claimed_video_options] if args.key?(:claimed_video_options)
1573
- @id = args[:id] if args.key?(:id)
1407
+ @items = args[:items] if args.key?(:items)
1574
1408
  @kind = args[:kind] if args.key?(:kind)
1575
1409
  end
1576
1410
  end
1577
1411
 
1578
- #
1579
- class ContentOwnerListResponse
1412
+ # Detailed Content-Type information from Scotty. The Content-Type of the media
1413
+ # will typically be filled in by the header or Scotty's best_guess, but this
1414
+ # extended information provides the backend with more information so that it can
1415
+ # make a better decision if needed. This is only used on media upload requests
1416
+ # from Scotty.
1417
+ class ContentTypeInfo
1580
1418
  include Google::Apis::Core::Hashable
1581
1419
 
1582
- # A list of content owners that match the request criteria.
1583
- # Corresponds to the JSON property `items`
1584
- # @return [Array<Google::Apis::YoutubePartnerV1::ContentOwner>]
1585
- attr_accessor :items
1420
+ # Scotty's best guess of what the content type of the file is.
1421
+ # Corresponds to the JSON property `bestGuess`
1422
+ # @return [String]
1423
+ attr_accessor :best_guess
1586
1424
 
1587
- # The type of the API response. For this operation, the value is youtubePartner#
1588
- # contentOwnerList.
1589
- # Corresponds to the JSON property `kind`
1425
+ # The content type of the file derived by looking at specific bytes (i.e. "magic
1426
+ # bytes") of the actual file.
1427
+ # Corresponds to the JSON property `fromBytes`
1590
1428
  # @return [String]
1591
- attr_accessor :kind
1429
+ attr_accessor :from_bytes
1430
+
1431
+ # The content type of the file derived from the file extension of the original
1432
+ # file name used by the client.
1433
+ # Corresponds to the JSON property `fromFileName`
1434
+ # @return [String]
1435
+ attr_accessor :from_file_name
1436
+
1437
+ # The content type of the file as specified in the request headers, multipart
1438
+ # headers, or RUPIO start request.
1439
+ # Corresponds to the JSON property `fromHeader`
1440
+ # @return [String]
1441
+ attr_accessor :from_header
1442
+
1443
+ # The content type of the file derived from the file extension of the URL path.
1444
+ # The URL path is assumed to represent a file name (which is typically only true
1445
+ # for agents that are providing a REST API).
1446
+ # Corresponds to the JSON property `fromUrlPath`
1447
+ # @return [String]
1448
+ attr_accessor :from_url_path
1592
1449
 
1593
1450
  def initialize(**args)
1594
1451
  update!(**args)
@@ -1596,8 +1453,11 @@ module Google
1596
1453
 
1597
1454
  # Update properties of this object
1598
1455
  def update!(**args)
1599
- @items = args[:items] if args.key?(:items)
1600
- @kind = args[:kind] if args.key?(:kind)
1456
+ @best_guess = args[:best_guess] if args.key?(:best_guess)
1457
+ @from_bytes = args[:from_bytes] if args.key?(:from_bytes)
1458
+ @from_file_name = args[:from_file_name] if args.key?(:from_file_name)
1459
+ @from_header = args[:from_header] if args.key?(:from_header)
1460
+ @from_url_path = args[:from_url_path] if args.key?(:from_url_path)
1601
1461
  end
1602
1462
  end
1603
1463
 
@@ -1654,9 +1514,9 @@ module Google
1654
1514
  # be inserted as soon as possible. If your broadcast stream is not delayed, then
1655
1515
  # 0 is also the only valid value. However, if your broadcast stream is delayed,
1656
1516
  # then the property value can specify the time when the cuepoint should be
1657
- # inserted. See the Getting started guide for more details.
1658
- # Note: If your broadcast had a testing phase, the offset is measured from the
1659
- # time that the testing phase began.
1517
+ # inserted. See the Getting started guide for more details. *Note:* If your
1518
+ # broadcast had a testing phase, the offset is measured from the time that the
1519
+ # testing phase began.
1660
1520
  # Corresponds to the JSON property `offsetTimeMs`
1661
1521
  # @return [Fixnum]
1662
1522
  attr_accessor :offset_time_ms
@@ -1664,7 +1524,7 @@ module Google
1664
1524
  # This value specifies the wall clock time at which the cuepoint should be
1665
1525
  # inserted. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
1666
1526
  # Corresponds to the JSON property `walltime`
1667
- # @return [DateTime]
1527
+ # @return [String]
1668
1528
  attr_accessor :walltime
1669
1529
 
1670
1530
  def initialize(**args)
@@ -1712,26 +1572,208 @@ module Google
1712
1572
  end
1713
1573
  end
1714
1574
 
1715
- #
1716
- class DateRange
1575
+ # Backend response for a Diff get checksums response. For details on the Scotty
1576
+ # Diff protocol, visit http://go/scotty-diff-protocol.
1577
+ class DiffChecksumsResponse
1717
1578
  include Google::Apis::Core::Hashable
1718
1579
 
1719
- # The end date (inclusive) for the date range. This value is required for video-
1720
- # on-demand (VOD) orders and optional for electronic sell-through (EST) orders.
1721
- # Corresponds to the JSON property `end`
1722
- # @return [Google::Apis::YoutubePartnerV1::Date]
1723
- attr_accessor :end
1580
+ # A sequence of media data references representing composite data. Introduced to
1581
+ # support Bigstore composite objects. For details, visit http://go/bigstore-
1582
+ # composites.
1583
+ # Corresponds to the JSON property `checksumsLocation`
1584
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1585
+ attr_accessor :checksums_location
1724
1586
 
1725
- # Identifies this resource as order date range. Value: "youtubePartner#dateRange"
1726
- # .
1727
- # Corresponds to the JSON property `kind`
1587
+ # The chunk size of checksums. Must be a multiple of 256KB.
1588
+ # Corresponds to the JSON property `chunkSizeBytes`
1589
+ # @return [Fixnum]
1590
+ attr_accessor :chunk_size_bytes
1591
+
1592
+ # A sequence of media data references representing composite data. Introduced to
1593
+ # support Bigstore composite objects. For details, visit http://go/bigstore-
1594
+ # composites.
1595
+ # Corresponds to the JSON property `objectLocation`
1596
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1597
+ attr_accessor :object_location
1598
+
1599
+ # The total size of the server object.
1600
+ # Corresponds to the JSON property `objectSizeBytes`
1601
+ # @return [Fixnum]
1602
+ attr_accessor :object_size_bytes
1603
+
1604
+ # The object version of the object the checksums are being returned for.
1605
+ # Corresponds to the JSON property `objectVersion`
1728
1606
  # @return [String]
1729
- attr_accessor :kind
1607
+ attr_accessor :object_version
1730
1608
 
1731
- # The start date for the date range. This value is required for all date ranges.
1732
- # Corresponds to the JSON property `start`
1733
- # @return [Google::Apis::YoutubePartnerV1::Date]
1734
- attr_accessor :start
1609
+ def initialize(**args)
1610
+ update!(**args)
1611
+ end
1612
+
1613
+ # Update properties of this object
1614
+ def update!(**args)
1615
+ @checksums_location = args[:checksums_location] if args.key?(:checksums_location)
1616
+ @chunk_size_bytes = args[:chunk_size_bytes] if args.key?(:chunk_size_bytes)
1617
+ @object_location = args[:object_location] if args.key?(:object_location)
1618
+ @object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
1619
+ @object_version = args[:object_version] if args.key?(:object_version)
1620
+ end
1621
+ end
1622
+
1623
+ # Backend response for a Diff download response. For details on the Scotty Diff
1624
+ # protocol, visit http://go/scotty-diff-protocol.
1625
+ class DiffDownloadResponse
1626
+ include Google::Apis::Core::Hashable
1627
+
1628
+ # A sequence of media data references representing composite data. Introduced to
1629
+ # support Bigstore composite objects. For details, visit http://go/bigstore-
1630
+ # composites.
1631
+ # Corresponds to the JSON property `objectLocation`
1632
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1633
+ attr_accessor :object_location
1634
+
1635
+ def initialize(**args)
1636
+ update!(**args)
1637
+ end
1638
+
1639
+ # Update properties of this object
1640
+ def update!(**args)
1641
+ @object_location = args[:object_location] if args.key?(:object_location)
1642
+ end
1643
+ end
1644
+
1645
+ # A Diff upload request. For details on the Scotty Diff protocol, visit http://
1646
+ # go/scotty-diff-protocol.
1647
+ class DiffUploadRequest
1648
+ include Google::Apis::Core::Hashable
1649
+
1650
+ # A sequence of media data references representing composite data. Introduced to
1651
+ # support Bigstore composite objects. For details, visit http://go/bigstore-
1652
+ # composites.
1653
+ # Corresponds to the JSON property `checksumsInfo`
1654
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1655
+ attr_accessor :checksums_info
1656
+
1657
+ # A sequence of media data references representing composite data. Introduced to
1658
+ # support Bigstore composite objects. For details, visit http://go/bigstore-
1659
+ # composites.
1660
+ # Corresponds to the JSON property `objectInfo`
1661
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1662
+ attr_accessor :object_info
1663
+
1664
+ # The object version of the object that is the base version the incoming diff
1665
+ # script will be applied to. This field will always be filled in.
1666
+ # Corresponds to the JSON property `objectVersion`
1667
+ # @return [String]
1668
+ attr_accessor :object_version
1669
+
1670
+ def initialize(**args)
1671
+ update!(**args)
1672
+ end
1673
+
1674
+ # Update properties of this object
1675
+ def update!(**args)
1676
+ @checksums_info = args[:checksums_info] if args.key?(:checksums_info)
1677
+ @object_info = args[:object_info] if args.key?(:object_info)
1678
+ @object_version = args[:object_version] if args.key?(:object_version)
1679
+ end
1680
+ end
1681
+
1682
+ # Backend response for a Diff upload request. For details on the Scotty Diff
1683
+ # protocol, visit http://go/scotty-diff-protocol.
1684
+ class DiffUploadResponse
1685
+ include Google::Apis::Core::Hashable
1686
+
1687
+ # The object version of the object at the server. Must be included in the end
1688
+ # notification response. The version in the end notification response must
1689
+ # correspond to the new version of the object that is now stored at the server,
1690
+ # after the upload.
1691
+ # Corresponds to the JSON property `objectVersion`
1692
+ # @return [String]
1693
+ attr_accessor :object_version
1694
+
1695
+ # A sequence of media data references representing composite data. Introduced to
1696
+ # support Bigstore composite objects. For details, visit http://go/bigstore-
1697
+ # composites.
1698
+ # Corresponds to the JSON property `originalObject`
1699
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1700
+ attr_accessor :original_object
1701
+
1702
+ def initialize(**args)
1703
+ update!(**args)
1704
+ end
1705
+
1706
+ # Update properties of this object
1707
+ def update!(**args)
1708
+ @object_version = args[:object_version] if args.key?(:object_version)
1709
+ @original_object = args[:original_object] if args.key?(:original_object)
1710
+ end
1711
+ end
1712
+
1713
+ # Backend response for a Diff get version response. For details on the Scotty
1714
+ # Diff protocol, visit http://go/scotty-diff-protocol.
1715
+ class DiffVersionResponse
1716
+ include Google::Apis::Core::Hashable
1717
+
1718
+ # The total size of the server object.
1719
+ # Corresponds to the JSON property `objectSizeBytes`
1720
+ # @return [Fixnum]
1721
+ attr_accessor :object_size_bytes
1722
+
1723
+ # The version of the object stored at the server.
1724
+ # Corresponds to the JSON property `objectVersion`
1725
+ # @return [String]
1726
+ attr_accessor :object_version
1727
+
1728
+ def initialize(**args)
1729
+ update!(**args)
1730
+ end
1731
+
1732
+ # Update properties of this object
1733
+ def update!(**args)
1734
+ @object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
1735
+ @object_version = args[:object_version] if args.key?(:object_version)
1736
+ end
1737
+ end
1738
+
1739
+ # Parameters specific to media downloads.
1740
+ class DownloadParameters
1741
+ include Google::Apis::Core::Hashable
1742
+
1743
+ # A boolean to be returned in the response to Scotty. Allows/disallows gzip
1744
+ # encoding of the payload content when the server thinks it's advantageous (
1745
+ # hence, does not guarantee compression) which allows Scotty to GZip the
1746
+ # response to the client.
1747
+ # Corresponds to the JSON property `allowGzipCompression`
1748
+ # @return [Boolean]
1749
+ attr_accessor :allow_gzip_compression
1750
+ alias_method :allow_gzip_compression?, :allow_gzip_compression
1751
+
1752
+ # Determining whether or not Apiary should skip the inclusion of any Content-
1753
+ # Range header on its response to Scotty.
1754
+ # Corresponds to the JSON property `ignoreRange`
1755
+ # @return [Boolean]
1756
+ attr_accessor :ignore_range
1757
+ alias_method :ignore_range?, :ignore_range
1758
+
1759
+ def initialize(**args)
1760
+ update!(**args)
1761
+ end
1762
+
1763
+ # Update properties of this object
1764
+ def update!(**args)
1765
+ @allow_gzip_compression = args[:allow_gzip_compression] if args.key?(:allow_gzip_compression)
1766
+ @ignore_range = args[:ignore_range] if args.key?(:ignore_range)
1767
+ end
1768
+ end
1769
+
1770
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1771
+ # messages in your APIs. A typical example is to use it as the request or the
1772
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1773
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1774
+ # `Empty` is empty JSON object ````.
1775
+ class Empty
1776
+ include Google::Apis::Core::Hashable
1735
1777
 
1736
1778
  def initialize(**args)
1737
1779
  update!(**args)
@@ -1739,9 +1781,6 @@ module Google
1739
1781
 
1740
1782
  # Update properties of this object
1741
1783
  def update!(**args)
1742
- @end = args[:end] if args.key?(:end)
1743
- @kind = args[:kind] if args.key?(:kind)
1744
- @start = args[:start] if args.key?(:start)
1745
1784
  end
1746
1785
  end
1747
1786
 
@@ -1771,7 +1810,7 @@ module Google
1771
1810
  # The date and time that the exclusion was created. The value is specified in
1772
1811
  # RFC 3339 (YYYY-MM-DDThh:mm:ss.000Z) format.
1773
1812
  # Corresponds to the JSON property `timeCreated`
1774
- # @return [DateTime]
1813
+ # @return [String]
1775
1814
  attr_accessor :time_created
1776
1815
 
1777
1816
  def initialize(**args)
@@ -1835,7 +1874,7 @@ module Google
1835
1874
  # @return [String]
1836
1875
  attr_accessor :kind
1837
1876
 
1838
- # The settings object defines the cuepoint's settings.
1877
+ # The *settings* object defines the cuepoint's settings.
1839
1878
  # Corresponds to the JSON property `settings`
1840
1879
  # @return [Google::Apis::YoutubePartnerV1::CuepointSettings]
1841
1880
  attr_accessor :settings
@@ -1853,33 +1892,499 @@ module Google
1853
1892
  end
1854
1893
  end
1855
1894
 
1856
- #
1857
- class MatchSegment
1858
- include Google::Apis::Core::Hashable
1895
+ #
1896
+ class LongestMatch
1897
+ include Google::Apis::Core::Hashable
1898
+
1899
+ # The duration of the longest match between the reference and the user video.
1900
+ # Corresponds to the JSON property `durationSecs`
1901
+ # @return [Fixnum]
1902
+ attr_accessor :duration_secs
1903
+
1904
+ # The offset in seconds into the reference at which the longest match began.
1905
+ # Corresponds to the JSON property `referenceOffset`
1906
+ # @return [Fixnum]
1907
+ attr_accessor :reference_offset
1908
+
1909
+ # The offset in seconds into the user video at which the longest match began.
1910
+ # Corresponds to the JSON property `userVideoOffset`
1911
+ # @return [Fixnum]
1912
+ attr_accessor :user_video_offset
1913
+
1914
+ def initialize(**args)
1915
+ update!(**args)
1916
+ end
1917
+
1918
+ # Update properties of this object
1919
+ def update!(**args)
1920
+ @duration_secs = args[:duration_secs] if args.key?(:duration_secs)
1921
+ @reference_offset = args[:reference_offset] if args.key?(:reference_offset)
1922
+ @user_video_offset = args[:user_video_offset] if args.key?(:user_video_offset)
1923
+ end
1924
+ end
1925
+
1926
+ #
1927
+ class MatchInfo
1928
+ include Google::Apis::Core::Hashable
1929
+
1930
+ # Details of the longest match between the reference and the user video.
1931
+ # Corresponds to the JSON property `longestMatch`
1932
+ # @return [Google::Apis::YoutubePartnerV1::LongestMatch]
1933
+ attr_accessor :longest_match
1934
+
1935
+ # Details about each match segment. Each item in the list contains information
1936
+ # about one match segment associated with the claim. It is possible to have
1937
+ # multiple match segments. For example, if the audio and video content of an
1938
+ # uploaded video match that of a reference video, there would be two match
1939
+ # segments. One segment would describe the audio match and the other would
1940
+ # describe the video match.
1941
+ # Corresponds to the JSON property `matchSegments`
1942
+ # @return [Array<Google::Apis::YoutubePartnerV1::MatchSegment>]
1943
+ attr_accessor :match_segments
1944
+
1945
+ # The reference ID that generated this match.
1946
+ # Corresponds to the JSON property `referenceId`
1947
+ # @return [String]
1948
+ attr_accessor :reference_id
1949
+
1950
+ # Details of the total amount of reference and user video content which matched
1951
+ # each other. Note these two values may differ if either the reference or the
1952
+ # user video contains a loop.
1953
+ # Corresponds to the JSON property `totalMatch`
1954
+ # @return [Google::Apis::YoutubePartnerV1::TotalMatch]
1955
+ attr_accessor :total_match
1956
+
1957
+ def initialize(**args)
1958
+ update!(**args)
1959
+ end
1960
+
1961
+ # Update properties of this object
1962
+ def update!(**args)
1963
+ @longest_match = args[:longest_match] if args.key?(:longest_match)
1964
+ @match_segments = args[:match_segments] if args.key?(:match_segments)
1965
+ @reference_id = args[:reference_id] if args.key?(:reference_id)
1966
+ @total_match = args[:total_match] if args.key?(:total_match)
1967
+ end
1968
+ end
1969
+
1970
+ #
1971
+ class MatchSegment
1972
+ include Google::Apis::Core::Hashable
1973
+
1974
+ # Identifies the manner in which the claimed video matches the reference video.
1975
+ # Corresponds to the JSON property `channel`
1976
+ # @return [String]
1977
+ attr_accessor :channel
1978
+
1979
+ # On insert operation of manual claims, the manual_segment object contains
1980
+ # information about the specific portion of the video that is claimed to be
1981
+ # matching.
1982
+ # Corresponds to the JSON property `manual_segment`
1983
+ # @return [Google::Apis::YoutubePartnerV1::Segment2]
1984
+ attr_accessor :manual_segment
1985
+
1986
+ # The reference_segment object contains information about the matched portion of
1987
+ # the reference content.
1988
+ # Corresponds to the JSON property `reference_segment`
1989
+ # @return [Google::Apis::YoutubePartnerV1::Segment]
1990
+ attr_accessor :reference_segment
1991
+
1992
+ # The video_segment object contains information about the matched portion of the
1993
+ # claimed video.
1994
+ # Corresponds to the JSON property `video_segment`
1995
+ # @return [Google::Apis::YoutubePartnerV1::Segment]
1996
+ attr_accessor :video_segment
1997
+
1998
+ def initialize(**args)
1999
+ update!(**args)
2000
+ end
2001
+
2002
+ # Update properties of this object
2003
+ def update!(**args)
2004
+ @channel = args[:channel] if args.key?(:channel)
2005
+ @manual_segment = args[:manual_segment] if args.key?(:manual_segment)
2006
+ @reference_segment = args[:reference_segment] if args.key?(:reference_segment)
2007
+ @video_segment = args[:video_segment] if args.key?(:video_segment)
2008
+ end
2009
+ end
2010
+
2011
+ # A reference to data stored on the filesystem, on GFS or in blobstore.
2012
+ class Media
2013
+ include Google::Apis::Core::Hashable
2014
+
2015
+ # Deprecated, use one of explicit hash type fields instead. Algorithm used for
2016
+ # calculating the hash. As of 2011/01/21, "MD5" is the only possible value for
2017
+ # this field. New values may be added at any time.
2018
+ # Corresponds to the JSON property `algorithm`
2019
+ # @return [String]
2020
+ attr_accessor :algorithm
2021
+
2022
+ # Use object_id instead.
2023
+ # Corresponds to the JSON property `bigstoreObjectRef`
2024
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2025
+ # @return [String]
2026
+ attr_accessor :bigstore_object_ref
2027
+
2028
+ # Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be
2029
+ # the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating
2030
+ # v1, use blobstore2_info instead. For now, any v2 blob will also be represented
2031
+ # in this field as v1 BlobRef.
2032
+ # Corresponds to the JSON property `blobRef`
2033
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2034
+ # @return [String]
2035
+ attr_accessor :blob_ref
2036
+
2037
+ # Information to read/write to blobstore2.
2038
+ # Corresponds to the JSON property `blobstore2Info`
2039
+ # @return [Google::Apis::YoutubePartnerV1::Blobstore2Info]
2040
+ attr_accessor :blobstore2_info
2041
+
2042
+ # A composite media composed of one or more media objects, set if reference_type
2043
+ # is COMPOSITE_MEDIA. The media length field must be set to the sum of the
2044
+ # lengths of all composite media objects. Note: All composite media must have
2045
+ # length specified.
2046
+ # Corresponds to the JSON property `compositeMedia`
2047
+ # @return [Array<Google::Apis::YoutubePartnerV1::CompositeMedia>]
2048
+ attr_accessor :composite_media
2049
+
2050
+ # MIME type of the data
2051
+ # Corresponds to the JSON property `contentType`
2052
+ # @return [String]
2053
+ attr_accessor :content_type
2054
+
2055
+ # Detailed Content-Type information from Scotty. The Content-Type of the media
2056
+ # will typically be filled in by the header or Scotty's best_guess, but this
2057
+ # extended information provides the backend with more information so that it can
2058
+ # make a better decision if needed. This is only used on media upload requests
2059
+ # from Scotty.
2060
+ # Corresponds to the JSON property `contentTypeInfo`
2061
+ # @return [Google::Apis::YoutubePartnerV1::ContentTypeInfo]
2062
+ attr_accessor :content_type_info
2063
+
2064
+ # A binary data reference for a media download. Serves as a technology-agnostic
2065
+ # binary reference in some Google infrastructure. This value is a serialized
2066
+ # storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get
2067
+ # around the fact that the cosmo proto (as well as others it includes) doesn't
2068
+ # support JavaScript. This prevents us from including the actual type of this
2069
+ # field.
2070
+ # Corresponds to the JSON property `cosmoBinaryReference`
2071
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2072
+ # @return [String]
2073
+ attr_accessor :cosmo_binary_reference
2074
+
2075
+ # For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (
2076
+ # WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided
2077
+ # by the agent to be used to verify the data being downloaded. Currently only
2078
+ # supported for inline payloads. Further, only crc32c_hash is currently
2079
+ # supported.
2080
+ # Corresponds to the JSON property `crc32cHash`
2081
+ # @return [Fixnum]
2082
+ attr_accessor :crc32c_hash
2083
+
2084
+ # Backend response for a Diff get checksums response. For details on the Scotty
2085
+ # Diff protocol, visit http://go/scotty-diff-protocol.
2086
+ # Corresponds to the JSON property `diffChecksumsResponse`
2087
+ # @return [Google::Apis::YoutubePartnerV1::DiffChecksumsResponse]
2088
+ attr_accessor :diff_checksums_response
2089
+
2090
+ # Backend response for a Diff download response. For details on the Scotty Diff
2091
+ # protocol, visit http://go/scotty-diff-protocol.
2092
+ # Corresponds to the JSON property `diffDownloadResponse`
2093
+ # @return [Google::Apis::YoutubePartnerV1::DiffDownloadResponse]
2094
+ attr_accessor :diff_download_response
2095
+
2096
+ # A Diff upload request. For details on the Scotty Diff protocol, visit http://
2097
+ # go/scotty-diff-protocol.
2098
+ # Corresponds to the JSON property `diffUploadRequest`
2099
+ # @return [Google::Apis::YoutubePartnerV1::DiffUploadRequest]
2100
+ attr_accessor :diff_upload_request
2101
+
2102
+ # Backend response for a Diff upload request. For details on the Scotty Diff
2103
+ # protocol, visit http://go/scotty-diff-protocol.
2104
+ # Corresponds to the JSON property `diffUploadResponse`
2105
+ # @return [Google::Apis::YoutubePartnerV1::DiffUploadResponse]
2106
+ attr_accessor :diff_upload_response
2107
+
2108
+ # Backend response for a Diff get version response. For details on the Scotty
2109
+ # Diff protocol, visit http://go/scotty-diff-protocol.
2110
+ # Corresponds to the JSON property `diffVersionResponse`
2111
+ # @return [Google::Apis::YoutubePartnerV1::DiffVersionResponse]
2112
+ attr_accessor :diff_version_response
2113
+
2114
+ # Parameters specific to media downloads.
2115
+ # Corresponds to the JSON property `downloadParameters`
2116
+ # @return [Google::Apis::YoutubePartnerV1::DownloadParameters]
2117
+ attr_accessor :download_parameters
2118
+
2119
+ # Original file name
2120
+ # Corresponds to the JSON property `filename`
2121
+ # @return [String]
2122
+ attr_accessor :filename
2123
+
2124
+ # Deprecated, use one of explicit hash type fields instead. These two hash
2125
+ # related fields will only be populated on Scotty based media uploads and will
2126
+ # contain the content of the hash group in the NotificationRequest: http://cs/#
2127
+ # google3/uploader/service/proto/upload_listener.proto&q=class:Hash Hex encoded
2128
+ # hash value of the uploaded media.
2129
+ # Corresponds to the JSON property `hash`
2130
+ # @return [String]
2131
+ attr_accessor :hash_prop
2132
+
2133
+ # For Scotty uploads only. If a user sends a hash code and the backend has
2134
+ # requested that Scotty verify the upload against the client hash, Scotty will
2135
+ # perform the check on behalf of the backend and will reject it if the hashes
2136
+ # don't match. This is set to true if Scotty performed this verification.
2137
+ # Corresponds to the JSON property `hashVerified`
2138
+ # @return [Boolean]
2139
+ attr_accessor :hash_verified
2140
+ alias_method :hash_verified?, :hash_verified
2141
+
2142
+ # Media data, set if reference_type is INLINE
2143
+ # Corresponds to the JSON property `inline`
2144
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2145
+ # @return [String]
2146
+ attr_accessor :inline
2147
+
2148
+ # |is_potential_retry| is set false only when Scotty is certain that it has not
2149
+ # sent the request before. When a client resumes an upload, this field must be
2150
+ # set true in agent calls, because Scotty cannot be certain that it has never
2151
+ # sent the request before due to potential failure in the session state
2152
+ # persistence.
2153
+ # Corresponds to the JSON property `isPotentialRetry`
2154
+ # @return [Boolean]
2155
+ attr_accessor :is_potential_retry
2156
+ alias_method :is_potential_retry?, :is_potential_retry
2157
+
2158
+ # Size of the data, in bytes
2159
+ # Corresponds to the JSON property `length`
2160
+ # @return [Fixnum]
2161
+ attr_accessor :length
2162
+
2163
+ # Scotty-provided MD5 hash for an upload.
2164
+ # Corresponds to the JSON property `md5Hash`
2165
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2166
+ # @return [String]
2167
+ attr_accessor :md5_hash
2168
+
2169
+ # Media id to forward to the operation GetMedia. Can be set if reference_type is
2170
+ # GET_MEDIA.
2171
+ # Corresponds to the JSON property `mediaId`
2172
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2173
+ # @return [String]
2174
+ attr_accessor :media_id
2175
+
2176
+ # This is a copy of the tech.blob.ObjectId proto, which could not be used
2177
+ # directly here due to transitive closure issues with JavaScript support; see
2178
+ # http://b/8801763.
2179
+ # Corresponds to the JSON property `objectId`
2180
+ # @return [Google::Apis::YoutubePartnerV1::ObjectIdProp]
2181
+ attr_accessor :object_id_prop
2182
+
2183
+ # Path to the data, set if reference_type is PATH
2184
+ # Corresponds to the JSON property `path`
2185
+ # @return [String]
2186
+ attr_accessor :path
2187
+
2188
+ # Describes what the field reference contains.
2189
+ # Corresponds to the JSON property `referenceType`
2190
+ # @return [String]
2191
+ attr_accessor :reference_type
2192
+
2193
+ # Scotty-provided SHA1 hash for an upload.
2194
+ # Corresponds to the JSON property `sha1Hash`
2195
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2196
+ # @return [String]
2197
+ attr_accessor :sha1_hash
2198
+
2199
+ # Scotty-provided SHA256 hash for an upload.
2200
+ # Corresponds to the JSON property `sha256Hash`
2201
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2202
+ # @return [String]
2203
+ attr_accessor :sha256_hash
2204
+
2205
+ # Time at which the media data was last updated, in milliseconds since UNIX
2206
+ # epoch
2207
+ # Corresponds to the JSON property `timestamp`
2208
+ # @return [Fixnum]
2209
+ attr_accessor :timestamp
2210
+
2211
+ # A unique fingerprint/version id for the media data
2212
+ # Corresponds to the JSON property `token`
2213
+ # @return [String]
2214
+ attr_accessor :token
2215
+
2216
+ def initialize(**args)
2217
+ update!(**args)
2218
+ end
2219
+
2220
+ # Update properties of this object
2221
+ def update!(**args)
2222
+ @algorithm = args[:algorithm] if args.key?(:algorithm)
2223
+ @bigstore_object_ref = args[:bigstore_object_ref] if args.key?(:bigstore_object_ref)
2224
+ @blob_ref = args[:blob_ref] if args.key?(:blob_ref)
2225
+ @blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
2226
+ @composite_media = args[:composite_media] if args.key?(:composite_media)
2227
+ @content_type = args[:content_type] if args.key?(:content_type)
2228
+ @content_type_info = args[:content_type_info] if args.key?(:content_type_info)
2229
+ @cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
2230
+ @crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
2231
+ @diff_checksums_response = args[:diff_checksums_response] if args.key?(:diff_checksums_response)
2232
+ @diff_download_response = args[:diff_download_response] if args.key?(:diff_download_response)
2233
+ @diff_upload_request = args[:diff_upload_request] if args.key?(:diff_upload_request)
2234
+ @diff_upload_response = args[:diff_upload_response] if args.key?(:diff_upload_response)
2235
+ @diff_version_response = args[:diff_version_response] if args.key?(:diff_version_response)
2236
+ @download_parameters = args[:download_parameters] if args.key?(:download_parameters)
2237
+ @filename = args[:filename] if args.key?(:filename)
2238
+ @hash_prop = args[:hash_prop] if args.key?(:hash_prop)
2239
+ @hash_verified = args[:hash_verified] if args.key?(:hash_verified)
2240
+ @inline = args[:inline] if args.key?(:inline)
2241
+ @is_potential_retry = args[:is_potential_retry] if args.key?(:is_potential_retry)
2242
+ @length = args[:length] if args.key?(:length)
2243
+ @md5_hash = args[:md5_hash] if args.key?(:md5_hash)
2244
+ @media_id = args[:media_id] if args.key?(:media_id)
2245
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
2246
+ @path = args[:path] if args.key?(:path)
2247
+ @reference_type = args[:reference_type] if args.key?(:reference_type)
2248
+ @sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
2249
+ @sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
2250
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
2251
+ @token = args[:token] if args.key?(:token)
2252
+ end
2253
+ end
2254
+
2255
+ # Extra information added to operations that support Scotty media requests.
2256
+ class MediaRequestInfo
2257
+ include Google::Apis::Core::Hashable
2258
+
2259
+ # The number of current bytes uploaded or downloaded.
2260
+ # Corresponds to the JSON property `currentBytes`
2261
+ # @return [Fixnum]
2262
+ attr_accessor :current_bytes
2263
+
2264
+ # Data to be copied to backend requests. Custom data is returned to Scotty in
2265
+ # the agent_state field, which Scotty will then provide in subsequent upload
2266
+ # notifications.
2267
+ # Corresponds to the JSON property `customData`
2268
+ # @return [String]
2269
+ attr_accessor :custom_data
2270
+
2271
+ # Set if the http request info is diff encoded. The value of this field is the
2272
+ # version number of the base revision. This is corresponding to Apiary's
2273
+ # mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/
2274
+ # variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for
2275
+ # more information.
2276
+ # Corresponds to the JSON property `diffObjectVersion`
2277
+ # @return [String]
2278
+ attr_accessor :diff_object_version
2279
+
2280
+ # The type of notification received from Scotty.
2281
+ # Corresponds to the JSON property `notificationType`
2282
+ # @return [String]
2283
+ attr_accessor :notification_type
2284
+
2285
+ # The Scotty request ID.
2286
+ # Corresponds to the JSON property `requestId`
2287
+ # @return [String]
2288
+ attr_accessor :request_id
2289
+
2290
+ # The total size of the file.
2291
+ # Corresponds to the JSON property `totalBytes`
2292
+ # @return [Fixnum]
2293
+ attr_accessor :total_bytes
2294
+
2295
+ # Whether the total bytes field contains an estimated data.
2296
+ # Corresponds to the JSON property `totalBytesIsEstimated`
2297
+ # @return [Boolean]
2298
+ attr_accessor :total_bytes_is_estimated
2299
+ alias_method :total_bytes_is_estimated?, :total_bytes_is_estimated
2300
+
2301
+ def initialize(**args)
2302
+ update!(**args)
2303
+ end
2304
+
2305
+ # Update properties of this object
2306
+ def update!(**args)
2307
+ @current_bytes = args[:current_bytes] if args.key?(:current_bytes)
2308
+ @custom_data = args[:custom_data] if args.key?(:custom_data)
2309
+ @diff_object_version = args[:diff_object_version] if args.key?(:diff_object_version)
2310
+ @notification_type = args[:notification_type] if args.key?(:notification_type)
2311
+ @request_id = args[:request_id] if args.key?(:request_id)
2312
+ @total_bytes = args[:total_bytes] if args.key?(:total_bytes)
2313
+ @total_bytes_is_estimated = args[:total_bytes_is_estimated] if args.key?(:total_bytes_is_estimated)
2314
+ end
2315
+ end
2316
+
2317
+ # This message is for backends to pass their scotty media specific fields to ESF.
2318
+ # Backend will include this in their response message to ESF. Example:
2319
+ # ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
2320
+ # ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
2321
+ # will include apiserving.MediaResponseInfo to tell ESF about data like
2322
+ # dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
2323
+ # optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
2324
+ # media_response_info = 2 `
2325
+ class MediaResponseInfo
2326
+ include Google::Apis::Core::Hashable
2327
+
2328
+ # Data to copy from backend response to the next backend requests. Custom data
2329
+ # is returned to Scotty in the agent_state field, which Scotty will then provide
2330
+ # in subsequent upload notifications.
2331
+ # Corresponds to the JSON property `customData`
2332
+ # @return [String]
2333
+ attr_accessor :custom_data
2334
+
2335
+ # Specifies any transformation to be applied to data before persisting it or
2336
+ # retrieving from storage. E.g., encryption options for blobstore2. This should
2337
+ # be of the form uploader_service.DataStorageTransform.
2338
+ # Corresponds to the JSON property `dataStorageTransform`
2339
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2340
+ # @return [String]
2341
+ attr_accessor :data_storage_transform
2342
+
2343
+ # Specifies the Scotty Drop Target to use for uploads. If present in a media
2344
+ # response, Scotty does not upload to a standard drop zone. Instead, Scotty
2345
+ # saves the upload directly to the location specified in this drop target.
2346
+ # Unlike drop zones, the drop target is the final storage location for an upload.
2347
+ # So, the agent does not need to clone the blob at the end of the upload. The
2348
+ # agent is responsible for garbage collecting any orphaned blobs that may occur
2349
+ # due to aborted uploads. For more information, see the drop target design doc
2350
+ # here: http://goto/ScottyDropTarget This field will be preferred to
2351
+ # dynamicDropzone. If provided, the identified field in the response must be of
2352
+ # the type uploader.agent.DropTarget.
2353
+ # Corresponds to the JSON property `dynamicDropTarget`
2354
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2355
+ # @return [String]
2356
+ attr_accessor :dynamic_drop_target
1859
2357
 
1860
- # Identifies the manner in which the claimed video matches the reference video.
1861
- # Corresponds to the JSON property `channel`
2358
+ # Specifies the Scotty dropzone to use for uploads.
2359
+ # Corresponds to the JSON property `dynamicDropzone`
1862
2360
  # @return [String]
1863
- attr_accessor :channel
2361
+ attr_accessor :dynamic_dropzone
1864
2362
 
1865
- # On insert operation of manual claims, the manual_segment object contains
1866
- # information about the specific portion of the video that is claimed to be
1867
- # matching.
1868
- # Corresponds to the JSON property `manual_segment`
1869
- # @return [Google::Apis::YoutubePartnerV1::Segment]
1870
- attr_accessor :manual_segment
2363
+ # A reference to data stored on the filesystem, on GFS or in blobstore.
2364
+ # Corresponds to the JSON property `mediaForDiff`
2365
+ # @return [Google::Apis::YoutubePartnerV1::Media]
2366
+ attr_accessor :media_for_diff
1871
2367
 
1872
- # The reference_segment object contains information about the matched portion of
1873
- # the reference content.
1874
- # Corresponds to the JSON property `reference_segment`
1875
- # @return [Google::Apis::YoutubePartnerV1::Segment]
1876
- attr_accessor :reference_segment
2368
+ # Request class to use for all Blobstore operations for this request.
2369
+ # Corresponds to the JSON property `requestClass`
2370
+ # @return [String]
2371
+ attr_accessor :request_class
1877
2372
 
1878
- # The video_segment object contains information about the matched portion of the
1879
- # claimed video.
1880
- # Corresponds to the JSON property `video_segment`
1881
- # @return [Google::Apis::YoutubePartnerV1::Segment]
1882
- attr_accessor :video_segment
2373
+ # Specifies the TrafficClass that Scotty should use for any RPCs to fetch the
2374
+ # response bytes. Will override the traffic class GTOS of the incoming http
2375
+ # request. This is a temporary field to facilitate whitelisting and
2376
+ # experimentation by the bigstore agent only. For instance, this does not apply
2377
+ # to RTMP reads. WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.
2378
+ # Corresponds to the JSON property `trafficClassField`
2379
+ # @return [String]
2380
+ attr_accessor :traffic_class_field
2381
+
2382
+ # Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-
2383
+ # Hash header.
2384
+ # Corresponds to the JSON property `verifyHashFromHeader`
2385
+ # @return [Boolean]
2386
+ attr_accessor :verify_hash_from_header
2387
+ alias_method :verify_hash_from_header?, :verify_hash_from_header
1883
2388
 
1884
2389
  def initialize(**args)
1885
2390
  update!(**args)
@@ -1887,10 +2392,14 @@ module Google
1887
2392
 
1888
2393
  # Update properties of this object
1889
2394
  def update!(**args)
1890
- @channel = args[:channel] if args.key?(:channel)
1891
- @manual_segment = args[:manual_segment] if args.key?(:manual_segment)
1892
- @reference_segment = args[:reference_segment] if args.key?(:reference_segment)
1893
- @video_segment = args[:video_segment] if args.key?(:video_segment)
2395
+ @custom_data = args[:custom_data] if args.key?(:custom_data)
2396
+ @data_storage_transform = args[:data_storage_transform] if args.key?(:data_storage_transform)
2397
+ @dynamic_drop_target = args[:dynamic_drop_target] if args.key?(:dynamic_drop_target)
2398
+ @dynamic_dropzone = args[:dynamic_dropzone] if args.key?(:dynamic_dropzone)
2399
+ @media_for_diff = args[:media_for_diff] if args.key?(:media_for_diff)
2400
+ @request_class = args[:request_class] if args.key?(:request_class)
2401
+ @traffic_class_field = args[:traffic_class_field] if args.key?(:traffic_class_field)
2402
+ @verify_hash_from_header = args[:verify_hash_from_header] if args.key?(:verify_hash_from_header)
1894
2403
  end
1895
2404
  end
1896
2405
 
@@ -1933,9 +2442,8 @@ module Google
1933
2442
 
1934
2443
  # The type of video content that the asset represents. This field is only valid
1935
2444
  # for movie and episode assets, and is required for the following types of those
1936
- # assets:
1937
- # - Episode assets that are linked to a show
1938
- # - Movie assets that appear in YouTube's Movies category
2445
+ # assets: - Episode assets that are linked to a show - Movie assets that appear
2446
+ # in YouTube's Movies category
1939
2447
  # Corresponds to the JSON property `contentType`
1940
2448
  # @return [String]
1941
2449
  attr_accessor :content_type
@@ -1948,8 +2456,8 @@ module Google
1948
2456
  # A unique value that you, the metadata provider, use to identify an asset. The
1949
2457
  # value could be a unique ID that you created for the asset or a standard
1950
2458
  # identifier, such as an ISRC. The value has a maximum length of 64 bytes and
1951
- # may contain alphanumeric characters, hyphens (-), underscores (_), periods (.),
1952
- # "at" symbols (@), or forward slashes (/).
2459
+ # may contain alphanumeric characters, hyphens (-), underscores (_), periods ( .)
2460
+ # , "at" symbols (@), or forward slashes (/).
1953
2461
  # Corresponds to the JSON property `customId`
1954
2462
  # @return [String]
1955
2463
  attr_accessor :custom_id
@@ -2002,10 +2510,9 @@ module Google
2002
2510
  # This field specifies a genre that can be used to categorize an asset. Assets
2003
2511
  # may be categorized in more than one genre, and YouTube uses different sets of
2004
2512
  # genres to categorize different types of assets. For example, Soaps might be a
2005
- # valid genre for a show but not for a movie or sound recording.
2006
- # - Show assets
2007
- # - Movie assets that appear in YouTube's Movies category
2008
- # - Sound recordings included in the AudioSwap program
2513
+ # valid genre for a show but not for a movie or sound recording. - Show assets -
2514
+ # Movie assets that appear in YouTube's Movies category - Sound recordings
2515
+ # included in the AudioSwap program
2009
2516
  # Corresponds to the JSON property `genre`
2010
2517
  # @return [Array<String>]
2011
2518
  attr_accessor :genre
@@ -2031,13 +2538,12 @@ module Google
2031
2538
  # The ISAN (International Standard Audiovisual Number) for the asset. This value
2032
2539
  # is only used for episode and movie assets and is optional in both cases. The
2033
2540
  # value contains 26 characters, which includes the 24 hexadecimal characters of
2034
- # the ISAN as well as two check characters, in the following format:
2035
- # - The first 16 characters in the tag value contain hexadecimal characters
2036
- # specifying the 'root' and 'episode' components of the ISAN.
2037
- # - The seventeenth character is a check character (a letter from A-Z).
2038
- # - Characters 18 to 25 are the remaining eight characters of the ISAN, which
2039
- # specify the 'version' component of the ISAN.
2040
- # - The twenty-sixth character is another check character (A-Z).
2541
+ # the ISAN as well as two check characters, in the following format: - The first
2542
+ # 16 characters in the tag value contain hexadecimal characters specifying the '
2543
+ # root' and 'episode' components of the ISAN. - The seventeenth character is a
2544
+ # check character (a letter from A-Z). - Characters 18 to 25 are the remaining
2545
+ # eight characters of the ISAN, which specify the 'version' component of the
2546
+ # ISAN. - The twenty-sixth character is another check character (A-Z).
2041
2547
  # Corresponds to the JSON property `isan`
2042
2548
  # @return [String]
2043
2549
  attr_accessor :isan
@@ -2076,9 +2582,8 @@ module Google
2076
2582
 
2077
2583
  # The method by which people first had the opportunity to see a video asset.
2078
2584
  # This value is only used for episode and movie assets. It is required for the
2079
- # assets listed below and otherwise optional:
2080
- # - Episode assets that are linked to a show
2081
- # - Movie assets that appear in YouTube's Movies category
2585
+ # assets listed below and otherwise optional: - Episode assets that are linked
2586
+ # to a show - Movie assets that appear in YouTube's Movies category
2082
2587
  # Corresponds to the JSON property `originalReleaseMedium`
2083
2588
  # @return [String]
2084
2589
  attr_accessor :original_release_medium
@@ -2099,9 +2604,8 @@ module Google
2099
2604
  # specifies the first date that the season aired. Dates prior to the year 1902
2100
2605
  # are not supported. This value is valid for episode, season, movie, music video,
2101
2606
  # and sound recording assets. It is required for the assets listed below and
2102
- # otherwise optional:
2103
- # - Episode assets that are linked to a show
2104
- # - Movie assets that appear in YouTube's Movies category
2607
+ # otherwise optional: - Episode assets that are linked to a show - Movie assets
2608
+ # that appear in YouTube's Movies category
2105
2609
  # Corresponds to the JSON property `releaseDate`
2106
2610
  # @return [Google::Apis::YoutubePartnerV1::Date]
2107
2611
  attr_accessor :release_date
@@ -2122,8 +2626,8 @@ module Google
2122
2626
  # @return [String]
2123
2627
  attr_accessor :show_custom_id
2124
2628
 
2125
- # The name of the show that an episode asset is associated with. Note: This tag
2126
- # is only used for and valid for episodes that are not associated with show
2629
+ # The name of the show that an episode asset is associated with. *Note:* This
2630
+ # tag is only used for and valid for episodes that are not associated with show
2127
2631
  # assets and enables those assets to still display a show title in the asset
2128
2632
  # metadata section of CMS. This field has a maximum length of 120 bytes.
2129
2633
  # Corresponds to the JSON property `showTitle`
@@ -2153,11 +2657,9 @@ module Google
2153
2657
 
2154
2658
  # The asset's title or name. The value has a maximum length of 255 bytes. This
2155
2659
  # value is required for the assets listed below and optional for all other
2156
- # assets:
2157
- # - Show assets
2158
- # - Episode assets that are linked to a show
2159
- # - Movie assets that appear in YouTube's Movies category
2160
- # - Sound recordings included in the AudioSwap program
2660
+ # assets: - Show assets - Episode assets that are linked to a show - Movie
2661
+ # assets that appear in YouTube's Movies category - Sound recordings included in
2662
+ # the AudioSwap program
2161
2663
  # Corresponds to the JSON property `title`
2162
2664
  # @return [String]
2163
2665
  attr_accessor :title
@@ -2255,7 +2757,7 @@ module Google
2255
2757
 
2256
2758
  # The time the metadata was provided.
2257
2759
  # Corresponds to the JSON property `timeProvided`
2258
- # @return [DateTime]
2760
+ # @return [String]
2259
2761
  attr_accessor :time_provided
2260
2762
 
2261
2763
  def initialize(**args)
@@ -2298,115 +2800,29 @@ module Google
2298
2800
  end
2299
2801
  end
2300
2802
 
2301
- #
2302
- class Order
2803
+ # This is a copy of the tech.blob.ObjectId proto, which could not be used
2804
+ # directly here due to transitive closure issues with JavaScript support; see
2805
+ # http://b/8801763.
2806
+ class ObjectIdProp
2303
2807
  include Google::Apis::Core::Hashable
2304
2808
 
2305
- # Links an order to the avails associated with it.
2306
- # Corresponds to the JSON property `availGroupId`
2307
- # @return [String]
2308
- attr_accessor :avail_group_id
2309
-
2310
- # Channel ID - identifies the channel this order and video are associated with
2311
- # Corresponds to the JSON property `channelId`
2312
- # @return [String]
2313
- attr_accessor :channel_id
2314
-
2315
- # Type of content possible values are
2316
- # - MOVIE
2317
- # - SHOW
2318
- # Corresponds to the JSON property `contentType`
2319
- # @return [String]
2320
- attr_accessor :content_type
2321
-
2322
- # Two letter country code for the order only countries where YouTube does
2323
- # transactional business are allowed.
2324
- # Corresponds to the JSON property `country`
2325
- # @return [String]
2326
- attr_accessor :country
2327
-
2328
- # Secondary id to be used to identify content in other systems like partner
2329
- # database
2330
- # Corresponds to the JSON property `customId`
2331
- # @return [String]
2332
- attr_accessor :custom_id
2333
-
2334
- # Date when this content was first made available on DVD
2335
- # Corresponds to the JSON property `dvdReleaseDate`
2336
- # @return [Google::Apis::YoutubePartnerV1::Date]
2337
- attr_accessor :dvd_release_date
2338
-
2339
- # Range of time content is to be available for rental.
2340
- # Corresponds to the JSON property `estDates`
2341
- # @return [Google::Apis::YoutubePartnerV1::DateRange]
2342
- attr_accessor :est_dates
2343
-
2344
- # History log of events for this order
2345
- # Corresponds to the JSON property `events`
2346
- # @return [Array<Google::Apis::YoutubePartnerV1::StateCompleted>]
2347
- attr_accessor :events
2348
-
2349
- # Order Id unique identifier for an order.
2350
- # Corresponds to the JSON property `id`
2351
- # @return [String]
2352
- attr_accessor :id
2353
-
2354
- # Identifies this resource as order. Value: "youtubePartner#order".
2355
- # Corresponds to the JSON property `kind`
2356
- # @return [String]
2357
- attr_accessor :kind
2358
-
2359
- # Title if the order is type movie.
2360
- # Corresponds to the JSON property `movie`
2361
- # @return [String]
2362
- attr_accessor :movie
2363
-
2364
- # Date when this content was first made available to the public
2365
- # Corresponds to the JSON property `originalReleaseDate`
2366
- # @return [Google::Apis::YoutubePartnerV1::Date]
2367
- attr_accessor :original_release_date
2368
-
2369
- # The priority for the order in the QC review queue once the content is ready
2370
- # for QC.
2371
- # Corresponds to the JSON property `priority`
2809
+ # The name of the bucket to which this object belongs.
2810
+ # Corresponds to the JSON property `bucketName`
2372
2811
  # @return [String]
2373
- attr_accessor :priority
2812
+ attr_accessor :bucket_name
2374
2813
 
2375
- # Post production house that is to process this order
2376
- # Corresponds to the JSON property `productionHouse`
2377
- # @return [String]
2378
- attr_accessor :production_house
2379
-
2380
- # Youtube purchase order reference for the post production house.
2381
- # Corresponds to the JSON property `purchaseOrder`
2382
- # @return [String]
2383
- attr_accessor :purchase_order
2384
-
2385
- # Minumim set of requirements for this order to be complete such as is a trailer
2386
- # required.
2387
- # Corresponds to the JSON property `requirements`
2388
- # @return [Google::Apis::YoutubePartnerV1::Requirements]
2389
- attr_accessor :requirements
2390
-
2391
- # Details of a show, show name, season number, episode etc.
2392
- # Corresponds to the JSON property `show`
2393
- # @return [Google::Apis::YoutubePartnerV1::ShowDetails]
2394
- attr_accessor :show
2395
-
2396
- # The order's status.
2397
- # Corresponds to the JSON property `status`
2398
- # @return [String]
2399
- attr_accessor :status
2814
+ # Generation of the object. Generations are monotonically increasing across
2815
+ # writes, allowing them to be be compared to determine which generation is newer.
2816
+ # If this is omitted in a request, then you are requesting the live object. See
2817
+ # http://go/bigstore-versions
2818
+ # Corresponds to the JSON property `generation`
2819
+ # @return [Fixnum]
2820
+ attr_accessor :generation
2400
2821
 
2401
- # Video ID the video that this order is associated with if any.
2402
- # Corresponds to the JSON property `videoId`
2822
+ # The name of the object.
2823
+ # Corresponds to the JSON property `objectName`
2403
2824
  # @return [String]
2404
- attr_accessor :video_id
2405
-
2406
- # Range of time content is to be available for purchase.
2407
- # Corresponds to the JSON property `vodDates`
2408
- # @return [Google::Apis::YoutubePartnerV1::DateRange]
2409
- attr_accessor :vod_dates
2825
+ attr_accessor :object_name
2410
2826
 
2411
2827
  def initialize(**args)
2412
2828
  update!(**args)
@@ -2414,60 +2830,20 @@ module Google
2414
2830
 
2415
2831
  # Update properties of this object
2416
2832
  def update!(**args)
2417
- @avail_group_id = args[:avail_group_id] if args.key?(:avail_group_id)
2418
- @channel_id = args[:channel_id] if args.key?(:channel_id)
2419
- @content_type = args[:content_type] if args.key?(:content_type)
2420
- @country = args[:country] if args.key?(:country)
2421
- @custom_id = args[:custom_id] if args.key?(:custom_id)
2422
- @dvd_release_date = args[:dvd_release_date] if args.key?(:dvd_release_date)
2423
- @est_dates = args[:est_dates] if args.key?(:est_dates)
2424
- @events = args[:events] if args.key?(:events)
2425
- @id = args[:id] if args.key?(:id)
2426
- @kind = args[:kind] if args.key?(:kind)
2427
- @movie = args[:movie] if args.key?(:movie)
2428
- @original_release_date = args[:original_release_date] if args.key?(:original_release_date)
2429
- @priority = args[:priority] if args.key?(:priority)
2430
- @production_house = args[:production_house] if args.key?(:production_house)
2431
- @purchase_order = args[:purchase_order] if args.key?(:purchase_order)
2432
- @requirements = args[:requirements] if args.key?(:requirements)
2433
- @show = args[:show] if args.key?(:show)
2434
- @status = args[:status] if args.key?(:status)
2435
- @video_id = args[:video_id] if args.key?(:video_id)
2436
- @vod_dates = args[:vod_dates] if args.key?(:vod_dates)
2833
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
2834
+ @generation = args[:generation] if args.key?(:generation)
2835
+ @object_name = args[:object_name] if args.key?(:object_name)
2437
2836
  end
2438
2837
  end
2439
2838
 
2440
2839
  #
2441
- class OrderListResponse
2840
+ class Origin
2442
2841
  include Google::Apis::Core::Hashable
2443
2842
 
2444
- # A list of orders that match the request criteria.
2445
- # Corresponds to the JSON property `items`
2446
- # @return [Array<Google::Apis::YoutubePartnerV1::Order>]
2447
- attr_accessor :items
2448
-
2449
- # The type of the API response. For this operation, the value is youtubePartner#
2450
- # orderList.
2451
- # Corresponds to the JSON property `kind`
2452
- # @return [String]
2453
- attr_accessor :kind
2454
-
2455
- # The token that can be used as the value of the pageToken parameter to retrieve
2456
- # the next page in the result set.
2457
- # Corresponds to the JSON property `nextPageToken`
2458
- # @return [String]
2459
- attr_accessor :next_page_token
2460
-
2461
- # The pageInfo object encapsulates paging information for the result set.
2462
- # Corresponds to the JSON property `pageInfo`
2463
- # @return [Google::Apis::YoutubePartnerV1::PageInfo]
2464
- attr_accessor :page_info
2465
-
2466
- # The token that can be used as the value of the pageToken parameter to retrieve
2467
- # the previous page in the result set.
2468
- # Corresponds to the JSON property `previousPageToken`
2843
+ #
2844
+ # Corresponds to the JSON property `source`
2469
2845
  # @return [String]
2470
- attr_accessor :previous_page_token
2846
+ attr_accessor :source
2471
2847
 
2472
2848
  def initialize(**args)
2473
2849
  update!(**args)
@@ -2475,11 +2851,7 @@ module Google
2475
2851
 
2476
2852
  # Update properties of this object
2477
2853
  def update!(**args)
2478
- @items = args[:items] if args.key?(:items)
2479
- @kind = args[:kind] if args.key?(:kind)
2480
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2481
- @page_info = args[:page_info] if args.key?(:page_info)
2482
- @previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token)
2854
+ @source = args[:source] if args.key?(:source)
2483
2855
  end
2484
2856
  end
2485
2857
 
@@ -2609,9 +2981,9 @@ module Google
2609
2981
  # @return [String]
2610
2982
  attr_accessor :kind
2611
2983
 
2612
- # The desired locale of the error messages as defined in BCP 47 (http://tools.
2613
- # ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we will
2614
- # return the error messages in English ("en").
2984
+ # The desired locale of the error messages as defined in BCP 47 (http: //tools.
2985
+ # ietf.org/html/bcp47). For example, "en-US" or "de". If not // specified we
2986
+ # will return the error messages in English ("en").
2615
2987
  # Corresponds to the JSON property `locale`
2616
2988
  # @return [String]
2617
2989
  attr_accessor :locale
@@ -2631,10 +3003,10 @@ module Google
2631
3003
  # @return [Array<Google::Apis::YoutubePartnerV1::StatusReport>]
2632
3004
  attr_accessor :status_reports
2633
3005
 
2634
- # The package creation time. The value is specified in RFC 3339 (YYYY-MM-DDThh:
3006
+ # The package creation time. The value is specified in RFC 3339 ( YYYY-MM-DDThh:
2635
3007
  # mm:ss.000Z) format.
2636
3008
  # Corresponds to the JSON property `timeCreated`
2637
- # @return [DateTime]
3009
+ # @return [String]
2638
3010
  attr_accessor :time_created
2639
3011
 
2640
3012
  # The package type.
@@ -2772,7 +3144,7 @@ module Google
2772
3144
 
2773
3145
  # The time the policy was updated.
2774
3146
  # Corresponds to the JSON property `timeUpdated`
2775
- # @return [DateTime]
3147
+ # @return [String]
2776
3148
  attr_accessor :time_updated
2777
3149
 
2778
3150
  def initialize(**args)
@@ -2855,9 +3227,8 @@ module Google
2855
3227
  include Google::Apis::Core::Hashable
2856
3228
 
2857
3229
  # A list of link targets that will be used to generate the annotation link that
2858
- # appears on videos included in the campaign. If more than one link is
2859
- # specified, the link that is displayed to viewers will be randomly selected
2860
- # from the list.
3230
+ # appears on videos included in the campaign. If more than one link is specified,
3231
+ # the link that is displayed to viewers will be randomly selected from the list.
2861
3232
  # Corresponds to the JSON property `link`
2862
3233
  # @return [Array<Google::Apis::YoutubePartnerV1::CampaignTargetLink>]
2863
3234
  attr_accessor :link
@@ -2947,6 +3318,11 @@ module Google
2947
3318
  attr_accessor :fp_direct
2948
3319
  alias_method :fp_direct?, :fp_direct
2949
3320
 
3321
+ # A reference to data stored on the filesystem, on GFS or in blobstore.
3322
+ # Corresponds to the JSON property `gdataMedia`
3323
+ # @return [Google::Apis::YoutubePartnerV1::Media]
3324
+ attr_accessor :gdata_media
3325
+
2950
3326
  # The MD5 hashcode of the reference content. Deprecated! This is no longer
2951
3327
  # populated.
2952
3328
  # Corresponds to the JSON property `hashCode`
@@ -2976,6 +3352,23 @@ module Google
2976
3352
  # @return [Float]
2977
3353
  attr_accessor :length
2978
3354
 
3355
+ # Extra information added to operations that support Scotty media requests.
3356
+ # Corresponds to the JSON property `mediaRequestInfo`
3357
+ # @return [Google::Apis::YoutubePartnerV1::MediaRequestInfo]
3358
+ attr_accessor :media_request_info
3359
+
3360
+ # This message is for backends to pass their scotty media specific fields to ESF.
3361
+ # Backend will include this in their response message to ESF. Example:
3362
+ # ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
3363
+ # ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
3364
+ # will include apiserving.MediaResponseInfo to tell ESF about data like
3365
+ # dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
3366
+ # optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
3367
+ # media_response_info = 2 `
3368
+ # Corresponds to the JSON property `mediaResponseInfo`
3369
+ # @return [Google::Apis::YoutubePartnerV1::MediaResponseInfo]
3370
+ attr_accessor :media_response_info
3371
+
2979
3372
  # The origination object contains information that describes the reference
2980
3373
  # source.
2981
3374
  # Corresponds to the JSON property `origination`
@@ -2998,9 +3391,8 @@ module Google
2998
3391
  # files that are not marked as urgent. This setting is primarily used for videos
2999
3392
  # of live events or other videos that require time-sensitive processing. The
3000
3393
  # sooner YouTube completes Content ID processing for a video, the sooner YouTube
3001
- # can match user-uploaded videos to that video.
3002
- # Note that marking all of your files as urgent could delay processing for those
3003
- # files.
3394
+ # can match user-uploaded videos to that video. Note that marking all of your
3395
+ # files as urgent could delay processing for those files.
3004
3396
  # Corresponds to the JSON property `urgent`
3005
3397
  # @return [Boolean]
3006
3398
  attr_accessor :urgent
@@ -3027,11 +3419,14 @@ module Google
3027
3419
  @duplicate_leader = args[:duplicate_leader] if args.key?(:duplicate_leader)
3028
3420
  @excluded_intervals = args[:excluded_intervals] if args.key?(:excluded_intervals)
3029
3421
  @fp_direct = args[:fp_direct] if args.key?(:fp_direct)
3422
+ @gdata_media = args[:gdata_media] if args.key?(:gdata_media)
3030
3423
  @hash_code = args[:hash_code] if args.key?(:hash_code)
3031
3424
  @id = args[:id] if args.key?(:id)
3032
3425
  @ignore_fp_match = args[:ignore_fp_match] if args.key?(:ignore_fp_match)
3033
3426
  @kind = args[:kind] if args.key?(:kind)
3034
3427
  @length = args[:length] if args.key?(:length)
3428
+ @media_request_info = args[:media_request_info] if args.key?(:media_request_info)
3429
+ @media_response_info = args[:media_response_info] if args.key?(:media_response_info)
3035
3430
  @origination = args[:origination] if args.key?(:origination)
3036
3431
  @status = args[:status] if args.key?(:status)
3037
3432
  @status_reason = args[:status_reason] if args.key?(:status_reason)
@@ -3051,7 +3446,7 @@ module Google
3051
3446
 
3052
3447
  # Conflict review expiry time.
3053
3448
  # Corresponds to the JSON property `expiryTime`
3054
- # @return [DateTime]
3449
+ # @return [String]
3055
3450
  attr_accessor :expiry_time
3056
3451
 
3057
3452
  # A value that YouTube assigns and uses to uniquely identify a reference
@@ -3213,62 +3608,6 @@ module Google
3213
3608
  end
3214
3609
  end
3215
3610
 
3216
- #
3217
- class Requirements
3218
- include Google::Apis::Core::Hashable
3219
-
3220
- # This value indicates whether the order requires closed captions.
3221
- # Corresponds to the JSON property `caption`
3222
- # @return [Boolean]
3223
- attr_accessor :caption
3224
- alias_method :caption?, :caption
3225
-
3226
- # This value indicates whether the order requires HD-quality video.
3227
- # Corresponds to the JSON property `hdTranscode`
3228
- # @return [Boolean]
3229
- attr_accessor :hd_transcode
3230
- alias_method :hd_transcode?, :hd_transcode
3231
-
3232
- # This value indicates whether the order requires poster artwork.
3233
- # Corresponds to the JSON property `posterArt`
3234
- # @return [Boolean]
3235
- attr_accessor :poster_art
3236
- alias_method :poster_art?, :poster_art
3237
-
3238
- # This value indicates whether the order requires spotlight artwork.
3239
- # Corresponds to the JSON property `spotlightArt`
3240
- # @return [Boolean]
3241
- attr_accessor :spotlight_art
3242
- alias_method :spotlight_art?, :spotlight_art
3243
-
3244
- # This value indicates whether the spotlight artwork for the order needs to be
3245
- # reviewed.
3246
- # Corresponds to the JSON property `spotlightReview`
3247
- # @return [Boolean]
3248
- attr_accessor :spotlight_review
3249
- alias_method :spotlight_review?, :spotlight_review
3250
-
3251
- # This value indicates whether the order requires a trailer.
3252
- # Corresponds to the JSON property `trailer`
3253
- # @return [Boolean]
3254
- attr_accessor :trailer
3255
- alias_method :trailer?, :trailer
3256
-
3257
- def initialize(**args)
3258
- update!(**args)
3259
- end
3260
-
3261
- # Update properties of this object
3262
- def update!(**args)
3263
- @caption = args[:caption] if args.key?(:caption)
3264
- @hd_transcode = args[:hd_transcode] if args.key?(:hd_transcode)
3265
- @poster_art = args[:poster_art] if args.key?(:poster_art)
3266
- @spotlight_art = args[:spotlight_art] if args.key?(:spotlight_art)
3267
- @spotlight_review = args[:spotlight_review] if args.key?(:spotlight_review)
3268
- @trailer = args[:trailer] if args.key?(:trailer)
3269
- end
3270
- end
3271
-
3272
3611
  #
3273
3612
  class RightsOwnership
3274
3613
  include Google::Apis::Core::Hashable
@@ -3276,9 +3615,8 @@ module Google
3276
3615
  # A list that identifies the owners of an asset and the territories where each
3277
3616
  # owner has ownership. General asset ownership is used for all types of assets
3278
3617
  # and is the only type of ownership data that can be provided for assets that
3279
- # are not compositions.
3280
- # Note: You cannot specify general ownership rights and also specify either
3281
- # mechanical, performance, or synchronization rights.
3618
+ # are not compositions. *Note:* You cannot specify general ownership rights and
3619
+ # also specify either mechanical, performance, or synchronization rights.
3282
3620
  # Corresponds to the JSON property `general`
3283
3621
  # @return [Array<Google::Apis::YoutubePartnerV1::TerritoryOwners>]
3284
3622
  attr_accessor :general
@@ -3343,7 +3681,7 @@ module Google
3343
3681
 
3344
3682
  # The time that the ownership data was provided.
3345
3683
  # Corresponds to the JSON property `timeProvided`
3346
- # @return [DateTime]
3684
+ # @return [String]
3347
3685
  attr_accessor :time_provided
3348
3686
 
3349
3687
  def initialize(**args)
@@ -3368,6 +3706,33 @@ module Google
3368
3706
  # @return [Fixnum]
3369
3707
  attr_accessor :duration
3370
3708
 
3709
+ # The type of the API resource. For segment resources, the value is
3710
+ # youtubePartner#segment.
3711
+ # Corresponds to the JSON property `kind`
3712
+ # @return [String]
3713
+ attr_accessor :kind
3714
+
3715
+ # The start time of the segment, measured in milliseconds from the beginning.
3716
+ # Corresponds to the JSON property `start`
3717
+ # @return [Fixnum]
3718
+ attr_accessor :start
3719
+
3720
+ def initialize(**args)
3721
+ update!(**args)
3722
+ end
3723
+
3724
+ # Update properties of this object
3725
+ def update!(**args)
3726
+ @duration = args[:duration] if args.key?(:duration)
3727
+ @kind = args[:kind] if args.key?(:kind)
3728
+ @start = args[:start] if args.key?(:start)
3729
+ end
3730
+ end
3731
+
3732
+ #
3733
+ class Segment2
3734
+ include Google::Apis::Core::Hashable
3735
+
3371
3736
  # The finish time of the segment, measured in milliseconds from the beginning.
3372
3737
  # Corresponds to the JSON property `finish`
3373
3738
  # @return [String]
@@ -3390,7 +3755,6 @@ module Google
3390
3755
 
3391
3756
  # Update properties of this object
3392
3757
  def update!(**args)
3393
- @duration = args[:duration] if args.key?(:duration)
3394
3758
  @finish = args[:finish] if args.key?(:finish)
3395
3759
  @kind = args[:kind] if args.key?(:kind)
3396
3760
  @start = args[:start] if args.key?(:start)
@@ -3398,28 +3762,23 @@ module Google
3398
3762
  end
3399
3763
 
3400
3764
  #
3401
- class ShowDetails
3765
+ class Source
3402
3766
  include Google::Apis::Core::Hashable
3403
3767
 
3404
- # The episode number associated with the episode.
3405
- # Corresponds to the JSON property `episodeNumber`
3406
- # @return [String]
3407
- attr_accessor :episode_number
3408
-
3409
- # The episode's title.
3410
- # Corresponds to the JSON property `episodeTitle`
3768
+ # Id of content owner that initiated the event.
3769
+ # Corresponds to the JSON property `contentOwnerId`
3411
3770
  # @return [String]
3412
- attr_accessor :episode_title
3771
+ attr_accessor :content_owner_id
3413
3772
 
3414
- # The season number associated with the episode.
3415
- # Corresponds to the JSON property `seasonNumber`
3773
+ # Type of the event source.
3774
+ # Corresponds to the JSON property `type`
3416
3775
  # @return [String]
3417
- attr_accessor :season_number
3776
+ attr_accessor :type
3418
3777
 
3419
- # The show's title
3420
- # Corresponds to the JSON property `title`
3778
+ # Email of user who initiated the event.
3779
+ # Corresponds to the JSON property `userEmail`
3421
3780
  # @return [String]
3422
- attr_accessor :title
3781
+ attr_accessor :user_email
3423
3782
 
3424
3783
  def initialize(**args)
3425
3784
  update!(**args)
@@ -3427,10 +3786,9 @@ module Google
3427
3786
 
3428
3787
  # Update properties of this object
3429
3788
  def update!(**args)
3430
- @episode_number = args[:episode_number] if args.key?(:episode_number)
3431
- @episode_title = args[:episode_title] if args.key?(:episode_title)
3432
- @season_number = args[:season_number] if args.key?(:season_number)
3433
- @title = args[:title] if args.key?(:title)
3789
+ @content_owner_id = args[:content_owner_id] if args.key?(:content_owner_id)
3790
+ @type = args[:type] if args.key?(:type)
3791
+ @user_email = args[:user_email] if args.key?(:user_email)
3434
3792
  end
3435
3793
  end
3436
3794
 
@@ -3511,31 +3869,6 @@ module Google
3511
3869
  end
3512
3870
  end
3513
3871
 
3514
- #
3515
- class StateCompleted
3516
- include Google::Apis::Core::Hashable
3517
-
3518
- # The state that the order entered.
3519
- # Corresponds to the JSON property `state`
3520
- # @return [String]
3521
- attr_accessor :state
3522
-
3523
- # The time that the state transition occurred.
3524
- # Corresponds to the JSON property `timeCompleted`
3525
- # @return [Fixnum]
3526
- attr_accessor :time_completed
3527
-
3528
- def initialize(**args)
3529
- update!(**args)
3530
- end
3531
-
3532
- # Update properties of this object
3533
- def update!(**args)
3534
- @state = args[:state] if args.key?(:state)
3535
- @time_completed = args[:time_completed] if args.key?(:time_completed)
3536
- end
3537
- end
3538
-
3539
3872
  #
3540
3873
  class StatusReport
3541
3874
  include Google::Apis::Core::Hashable
@@ -3665,6 +3998,70 @@ module Google
3665
3998
  end
3666
3999
  end
3667
4000
 
4001
+ #
4002
+ class TotalMatch
4003
+ include Google::Apis::Core::Hashable
4004
+
4005
+ # The total amount of content in the reference which matched the user video in
4006
+ # seconds.
4007
+ # Corresponds to the JSON property `referenceDurationSecs`
4008
+ # @return [Fixnum]
4009
+ attr_accessor :reference_duration_secs
4010
+
4011
+ # The total amount of content in the user video which matched the reference in
4012
+ # seconds.
4013
+ # Corresponds to the JSON property `userVideoDurationSecs`
4014
+ # @return [Fixnum]
4015
+ attr_accessor :user_video_duration_secs
4016
+
4017
+ def initialize(**args)
4018
+ update!(**args)
4019
+ end
4020
+
4021
+ # Update properties of this object
4022
+ def update!(**args)
4023
+ @reference_duration_secs = args[:reference_duration_secs] if args.key?(:reference_duration_secs)
4024
+ @user_video_duration_secs = args[:user_video_duration_secs] if args.key?(:user_video_duration_secs)
4025
+ end
4026
+ end
4027
+
4028
+ #
4029
+ class TypeDetails
4030
+ include Google::Apis::Core::Hashable
4031
+
4032
+ # Appeal explanations for dispute_appeal event.
4033
+ # Corresponds to the JSON property `appealExplanation`
4034
+ # @return [String]
4035
+ attr_accessor :appeal_explanation
4036
+
4037
+ # Dispute notes for dispute_create events.
4038
+ # Corresponds to the JSON property `disputeNotes`
4039
+ # @return [String]
4040
+ attr_accessor :dispute_notes
4041
+
4042
+ # Dispute reason for dispute_create and dispute_appeal events.
4043
+ # Corresponds to the JSON property `disputeReason`
4044
+ # @return [String]
4045
+ attr_accessor :dispute_reason
4046
+
4047
+ # Status that was a result of update for claim_update event.
4048
+ # Corresponds to the JSON property `updateStatus`
4049
+ # @return [String]
4050
+ attr_accessor :update_status
4051
+
4052
+ def initialize(**args)
4053
+ update!(**args)
4054
+ end
4055
+
4056
+ # Update properties of this object
4057
+ def update!(**args)
4058
+ @appeal_explanation = args[:appeal_explanation] if args.key?(:appeal_explanation)
4059
+ @dispute_notes = args[:dispute_notes] if args.key?(:dispute_notes)
4060
+ @dispute_reason = args[:dispute_reason] if args.key?(:dispute_reason)
4061
+ @update_status = args[:update_status] if args.key?(:update_status)
4062
+ end
4063
+ end
4064
+
3668
4065
  #
3669
4066
  class Uploader
3670
4067
  include Google::Apis::Core::Hashable
@@ -3846,9 +4243,9 @@ module Google
3846
4243
  # @return [String]
3847
4244
  attr_accessor :kind
3848
4245
 
3849
- # The desired locale of the error messages as defined in BCP 47 (http://tools.
3850
- # ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we will
3851
- # return the error messages in English ("en").
4246
+ # The desired locale of the error messages as defined in BCP 47 (http: //tools.
4247
+ # ietf.org/html/bcp47). For example, "en-US" or "de". If not // specified we
4248
+ # will return the error messages in English ("en").
3852
4249
  # Corresponds to the JSON property `locale`
3853
4250
  # @return [String]
3854
4251
  attr_accessor :locale
@@ -3913,9 +4310,9 @@ module Google
3913
4310
  # @return [String]
3914
4311
  attr_accessor :kind
3915
4312
 
3916
- # The desired locale of the error messages as defined in BCP 47 (http://tools.
3917
- # ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we will
3918
- # return the error messages in English ("en").
4313
+ # The desired locale of the error messages as defined in BCP 47 (http: //tools.
4314
+ # ietf.org/html/bcp47). For example, "en-US" or "de". If not // specified we
4315
+ # will return the error messages in English ("en").
3919
4316
  # Corresponds to the JSON property `locale`
3920
4317
  # @return [String]
3921
4318
  attr_accessor :locale
@@ -4166,6 +4563,25 @@ module Google
4166
4563
  @page_info = args[:page_info] if args.key?(:page_info)
4167
4564
  end
4168
4565
  end
4566
+
4567
+ #
4568
+ class YoutubePartnerApiProtoFrontendV1Origin
4569
+ include Google::Apis::Core::Hashable
4570
+
4571
+ #
4572
+ # Corresponds to the JSON property `source`
4573
+ # @return [String]
4574
+ attr_accessor :source
4575
+
4576
+ def initialize(**args)
4577
+ update!(**args)
4578
+ end
4579
+
4580
+ # Update properties of this object
4581
+ def update!(**args)
4582
+ @source = args[:source] if args.key?(:source)
4583
+ end
4584
+ end
4169
4585
  end
4170
4586
  end
4171
4587
  end