google-api-client 0.45.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (542) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +664 -188
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  13. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  14. data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
  15. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  16. data/generated/google/apis/accessapproval_v1.rb +1 -1
  17. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  18. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  19. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  20. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  22. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  25. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  29. data/generated/google/apis/admin_directory_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1.rb +1 -1
  31. data/generated/google/apis/admob_v1/classes.rb +29 -29
  32. data/generated/google/apis/admob_v1/service.rb +2 -1
  33. data/generated/google/apis/admob_v1.rb +3 -2
  34. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  35. data/generated/google/apis/adsense_v1_4.rb +1 -1
  36. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  37. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  40. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
  41. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
  43. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  44. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  45. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  48. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  49. data/generated/google/apis/apigee_v1/classes.rb +252 -66
  50. data/generated/google/apis/apigee_v1/representations.rb +88 -19
  51. data/generated/google/apis/apigee_v1/service.rb +244 -38
  52. data/generated/google/apis/apigee_v1.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2.rb +1 -1
  54. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  55. data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
  56. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  57. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  58. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  59. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  60. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  61. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
  62. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
  63. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +212 -23
  65. data/generated/google/apis/bigquery_v2/representations.rb +69 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +47 -1
  67. data/generated/google/apis/bigquery_v2.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  70. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  71. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  72. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  73. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  74. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  75. data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
  76. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  77. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  78. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  79. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
  80. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  81. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  82. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  83. data/generated/google/apis/books_v1/service.rb +54 -54
  84. data/generated/google/apis/books_v1.rb +1 -1
  85. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  86. data/generated/google/apis/calendar_v3.rb +1 -1
  87. data/generated/google/apis/chat_v1/classes.rb +84 -2
  88. data/generated/google/apis/chat_v1/representations.rb +36 -0
  89. data/generated/google/apis/chat_v1.rb +1 -1
  90. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  91. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  92. data/generated/google/apis/civicinfo_v2.rb +1 -1
  93. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  94. data/generated/google/apis/classroom_v1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
  96. data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
  97. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  98. data/generated/google/apis/cloudasset_v1.rb +1 -1
  99. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
  100. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  101. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  102. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
  104. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  105. data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
  106. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  107. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  108. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
  111. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
  112. data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
  113. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  114. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
  115. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  116. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  117. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  119. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  120. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  121. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  123. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  125. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  127. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  128. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  129. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  130. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  131. data/generated/google/apis/cloudshell_v1.rb +1 -1
  132. data/generated/google/apis/composer_v1/classes.rb +2 -3
  133. data/generated/google/apis/composer_v1.rb +1 -1
  134. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  135. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  136. data/generated/google/apis/composer_v1beta1.rb +1 -1
  137. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  138. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  139. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  140. data/generated/google/apis/compute_alpha.rb +1 -1
  141. data/generated/google/apis/compute_beta/classes.rb +566 -94
  142. data/generated/google/apis/compute_beta/representations.rb +100 -1
  143. data/generated/google/apis/compute_beta/service.rb +805 -136
  144. data/generated/google/apis/compute_beta.rb +1 -1
  145. data/generated/google/apis/compute_v1/classes.rb +586 -72
  146. data/generated/google/apis/compute_v1/representations.rb +98 -1
  147. data/generated/google/apis/compute_v1/service.rb +741 -133
  148. data/generated/google/apis/compute_v1.rb +1 -1
  149. data/generated/google/apis/container_v1/classes.rb +22 -10
  150. data/generated/google/apis/container_v1.rb +1 -1
  151. data/generated/google/apis/container_v1beta1/classes.rb +22 -10
  152. data/generated/google/apis/container_v1beta1.rb +1 -1
  153. data/generated/google/apis/content_v2/classes.rb +510 -1217
  154. data/generated/google/apis/content_v2/service.rb +377 -650
  155. data/generated/google/apis/content_v2.rb +3 -4
  156. data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
  157. data/generated/google/apis/content_v2_1/representations.rb +253 -0
  158. data/generated/google/apis/content_v2_1/service.rb +943 -802
  159. data/generated/google/apis/content_v2_1.rb +3 -4
  160. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
  161. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  162. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  163. data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
  164. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/datafusion_v1.rb +1 -1
  167. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  168. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  169. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  170. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  171. data/generated/google/apis/dataproc_v1/classes.rb +41 -3
  172. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  173. data/generated/google/apis/dataproc_v1.rb +1 -1
  174. data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
  175. data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
  176. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  177. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  178. data/generated/google/apis/datastore_v1.rb +1 -1
  179. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  180. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  181. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  182. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  183. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  184. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  185. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  186. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  187. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  188. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  189. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  190. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  191. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  192. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  193. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  194. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  195. data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
  196. data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
  197. data/generated/google/apis/dialogflow_v2.rb +1 -1
  198. data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
  199. data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
  200. data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
  201. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  202. data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
  203. data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
  204. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  205. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  206. data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
  207. data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
  208. data/generated/google/apis/displayvideo_v1/service.rb +261 -18
  209. data/generated/google/apis/displayvideo_v1.rb +1 -1
  210. data/generated/google/apis/dlp_v2/classes.rb +59 -32
  211. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  212. data/generated/google/apis/dlp_v2/service.rb +328 -328
  213. data/generated/google/apis/dlp_v2.rb +1 -1
  214. data/generated/google/apis/dns_v1/classes.rb +181 -0
  215. data/generated/google/apis/dns_v1/representations.rb +83 -0
  216. data/generated/google/apis/dns_v1/service.rb +11 -11
  217. data/generated/google/apis/dns_v1.rb +2 -2
  218. data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
  219. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  220. data/generated/google/apis/dns_v1beta2/service.rb +11 -11
  221. data/generated/google/apis/dns_v1beta2.rb +2 -2
  222. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  223. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  224. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  225. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  226. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  227. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  228. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  229. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  230. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  231. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  232. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  233. data/generated/google/apis/domains_v1beta1.rb +34 -0
  234. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  235. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  236. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
  237. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  238. data/generated/google/apis/drive_v2/classes.rb +4 -1
  239. data/generated/google/apis/drive_v2.rb +1 -1
  240. data/generated/google/apis/drive_v3/classes.rb +4 -2
  241. data/generated/google/apis/drive_v3.rb +1 -1
  242. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
  243. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  244. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
  245. data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
  246. data/generated/google/apis/file_v1/classes.rb +1 -1
  247. data/generated/google/apis/file_v1.rb +1 -1
  248. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  249. data/generated/google/apis/file_v1beta1.rb +1 -1
  250. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  251. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  252. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  253. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  254. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  255. data/generated/google/apis/firestore_v1.rb +1 -1
  256. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  257. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  258. data/generated/google/apis/fitness_v1/service.rb +3 -1
  259. data/generated/google/apis/fitness_v1.rb +13 -1
  260. data/generated/google/apis/games_v1/classes.rb +300 -0
  261. data/generated/google/apis/games_v1/representations.rb +116 -0
  262. data/generated/google/apis/games_v1/service.rb +34 -0
  263. data/generated/google/apis/games_v1.rb +1 -1
  264. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  265. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  266. data/generated/google/apis/gameservices_v1.rb +1 -1
  267. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  268. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  269. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  270. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  271. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  272. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  273. data/generated/google/apis/gmail_v1/service.rb +1 -1
  274. data/generated/google/apis/gmail_v1.rb +1 -1
  275. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  276. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  277. data/generated/google/apis/healthcare_v1/classes.rb +7 -5
  278. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  279. data/generated/google/apis/healthcare_v1.rb +1 -1
  280. data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
  281. data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
  282. data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
  283. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  284. data/generated/google/apis/iam_v1/service.rb +1 -4
  285. data/generated/google/apis/iam_v1.rb +2 -5
  286. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  287. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  288. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  289. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  290. data/generated/google/apis/jobs_v2.rb +1 -1
  291. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  292. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  293. data/generated/google/apis/jobs_v3.rb +1 -1
  294. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  295. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  296. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  297. data/generated/google/apis/licensing_v1/service.rb +2 -2
  298. data/generated/google/apis/licensing_v1.rb +1 -1
  299. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  300. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  301. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  302. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  303. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  304. data/generated/google/apis/localservices_v1/service.rb +20 -20
  305. data/generated/google/apis/localservices_v1.rb +1 -1
  306. data/generated/google/apis/logging_v2/classes.rb +174 -60
  307. data/generated/google/apis/logging_v2/representations.rb +64 -0
  308. data/generated/google/apis/logging_v2/service.rb +1422 -127
  309. data/generated/google/apis/logging_v2.rb +1 -1
  310. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  311. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  312. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  313. data/generated/google/apis/managedidentities_v1.rb +1 -1
  314. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
  315. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
  316. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  317. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  318. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
  319. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
  320. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  321. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  322. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  323. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  324. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  325. data/generated/google/apis/ml_v1/classes.rb +238 -77
  326. data/generated/google/apis/ml_v1/representations.rb +17 -0
  327. data/generated/google/apis/ml_v1.rb +1 -1
  328. data/generated/google/apis/monitoring_v3/classes.rb +71 -17
  329. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  330. data/generated/google/apis/monitoring_v3/service.rb +55 -6
  331. data/generated/google/apis/monitoring_v3.rb +1 -1
  332. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  333. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  334. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  335. data/generated/google/apis/oauth2_v2.rb +40 -0
  336. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  337. data/generated/google/apis/osconfig_v1.rb +3 -3
  338. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  339. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  340. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  341. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  342. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  343. data/generated/google/apis/people_v1/classes.rb +52 -51
  344. data/generated/google/apis/people_v1/service.rb +24 -22
  345. data/generated/google/apis/people_v1.rb +1 -1
  346. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  347. data/generated/google/apis/playablelocations_v3.rb +1 -1
  348. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  349. data/generated/google/apis/poly_v1/classes.rb +65 -79
  350. data/generated/google/apis/poly_v1/service.rb +50 -63
  351. data/generated/google/apis/poly_v1.rb +3 -4
  352. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  353. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  354. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  355. data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
  356. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  359. data/generated/google/apis/pubsub_v1.rb +1 -1
  360. data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
  361. data/generated/google/apis/pubsublite_v1.rb +1 -1
  362. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  363. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  364. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  365. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  366. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  367. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  368. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  369. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  370. data/generated/google/apis/recommender_v1/service.rb +4 -2
  371. data/generated/google/apis/recommender_v1.rb +1 -1
  372. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  373. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  374. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  375. data/generated/google/apis/redis_v1/classes.rb +5 -5
  376. data/generated/google/apis/redis_v1/service.rb +2 -2
  377. data/generated/google/apis/redis_v1.rb +1 -1
  378. data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
  379. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  380. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  381. data/generated/google/apis/redis_v1beta1.rb +1 -1
  382. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  383. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  384. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  385. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  386. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  389. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  390. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  391. data/generated/google/apis/run_v1/classes.rb +12 -132
  392. data/generated/google/apis/run_v1/representations.rb +0 -61
  393. data/generated/google/apis/run_v1/service.rb +0 -342
  394. data/generated/google/apis/run_v1.rb +1 -1
  395. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  398. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  399. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  400. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  401. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  402. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  403. data/generated/google/apis/searchconsole_v1.rb +7 -1
  404. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  405. data/generated/google/apis/secretmanager_v1.rb +1 -1
  406. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  407. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  408. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  409. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  410. data/generated/google/apis/securitycenter_v1.rb +1 -1
  411. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  412. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  413. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  414. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  415. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  416. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  417. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
  418. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  419. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
  420. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  421. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
  422. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  423. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  424. data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
  425. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
  428. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  429. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  430. data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
  431. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  432. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
  435. data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
  436. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
  439. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  440. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  441. data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
  442. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  443. data/generated/google/apis/serviceusage_v1.rb +1 -1
  444. data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
  445. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  446. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  447. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  448. data/generated/google/apis/sheets_v4/classes.rb +174 -84
  449. data/generated/google/apis/sheets_v4.rb +1 -1
  450. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  451. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  452. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  453. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  454. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  455. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  456. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  457. data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
  458. data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
  459. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  460. data/generated/google/apis/storage_v1/classes.rb +2 -10
  461. data/generated/google/apis/storage_v1/representations.rb +0 -1
  462. data/generated/google/apis/storage_v1/service.rb +3 -2
  463. data/generated/google/apis/storage_v1.rb +1 -1
  464. data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
  465. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  466. data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
  467. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  468. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  469. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  470. data/generated/google/apis/sts_v1/classes.rb +10 -9
  471. data/generated/google/apis/sts_v1.rb +1 -1
  472. data/generated/google/apis/sts_v1beta/classes.rb +67 -67
  473. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  474. data/generated/google/apis/sts_v1beta.rb +1 -1
  475. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  476. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  477. data/generated/google/apis/tagmanager_v2.rb +1 -1
  478. data/generated/google/apis/testing_v1/classes.rb +92 -33
  479. data/generated/google/apis/testing_v1/representations.rb +21 -0
  480. data/generated/google/apis/testing_v1/service.rb +4 -4
  481. data/generated/google/apis/testing_v1.rb +1 -1
  482. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  483. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  484. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  485. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  486. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  487. data/generated/google/apis/tpu_v1/service.rb +8 -8
  488. data/generated/google/apis/tpu_v1.rb +1 -1
  489. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  490. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  491. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  492. data/generated/google/apis/translate_v3/classes.rb +4 -3
  493. data/generated/google/apis/translate_v3.rb +1 -1
  494. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  495. data/generated/google/apis/translate_v3beta1.rb +1 -1
  496. data/generated/google/apis/vault_v1/classes.rb +333 -0
  497. data/generated/google/apis/vault_v1/representations.rb +162 -0
  498. data/generated/google/apis/vault_v1/service.rb +151 -0
  499. data/generated/google/apis/vault_v1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  501. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  502. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  503. data/generated/google/apis/videointelligence_v1.rb +1 -1
  504. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  505. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  506. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  507. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  508. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  509. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  511. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  512. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  513. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  514. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  515. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  516. data/generated/google/apis/vision_v1/classes.rb +16 -16
  517. data/generated/google/apis/vision_v1.rb +1 -1
  518. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  519. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  520. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  521. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  522. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  523. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  524. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  525. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  526. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  527. data/generated/google/apis/workflows_v1beta.rb +3 -2
  528. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  529. data/generated/google/apis/youtube_v3/classes.rb +0 -134
  530. data/generated/google/apis/youtube_v3/representations.rb +0 -55
  531. data/generated/google/apis/youtube_v3/service.rb +1 -1
  532. data/generated/google/apis/youtube_v3.rb +1 -1
  533. data/google-api-client.gemspec +25 -25
  534. data/lib/google/apis/core/api_command.rb +1 -0
  535. data/lib/google/apis/core/http_command.rb +2 -1
  536. data/lib/google/apis/options.rb +8 -5
  537. data/lib/google/apis/version.rb +1 -1
  538. data/synth.py +40 -0
  539. metadata +51 -12
  540. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  541. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  542. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -43,8 +43,8 @@ module Google
