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
@@ -357,8 +357,8 @@ module Google
357
357
  execute_or_queue_command(command, &block)
358
358
  end
359
359
 
360
- # Initiates revoking content that has already been shared with the user's
361
- # family. Empty response indicates success.
360
+ # Initiates revoking content that has already been shared with the user's family.
361
+ # Empty response indicates success.
362
362
  # @param [String] doc_id
363
363
  # The docid to unshare.
364
364
  # @param [String] source
@@ -490,8 +490,8 @@ module Google
490
490
  # The requested pixel height for any images. If height is provided width must
491
491
  # also be provided.
492
492
  # @param [String] locale
493
- # The locale information for the data. ISO-639-1 language and ISO-3166-1
494
- # country code. Ex: 'en_US'.
493
+ # The locale information for the data. ISO-639-1 language and ISO-3166-1 country
494
+ # code. Ex: 'en_US'.
495
495
  # @param [Fixnum] scale
496
496
  # The requested scale for the image.
497
497
  # @param [String] source
@@ -541,16 +541,16 @@ module Google
541
541
  # @param [String] layer_id
542
542
  # The ID for the layer to get the annotation data.
543
543
  # @param [Array<String>, String] annotation_data_id
544
- # The list of Annotation Data Ids to retrieve. Pagination is ignored if this
545
- # is set.
544
+ # The list of Annotation Data Ids to retrieve. Pagination is ignored if this is
545
+ # set.
546
546
  # @param [String] content_version
547
547
  # The content version for the requested volume.
548
548
  # @param [Fixnum] h
549
549
  # The requested pixel height for any images. If height is provided width must
550
550
  # also be provided.
551
551
  # @param [String] locale
552
- # The locale information for the data. ISO-639-1 language and ISO-3166-1
553
- # country code. Ex: 'en_US'.
552
+ # The locale information for the data. ISO-639-1 language and ISO-3166-1 country
553
+ # code. Ex: 'en_US'.
554
554
  # @param [Fixnum] max_results
555
555
  # Maximum number of results to return
556
556
  # @param [String] page_token
@@ -560,11 +560,11 @@ module Google
560
560
  # @param [String] source
561
561
  # String to identify the originator of this request.
562
562
  # @param [String] updated_max
563
- # RFC 3339 timestamp to restrict to items updated prior to this timestamp
564
- # (exclusive).
563
+ # RFC 3339 timestamp to restrict to items updated prior to this timestamp (
564
+ # exclusive).
565
565
  # @param [String] updated_min
566
- # RFC 3339 timestamp to restrict to items updated since this timestamp
567
- # (inclusive).
566
+ # RFC 3339 timestamp to restrict to items updated since this timestamp (
567
+ # inclusive).
568
568
  # @param [Fixnum] w
569
569
  # The requested pixel width for any images. If width is provided height must
570
570
  # also be provided.
@@ -615,8 +615,8 @@ module Google
615
615
  # @param [String] annotation_id
616
616
  # The ID of the volume annotation to retrieve.
617
617
  # @param [String] locale
618
- # The locale information for the data. ISO-639-1 language and ISO-3166-1
619
- # country code. Ex: 'en_US'.
618
+ # The locale information for the data. ISO-639-1 language and ISO-3166-1 country
619
+ # code. Ex: 'en_US'.
620
620
  # @param [String] source
621
621
  # String to identify the originator of this request.
622
622
  # @param [String] fields
@@ -662,15 +662,15 @@ module Google
662
662
  # @param [String] end_position
663
663
  # The end position to end retrieving data from.
664
664
  # @param [String] locale
665
- # The locale information for the data. ISO-639-1 language and ISO-3166-1
666
- # country code. Ex: 'en_US'.
665
+ # The locale information for the data. ISO-639-1 language and ISO-3166-1 country
666
+ # code. Ex: 'en_US'.
667
667
  # @param [Fixnum] max_results
668
668
  # Maximum number of results to return
669
669
  # @param [String] page_token
670
670
  # The value of the nextToken from the previous page.
671
671
  # @param [Boolean] show_deleted
672
- # Set to true to return deleted annotations. updatedMin must be in the
673
- # request to use this. Defaults to false.
672
+ # Set to true to return deleted annotations. updatedMin must be in the request
673
+ # to use this. Defaults to false.
674
674
  # @param [String] source
675
675
  # String to identify the originator of this request.
676
676
  # @param [String] start_offset
@@ -678,11 +678,11 @@ module Google
678
678
  # @param [String] start_position
