google-api-client 0.41.0 → 0.42.2

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module YoutubeV3
24
24
 
25
+ class AbuseReport
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AbuseType
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class AccessPolicy
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -166,6 +178,12 @@ module Google
166
178
  include Google::Apis::Core::JsonObjectSupport
167
179
  end
168
180
 
181
+ class ChannelCard
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
169
187
  class ChannelContentDetails
170
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
189
 
@@ -274,6 +292,12 @@ module Google
274
292
  include Google::Apis::Core::JsonObjectSupport
275
293
  end
276
294
 
295
+ class ChannelToStoreLinkDetails
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
277
301
  class ChannelTopicDetails
278
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
303
 
@@ -334,6 +358,12 @@ module Google
334
358
  include Google::Apis::Core::JsonObjectSupport
335
359
  end
336
360
 
361
+ class Entity
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
337
367
  class GeoPoint
338
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
369
 
@@ -400,6 +430,36 @@ module Google
400
430
  include Google::Apis::Core::JsonObjectSupport
401
431
  end
402
432
 
433
+ class InfoCard
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class InfoCardSnippet
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class InfoCardSnippetTeaser
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class InfoCards
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class InfocardListResponse
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
403
463
  class IngestionInfo
404
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
465
 
@@ -442,6 +502,18 @@ module Google
442
502
  include Google::Apis::Core::JsonObjectSupport
443
503
  end
444
504
 
505
+ class LinkCard
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class LinkCardUploadedImage
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
445
517
  class LiveBroadcast
446
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
519
 
@@ -700,6 +772,12 @@ module Google
700
772
  include Google::Apis::Core::JsonObjectSupport
701
773
  end
702
774
 
775
+ class PlaylistCard
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
703
781
  class PlaylistContentDetails
704
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
783
 
@@ -784,6 +862,12 @@ module Google
784
862
  include Google::Apis::Core::JsonObjectSupport
785
863
  end
786
864
 
865
+ class RelatedEntity
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
787
871
  class ResourceId
788
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
789
873
 
@@ -892,6 +976,24 @@ module Google
892
976
  include Google::Apis::Core::JsonObjectSupport
893
977
  end
894
978
 
979
+ class ThirdPartyLink
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
985
+ class ThirdPartyLinkSnippet
986
+ class Representation < Google::Apis::Core::JsonRepresentation; end
987
+
988
+ include Google::Apis::Core::JsonObjectSupport
989
+ end
990
+
991
+ class ThirdPartyLinkStatus
992
+ class Representation < Google::Apis::Core::JsonRepresentation; end
993
+
994
+ include Google::Apis::Core::JsonObjectSupport
995
+ end
996
+
895
997
  class Thumbnail
896
998
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
999
 
@@ -958,6 +1060,12 @@ module Google
958
1060
  include Google::Apis::Core::JsonObjectSupport
959
1061
  end
960
1062
 
1063
+ class VideoCard
1064
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1065
+
1066
+ include Google::Apis::Core::JsonObjectSupport
1067
+ end
1068
+
961
1069
  class VideoCategory
962
1070
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
1071
 
@@ -1114,6 +1222,26 @@ module Google
1114
1222
  include Google::Apis::Core::JsonObjectSupport
1115
1223
  end
1116
1224
 
1225
+ class AbuseReport
1226
+ # @private
1227
+ class Representation < Google::Apis::Core::JsonRepresentation
1228
+ collection :abuse_types, as: 'abuseTypes', class: Google::Apis::YoutubeV3::AbuseType, decorator: Google::Apis::YoutubeV3::AbuseType::Representation
1229
+
1230
+ property :description, as: 'description'
1231
+ collection :related_entities, as: 'relatedEntities', class: Google::Apis::YoutubeV3::RelatedEntity, decorator: Google::Apis::YoutubeV3::RelatedEntity::Representation
1232
+
1233
+ property :subject, as: 'subject', class: Google::Apis::YoutubeV3::Entity, decorator: Google::Apis::YoutubeV3::Entity::Representation
1234
+
1235
+ end
1236
+ end
1237
+
1238
+ class AbuseType
1239
+ # @private
1240
+ class Representation < Google::Apis::Core::JsonRepresentation
1241
+ property :id, as: 'id'
1242
+ end
1243
+ end
1244
+
1117
1245
  class AccessPolicy