43
43
  attr_accessor :quota_user
44
44
 
45
45
  def initialize
46
- super('https://www.googleapis.com/', '')
47
- @batch_path = 'batch/books/v1'
46
+ super('https://books.googleapis.com/', '')
47
+ @batch_path = 'batch'
48
48
  end
49
49
 
50
50
  # Retrieves metadata for a specific bookshelf for the specified user.
@@ -220,7 +220,7 @@ module Google
220
220
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
221
221
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
222
222
  # @raise [Google::Apis::AuthorizationError] Authorization is required
223
- def delete_book(volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
223
+ def delete_book(volume_id, fields: nil, quota_user: nil, options: nil, &block)
224
224
  command = make_simple_command(:post, 'books/v1/cloudloading/deleteBook', options)
225
225
  command.response_representation = Google::Apis::BooksV1::Empty::Representation
226
226
  command.response_class = Google::Apis::BooksV1::Empty
@@ -280,7 +280,7 @@ module Google
280
280
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
281
281
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
282
282
  # @raise [Google::Apis::AuthorizationError] Authorization is required
283
- def list_offline_metadata_dictionary(cpksver: nil, fields: nil, quota_user: nil, options: nil, &block)
283
+ def list_offline_metadata_dictionary(cpksver, fields: nil, quota_user: nil, options: nil, &block)
284
284
  command = make_simple_command(:get, 'books/v1/dictionary/listOfflineMetadata', options)
285
285
  command.response_representation = Google::Apis::BooksV1::Metadata::Representation
286
286
  command.response_class = Google::Apis::BooksV1::Metadata
@@ -482,10 +482,10 @@ module Google
482
482
  # The ID for the layer to get the annotations.
483
483
  # @param [String] annotation_data_id
484
484
  # The ID of the annotation data to retrieve.
485
- # @param [Boolean] allow_web_definitions
486
- # For the dictionary layer. Whether or not to allow web definitions.
487
485
  # @param [String] content_version
488
486
  # The content version for the volume you are trying to retrieve.
487
+ # @param [Boolean] allow_web_definitions
488
+ # For the dictionary layer. Whether or not to allow web definitions.
489
489
  # @param [Fixnum] h
490
490
  # The requested pixel height for any images. If height is provided width must
491
491
  # also be provided.
@@ -516,7 +516,7 @@ module Google
516
516
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
517
517
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
518
518
  # @raise [Google::Apis::AuthorizationError] Authorization is required
519
- def get_layer_annotation_data(volume_id, layer_id, annotation_data_id, allow_web_definitions: nil, content_version: nil, h: nil, locale: nil, scale: nil, source: nil, w: nil, fields: nil, quota_user: nil, options: nil, &block)
519
+ def get_layer_annotation_data(volume_id, layer_id, annotation_data_id, content_version, allow_web_definitions: nil, h: nil, locale: nil, scale: nil, source: nil, w: nil, fields: nil, quota_user: nil, options: nil, &block)
520
520
  command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}', options)