679
679
  # The start position to start retrieving data from.
680
680
  # @param [String] updated_max
681
- # RFC 3339 timestamp to restrict to items updated prior to this timestamp
682
- # (exclusive).
681
+ # RFC 3339 timestamp to restrict to items updated prior to this timestamp (
682
+ # exclusive).
683
683
  # @param [String] updated_min
684
- # RFC 3339 timestamp to restrict to items updated since this timestamp
685
- # (inclusive).
684
+ # RFC 3339 timestamp to restrict to items updated since this timestamp (
685
+ # inclusive).
686
686
  # @param [String] volume_annotations_version
687
687
  # The version of the volume annotations that you are requesting.
688
688
  # @param [String] fields
@@ -799,8 +799,7 @@ module Google
799
799
  # @param [String] cpksver
800
800
  # The device/version ID from which to request the restrictions.
801
801
  # @param [String] license_types
802
- # The type of access license to request. If not specified, the default is
803
- # BOTH.
802
+ # The type of access license to request. If not specified, the default is BOTH.
804
803
  # @param [String] locale
805
804
  # ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
806
805
  # @param [String] nonce
@@ -841,8 +840,7 @@ module Google
841
840
  execute_or_queue_command(command, &block)
842
841
  end
843
842
 
844
- # Request downloaded content access for specified volumes on the My eBooks
845
- # shelf.
843
+ # Request downloaded content access for specified volumes on the My eBooks shelf.
846
844
  # @param [String] cpksver
847
845
  # The device/version ID from which to release the restriction.
848
846
  # @param [Array<String>, String] features
@@ -894,8 +892,8 @@ module Google
894
892
  end
895
893
 
896
894
  # Sets the settings for the user. If a sub-object is specified, it will
897
- # overwrite the existing sub-object stored in the server. Unspecified
898
- # sub-objects will retain the existing value.
895
+ # overwrite the existing sub-object stored in the server. Unspecified sub-
896
+ # objects will retain the existing value.
899
897
  # @param [Google::Apis::BooksV1::UserSettings] user_settings_object
900
898
  # @param [String] fields
901
899
  # Selector specifying which fields to include in a partial response.
@@ -1013,16 +1011,16 @@ module Google
1013
1011
  # @param [String] page_token
1014
1012
  # The value of the nextToken from the previous page.
1015
1013
  # @param [Boolean] show_deleted
1016
- # Set to true to return deleted annotations. updatedMin must be in the
1017
- # request to use this. Defaults to false.
1014
+ # Set to true to return deleted annotations. updatedMin must be in the request
1015
+ # to use this. Defaults to false.
1018
1016
  # @param [String] source
1019
1017
  # String to identify the originator of this request.
1020
1018
  # @param [String] updated_max
1021
- # RFC 3339 timestamp to restrict to items updated prior to this timestamp
1022
- # (exclusive).
1019
+ # RFC 3339 timestamp to restrict to items updated prior to this timestamp (
1020
+ # exclusive).
1023
1021
  # @param [String] updated_min
1024
- # RFC 3339 timestamp to restrict to items updated since this timestamp
1025
- # (inclusive).
1022
+ # RFC 3339 timestamp to restrict to items updated since this timestamp (
1023
+ # inclusive).
1026
1024
  # @param [String] volume_id
1027
1025
  # The volume to restrict annotations to.
1028
1026
  # @param [String] fields
@@ -1274,8 +1272,8 @@ module Google
1274
1272
  # @param [String] volume_id
1275
1273
  # ID of volume to move.
1276
1274
  # @param [Fixnum] volume_position
1277
- # Position on shelf to move the item (0 puts the item before the current
1278
- # first item, 1 puts it between the first and the second and so on.)
1275
+ # Position on shelf to move the item (0 puts the item before the current first
1276
+ # item, 1 puts it between the first and the second and so on.)
1279
1277
  # @param [String] fields
1280
1278
  # Selector specifying which fields to include in a partial response.
1281
1279
  # @param [String] quota_user
@@ -1553,8 +1551,8 @@ module Google
1553
1551
  # @param [String] locale
1554
1552
  # ISO-639-1 language and ISO-3166-1 country code. Default is en-US if unset.
1555
1553
  # @param [String] max_allowed_maturity_rating
1556
- # The maximum allowed maturity rating of returned volumes. Books with a
1557
- # higher maturity rating are filtered out.
1554
+ # The maximum allowed maturity rating of returned volumes. Books with a higher
1555
+ # maturity rating are filtered out.
1558
1556
  # @param [Fixnum] page_size
