google-api-client 0.41.0 → 0.42.2

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 (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +295 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/classes.rb +3 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
  19. data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
  20. data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
  21. data/generated/google/apis/apigee_v1.rb +1 -1
  22. data/generated/google/apis/apigee_v1/classes.rb +1475 -107
  23. data/generated/google/apis/apigee_v1/representations.rb +558 -0
  24. data/generated/google/apis/apigee_v1/service.rb +1175 -117
  25. data/generated/google/apis/appengine_v1.rb +1 -1
  26. data/generated/google/apis/appengine_v1/service.rb +6 -3
  27. data/generated/google/apis/appengine_v1beta.rb +1 -1
  28. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  29. data/generated/google/apis/appsmarket_v2.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +234 -9
  33. data/generated/google/apis/bigquery_v2/representations.rb +74 -0
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  36. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  37. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  38. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  39. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  40. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  42. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  45. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  46. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
  48. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  49. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  50. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  51. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
  52. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/blogger_v3.rb +1 -1
  54. data/generated/google/apis/books_v1.rb +1 -1
  55. data/generated/google/apis/books_v1/classes.rb +140 -159
  56. data/generated/google/apis/books_v1/service.rb +47 -49
  57. data/generated/google/apis/chat_v1.rb +1 -1
  58. data/generated/google/apis/chat_v1/classes.rb +130 -0
  59. data/generated/google/apis/chat_v1/representations.rb +63 -0
  60. data/generated/google/apis/chat_v1/service.rb +71 -0
  61. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  62. data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
  63. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  64. data/generated/google/apis/civicinfo_v2.rb +2 -2
  65. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  66. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  67. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/classroom_v1/service.rb +9 -5
  70. data/generated/google/apis/cloudasset_v1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
  72. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  73. data/generated/google/apis/cloudasset_v1/service.rb +178 -0
  74. data/generated/google/apis/{androidpublisher_v2.rb → cloudasset_v1p5beta1.rb} +11 -11
  75. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
  76. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  77. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  78. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  79. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  80. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  84. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  89. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  90. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
  91. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  92. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -49
  95. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  96. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
  100. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -755
  102. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  103. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -430
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  106. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  112. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  113. data/generated/google/apis/cloudscheduler_v1/classes.rb +18 -6
  114. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  116. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +18 -6
  117. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  118. data/generated/google/apis/cloudshell_v1.rb +1 -1
  119. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  120. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  121. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  122. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
  124. data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
  125. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  126. data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
  127. data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  130. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +99 -61
  133. data/generated/google/apis/compute_alpha/representations.rb +3 -0
  134. data/generated/google/apis/compute_alpha/service.rb +32 -33
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +596 -60
  137. data/generated/google/apis/compute_beta/representations.rb +162 -0
  138. data/generated/google/apis/compute_beta/service.rb +565 -33
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +967 -70
  141. data/generated/google/apis/compute_v1/representations.rb +289 -0
  142. data/generated/google/apis/compute_v1/service.rb +784 -38
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +132 -5
  145. data/generated/google/apis/container_v1/representations.rb +51 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +136 -17
  148. data/generated/google/apis/container_v1beta1/representations.rb +39 -0
  149. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  150. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  151. data/generated/google/apis/content_v2.rb +1 -1
  152. data/generated/google/apis/content_v2/classes.rb +8 -2
  153. data/generated/google/apis/content_v2/representations.rb +1 -0
  154. data/generated/google/apis/content_v2_1.rb +1 -1
  155. data/generated/google/apis/content_v2_1/classes.rb +182 -4
  156. data/generated/google/apis/content_v2_1/representations.rb +72 -0
  157. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  158. data/generated/google/apis/customsearch_v1/classes.rb +1610 -0
  159. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  160. data/generated/google/apis/customsearch_v1/service.rb +618 -0
  161. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  162. data/generated/google/apis/datacatalog_v1beta1/classes.rb +400 -565
  163. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  164. data/generated/google/apis/datacatalog_v1beta1/service.rb +351 -435
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  168. data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
  169. data/generated/google/apis/dataproc_v1.rb +1 -1
  170. data/generated/google/apis/dataproc_v1/classes.rb +15 -14
  171. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  172. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -14
  173. data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
  174. data/generated/google/apis/datastore_v1.rb +1 -1
  175. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  176. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  179. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  180. data/generated/google/apis/dialogflow_v2.rb +1 -1
  181. data/generated/google/apis/dialogflow_v2/classes.rb +416 -63
  182. data/generated/google/apis/dialogflow_v2/representations.rb +108 -0
  183. data/generated/google/apis/dialogflow_v2/service.rb +4 -0
  184. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  185. data/generated/google/apis/dialogflow_v2beta1/classes.rb +436 -66
  186. data/generated/google/apis/dialogflow_v2beta1/representations.rb +108 -0
  187. data/generated/google/apis/dialogflow_v2beta1/service.rb +58 -44
  188. data/generated/google/apis/displayvideo_v1.rb +7 -1
  189. data/generated/google/apis/displayvideo_v1/classes.rb +1727 -1680
  190. data/generated/google/apis/displayvideo_v1/representations.rb +275 -0
  191. data/generated/google/apis/displayvideo_v1/service.rb +1245 -924
  192. data/generated/google/apis/dlp_v2.rb +1 -1
  193. data/generated/google/apis/dlp_v2/classes.rb +5 -2
  194. data/generated/google/apis/dns_v1.rb +4 -4
  195. data/generated/google/apis/dns_v1/classes.rb +313 -162
  196. data/generated/google/apis/dns_v1/service.rb +247 -180
  197. data/generated/google/apis/dns_v1beta2.rb +4 -4
  198. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  199. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  200. data/generated/google/apis/dns_v2beta1.rb +4 -4
  201. data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
  202. data/generated/google/apis/dns_v2beta1/service.rb +247 -180
  203. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  206. data/generated/google/apis/doubleclicksearch_v2/classes.rb +75 -76
  207. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  208. data/generated/google/apis/doubleclicksearch_v2/service.rb +43 -75
  209. data/generated/google/apis/drive_v2.rb +1 -1
  210. data/generated/google/apis/drive_v2/classes.rb +75 -2
  211. data/generated/google/apis/drive_v2/representations.rb +23 -0
  212. data/generated/google/apis/drive_v2/service.rb +23 -10
  213. data/generated/google/apis/drive_v3.rb +1 -1
  214. data/generated/google/apis/drive_v3/classes.rb +74 -2
  215. data/generated/google/apis/drive_v3/representations.rb +23 -0
  216. data/generated/google/apis/drive_v3/service.rb +8 -5
  217. data/generated/google/apis/fcm_v1.rb +1 -1
  218. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  219. data/generated/google/apis/fcm_v1/service.rb +5 -6
  220. data/generated/google/apis/file_v1.rb +1 -1
  221. data/generated/google/apis/file_v1beta1.rb +1 -1
  222. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
  224. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
  225. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  226. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  227. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  228. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  229. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  230. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  231. data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
  232. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  233. data/generated/google/apis/firestore_v1.rb +1 -1
  234. data/generated/google/apis/firestore_v1/classes.rb +152 -0
  235. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  236. data/generated/google/apis/firestore_v1/service.rb +78 -0
  237. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  238. data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
  239. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  240. data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
  241. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  242. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  243. data/generated/google/apis/games_management_v1management.rb +1 -1
  244. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  245. data/generated/google/apis/games_v1.rb +6 -4
  246. data/generated/google/apis/games_v1/classes.rb +354 -2112
  247. data/generated/google/apis/games_v1/representations.rb +12 -647
  248. data/generated/google/apis/games_v1/service.rb +213 -1155
  249. data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
  250. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  251. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  252. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  253. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  254. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  255. data/generated/google/apis/gmail_v1.rb +1 -1
  256. data/generated/google/apis/gmail_v1/classes.rb +55 -55
  257. data/generated/google/apis/gmail_v1/service.rb +74 -73
  258. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
  259. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  260. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  261. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  262. data/generated/google/apis/groupssettings_v1.rb +1 -1
  263. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  264. data/generated/google/apis/healthcare_v1.rb +1 -1
  265. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  266. data/generated/google/apis/healthcare_v1/service.rb +48 -1
  267. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  268. data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
  269. data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
  270. data/generated/google/apis/iam_v1.rb +1 -1
  271. data/generated/google/apis/iam_v1/classes.rb +22 -3
  272. data/generated/google/apis/iam_v1/service.rb +18 -6
  273. data/generated/google/apis/logging_v2.rb +1 -1
  274. data/generated/google/apis/logging_v2/classes.rb +69 -21
  275. data/generated/google/apis/managedidentities_v1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  277. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  278. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  279. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  280. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  281. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  282. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  283. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  284. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  285. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  286. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  287. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  288. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  289. data/generated/google/apis/ml_v1.rb +1 -1
  290. data/generated/google/apis/ml_v1/classes.rb +28 -14
  291. data/generated/google/apis/ml_v1/representations.rb +1 -0
  292. data/generated/google/apis/monitoring_v1.rb +1 -1
  293. data/generated/google/apis/monitoring_v1/classes.rb +2 -1
  294. data/generated/google/apis/monitoring_v3.rb +1 -1
  295. data/generated/google/apis/monitoring_v3/classes.rb +71 -38
  296. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  297. data/generated/google/apis/monitoring_v3/service.rb +13 -9
  298. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  299. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
  300. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  301. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
  302. data/generated/google/apis/osconfig_v1.rb +1 -1
  303. data/generated/google/apis/osconfig_v1/classes.rb +77 -2
  304. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  305. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  306. data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
  307. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  308. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  309. data/generated/google/apis/people_v1.rb +4 -1
  310. data/generated/google/apis/people_v1/classes.rb +243 -397
  311. data/generated/google/apis/people_v1/service.rb +156 -384
  312. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  313. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  314. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  315. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  319. data/generated/google/apis/pubsub_v1.rb +1 -1
  320. data/generated/google/apis/pubsub_v1/classes.rb +49 -30
  321. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  322. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  323. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  324. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  325. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  326. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  327. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  328. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
  329. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
  330. data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
  331. data/generated/google/apis/recommender_v1.rb +1 -1
  332. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  333. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  334. data/generated/google/apis/recommender_v1/service.rb +123 -0
  335. data/generated/google/apis/redis_v1.rb +1 -1
  336. data/generated/google/apis/redis_v1/classes.rb +398 -1
  337. data/generated/google/apis/redis_v1/representations.rb +139 -0
  338. data/generated/google/apis/redis_v1/service.rb +1 -1
  339. data/generated/google/apis/redis_v1beta1.rb +1 -1
  340. data/generated/google/apis/redis_v1beta1/classes.rb +398 -1
  341. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  342. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  344. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  345. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  346. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  347. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  348. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  349. data/generated/google/apis/reseller_v1.rb +4 -3
  350. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  351. data/generated/google/apis/reseller_v1/service.rb +247 -252
  352. data/generated/google/apis/run_v1.rb +2 -2
  353. data/generated/google/apis/run_v1/classes.rb +835 -1245
  354. data/generated/google/apis/run_v1/service.rb +196 -246
  355. data/generated/google/apis/run_v1alpha1.rb +2 -2
  356. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  357. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  358. data/generated/google/apis/run_v1beta1.rb +2 -2
  359. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  360. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  361. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  362. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  363. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  364. data/generated/google/apis/searchconsole_v1.rb +4 -3
  365. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  366. data/generated/google/apis/secretmanager_v1.rb +1 -1
  367. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1.rb +1 -1
  369. data/generated/google/apis/securitycenter_v1/service.rb +4 -5
  370. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -3
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -2
  382. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  383. data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
  384. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  385. data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
  386. data/generated/google/apis/serviceusage_v1.rb +1 -1
  387. data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
  388. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  389. data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
  390. data/generated/google/apis/sheets_v4.rb +1 -1
  391. data/generated/google/apis/sheets_v4/classes.rb +118 -28
  392. data/generated/google/apis/spanner_v1.rb +1 -1
  393. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  394. data/generated/google/apis/spanner_v1/service.rb +7 -0
  395. data/generated/google/apis/speech_v1.rb +1 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/sql_v1beta4.rb +1 -1
  398. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  399. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  400. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  401. data/generated/google/apis/storage_v1.rb +1 -1
  402. data/generated/google/apis/storage_v1/service.rb +2 -3
  403. data/generated/google/apis/testing_v1.rb +1 -1
  404. data/generated/google/apis/testing_v1/classes.rb +80 -6
  405. data/generated/google/apis/testing_v1/representations.rb +33 -0
  406. data/generated/google/apis/texttospeech_v1.rb +1 -1
  407. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  408. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  409. data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
  410. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  411. data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
  412. data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
  413. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  414. data/generated/google/apis/{cloudfunctions_v1beta2 → vectortile_v1}/representations.rb +105 -121
  415. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  416. data/generated/google/apis/vision_v1.rb +1 -1
  417. data/generated/google/apis/vision_v1/classes.rb +2 -0
  418. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  419. data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
  420. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
  422. data/generated/google/apis/webfonts_v1.rb +5 -5
  423. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  424. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  425. data/generated/google/apis/webfonts_v1/service.rb +15 -22
  426. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  427. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  428. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  429. data/generated/google/apis/youtube_partner_v1/service.rb +526 -1086
  430. data/generated/google/apis/youtube_v3.rb +1 -1
  431. data/generated/google/apis/youtube_v3/classes.rb +562 -2
  432. data/generated/google/apis/youtube_v3/representations.rb +282 -0
  433. data/generated/google/apis/youtube_v3/service.rb +270 -10
  434. data/lib/google/apis/version.rb +1 -1
  435. metadata +39 -23
  436. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  437. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  438. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  439. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  440. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  441. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  442. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  443. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  444. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1
29
29
  VERSION = 'V1'
30
- REVISION = '20200612'
30
+ REVISION = '20200710'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -8991,6 +8991,8 @@ module Google
8991
8991
  # Image content, represented as a stream of bytes.
8992
8992
  # Note: As with all `bytes` fields, protobuffers use a pure binary
8993
8993
  # representation, whereas JSON representations use base64.
8994
+ # Currently, this field only works for BatchAnnotateImages requests. It does
8995
+ # not work for AsyncBatchAnnotateImages requests.
8994
8996
  # Corresponds to the JSON property `content`
8995
8997
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
8996
8998
  # @return [String]
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p1beta1
29
29
  VERSION = 'V1p1beta1'
30
- REVISION = '20200612'
30
+ REVISION = '20200710'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2118,6 +2118,8 @@ module Google
2118
2118
  # Image content, represented as a stream of bytes.
2119
2119
  # Note: As with all `bytes` fields, protobuffers use a pure binary
2120
2120
  # representation, whereas JSON representations use base64.
2121
+ # Currently, this field only works for BatchAnnotateImages requests. It does
2122
+ # not work for AsyncBatchAnnotateImages requests.
2121
2123
  # Corresponds to the JSON property `content`
2122
2124
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2123
2125
  # @return [String]
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p2beta1
29
29
  VERSION = 'V1p2beta1'
30
- REVISION = '20200612'
30
+ REVISION = '20200710'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -3925,6 +3925,8 @@ module Google
3925
3925
  # Image content, represented as a stream of bytes.
3926
3926
  # Note: As with all `bytes` fields, protobuffers use a pure binary
3927
3927
  # representation, whereas JSON representations use base64.
3928
+ # Currently, this field only works for BatchAnnotateImages requests. It does
3929
+ # not work for AsyncBatchAnnotateImages requests.
3928
3930
  # Corresponds to the JSON property `content`
3929
3931
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3930
3932
  # @return [String]
@@ -18,16 +18,16 @@ require 'google/apis/webfonts_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Fonts Developer API
21
+ # Web Fonts Developer API
22
22
  #
23
- # Accesses the metadata for all families served by Google Fonts, providing a
24
- # list of families currently available (including available styles and a list of
25
- # supported script subsets).
23
+ # The Google Web Fonts Developer API lets you retrieve information about web
24
+ # fonts served
25
+ # by Google.
26
26
  #
27
27
  # @see https://developers.google.com/fonts/docs/developer_api
28
28
  module WebfontsV1
29
29
  VERSION = 'V1'
30
- REVISION = '20160302'
30
+ REVISION = '20200720'
31
31
  end
32
32
  end
33
33
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module WebfontsV1
24
24
 
25
- #
25
+ # Metadata describing a family of fonts.
26
26
  class Webfont
27
27
  include Google::Apis::Core::Hashable
28
28
 
@@ -49,7 +49,7 @@ module Google
49
49
 
50
50
  # The date (format "yyyy-MM-dd") the font was modified for the last time.
51
51
  # Corresponds to the JSON property `lastModified`
52
- # @return [Date]
52
+ # @return [String]
53
53
  attr_accessor :last_modified
54
54
 
55
55
  # The scripts supported by the font.
@@ -84,7 +84,8 @@ module Google
84
84
  end
85
85
  end
86
86
 
87
- #
87
+ # Response containing the list of fonts currently served by the
88
+ # Google Fonts API.
88
89
  class WebfontList
89
90
  include Google::Apis::Core::Hashable
90
91
 
@@ -41,8 +41,7 @@ module Google
41
41
  property :family, as: 'family'
42
42
  hash :files, as: 'files'
43
43
  property :kind, as: 'kind'
44
- property :last_modified, as: 'lastModified', type: Date
45
-
44
+ property :last_modified, as: 'lastModified'
46
45
  collection :subsets, as: 'subsets'
47
46
  collection :variants, as: 'variants'
48
47
  property :version, as: 'version'
@@ -20,11 +20,11 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module WebfontsV1
23
- # Google Fonts Developer API
23
+ # Web Fonts Developer API
24
24
  #
25
- # Accesses the metadata for all families served by Google Fonts, providing a
26
- # list of families currently available (including available styles and a list of
27
- # supported script subsets).
25
+ # The Google Web Fonts Developer API lets you retrieve information about web
26
+ # fonts served
27
+ # by Google.
28
28
  #
29
29
  # @example
30
30
  # require 'google/apis/webfonts_v1'
@@ -40,29 +40,24 @@ module Google
40
40
  attr_accessor :key
41
41
 
42
42
  # @return [String]
43
- # An opaque string that represents a user for quota purposes. Must not exceed 40
44
- # characters.
43
+ # Available to use for quota purposes for server-side applications. Can be any
44
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
45
45
  attr_accessor :quota_user
46
46
 
47
- # @return [String]
48
- # Deprecated. Please use quotaUser instead.
49
- attr_accessor :user_ip
50
-
51
47
  def initialize
52
- super('https://www.googleapis.com/', 'webfonts/v1/')
53
- @batch_path = 'batch/webfonts/v1'
48
+ super('https://webfonts.googleapis.com/', '')
49
+ @batch_path = 'batch'
54
50
  end
55
51
 
56
- # Retrieves the list of fonts currently served by the Google Fonts Developer API
52
+ # Retrieves the list of fonts currently served by the Google Fonts Developer
53
+ # API.
57
54
  # @param [String] sort
58
- # Enables sorting of the list
55
+ # Enables sorting of the list.
59
56
  # @param [String] fields
60
57
  # Selector specifying which fields to include in a partial response.
61
58
  # @param [String] quota_user
62
- # An opaque string that represents a user for quota purposes. Must not exceed 40
63
- # characters.
64
- # @param [String] user_ip
65
- # Deprecated. Please use quotaUser instead.
59
+ # Available to use for quota purposes for server-side applications. Can be any
60
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
66
61
  # @param [Google::Apis::RequestOptions] options
67
62
  # Request-specific options
68
63
  #
@@ -75,14 +70,13 @@ module Google
75
70
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
71
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
72
  # @raise [Google::Apis::AuthorizationError] Authorization is required
78
- def list_webfonts(sort: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
79
- command = make_simple_command(:get, 'webfonts', options)
73
+ def list_webfonts(sort: nil, fields: nil, quota_user: nil, options: nil, &block)
74
+ command = make_simple_command(:get, 'v1/webfonts', options)
80
75
  command.response_representation = Google::Apis::WebfontsV1::WebfontList::Representation
81
76
  command.response_class = Google::Apis::WebfontsV1::WebfontList
82
77
  command.query['sort'] = sort unless sort.nil?
83
78
  command.query['fields'] = fields unless fields.nil?
84
79
  command.query['quotaUser'] = quota_user unless quota_user.nil?
85
- command.query['userIp'] = user_ip unless user_ip.nil?
86
80
  execute_or_queue_command(command, &block)
87
81
  end
88
82
 
@@ -91,7 +85,6 @@ module Google
91
85
  def apply_command_defaults(command)
92
86
  command.query['key'] = key unless key.nil?
93
87
  command.query['quotaUser'] = quota_user unless quota_user.nil?
94
- command.query['userIp'] = user_ip unless user_ip.nil?
95
88
  end
96
89
  end
97
90
  end
@@ -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 = '20200724'
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