521
521
  command.response_representation = Google::Apis::BooksV1::DictionaryAnnotationdata::Representation
522
522
  command.response_class = Google::Apis::BooksV1::DictionaryAnnotationdata
@@ -540,11 +540,11 @@ module Google
540
540
  # The volume to retrieve annotation data for.
541
541
  # @param [String] layer_id
542
542
  # The ID for the layer to get the annotation data.
543
+ # @param [String] content_version
544
+ # The content version for the requested volume.
543
545
  # @param [Array<String>, String] annotation_data_id
544
546
  # The list of Annotation Data Ids to retrieve. Pagination is ignored if this is
545
547
  # set.
546
- # @param [String] content_version
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.
@@ -585,7 +585,7 @@ module Google
585
585
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
586
586
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
587
587
  # @raise [Google::Apis::AuthorizationError] Authorization is required
588
- def list_layer_annotation_data(volume_id, layer_id, annotation_data_id: nil, content_version: nil, h: nil, locale: nil, max_results: nil, page_token: nil, scale: nil, source: nil, updated_max: nil, updated_min: nil, w: nil, fields: nil, quota_user: nil, options: nil, &block)
588
+ def list_layer_annotation_data(volume_id, layer_id, content_version, annotation_data_id: nil, h: nil, locale: nil, max_results: nil, page_token: nil, scale: nil, source: nil, updated_max: nil, updated_min: nil, w: nil, fields: nil, quota_user: nil, options: nil, &block)
589
589
  command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layers/{layerId}/data', options)