1118
1246
  # @private
1119
1247
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1417,6 +1545,14 @@ module Google
1417
1545
  end
1418
1546
  end
1419
1547
 
1548
+ class ChannelCard
1549
+ # @private
1550
+ class Representation < Google::Apis::Core::JsonRepresentation
1551
+ property :channel_id, as: 'channelId'
1552
+ property :custom_message, as: 'customMessage'
1553
+ end
1554
+ end
1555
+
1420
1556
  class ChannelContentDetails
1421
1557
  # @private
1422
1558
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1621,6 +1757,14 @@ module Google
1621
1757
  end
1622
1758
  end
1623
1759
 
1760
+ class ChannelToStoreLinkDetails
1761
+ # @private
1762
+ class Representation < Google::Apis::Core::JsonRepresentation
1763
+ property :store_name, as: 'storeName'
1764
+ property :store_url, as: 'storeUrl'
1765
+ end
1766
+ end
1767
+
1624
1768
  class ChannelTopicDetails
1625
1769
  # @private
1626
1770
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1814,6 +1958,15 @@ module Google
1814
1958
  end
1815
1959
  end
1816
1960
 
1961
+ class Entity
1962
+ # @private
1963
+ class Representation < Google::Apis::Core::JsonRepresentation
1964
+ property :id, as: 'id'
1965
+ property :type_id, as: 'typeId'
1966
+ property :url, as: 'url'
1967
+ end
1968
+ end
1969
+
1817
1970
  class GeoPoint
1818
1971
  # @private
1819
1972
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1955,6 +2108,59 @@ module Google
1955
2108
  end
1956
2109
  end
1957
2110
 
2111
+ class InfoCard
2112
+ # @private
2113
+ class Representation < Google::Apis::Core::JsonRepresentation
2114
+ property :etag, as: 'etag'
2115
+ property :id, as: 'id'
2116
+ property :kind, as: 'kind'
2117
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::InfoCardSnippet, decorator: Google::Apis::YoutubeV3::InfoCardSnippet::Representation
2118
+
2119
+ end
2120
+ end
2121
+
2122
+ class InfoCardSnippet
2123
+ # @private
2124
+ class Representation < Google::Apis::Core::JsonRepresentation
2125
+ property :channel_infocard, as: 'channelInfocard', class: Google::Apis::YoutubeV3::ChannelCard, decorator: Google::Apis::YoutubeV3::ChannelCard::Representation
2126
+
2127
+ property :link_infocard, as: 'linkInfocard', class: Google::Apis::YoutubeV3::LinkCard, decorator: Google::Apis::YoutubeV3::LinkCard::Representation
2128
+
2129
+ property :playlist_infocard, as: 'playlistInfocard', class: Google::Apis::YoutubeV3::PlaylistCard, decorator: Google::Apis::YoutubeV3::PlaylistCard::Representation
2130
+
2131
+ property :teaser, as: 'teaser', class: Google::Apis::YoutubeV3::InfoCardSnippetTeaser, decorator: Google::Apis::YoutubeV3::InfoCardSnippetTeaser::Representation
2132
+
2133
+ property :video_infocard, as: 'videoInfocard', class: Google::Apis::YoutubeV3::VideoCard, decorator: Google::Apis::YoutubeV3::VideoCard::Representation
2134
+
2135
+ end
2136
+ end
2137
+
2138
+ class InfoCardSnippetTeaser
2139
+ # @private
2140
+ class Representation < Google::Apis::Core::JsonRepresentation
2141
+ property :teaser_start_offset, as: 'teaserStartOffset'
2142
+ property :teaser_text, as: 'teaserText'
2143
+ end
2144
+ end
2145
+
2146
+ class InfoCards
2147
+ # @private
2148
+ class Representation < Google::Apis::Core::JsonRepresentation
2149
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::InfoCard, decorator: Google::Apis::YoutubeV3::InfoCard::Representation
2150
+
2151
+ end
2152
+ end
2153
+
2154
+ class InfocardListResponse
2155
+ # @private
2156
+ class Representation < Google::Apis::Core::JsonRepresentation
2157
+ property :etag, as: 'etag'
2158
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::InfoCard, decorator: Google::Apis::YoutubeV3::InfoCard::Representation
2159
+
2160
+ property :kind, as: 'kind'
2161
+ end
2162
+ end
2163
+
1958
2164
  class IngestionInfo