1559
1557
  # Number of maximum results per page to be included in the response.
1560
1558
  # @param [String] page_token
@@ -1595,8 +1593,8 @@ module Google
1595
1593
  # ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
1596
1594
  # generating recommendations.
1597
1595
  # @param [String] max_allowed_maturity_rating
1598
- # The maximum allowed maturity rating of returned recommendations. Books with
1599
- # a higher maturity rating are filtered out.
1596
+ # The maximum allowed maturity rating of returned recommendations. Books with a
1597
+ # higher maturity rating are filtered out.
1600
1598
  # @param [String] source
1601
1599
  # String to identify the originator of this request.
1602
1600
  # @param [String] fields
@@ -1849,7 +1847,7 @@ module Google
1849
1847
  # @param [String] projection
1850
1848
  # Restrict information returned to a set of selected fields.
1851
1849
  # @param [String] source
1852
- # string to identify the originator of this request.
1850
+ # string to identify the originator of this request.
1853
1851
  # @param [Boolean] user_library_consistent_read
1854
1852
  # @param [String] fields
1855
1853
  # Selector specifying which fields to include in a partial response.
@@ -1894,8 +1892,8 @@ module Google
1894
1892
  # @param [String] library_restrict
1895
1893
  # Restrict search to this user's library.
1896
1894
  # @param [String] max_allowed_maturity_rating
1897
- # The maximum allowed maturity rating of returned recommendations. Books with
1898
- # a higher maturity rating are filtered out.
1895
+ # The maximum allowed maturity rating of returned recommendations. Books with a
1896
+ # higher maturity rating are filtered out.
1899
1897
  # @param [Fixnum] max_results
1900
1898
  # Maximum number of results to return.
1901
1899
  # @param [String] order_by
@@ -1963,8 +1961,8 @@ module Google
1963
1961
  # ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
1964
1962
  # generating recommendations.
1965
1963
  # @param [String] max_allowed_maturity_rating
1966
- # The maximum allowed maturity rating of returned recommendations. Books with
1967
- # a higher maturity rating are filtered out.
1964
+ # The maximum allowed maturity rating of returned recommendations. Books with a
1965
+ # higher maturity rating are filtered out.
1968
1966
  # @param [String] source
1969
1967
  # String to identify the originator of this request.
1970
1968
  # @param [String] fields
@@ -2009,8 +2007,8 @@ module Google
2009
2007
  # @param [Fixnum] max_results
2010
2008
  # Maximum number of results to return.
2011
2009
  # @param [Array<String>, String] processing_state
2012
- # The processing state of the user uploaded volumes to be returned.
2013
- # Applicable only if the UPLOADED is specified in the acquireMethod.
2010
+ # The processing state of the user uploaded volumes to be returned. Applicable
2011
+ # only if the UPLOADED is specified in the acquireMethod.
2014
2012
  # @param [String] source
2015
2013
  # String to identify the originator of this request.
2016
2014
  # @param [Fixnum] start_index
@@ -2053,8 +2051,8 @@ module Google
2053
2051
  # ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
2054
2052
  # generating recommendations.
2055
2053
  # @param [String] max_allowed_maturity_rating
2056
- # The maximum allowed maturity rating of returned recommendations. Books with
2057
- # a higher maturity rating are filtered out.
2054
+ # The maximum allowed maturity rating of returned recommendations. Books with a
2055
+ # higher maturity rating are filtered out.
2058
2056
  # @param [String] source
2059
2057
  # String to identify the originator of this request.
2060
2058
  # @param [String] fields
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/hangouts/chat
26
26
  module ChatV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200617'
28
+ REVISION = '20200722'
29
29
  end
30
30
  end
31
31
  end
@@ -135,6 +135,92 @@ module Google
135
135
  end
136
136
  end
137
137
 