590
590
  command.response_representation = Google::Apis::BooksV1::AnnotationsData::Representation
591
591
  command.response_class = Google::Apis::BooksV1::AnnotationsData
@@ -702,7 +702,7 @@ module Google
702
702
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
703
703
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
704
704
  # @raise [Google::Apis::AuthorizationError] Authorization is required
705
- def list_layer_volume_annotations(volume_id, layer_id, content_version: nil, end_offset: nil, end_position: nil, locale: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, start_offset: nil, start_position: nil, updated_max: nil, updated_min: nil, volume_annotations_version: nil, fields: nil, quota_user: nil, options: nil, &block)
705
+ def list_layer_volume_annotations(volume_id, layer_id, content_version, end_offset: nil, end_position: nil, locale: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, start_offset: nil, start_position: nil, updated_max: nil, updated_min: nil, volume_annotations_version: nil, fields: nil, quota_user: nil, options: nil, &block)
706
706
  command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layers/{layerId}', options)
707
707
  command.response_representation = Google::Apis::BooksV1::Volumeannotations::Representation
708
708
  command.response_class = Google::Apis::BooksV1::Volumeannotations
@@ -759,12 +759,12 @@ module Google
759
759
  # Release downloaded content access restriction.
760
760
  # @param [String] cpksver
761
761
  # The device/version ID from which to release the restriction.
762
+ # @param [Array<String>, String] volume_ids
763
+ # The volume(s) to release restrictions for.
762
764
  # @param [String] locale
763
765
  # ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
764
766
  # @param [String] source
765
767
  # String to identify the originator of this request.
766
- # @param [Array<String>, String] volume_ids
767
- # The volume(s) to release restrictions for.
768
768
  # @param [String] fields
769
769
  # Selector specifying which fields to include in a partial response.
770
770
  # @param [String] quota_user
@@ -782,7 +782,7 @@ module Google
782
782
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
783
783
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
784
784
  # @raise [Google::Apis::AuthorizationError] Authorization is required