1959
2165
  # @private
1960
2166
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2023,6 +2229,26 @@ module Google
2023
2229
  end
2024
2230
  end
2025
2231
 
2232
+ class LinkCard
2233
+ # @private
2234
+ class Representation < Google::Apis::Core::JsonRepresentation
2235
+ property :custom_link_text, as: 'customLinkText'
2236
+ property :external_image_url, as: 'externalImageUrl'
2237
+ property :target_url, as: 'targetUrl'
2238
+ property :title, as: 'title'
2239
+ property :uploaded_image, as: 'uploadedImage', class: Google::Apis::YoutubeV3::LinkCardUploadedImage, decorator: Google::Apis::YoutubeV3::LinkCardUploadedImage::Representation
2240
+
2241
+ end
2242
+ end
2243
+
2244
+ class LinkCardUploadedImage
2245
+ # @private
2246
+ class Representation < Google::Apis::Core::JsonRepresentation
2247
+ property :image_file, as: 'imageFile'
2248
+ property :version, :numeric_string => true, as: 'version'
2249
+ end
2250
+ end
2251
+
2026
2252
  class LiveBroadcast
2027
2253
  # @private
2028
2254
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2552,6 +2778,15 @@ module Google
2552
2778
  end
2553
2779
  end
2554
2780
 
2781
+ class PlaylistCard
2782
+ # @private
2783
+ class Representation < Google::Apis::Core::JsonRepresentation
2784
+ property :custom_message, as: 'customMessage'
2785
+ property :playlist_id, as: 'playlistId'
2786
+ property :start_video_id, as: 'startVideoId'
2787
+ end
2788
+ end
2789
+
2555
2790
  class PlaylistContentDetails
2556
2791
  # @private
2557
2792
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2714,6 +2949,14 @@ module Google
2714
2949
  end
2715
2950
  end
2716
2951
 
2952
+ class RelatedEntity
2953
+ # @private
2954
+ class Representation < Google::Apis::Core::JsonRepresentation
2955
+ property :entity, as: 'entity', class: Google::Apis::YoutubeV3::Entity, decorator: Google::Apis::YoutubeV3::Entity::Representation
2956
+
2957
+ end
2958
+ end
2959
+
2717
2960
  class ResourceId
2718
2961
  # @private
2719
2962
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2933,6 +3176,7 @@ module Google
2933
3176
  class TestItem
2934
3177
  # @private
2935
3178
  class Representation < Google::Apis::Core::JsonRepresentation
3179
+ property :gaia, :numeric_string => true, as: 'gaia'
2936
3180
  property :id, as: 'id'
2937
3181
  property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::TestItemTestItemSnippet, decorator: Google::Apis::YoutubeV3::TestItemTestItemSnippet::Representation
2938
3182
 
@@ -2945,6 +3189,35 @@ module Google
2945
3189
  end
2946
3190
  end
2947
3191
 
3192
+ class ThirdPartyLink
3193
+ # @private
3194
+ class Representation < Google::Apis::Core::JsonRepresentation
3195
+ property :etag, as: 'etag'
3196
+ property :kind, as: 'kind'
3197
+ property :linking_token, as: 'linkingToken'
3198
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::ThirdPartyLinkSnippet, decorator: Google::Apis::YoutubeV3::ThirdPartyLinkSnippet::Representation
3199
+
3200
+ property :status, as: 'status', class: Google::Apis::YoutubeV3::ThirdPartyLinkStatus, decorator: Google::Apis::YoutubeV3::ThirdPartyLinkStatus::Representation
3201
+
3202
+ end
3203
+ end
3204
+
3205
+ class ThirdPartyLinkSnippet
3206
+ # @private
3207
+ class Representation < Google::Apis::Core::JsonRepresentation
3208
+ property :channel_to_store_link, as: 'channelToStoreLink', class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails, decorator: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails::Representation
3209
+
3210
+ property :type, as: 'type'
3211
+ end
3212
+ end
3213
+
3214
+ class ThirdPartyLinkStatus
3215
+ # @private
3216
+ class Representation < Google::Apis::Core::JsonRepresentation
3217
+ property :link_status, as: 'linkStatus'
3218
+ end
3219
+ end
3220
+
2948
3221
  class Thumbnail