138
+ # An attachment in Hangouts Chat.
139
+ class Attachment
140
+ include Google::Apis::Core::Hashable
141
+
142
+ # A reference to the data of an attachment.
143
+ # Corresponds to the JSON property `attachmentDataRef`
144
+ # @return [Google::Apis::ChatV1::AttachmentDataRef]
145
+ attr_accessor :attachment_data_ref
146
+
147
+ # The original file name for the content, not the full path.
148
+ # Corresponds to the JSON property `contentName`
149
+ # @return [String]
150
+ attr_accessor :content_name
151
+
152
+ # The content type (MIME type) of the file.
153
+ # Corresponds to the JSON property `contentType`
154
+ # @return [String]
155
+ attr_accessor :content_type
156
+
157
+ # Output only. The download URL which should be used to allow a human user to
158
+ # download the attachment. Bots should not use this URL to download
159
+ # attachment content.
160
+ # Corresponds to the JSON property `downloadUri`
161
+ # @return [String]
162
+ attr_accessor :download_uri
163
+
164
+ # A reference to the data of a drive attachment.
165
+ # Corresponds to the JSON property `driveDataRef`
166
+ # @return [Google::Apis::ChatV1::DriveDataRef]
167
+ attr_accessor :drive_data_ref
168
+
169
+ # Resource name of the attachment, in the form
170
+ # "spaces/*/messages/*/attachments/*".
171
+ # Corresponds to the JSON property `name`
172
+ # @return [String]
173
+ attr_accessor :name
174
+
175
+ # The source of the attachment.
176
+ # Corresponds to the JSON property `source`
177
+ # @return [String]
178
+ attr_accessor :source
179
+
180
+ # Output only. The thumbnail URL which should be used to preview the
181
+ # attachment to a human user. Bots should not use this URL to download
182
+ # attachment content.
183
+ # Corresponds to the JSON property `thumbnailUri`
184
+ # @return [String]
185
+ attr_accessor :thumbnail_uri
186
+
187
+ def initialize(**args)
188
+ update!(**args)
189
+ end
190
+
191
+ # Update properties of this object
192
+ def update!(**args)
193
+ @attachment_data_ref = args[:attachment_data_ref] if args.key?(:attachment_data_ref)
194
+ @content_name = args[:content_name] if args.key?(:content_name)
195
+ @content_type = args[:content_type] if args.key?(:content_type)
196
+ @download_uri = args[:download_uri] if args.key?(:download_uri)
197
+ @drive_data_ref = args[:drive_data_ref] if args.key?(:drive_data_ref)
198
+ @name = args[:name] if args.key?(:name)
199
+ @source = args[:source] if args.key?(:source)
200
+ @thumbnail_uri = args[:thumbnail_uri] if args.key?(:thumbnail_uri)
201
+ end
202
+ end
203
+
204
+ # A reference to the data of an attachment.
205
+ class AttachmentDataRef
206
+ include Google::Apis::Core::Hashable
207
+
208
+ # The resource name of the attachment data. This is used with the media API
209
+ # to download the attachment data.
210
+ # Corresponds to the JSON property `resourceName`
211
+ # @return [String]
212
+ attr_accessor :resource_name
213
+
214
+ def initialize(**args)
215
+ update!(**args)
216
+ end
217
+
218
+ # Update properties of this object
219
+ def update!(**args)
220
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
221
+ end
222
+ end
223
+
138
224
  # A button. Can be a text button or an image button.
139
225
  class Button
140
226
  include Google::Apis::Core::Hashable
@@ -340,6 +426,25 @@ module Google
340
426
  end
341
427
  end
342
428
 
429
+ # A reference to the data of a drive attachment.
430
+ class DriveDataRef
431
+ include Google::Apis::Core::Hashable
432
+
433
+ # The id for the drive file, for use with the Drive API.
434
+ # Corresponds to the JSON property `driveFileId`
435
+ # @return [String]
436
+ attr_accessor :drive_file_id
437
+
438
+ def initialize(**args)
439
+ update!(**args)
440
+ end
441
+
442
+ # Update properties of this object
443
+ def update!(**args)
444
+ @drive_file_id = args[:drive_file_id] if args.key?(:drive_file_id)
445
+ end
446
+ end
447
+
343
448
  # A generic empty message that you can re-use to avoid defining duplicated
344
449
  # empty messages in your APIs. A typical example is to use it as the request
345
450
  # or the response type of an API method. For instance:
@@ -578,6 +683,25 @@ module Google
578
683
  end
579
684
  end
580
685
 
686
+ # Media resource.
687
+ class Media
688
+ include Google::Apis::Core::Hashable
689
+
690
+ # Name of the media resource.
691
+ # Corresponds to the JSON property `resourceName`
692
+ # @return [String]
693
+ attr_accessor :resource_name
694
+
695
+ def initialize(**args)
696
+ update!(**args)
697
+ end
698
+
699
+ # Update properties of this object
700
+ def update!(**args)
701
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
702
+ end
703
+ end
704
+
581
705
  # Represents a membership relation in Hangouts Chat.