785
- def release_download_access(cpksver: nil, locale: nil, source: nil, volume_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
785
+ def release_download_access(cpksver, volume_ids, locale: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
786
786
  command = make_simple_command(:post, 'books/v1/myconfig/releaseDownloadAccess', options)
787
787
  command.response_representation = Google::Apis::BooksV1::DownloadAccesses::Representation
788
788
  command.response_class = Google::Apis::BooksV1::DownloadAccesses
@@ -798,16 +798,16 @@ module Google
798
798
  # Request concurrent and download access restrictions.
799
799
  # @param [String] cpksver
800
800
  # The device/version ID from which to request the restrictions.
801
- # @param [String] license_types
802
- # The type of access license to request. If not specified, the default is BOTH.
803
- # @param [String] locale
804
- # ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
805
801
  # @param [String] nonce
806
802
  # The client nonce value.
807
803
  # @param [String] source
808
804
  # String to identify the originator of this request.
809
805
  # @param [String] volume_id
810
806
  # The volume to request concurrent/download restrictions for.
807
+ # @param [String] license_types
808
+ # The type of access license to request. If not specified, the default is BOTH.
809
+ # @param [String] locale
810
+ # ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
811
811
  # @param [String] fields
812
812
  # Selector specifying which fields to include in a partial response.
813
813
  # @param [String] quota_user
@@ -825,7 +825,7 @@ module Google
825
825
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
826
826
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
827
827
  # @raise [Google::Apis::AuthorizationError] Authorization is required
828
- def request_access(cpksver: nil, license_types: nil, locale: nil, nonce: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
828
+ def request_access(cpksver, nonce, source, volume_id, license_types: nil, locale: nil, fields: nil, quota_user: nil, options: nil, &block)
829
829
  command = make_simple_command(:post, 'books/v1/myconfig/requestAccess', options)
830
830
  command.response_representation = Google::Apis::BooksV1::RequestAccessData::Representation
831
831
  command.response_class = Google::Apis::BooksV1::RequestAccessData
@@ -843,18 +843,18 @@ module Google
843
843
  # Request downloaded content access for specified volumes on the My eBooks shelf.
844
844
  # @param [String] cpksver
845
845
  # The device/version ID from which to release the restriction.
846
+ # @param [String] nonce
847
+ # The client nonce value.
848
+ # @param [String] source
849
+ # String to identify the originator of this request.
846
850
  # @param [Array<String>, String] features
847
851
  # List of features supported by the client, i.e., 'RENTALS'
848
852
  # @param [Boolean] include_non_comics_series
849
853
  # Set to true to include non-comics series. Defaults to false.
850
854
  # @param [String] locale
851
855
  # ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
852
- # @param [String] nonce
853
- # The client nonce value.
854
856
  # @param [Boolean] show_preorders
855
857
  # Set to true to show pre-ordered books. Defaults to false.
856
- # @param [String] source
857
- # String to identify the originator of this request.
858
858
  # @param [Array<String>, String] volume_ids
859
859
  # The volume(s) to request download restrictions for.
860
860
  # @param [String] fields
@@ -874,7 +874,7 @@ module Google
874
874
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
875
875
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
876
876
  # @raise [Google::Apis::AuthorizationError] Authorization is required
877
- def sync_volume_licenses(cpksver: nil, features: nil, include_non_comics_series: nil, locale: nil, nonce: nil, show_preorders: nil, source: nil, volume_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
877
+ def sync_volume_licenses(cpksver, nonce, source, features: nil, include_non_comics_series: nil, locale: nil, show_preorders: nil, volume_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
878
878
  command = make_simple_command(:post, 'books/v1/myconfig/syncVolumeLicenses', options)
879
879
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
880
880
  command.response_class = Google::Apis::BooksV1::Volumes
@@ -1081,7 +1081,7 @@ module Google
1081
1081
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1082
1082
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1083
1083
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1084
- def summarize_my_library_annotation(layer_ids: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1084
+ def summarize_my_library_annotation(layer_ids, volume_id, fields: nil, quota_user: nil, options: nil, &block)
1085
1085
  command = make_simple_command(:post, 'books/v1/mylibrary/annotations/summary', options)
1086
1086
  command.response_representation = Google::Apis::BooksV1::AnnotationsSummary::Representation
1087
1087
  command.response_class = Google::Apis::BooksV1::AnnotationsSummary
@@ -1131,12 +1131,12 @@ module Google
1131
1131
  # Adds a volume to a bookshelf.
1132
1132
  # @param [String] shelf
1133
1133
  # ID of bookshelf to which to add a volume.
1134
+ # @param [String] volume_id
1135
+ # ID of volume to add.
1134
1136
  # @param [String] reason
1135
1137
  # The reason for which the book is added to the library.
1136
1138
  # @param [String] source
1137
1139
  # String to identify the originator of this request.
1138
- # @param [String] volume_id
1139
- # ID of volume to add.
1140
1140
  # @param [String] fields
1141
1141
  # Selector specifying which fields to include in a partial response.
1142
1142
  # @param [String] quota_user
@@ -1154,7 +1154,7 @@ module Google
1154
1154
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1155
1155
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1156
1156
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1157
- def add_my_library_volume(shelf, reason: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1157
+ def add_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1158
1158
  command = make_simple_command(:post, 'books/v1/mylibrary/bookshelves/{shelf}/addVolume', options)
1159
1159
  command.response_representation = Google::Apis::BooksV1::Empty::Representation
1160
1160
  command.response_class = Google::Apis::BooksV1::Empty
@@ -1267,13 +1267,13 @@ module Google
1267
1267
  # Moves a volume within a bookshelf.
1268
1268
  # @param [String] shelf
1269
1269
  # ID of bookshelf with the volume.
1270
- # @param [String] source
1271
- # String to identify the originator of this request.
1272
1270
  # @param [String] volume_id
1273
1271
  # ID of volume to move.
1274
1272
  # @param [Fixnum] volume_position
1275
1273
  # Position on shelf to move the item (0 puts the item before the current first
1276
1274
  # item, 1 puts it between the first and the second and so on.)
1275
+ # @param [String] source
1276
+ # String to identify the originator of this request.
1277
1277
  # @param [String] fields
1278
1278
  # Selector specifying which fields to include in a partial response.
1279
1279
  # @param [String] quota_user
@@ -1291,7 +1291,7 @@ module Google
1291
1291
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1292
1292
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1293
1293
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1294
- def move_my_library_volume(shelf, source: nil, volume_id: nil, volume_position: nil, fields: nil, quota_user: nil, options: nil, &block)
1294
+ def move_my_library_volume(shelf, volume_id, volume_position, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1295
1295
  command = make_simple_command(:post, 'books/v1/mylibrary/bookshelves/{shelf}/moveVolume', options)
1296
1296
  command.response_representation = Google::Apis::BooksV1::Empty::Representation
1297
1297
  command.response_class = Google::Apis::BooksV1::Empty
@@ -1307,12 +1307,12 @@ module Google
1307
1307
  # Removes a volume from a bookshelf.
1308
1308
  # @param [String] shelf
1309
1309
  # ID of bookshelf from which to remove a volume.
1310
+ # @param [String] volume_id
1311
+ # ID of volume to remove.
1310
1312
  # @param [String] reason
1311
1313
  # The reason for which the book is removed from the library.
1312
1314
  # @param [String] source
1313
1315
  # String to identify the originator of this request.
1314
- # @param [String] volume_id
1315
- # ID of volume to remove.
1316
1316
  # @param [String] fields
1317
1317
  # Selector specifying which fields to include in a partial response.
1318
1318
  # @param [String] quota_user
@@ -1330,7 +1330,7 @@ module Google
1330
1330
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1331
1331
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1332
1332
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1333
- def remove_my_library_volume(shelf, reason: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1333
+ def remove_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1334
1334
  command = make_simple_command(:post, 'books/v1/mylibrary/bookshelves/{shelf}/removeVolume', options)
1335
1335
  command.response_representation = Google::Apis::BooksV1::Empty::Representation
1336
1336
  command.response_class = Google::Apis::BooksV1::Empty
@@ -1433,18 +1433,18 @@ module Google
1433
1433
  # Sets my reading position information for a volume.
1434
1434
  # @param [String] volume_id
1435
1435
  # ID of volume for which to update the reading position.
1436
+ # @param [String] position
1437
+ # Position string for the new volume reading position.
1438
+ # @param [String] timestamp
1439
+ # RFC 3339 UTC format timestamp associated with this reading position.
1436
1440
  # @param [String] action
1437
1441
  # Action that caused this reading position to be set.
1438
1442
  # @param [String] content_version
1439
1443
  # Volume content version for which this reading position applies.
1440
1444
  # @param [String] device_cookie
1441
1445
  # Random persistent device cookie optional on set position.
1442
- # @param [String] position
1443
- # Position string for the new volume reading position.
1444
1446
  # @param [String] source
1445
1447
  # String to identify the originator of this request.
1446
- # @param [String] timestamp
1447
- # RFC 3339 UTC format timestamp associated with this reading position.
1448
1448
  # @param [String] fields
1449
1449
  # Selector specifying which fields to include in a partial response.
1450
1450
  # @param [String] quota_user
@@ -1462,7 +1462,7 @@ module Google
1462
1462
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1463
1463
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1464
1464
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1465
- def set_my_library_reading_position(volume_id, action: nil, content_version: nil, device_cookie: nil, position: nil, source: nil, timestamp: nil, fields: nil, quota_user: nil, options: nil, &block)
1465
+ def set_my_library_reading_position(volume_id, position, timestamp, action: nil, content_version: nil, device_cookie: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1466
1466
  command = make_simple_command(:post, 'books/v1/mylibrary/readingpositions/{volumeId}/setPosition', options)
1467
1467
  command.response_representation = Google::Apis::BooksV1::Empty::Representation
1468
1468
  command.response_class = Google::Apis::BooksV1::Empty
@@ -1479,11 +1479,11 @@ module Google
1479
1479
  end
1480
1480
 
1481
1481
  # Returns notification details for a given notification id.
1482
+ # @param [String] notification_id
1483
+ # String to identify the notification.
1482
1484
  # @param [String] locale
1483
1485
  # ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
1484
1486
  # generating notification title and body.
1485
- # @param [String] notification_id
1486
- # String to identify the notification.
1487
1487
  # @param [String] source
1488
1488
  # String to identify the originator of this request.
1489
1489
  # @param [String] fields
@@ -1503,7 +1503,7 @@ module Google
1503
1503
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1504
1504
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1505
1505
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1506
- def get_notification(locale: nil, notification_id: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1506
+ def get_notification(notification_id, locale: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1507
1507
  command = make_simple_command(:get, 'books/v1/notification/get', options)
1508
1508
  command.response_representation = Google::Apis::BooksV1::Notification::Representation
1509
1509
  command.response_class = Google::Apis::BooksV1::Notification
@@ -1789,7 +1789,7 @@ module Google
1789
1789
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1790
1790
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1791
1791
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1792
- def get_series(series_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1792
+ def get_series(series_id, fields: nil, quota_user: nil, options: nil, &block)
1793
1793
  command = make_simple_command(:get, 'books/v1/series/get', options)
1794
1794
  command.response_representation = Google::Apis::BooksV1::Series::Representation
1795
1795
  command.response_class = Google::Apis::BooksV1::Series
@@ -1800,12 +1800,12 @@ module Google
1800
1800
  end
1801
1801
 
1802
1802
  # Returns Series membership data given the series id.
1803
+ # @param [String] series_id
1804
+ # String that identifies the series
1803
1805
  # @param [Fixnum] page_size
1804
1806
  # Number of maximum results per page to be included in the response.
1805
1807
  # @param [String] page_token
1806
1808
  # The value of the nextToken from the previous page.
1807
- # @param [String] series_id
1808
- # String that identifies the series
1809
1809
  # @param [String] fields
1810
1810
  # Selector specifying which fields to include in a partial response.
1811
1811
  # @param [String] quota_user
@@ -1823,7 +1823,7 @@ module Google
1823
1823
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1824
1824
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1825
1825
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1826
- def get_series_membership(page_size: nil, page_token: nil, series_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1826
+ def get_series_membership(series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1827
1827
  command = make_simple_command(:get, 'books/v1/series/membership/get', options)
1828
1828
  command.response_representation = Google::Apis::BooksV1::SeriesMembership::Representation
1829
1829
  command.response_class = Google::Apis::BooksV1::SeriesMembership
@@ -1883,6 +1883,8 @@ module Google
1883
1883
  end
1884
1884
 
1885
1885
  # Performs a book search.
1886
+ # @param [String] q
1887
+ # Full-text search query string.
1886
1888
  # @param [String] download
1887
1889
  # Restrict to volumes by download availability.
1888
1890
  # @param [String] filter
@@ -1904,8 +1906,6 @@ module Google
1904
1906
  # Restrict to books or magazines.
1905
1907
  # @param [String] projection
1906
1908
  # Restrict information returned to a set of selected fields.
1907
- # @param [String] q
1908
- # Full-text search query string.
1909
1909
  # @param [Boolean] show_preorders
1910
1910
  # Set to true to show books available for preorder. Defaults to false.
1911
1911
  # @param [String] source
@@ -1929,7 +1929,7 @@ module Google
1929
1929
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1930
1930
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1931
1931
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1932
- def list_volumes(download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_allowed_maturity_rating: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, q: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, options: nil, &block)
1932
+ def list_volumes(q, download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_allowed_maturity_rating: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, options: nil, &block)
1933
1933
  command = make_simple_command(:get, 'books/v1/volumes', options)
1934
1934
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
1935
1935
  command.response_class = Google::Apis::BooksV1::Volumes
@@ -2085,15 +2085,15 @@ module Google
2085
2085
  end
2086
2086
 
2087
2087
  # Rate a recommended book for the current user.
2088
+ # @param [String] rating
2089
+ # Rating to be given to the volume.
2090
+ # @param [String] volume_id
2091
+ # ID of the source volume.
2088
2092
  # @param [String] locale
2089
2093
  # ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
2090
2094
  # generating recommendations.
2091
- # @param [String] rating
2092
- # Rating to be given to the volume.
2093
2095
  # @param [String] source
2094
2096
  # String to identify the originator of this request.
2095
- # @param [String] volume_id
2096
- # ID of the source volume.
2097
2097
  # @param [String] fields
2098
2098
  # Selector specifying which fields to include in a partial response.
2099
2099
  # @param [String] quota_user
@@ -2111,7 +2111,7 @@ module Google
2111
2111
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2112
2112
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2113
2113
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2114
- def rate_recommended_volume(locale: nil, rating: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2114
+ def rate_recommended_volume(rating, volume_id, locale: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
2115
2115
  command = make_simple_command(:post, 'books/v1/volumes/recommended/rate', options)
2116
2116
  command.response_representation = Google::Apis::BooksV1::RateRecommendedVolumeResponse::Representation
2117
2117
  command.response_class = Google::Apis::BooksV1::RateRecommendedVolumeResponse
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://code.google.com/apis/books/docs/v1/getting_started.html
26
26
  module BooksV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200717'
28
+ REVISION = '20201021'
29
29
 
30
30
  # Manage your books
31
31
  AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
@@ -1044,7 +1044,8 @@ module Google
1044
1044
  attr_accessor :attachments
1045
1045
 
1046
1046
  # The attendees of the event. See the Events with attendees guide for more
1047
- # information on scheduling events with other calendar users.
1047
+ # information on scheduling events with other calendar users. Service accounts
1048
+ # need to use domain-wide delegation of authority to populate the attendee list.
1048
1049
  # Corresponds to the JSON property `attendees`
1049
1050
  # @return [Array<Google::Apis::CalendarV3::EventAttendee>]
1050
1051
  attr_accessor :attendees
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20200902'
28
+ REVISION = '20200917'
29
29
 
30
30
  # See, edit, share, and permanently delete all the calendars you can access using Google Calendar
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -90,6 +90,11 @@ module Google
90
90
  # @return [Fixnum]
91
91
  attr_accessor :length
92
92
 
93
+ # Annotation metadata for slash commands (/).
94
+ # Corresponds to the JSON property `slashCommand`
95
+ # @return [Google::Apis::ChatV1::SlashCommandMetadata]
96
+ attr_accessor :slash_command
97
+
93
98
  # Start index (0-based, inclusive) in the plain-text message body this
94
99
  # annotation corresponds to.
95
100
  # Corresponds to the JSON property `startIndex`
@@ -113,6 +118,7 @@ module Google
113
118
  # Update properties of this object
114
119
  def update!(**args)
115
120
  @length = args[:length] if args.key?(:length)
121
+ @slash_command = args[:slash_command] if args.key?(:slash_command)
116
122
  @start_index = args[:start_index] if args.key?(:start_index)
117
123
  @type = args[:type] if args.key?(:type)
118
124
  @user_mention = args[:user_mention] if args.key?(:user_mention)
@@ -695,8 +701,7 @@ module Google
695
701
  # @return [Google::Apis::ChatV1::User]
696
702
  attr_accessor :member
697
703
 
698
- # Resource name of the membership, in the form "spaces/*/members/*". Example:
699
- # spaces/AAAAMpdlehY/members/105115627578887013105
704
+ #
700
705
  # Corresponds to the JSON property `name`
701
706
  # @return [String]
702
707
  attr_accessor :name
@@ -779,6 +784,11 @@ module Google
779
784
  # @return [Google::Apis::ChatV1::User]
780
785
  attr_accessor :sender
781
786
 
787
+ # A Slash Command in Hangouts Chat.
788
+ # Corresponds to the JSON property `slashCommand`
789
+ # @return [Google::Apis::ChatV1::SlashCommand]
790
+ attr_accessor :slash_command
791
+
782
792
  # A room or DM in Hangouts Chat.
783
793
  # Corresponds to the JSON property `space`
784
794
  # @return [Google::Apis::ChatV1::Space]
@@ -810,6 +820,7 @@ module Google
810
820
  @name = args[:name] if args.key?(:name)
811
821
  @preview_text = args[:preview_text] if args.key?(:preview_text)
812
822
  @sender = args[:sender] if args.key?(:sender)
823
+ @slash_command = args[:slash_command] if args.key?(:slash_command)
813
824
  @space = args[:space] if args.key?(:space)
814
825
  @text = args[:text] if args.key?(:text)
815
826
  @thread = args[:thread] if args.key?(:thread)
@@ -888,6 +899,69 @@ module Google
888
899
  end
889
900
  end
890
901
 
902
+ # A Slash Command in Hangouts Chat.
903
+ class SlashCommand
904
+ include Google::Apis::Core::Hashable
905
+
906
+ # The id of the slash command invoked.
907
+ # Corresponds to the JSON property `commandId`
908
+ # @return [Fixnum]
909
+ attr_accessor :command_id
910
+
911
+ def initialize(**args)
912
+ update!(**args)
913
+ end
914
+
915
+ # Update properties of this object
916
+ def update!(**args)
917
+ @command_id = args[:command_id] if args.key?(:command_id)
918
+ end
919
+ end
920
+
921
+ # Annotation metadata for slash commands (/).
922
+ class SlashCommandMetadata
923
+ include Google::Apis::Core::Hashable
924
+
925
+ # A user in Hangouts Chat.
926
+ # Corresponds to the JSON property `bot`
927
+ # @return [Google::Apis::ChatV1::User]
928
+ attr_accessor :bot
929
+
930
+ # The command id of the invoked slash command.
931
+ # Corresponds to the JSON property `commandId`
932
+ # @return [Fixnum]
933
+ attr_accessor :command_id
934
+
935
+ # The name of the invoked slash command.
936
+ # Corresponds to the JSON property `commandName`
937
+ # @return [String]
938
+ attr_accessor :command_name
939
+
940
+ # Indicating whether the slash command is for a dialog.
941
+ # Corresponds to the JSON property `triggersDialog`
942
+ # @return [Boolean]
943
+ attr_accessor :triggers_dialog
944
+ alias_method :triggers_dialog?, :triggers_dialog
945
+
946
+ # The type of slash command.
947
+ # Corresponds to the JSON property `type`
948
+ # @return [String]
949
+ attr_accessor :type
950
+
951
+ def initialize(**args)
952
+ update!(**args)
953
+ end
954
+
955
+ # Update properties of this object
956
+ def update!(**args)
957
+ @bot = args[:bot] if args.key?(:bot)
958
+ @command_id = args[:command_id] if args.key?(:command_id)
959
+ @command_name = args[:command_name] if args.key?(:command_name)
960
+ @triggers_dialog = args[:triggers_dialog] if args.key?(:triggers_dialog)
961
+ @type = args[:type] if args.key?(:type)
962
+ end
963
+ end
964
+
891
965
  # A room or DM in Hangouts Chat.
892
966
  class Space
893
967
  include Google::Apis::Core::Hashable
@@ -1014,6 +1088,13 @@ module Google
1014
1088
  # @return [String]
1015
1089
  attr_accessor :domain_id
1016
1090
 
1091
+ # Set to true if none of the depending services (Gaia, PeopleApi) returns any
1092
+ # info for this user.
1093
+ # Corresponds to the JSON property `isAnonymous`
1094
+ # @return [Boolean]
1095
+ attr_accessor :is_anonymous
1096
+ alias_method :is_anonymous?, :is_anonymous
1097
+
1017
1098
  # Resource name, in the format "users/*".
1018
1099
  # Corresponds to the JSON property `name`
1019
1100
  # @return [String]
@@ -1032,6 +1113,7 @@ module Google
1032
1113
  def update!(**args)
1033
1114
  @display_name = args[:display_name] if args.key?(:display_name)
1034
1115
  @domain_id = args[:domain_id] if args.key?(:domain_id)
1116
+ @is_anonymous = args[:is_anonymous] if args.key?(:is_anonymous)
1035
1117
  @name = args[:name] if args.key?(:name)
1036
1118
  @type = args[:type] if args.key?(:type)
1037
1119
  end
@@ -166,6 +166,18 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class SlashCommand
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class SlashCommandMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class Space
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -228,6 +240,8 @@ module Google
228
240
  # @private
229
241
  class Representation < Google::Apis::Core::JsonRepresentation
230
242
  property :length, as: 'length'
243
+ property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommandMetadata, decorator: Google::Apis::ChatV1::SlashCommandMetadata::Representation
244
+
231
245
  property :start_index, as: 'startIndex'
232
246
  property :type, as: 'type'
233
247
  property :user_mention, as: 'userMention', class: Google::Apis::ChatV1::UserMentionMetadata, decorator: Google::Apis::ChatV1::UserMentionMetadata::Representation
@@ -432,6 +446,8 @@ module Google
432
446
  property :preview_text, as: 'previewText'
433
447
  property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
434
448
 
449
+ property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommand, decorator: Google::Apis::ChatV1::SlashCommand::Representation
450
+
435
451
  property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
436
452
 
437
453
  property :text, as: 'text'
@@ -466,6 +482,25 @@ module Google
466
482
  end
467
483
  end
468
484
 
485
+ class SlashCommand
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ property :command_id, :numeric_string => true, as: 'commandId'
489
+ end
490
+ end
491
+
492
+ class SlashCommandMetadata
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :bot, as: 'bot', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
496
+
497
+ property :command_id, :numeric_string => true, as: 'commandId'
498
+ property :command_name, as: 'commandName'
499
+ property :triggers_dialog, as: 'triggersDialog'
500
+ property :type, as: 'type'
501
+ end
502
+ end
503
+
469
504
  class Space
470
505
  # @private
471
506
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -505,6 +540,7 @@ module Google
505
540
  class Representation < Google::Apis::Core::JsonRepresentation
506
541
  property :display_name, as: 'displayName'
507
542
  property :domain_id, as: 'domainId'
543
+ property :is_anonymous, as: 'isAnonymous'
508
544
  property :name, as: 'name'
509
545
  property :type, as: 'type'
510
546
  end
@@ -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 = '20200909'
28
+ REVISION = '20201019'
29
29
  end
30
30
  end
31
31
  end