2949
3222
  # @private
2950
3223
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3087,6 +3360,15 @@ module Google
3087
3360
  end
3088
3361
  end
3089
3362
 
3363
+ class VideoCard
3364
+ # @private
3365
+ class Representation < Google::Apis::Core::JsonRepresentation
3366
+ property :custom_message, as: 'customMessage'
3367
+ property :playback_start_offset, as: 'playbackStartOffset'
3368
+ property :video_id, as: 'videoId'
3369
+ end
3370
+ end
3371
+
3090
3372
  class VideoCategory
3091
3373
  # @private
3092
3374
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -48,6 +48,41 @@ module Google
48
48
  @batch_path = 'batch/youtube'
49
49
  end
50
50
 
51
+ # Inserts a new resource into this collection.
52
+ # @param [Array<String>, String] part
53
+ # The <code><strong>part</strong></code> parameter serves two purposes in
54
+ # this operation. It identifies the properties that the write operation will
55
+ # set as well as the properties that the API response will include.
56
+ # @param [Google::Apis::YoutubeV3::AbuseReport] abuse_report_object
57
+ # @param [String] fields
58
+ # Selector specifying which fields to include in a partial response.
59
+ # @param [String] quota_user
60
+ # Available to use for quota purposes for server-side applications. Can be any
61
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
62
+ # @param [Google::Apis::RequestOptions] options
63
+ # Request-specific options
64
+ #
65
+ # @yield [result, err] Result & error if block supplied
66
+ # @yieldparam result [Google::Apis::YoutubeV3::AbuseReport] parsed result object
67
+ # @yieldparam err [StandardError] error object if request failed
68
+ #
69
+ # @return [Google::Apis::YoutubeV3::AbuseReport]
70
+ #
71
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
74
+ def insert_abuse_report(part, abuse_report_object = nil, fields: nil, quota_user: nil, options: nil, &block)
75
+ command = make_simple_command(:post, 'youtube/v3/abuseReports', options)
76
+ command.request_representation = Google::Apis::YoutubeV3::AbuseReport::Representation
77
+ command.request_object = abuse_report_object
78
+ command.response_representation = Google::Apis::YoutubeV3::AbuseReport::Representation
79
+ command.response_class = Google::Apis::YoutubeV3::AbuseReport
80
+ command.query['part'] = part unless part.nil?
81
+ command.query['fields'] = fields unless fields.nil?
82
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
83
+ execute_or_queue_command(command, &block)
84
+ end
85
+
51
86
  # Retrieves a list of resources, possibly filtered.
52
87
  # @param [Array<String>, String] part
53
88
  # The <code><strong>part</strong></code> parameter specifies a
@@ -1484,6 +1519,7 @@ module Google
1484
1519
 
1485
1520
  # Delete a given broadcast.
1486
1521
  # @param [String] id
1522
+ # Broadcast to delete.
1487
1523
  # @param [String] on_behalf_of_content_owner
1488
1524
  # <strong>Note:</strong> This parameter is intended exclusively for YouTube
1489
1525
  # content partners.<br><br>The
@@ -3414,6 +3450,183 @@ module Google
3414
3450
  execute_or_queue_command(command, &block)
3415
3451
  end
3416
3452
 