582
706
  class Membership
583
707
  include Google::Apis::Core::Hashable
@@ -636,6 +760,11 @@ module Google
636
760
  # @return [String]
637
761
  attr_accessor :argument_text
638
762
 
763
+ # User uploaded attachment.
764
+ # Corresponds to the JSON property `attachment`
765
+ # @return [Array<Google::Apis::ChatV1::Attachment>]
766
+ attr_accessor :attachment
767
+
639
768
  # Rich, formatted and interactive cards that can be used to display UI
640
769
  # elements such as: formatted texts, buttons, clickable images. Cards are
641
770
  # normally displayed below the plain-text body of the message.
@@ -697,6 +826,7 @@ module Google
697
826
  @action_response = args[:action_response] if args.key?(:action_response)
698
827
  @annotations = args[:annotations] if args.key?(:annotations)
699
828
  @argument_text = args[:argument_text] if args.key?(:argument_text)
829
+ @attachment = args[:attachment] if args.key?(:attachment)
700
830
  @cards = args[:cards] if args.key?(:cards)
701
831
  @create_time = args[:create_time] if args.key?(:create_time)
702
832
  @fallback_text = args[:fallback_text] if args.key?(:fallback_text)
@@ -40,6 +40,18 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class Attachment
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AttachmentDataRef
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class Button
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -70,6 +82,12 @@ module Google
70
82
  include Google::Apis::Core::JsonObjectSupport
71
83
  end
72
84
 
85
+ class DriveDataRef
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class Empty
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -112,6 +130,12 @@ module Google
112
130
  include Google::Apis::Core::JsonObjectSupport
113
131
  end
114
132
 
133
+ class Media
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
115
139
  class Membership
116
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
141
 
@@ -211,6 +235,29 @@ module Google
211
235
  end
212
236
  end
213
237
 
238
+ class Attachment
239
+ # @private
240
+ class Representation < Google::Apis::Core::JsonRepresentation
241
+ property :attachment_data_ref, as: 'attachmentDataRef', class: Google::Apis::ChatV1::AttachmentDataRef, decorator: Google::Apis::ChatV1::AttachmentDataRef::Representation
242
+
243
+ property :content_name, as: 'contentName'
244
+ property :content_type, as: 'contentType'
245
+ property :download_uri, as: 'downloadUri'
246
+ property :drive_data_ref, as: 'driveDataRef', class: Google::Apis::ChatV1::DriveDataRef, decorator: Google::Apis::ChatV1::DriveDataRef::Representation
247
+
248
+ property :name, as: 'name'
249
+ property :source, as: 'source'
250
+ property :thumbnail_uri, as: 'thumbnailUri'
251
+ end
252
+ end
253
+
254
+ class AttachmentDataRef
255
+ # @private
256
+ class Representation < Google::Apis::Core::JsonRepresentation
257
+ property :resource_name, as: 'resourceName'
258
+ end
259
+ end
260
+
214
261
  class Button
215
262
  # @private
216
263
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -272,6 +319,13 @@ module Google
272
319
  end
273
320
  end
274
321
 
322
+ class DriveDataRef
323
+ # @private
324
+ class Representation < Google::Apis::Core::JsonRepresentation
325
+ property :drive_file_id, as: 'driveFileId'
326
+ end
327
+ end
328
+
275
329
  class Empty
276
330
  # @private
277
331
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -342,6 +396,13 @@ module Google
342
396
  end
343
397
  end
344
398
 
399
+ class Media
400
+ # @private
401
+ class Representation < Google::Apis::Core::JsonRepresentation
402
+ property :resource_name, as: 'resourceName'
403
+ end
404
+ end
405
+
345
406
  class Membership
346
407
  # @private
347
408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -361,6 +422,8 @@ module Google
361
422
  collection :annotations, as: 'annotations', class: Google::Apis::ChatV1::Annotation, decorator: Google::Apis::ChatV1::Annotation::Representation
362
423
 
363
424
  property :argument_text, as: 'argumentText'
425
+ collection :attachment, as: 'attachment', class: Google::Apis::ChatV1::Attachment, decorator: Google::Apis::ChatV1::Attachment::Representation
426
+
364
427
  collection :cards, as: 'cards', class: Google::Apis::ChatV1::Card, decorator: Google::Apis::ChatV1::Card::Representation
365
428
 
366
429
  property :create_time, as: 'createTime'