3453
+ # POST method.
3454
+ # @param [Array<String>, String] part
3455
+ # @param [Google::Apis::YoutubeV3::TestItem] test_item_object
3456
+ # @param [String] fields
3457
+ # Selector specifying which fields to include in a partial response.
3458
+ # @param [String] quota_user
3459
+ # Available to use for quota purposes for server-side applications. Can be any
3460
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3461
+ # @param [Google::Apis::RequestOptions] options
3462
+ # Request-specific options
3463
+ #
3464
+ # @yield [result, err] Result & error if block supplied
3465
+ # @yieldparam result [Google::Apis::YoutubeV3::TestItem] parsed result object
3466
+ # @yieldparam err [StandardError] error object if request failed
3467
+ #
3468
+ # @return [Google::Apis::YoutubeV3::TestItem]
3469
+ #
3470
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3471
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3472
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3473
+ def insert_test(part, test_item_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3474
+ command = make_simple_command(:post, 'youtube/v3/tests', options)
3475
+ command.request_representation = Google::Apis::YoutubeV3::TestItem::Representation
3476
+ command.request_object = test_item_object
3477
+ command.response_representation = Google::Apis::YoutubeV3::TestItem::Representation
3478
+ command.response_class = Google::Apis::YoutubeV3::TestItem
3479
+ command.query['part'] = part unless part.nil?
3480
+ command.query['fields'] = fields unless fields.nil?
3481
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3482
+ execute_or_queue_command(command, &block)
3483
+ end
3484
+
3485
+ # Deletes a resource.
3486
+ # @param [String] linking_token
3487
+ # Delete the partner links with the given linking token.
3488
+ # @param [String] type
3489
+ # Type of the link to be deleted.
3490
+ # @param [Array<String>, String] part
3491
+ # Do not use. Required for compatibility.
3492
+ # @param [String] fields
3493
+ # Selector specifying which fields to include in a partial response.
3494
+ # @param [String] quota_user
3495
+ # Available to use for quota purposes for server-side applications. Can be any
3496
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3497
+ # @param [Google::Apis::RequestOptions] options
3498
+ # Request-specific options
3499
+ #
3500
+ # @yield [result, err] Result & error if block supplied
3501
+ # @yieldparam result [NilClass] No result returned for this method
3502
+ # @yieldparam err [StandardError] error object if request failed
3503
+ #
3504
+ # @return [void]
3505
+ #
3506
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3507
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3508
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3509
+ def delete_third_party_link(linking_token, type, part: nil, fields: nil, quota_user: nil, options: nil, &block)
3510
+ command = make_simple_command(:delete, 'youtube/v3/thirdPartyLinks', options)
3511
+ command.query['linkingToken'] = linking_token unless linking_token.nil?
3512
+ command.query['part'] = part unless part.nil?
3513
+ command.query['type'] = type unless type.nil?
3514
+ command.query['fields'] = fields unless fields.nil?
3515
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3516
+ execute_or_queue_command(command, &block)
3517
+ end
3518
+
3519
+ # Inserts a new resource into this collection.
3520
+ # @param [Array<String>, String] part
3521
+ # The <code><strong>part</strong></code> parameter specifies the
3522
+ # <code>thirdPartyLink</code> resource parts that the API request and
3523
+ # response will include. Supported values are <code>linkingToken</code>,
3524
+ # <code>status</code>, and <code>snippet</code>.
3525
+ # @param [Google::Apis::YoutubeV3::ThirdPartyLink] third_party_link_object
3526
+ # @param [String] fields
3527
+ # Selector specifying which fields to include in a partial response.
3528
+ # @param [String] quota_user
3529
+ # Available to use for quota purposes for server-side applications. Can be any
3530
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3531
+ # @param [Google::Apis::RequestOptions] options
3532
+ # Request-specific options
3533
+ #
3534
+ # @yield [result, err] Result & error if block supplied
3535
+ # @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
3536
+ # @yieldparam err [StandardError] error object if request failed
3537
+ #
3538
+ # @return [Google::Apis::YoutubeV3::ThirdPartyLink]
3539
+ #
3540
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3541
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3542
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3543
+ def insert_third_party_link(part, third_party_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3544
+ command = make_simple_command(:post, 'youtube/v3/thirdPartyLinks', options)
3545
+ command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
3546
+ command.request_object = third_party_link_object
3547
+ command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
3548
+ command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
3549
+ command.query['part'] = part unless part.nil?
3550
+ command.query['fields'] = fields unless fields.nil?
3551
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3552
+ execute_or_queue_command(command, &block)
3553
+ end
3554
+
3555
+ # Retrieves a list of resources, possibly filtered.
3556
+ # @param [Array<String>, String] part
3557
+ # The <code><strong>part</strong></code> parameter specifies the
3558
+ # <code>thirdPartyLink</code> resource parts that the API response will
3559
+ # include. Supported values are <code>linkingToken</code>,
3560
+ # <code>status</code>, and <code>snippet</code>.
3561
+ # @param [String] linking_token
3562
+ # Get a third party link with the given linking token.
3563
+ # @param [String] type
3564
+ # Get a third party link of the given type.
3565
+ # @param [String] fields
3566
+ # Selector specifying which fields to include in a partial response.
3567
+ # @param [String] quota_user
3568
+ # Available to use for quota purposes for server-side applications. Can be any
3569
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3570
+ # @param [Google::Apis::RequestOptions] options
3571
+ # Request-specific options
3572
+ #
3573
+ # @yield [result, err] Result & error if block supplied
3574
+ # @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
3575
+ # @yieldparam err [StandardError] error object if request failed
3576
+ #
3577
+ # @return [Google::Apis::YoutubeV3::ThirdPartyLink]
3578
+ #
3579
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3580
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3581
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3582
+ def list_third_party_links(part, linking_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
3583
+ command = make_simple_command(:get, 'youtube/v3/thirdPartyLinks', options)
3584
+ command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
3585
+ command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
3586
+ command.query['linkingToken'] = linking_token unless linking_token.nil?
3587
+ command.query['part'] = part unless part.nil?
3588
+ command.query['type'] = type unless type.nil?
3589
+ command.query['fields'] = fields unless fields.nil?
3590
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3591
+ execute_or_queue_command(command, &block)
3592
+ end
3593
+
3594
+ # Updates an existing resource.
3595
+ # @param [Array<String>, String] part
3596
+ # The <code><strong>part</strong></code> parameter specifies the
3597
+ # <code>thirdPartyLink</code> resource parts that the API request and
3598
+ # response will include. Supported values are <code>linkingToken</code>,
3599
+ # <code>status</code>, and <code>snippet</code>.
3600
+ # @param [Google::Apis::YoutubeV3::ThirdPartyLink] third_party_link_object
3601
+ # @param [String] fields
3602
+ # Selector specifying which fields to include in a partial response.
3603
+ # @param [String] quota_user
3604
+ # Available to use for quota purposes for server-side applications. Can be any
3605
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3606
+ # @param [Google::Apis::RequestOptions] options
3607
+ # Request-specific options
3608
+ #
3609
+ # @yield [result, err] Result & error if block supplied
3610
+ # @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
3611
+ # @yieldparam err [StandardError] error object if request failed
3612
+ #
3613
+ # @return [Google::Apis::YoutubeV3::ThirdPartyLink]
3614
+ #
3615
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3616
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3617
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3618
+ def update_third_party_link(part, third_party_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3619
+ command = make_simple_command(:put, 'youtube/v3/thirdPartyLinks', options)
3620
+ command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
3621
+ command.request_object = third_party_link_object
3622
+ command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
3623
+ command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
3624
+ command.query['part'] = part unless part.nil?
3625
+ command.query['fields'] = fields unless fields.nil?
3626
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3627
+ execute_or_queue_command(command, &block)
3628
+ end
3629
+
3417
3630
  # As this is not an insert in a strict sense (it supports uploading/setting
3418
3631
  # of a thumbnail for multiple videos, which doesn't result in creation of a
3419
3632
  # single resource), I use a custom verb here.
@@ -4059,9 +4272,18 @@ module Google
4059
4272
  execute_or_queue_command(command, &block)
4060
4273
  end
4061
4274
 
4062
- # POST method.
4063
- # @param [Google::Apis::YoutubeV3::TestItem] test_item_object
4275
+ # Updates infocards for a given video.
4276
+ # Note:
4277
+ # * If the card id is not provided, a new card will be created.
4278
+ # * If the card id is provided, that card will be updated.
4279
+ # * Existing cards will be discarded if they're not included in the request.
4064
4280
  # @param [Array<String>, String] part
4281
+ # The properties to update.
4282
+ # @param [Google::Apis::YoutubeV3::InfoCards] info_cards_object
4283
+ # @param [String] on_behalf_of_content_owner
4284
+ # Content owner of the video.
4285
+ # @param [String] video_id
4286
+ # Encrypted id of the video.
4065
4287
  # @param [String] fields
4066
4288
  # Selector specifying which fields to include in a partial response.
4067
4289
  # @param [String] quota_user
@@ -4071,21 +4293,59 @@ module Google
4071
4293
  # Request-specific options
4072
4294
  #
4073
4295
  # @yield [result, err] Result & error if block supplied
4074
- # @yieldparam result [Google::Apis::YoutubeV3::TestItem] parsed result object
4296
+ # @yieldparam result [Google::Apis::YoutubeV3::InfoCards] parsed result object
4075
4297
  # @yieldparam err [StandardError] error object if request failed
4076
4298
  #
4077
- # @return [Google::Apis::YoutubeV3::TestItem]
4299
+ # @return [Google::Apis::YoutubeV3::InfoCards]
4078
4300
  #
4079
4301
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4080
4302
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4081
4303
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4082
- def create_youtube_v3_test(test_item_object = nil, part: nil, fields: nil, quota_user: nil, options: nil, &block)
4083
- command = make_simple_command(:post, 'youtube/v3/tests', options)
4084
- command.request_representation = Google::Apis::YoutubeV3::TestItem::Representation
4085
- command.request_object = test_item_object
4086
- command.response_representation = Google::Apis::YoutubeV3::TestItem::Representation
4087
- command.response_class = Google::Apis::YoutubeV3::TestItem
4304
+ def infocards_youtube_v3(part, info_cards_object = nil, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4305
+ command = make_simple_command(:post, 'youtube/v3/infocards', options)
4306
+ command.request_representation = Google::Apis::YoutubeV3::InfoCards::Representation
4307
+ command.request_object = info_cards_object
4308
+ command.response_representation = Google::Apis::YoutubeV3::InfoCards::Representation
4309
+ command.response_class = Google::Apis::YoutubeV3::InfoCards
4310
+ command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
4311
+ command.query['part'] = part unless part.nil?
4312
+ command.query['videoId'] = video_id unless video_id.nil?
4313
+ command.query['fields'] = fields unless fields.nil?
4314
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4315
+ execute_or_queue_command(command, &block)
4316
+ end
4317
+
4318
+ # Retrieves all infocards for a given video.
4319
+ # @param [Array<String>, String] part
4320
+ # The properties to return.
4321
+ # @param [String] on_behalf_of_content_owner
4322
+ # Content owner of the video.
4323
+ # @param [String] video_id
4324
+ # Encrypted id of the video.
4325
+ # @param [String] fields
4326
+ # Selector specifying which fields to include in a partial response.
4327
+ # @param [String] quota_user
4328
+ # Available to use for quota purposes for server-side applications. Can be any
4329
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4330
+ # @param [Google::Apis::RequestOptions] options
4331
+ # Request-specific options
4332
+ #
4333
+ # @yield [result, err] Result & error if block supplied
4334
+ # @yieldparam result [Google::Apis::YoutubeV3::InfocardListResponse] parsed result object
4335
+ # @yieldparam err [StandardError] error object if request failed
4336
+ #
4337
+ # @return [Google::Apis::YoutubeV3::InfocardListResponse]
4338
+ #
4339
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4340
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4341
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4342
+ def list_youtube_v3_infocards(part, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4343
+ command = make_simple_command(:get, 'youtube/v3/infocards', options)
4344
+ command.response_representation = Google::Apis::YoutubeV3::InfocardListResponse::Representation
4345
+ command.response_class = Google::Apis::YoutubeV3::InfocardListResponse
4346
+ command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
4088
4347
  command.query['part'] = part unless part.nil?
4348
+ command.query['videoId'] = video_id unless video_id.nil?
4089
4349
  command.query['fields'] = fields unless fields.nil?
4090
4350
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4091
4351
  execute_or_queue_command(command, &block)