google-api-python-client 2.124.0__py2.py3-none-any.whl → 2.126.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. {google_api_python_client-2.124.0.dist-info → google_api_python_client-2.126.0.dist-info}/METADATA +3 -3
  2. {google_api_python_client-2.124.0.dist-info → google_api_python_client-2.126.0.dist-info}/RECORD +381 -375
  3. googleapiclient/discovery_cache/documents/abusiveexperiencereport.v1.json +1 -1
  4. googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json +1 -1
  5. googleapiclient/discovery_cache/documents/accessapproval.v1.json +1 -1
  6. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +1 -1
  7. googleapiclient/discovery_cache/documents/acmedns.v1.json +1 -1
  8. googleapiclient/discovery_cache/documents/addressvalidation.v1.json +834 -0
  9. googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json +1 -1
  10. googleapiclient/discovery_cache/documents/adexperiencereport.v1.json +1 -1
  11. googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json +1 -1
  12. googleapiclient/discovery_cache/documents/admin.datatransferv1.json +1 -1
  13. googleapiclient/discovery_cache/documents/admin.directory_v1.json +1 -1
  14. googleapiclient/discovery_cache/documents/admin.directoryv1.json +1 -1
  15. googleapiclient/discovery_cache/documents/admin.reports_v1.json +1 -1
  16. googleapiclient/discovery_cache/documents/admin.reportsv1.json +1 -1
  17. googleapiclient/discovery_cache/documents/admob.v1.json +1 -1
  18. googleapiclient/discovery_cache/documents/admob.v1beta.json +1 -1
  19. googleapiclient/discovery_cache/documents/adsense.v2.json +1 -1
  20. googleapiclient/discovery_cache/documents/advisorynotifications.v1.json +61 -6
  21. googleapiclient/discovery_cache/documents/aiplatform.v1.json +870 -82
  22. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +2588 -176
  23. googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json +13 -1
  24. googleapiclient/discovery_cache/documents/alloydb.v1.json +1 -1
  25. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +19 -44
  26. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +19 -44
  27. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +250 -1
  28. googleapiclient/discovery_cache/documents/analyticsadmin.v1beta.json +250 -1
  29. googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json +1 -1
  30. googleapiclient/discovery_cache/documents/analyticshub.v1.json +1 -1
  31. googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json +1 -1
  32. googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json +1 -1
  33. googleapiclient/discovery_cache/documents/androidenterprise.v1.json +2 -2
  34. googleapiclient/discovery_cache/documents/androidmanagement.v1.json +9 -8
  35. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +32 -6
  36. googleapiclient/discovery_cache/documents/apigee.v1.json +1 -1
  37. googleapiclient/discovery_cache/documents/apikeys.v2.json +1 -1
  38. googleapiclient/discovery_cache/documents/appengine.v1.json +1 -1
  39. googleapiclient/discovery_cache/documents/appengine.v1alpha.json +1 -1
  40. googleapiclient/discovery_cache/documents/appengine.v1beta.json +1 -1
  41. googleapiclient/discovery_cache/documents/apphub.v1.json +1 -1
  42. googleapiclient/discovery_cache/documents/apphub.v1alpha.json +7 -4
  43. googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json +1 -1
  44. googleapiclient/discovery_cache/documents/artifactregistry.v1.json +5 -3
  45. googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json +1 -1
  46. googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json +1 -1
  47. googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +9 -5
  48. googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +9 -5
  49. googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json +1 -1
  50. googleapiclient/discovery_cache/documents/backupdr.v1.json +1 -1
  51. googleapiclient/discovery_cache/documents/batch.v1.json +4 -4
  52. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +1 -1
  53. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +188 -192
  54. googleapiclient/discovery_cache/documents/biglake.v1.json +1 -1
  55. googleapiclient/discovery_cache/documents/bigquery.v2.json +263 -2
  56. googleapiclient/discovery_cache/documents/bigqueryconnection.v1.json +27 -1
  57. googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json +1 -1
  58. googleapiclient/discovery_cache/documents/bigquerydatapolicy.v1.json +1 -1
  59. googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +1 -1
  60. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +97 -1
  61. googleapiclient/discovery_cache/documents/billingbudgets.v1.json +1 -1
  62. googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json +1 -1
  63. googleapiclient/discovery_cache/documents/binaryauthorization.v1.json +1 -1
  64. googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json +1 -1
  65. googleapiclient/discovery_cache/documents/blockchainnodeengine.v1.json +9 -2
  66. googleapiclient/discovery_cache/documents/blogger.v2.json +1 -1
  67. googleapiclient/discovery_cache/documents/blogger.v3.json +1 -1
  68. googleapiclient/discovery_cache/documents/books.v1.json +1 -1
  69. googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json +1 -1
  70. googleapiclient/discovery_cache/documents/calendar.v3.json +3 -3
  71. googleapiclient/discovery_cache/documents/certificatemanager.v1.json +1 -1
  72. googleapiclient/discovery_cache/documents/chat.v1.json +577 -131
  73. googleapiclient/discovery_cache/documents/checks.v1alpha.json +11 -3
  74. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +1 -1
  75. googleapiclient/discovery_cache/documents/chromepolicy.v1.json +1 -1
  76. googleapiclient/discovery_cache/documents/chromeuxreport.v1.json +1 -1
  77. googleapiclient/discovery_cache/documents/civicinfo.v2.json +1 -1
  78. googleapiclient/discovery_cache/documents/classroom.v1.json +1 -1
  79. googleapiclient/discovery_cache/documents/cloudbilling.v1.json +1 -1
  80. googleapiclient/discovery_cache/documents/cloudbilling.v1beta.json +2 -2
  81. googleapiclient/discovery_cache/documents/cloudchannel.v1.json +1 -1
  82. googleapiclient/discovery_cache/documents/cloudcontrolspartner.v1.json +1284 -0
  83. googleapiclient/discovery_cache/documents/cloudcontrolspartner.v1beta.json +1284 -0
  84. googleapiclient/discovery_cache/documents/clouddeploy.v1.json +1 -1
  85. googleapiclient/discovery_cache/documents/clouderrorreporting.v1beta1.json +2 -2
  86. googleapiclient/discovery_cache/documents/cloudfunctions.v1.json +1 -1
  87. googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +1 -1
  88. googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +1 -1
  89. googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +1 -1
  90. googleapiclient/discovery_cache/documents/cloudidentity.v1.json +1 -1
  91. googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +1 -1
  92. googleapiclient/discovery_cache/documents/cloudkms.v1.json +3 -3
  93. googleapiclient/discovery_cache/documents/cloudprofiler.v2.json +3 -3
  94. googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +1 -1
  95. googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json +1 -1
  96. googleapiclient/discovery_cache/documents/cloudshell.v1.json +1 -1
  97. googleapiclient/discovery_cache/documents/cloudsupport.v2.json +8 -7
  98. googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +8 -7
  99. googleapiclient/discovery_cache/documents/cloudtrace.v1.json +1 -1
  100. googleapiclient/discovery_cache/documents/cloudtrace.v2.json +1 -1
  101. googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json +1 -1
  102. googleapiclient/discovery_cache/documents/composer.v1.json +1 -1
  103. googleapiclient/discovery_cache/documents/composer.v1beta1.json +1 -1
  104. googleapiclient/discovery_cache/documents/compute.alpha.json +474 -8
  105. googleapiclient/discovery_cache/documents/compute.beta.json +36 -8
  106. googleapiclient/discovery_cache/documents/compute.v1.json +133 -12
  107. googleapiclient/discovery_cache/documents/connectors.v1.json +2 -2
  108. googleapiclient/discovery_cache/documents/connectors.v2.json +1 -1
  109. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +1 -1
  110. googleapiclient/discovery_cache/documents/container.v1.json +112 -4
  111. googleapiclient/discovery_cache/documents/container.v1beta1.json +160 -4
  112. googleapiclient/discovery_cache/documents/containeranalysis.v1.json +1 -1
  113. googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +1 -1
  114. googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +1 -1
  115. googleapiclient/discovery_cache/documents/content.v2.1.json +446 -16
  116. googleapiclient/discovery_cache/documents/contentwarehouse.v1.json +5517 -3919
  117. googleapiclient/discovery_cache/documents/customsearch.v1.json +1 -13
  118. googleapiclient/discovery_cache/documents/datacatalog.v1.json +1 -1
  119. googleapiclient/discovery_cache/documents/datacatalog.v1beta1.json +1 -1
  120. googleapiclient/discovery_cache/documents/dataflow.v1b3.json +1 -1
  121. googleapiclient/discovery_cache/documents/dataform.v1beta1.json +3 -4
  122. googleapiclient/discovery_cache/documents/datalineage.v1.json +1 -1
  123. googleapiclient/discovery_cache/documents/datamigration.v1.json +21 -2
  124. googleapiclient/discovery_cache/documents/datamigration.v1beta1.json +1 -1
  125. googleapiclient/discovery_cache/documents/datapipelines.v1.json +1 -1
  126. googleapiclient/discovery_cache/documents/dataplex.v1.json +23 -2
  127. googleapiclient/discovery_cache/documents/dataportability.v1.json +1 -15
  128. googleapiclient/discovery_cache/documents/dataportability.v1beta.json +1 -15
  129. googleapiclient/discovery_cache/documents/dataproc.v1.json +1 -1
  130. googleapiclient/discovery_cache/documents/datastore.v1.json +1 -1
  131. googleapiclient/discovery_cache/documents/datastore.v1beta1.json +1 -1
  132. googleapiclient/discovery_cache/documents/datastore.v1beta3.json +1 -1
  133. googleapiclient/discovery_cache/documents/datastream.v1.json +1 -1
  134. googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +1 -1
  135. googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json +1 -1
  136. googleapiclient/discovery_cache/documents/deploymentmanager.v2.json +1 -1
  137. googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json +1 -1
  138. googleapiclient/discovery_cache/documents/dialogflow.v2.json +1 -1
  139. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +1 -1
  140. googleapiclient/discovery_cache/documents/dialogflow.v3.json +27 -1
  141. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +27 -1
  142. googleapiclient/discovery_cache/documents/digitalassetlinks.v1.json +1 -1
  143. googleapiclient/discovery_cache/documents/discovery.v1.json +4 -0
  144. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +10732 -0
  145. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +2880 -227
  146. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +4054 -1086
  147. googleapiclient/discovery_cache/documents/displayvideo.v2.json +13 -1
  148. googleapiclient/discovery_cache/documents/displayvideo.v3.json +15 -1
  149. googleapiclient/discovery_cache/documents/dlp.v2.json +676 -2
  150. googleapiclient/discovery_cache/documents/dns.v1.json +1 -1
  151. googleapiclient/discovery_cache/documents/dns.v1beta2.json +1 -1
  152. googleapiclient/discovery_cache/documents/docs.v1.json +1 -1
  153. googleapiclient/discovery_cache/documents/documentai.v1.json +4 -3
  154. googleapiclient/discovery_cache/documents/documentai.v1beta2.json +1 -1
  155. googleapiclient/discovery_cache/documents/documentai.v1beta3.json +4 -3
  156. googleapiclient/discovery_cache/documents/domains.v1.json +2 -2
  157. googleapiclient/discovery_cache/documents/domains.v1alpha2.json +17 -2
  158. googleapiclient/discovery_cache/documents/domains.v1beta1.json +2 -2
  159. googleapiclient/discovery_cache/documents/domainsrdap.v1.json +1 -1
  160. googleapiclient/discovery_cache/documents/doubleclickbidmanager.v2.json +1 -1
  161. googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json +1 -1
  162. googleapiclient/discovery_cache/documents/drive.v2.json +1 -1
  163. googleapiclient/discovery_cache/documents/drive.v3.json +2 -2
  164. googleapiclient/discovery_cache/documents/driveactivity.v2.json +1 -1
  165. googleapiclient/discovery_cache/documents/drivelabels.v2.json +1 -1
  166. googleapiclient/discovery_cache/documents/drivelabels.v2beta.json +1 -1
  167. googleapiclient/discovery_cache/documents/essentialcontacts.v1.json +1 -1
  168. googleapiclient/discovery_cache/documents/eventarc.v1.json +1 -1
  169. googleapiclient/discovery_cache/documents/eventarc.v1beta1.json +1 -1
  170. googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json +70 -1
  171. googleapiclient/discovery_cache/documents/fcm.v1.json +1 -1
  172. googleapiclient/discovery_cache/documents/fcmdata.v1beta1.json +1 -1
  173. googleapiclient/discovery_cache/documents/firebase.v1beta1.json +1 -1
  174. googleapiclient/discovery_cache/documents/firebaseappcheck.v1.json +1 -1
  175. googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json +1 -1
  176. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1.json +1 -1
  177. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +1 -1
  178. googleapiclient/discovery_cache/documents/firebasedatabase.v1beta.json +1 -1
  179. googleapiclient/discovery_cache/documents/firebasedynamiclinks.v1.json +1 -1
  180. googleapiclient/discovery_cache/documents/firebasehosting.v1.json +1 -1
  181. googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json +1 -1
  182. googleapiclient/discovery_cache/documents/firebaseml.v1.json +1 -1
  183. googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json +1 -1
  184. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +1156 -0
  185. googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json +1 -1
  186. googleapiclient/discovery_cache/documents/firestore.v1.json +41 -1
  187. googleapiclient/discovery_cache/documents/firestore.v1beta1.json +41 -1
  188. googleapiclient/discovery_cache/documents/firestore.v1beta2.json +1 -1
  189. googleapiclient/discovery_cache/documents/fitness.v1.json +1 -1
  190. googleapiclient/discovery_cache/documents/forms.v1.json +1 -1
  191. googleapiclient/discovery_cache/documents/games.v1.json +1 -1
  192. googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json +1 -1
  193. googleapiclient/discovery_cache/documents/gamesManagement.v1management.json +1 -1
  194. googleapiclient/discovery_cache/documents/gkebackup.v1.json +187 -1
  195. googleapiclient/discovery_cache/documents/gkehub.v1.json +64 -1
  196. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +81 -1
  197. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +64 -1
  198. googleapiclient/discovery_cache/documents/gkehub.v1beta1.json +1 -1
  199. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +1 -1
  200. googleapiclient/discovery_cache/documents/gmail.v1.json +1 -1
  201. googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json +1 -1
  202. googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json +1 -1
  203. googleapiclient/discovery_cache/documents/groupsmigration.v1.json +1 -1
  204. googleapiclient/discovery_cache/documents/healthcare.v1.json +1 -1
  205. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +1 -1
  206. googleapiclient/discovery_cache/documents/homegraph.v1.json +1 -1
  207. googleapiclient/discovery_cache/documents/iam.v1.json +1 -1
  208. googleapiclient/discovery_cache/documents/iam.v2.json +1 -1
  209. googleapiclient/discovery_cache/documents/iam.v2beta.json +1 -1
  210. googleapiclient/discovery_cache/documents/iamcredentials.v1.json +1 -1
  211. googleapiclient/discovery_cache/documents/iap.v1.json +1 -1
  212. googleapiclient/discovery_cache/documents/iap.v1beta1.json +1 -1
  213. googleapiclient/discovery_cache/documents/identitytoolkit.v1.json +1 -1
  214. googleapiclient/discovery_cache/documents/identitytoolkit.v2.json +1 -1
  215. googleapiclient/discovery_cache/documents/indexing.v3.json +1 -1
  216. googleapiclient/discovery_cache/documents/integrations.v1alpha.json +50 -6
  217. googleapiclient/discovery_cache/documents/keep.v1.json +1 -1
  218. googleapiclient/discovery_cache/documents/kgsearch.v1.json +1 -1
  219. googleapiclient/discovery_cache/documents/kmsinventory.v1.json +1 -1
  220. googleapiclient/discovery_cache/documents/language.v1.json +1 -1
  221. googleapiclient/discovery_cache/documents/language.v1beta2.json +1 -1
  222. googleapiclient/discovery_cache/documents/language.v2.json +1 -1
  223. googleapiclient/discovery_cache/documents/libraryagent.v1.json +1 -1
  224. googleapiclient/discovery_cache/documents/licensing.v1.json +1 -1
  225. googleapiclient/discovery_cache/documents/lifesciences.v2beta.json +1 -1
  226. googleapiclient/discovery_cache/documents/localservices.v1.json +1 -1
  227. googleapiclient/discovery_cache/documents/logging.v2.json +1 -1
  228. googleapiclient/discovery_cache/documents/looker.v1.json +1 -1
  229. googleapiclient/discovery_cache/documents/manufacturers.v1.json +1 -1
  230. googleapiclient/discovery_cache/documents/marketingplatformadmin.v1alpha.json +44 -1
  231. googleapiclient/discovery_cache/documents/metastore.v1.json +2 -2
  232. googleapiclient/discovery_cache/documents/metastore.v1alpha.json +430 -2
  233. googleapiclient/discovery_cache/documents/metastore.v1beta.json +430 -2
  234. googleapiclient/discovery_cache/documents/migrationcenter.v1.json +378 -3
  235. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +387 -12
  236. googleapiclient/discovery_cache/documents/monitoring.v1.json +1 -1
  237. googleapiclient/discovery_cache/documents/monitoring.v3.json +26 -3
  238. googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json +1 -1
  239. googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +1 -1
  240. googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json +1 -1
  241. googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json +1 -1
  242. googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json +1 -1
  243. googleapiclient/discovery_cache/documents/mybusinessqanda.v1.json +1 -1
  244. googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +1 -1
  245. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +2 -2
  246. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +2 -2
  247. googleapiclient/discovery_cache/documents/networksecurity.v1.json +1 -1
  248. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +1 -1
  249. googleapiclient/discovery_cache/documents/networkservices.v1.json +1 -1
  250. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +1 -1
  251. googleapiclient/discovery_cache/documents/notebooks.v1.json +1 -1
  252. googleapiclient/discovery_cache/documents/notebooks.v2.json +1 -1
  253. googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +1 -1
  254. googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +1 -1
  255. googleapiclient/discovery_cache/documents/orgpolicy.v2.json +56 -1
  256. googleapiclient/discovery_cache/documents/osconfig.v1.json +10 -10
  257. googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +1 -1
  258. googleapiclient/discovery_cache/documents/osconfig.v1beta.json +1 -1
  259. googleapiclient/discovery_cache/documents/oslogin.v1.json +1 -1
  260. googleapiclient/discovery_cache/documents/oslogin.v1alpha.json +1 -1
  261. googleapiclient/discovery_cache/documents/oslogin.v1beta.json +1 -1
  262. googleapiclient/discovery_cache/documents/pagespeedonline.v5.json +1 -1
  263. googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +7 -2
  264. googleapiclient/discovery_cache/documents/people.v1.json +1 -1
  265. googleapiclient/discovery_cache/documents/places.v1.json +4 -4
  266. googleapiclient/discovery_cache/documents/playcustomapp.v1.json +1 -1
  267. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1alpha1.json +1 -1
  268. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json +1 -1
  269. googleapiclient/discovery_cache/documents/playgrouping.v1alpha1.json +1 -1
  270. googleapiclient/discovery_cache/documents/playintegrity.v1.json +1 -1
  271. googleapiclient/discovery_cache/documents/policyanalyzer.v1.json +1 -1
  272. googleapiclient/discovery_cache/documents/policyanalyzer.v1beta1.json +1 -1
  273. googleapiclient/discovery_cache/documents/policysimulator.v1.json +1 -1
  274. googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json +1 -1
  275. googleapiclient/discovery_cache/documents/policysimulator.v1beta.json +1 -1
  276. googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json +1 -1
  277. googleapiclient/discovery_cache/documents/policytroubleshooter.v1beta.json +1 -1
  278. googleapiclient/discovery_cache/documents/privateca.v1.json +1 -1
  279. googleapiclient/discovery_cache/documents/privateca.v1beta1.json +1 -1
  280. googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json +1 -1
  281. googleapiclient/discovery_cache/documents/publicca.v1.json +1 -1
  282. googleapiclient/discovery_cache/documents/publicca.v1alpha1.json +1 -1
  283. googleapiclient/discovery_cache/documents/publicca.v1beta1.json +1 -1
  284. googleapiclient/discovery_cache/documents/pubsub.v1.json +5 -1
  285. googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json +1 -1
  286. googleapiclient/discovery_cache/documents/pubsub.v1beta2.json +1 -1
  287. googleapiclient/discovery_cache/documents/pubsublite.v1.json +1 -1
  288. googleapiclient/discovery_cache/documents/rapidmigrationassessment.v1.json +1 -1
  289. googleapiclient/discovery_cache/documents/readerrevenuesubscriptionlinking.v1.json +1 -1
  290. googleapiclient/discovery_cache/documents/realtimebidding.v1.json +1 -1
  291. googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +15 -1
  292. googleapiclient/discovery_cache/documents/recommendationengine.v1beta1.json +1 -1
  293. googleapiclient/discovery_cache/documents/recommender.v1.json +3 -3
  294. googleapiclient/discovery_cache/documents/recommender.v1beta1.json +1 -1
  295. googleapiclient/discovery_cache/documents/redis.v1.json +25 -1
  296. googleapiclient/discovery_cache/documents/redis.v1beta1.json +25 -1
  297. googleapiclient/discovery_cache/documents/reseller.v1.json +1 -1
  298. googleapiclient/discovery_cache/documents/resourcesettings.v1.json +1 -1
  299. googleapiclient/discovery_cache/documents/retail.v2.json +6 -2
  300. googleapiclient/discovery_cache/documents/retail.v2alpha.json +6 -2
  301. googleapiclient/discovery_cache/documents/retail.v2beta.json +6 -2
  302. googleapiclient/discovery_cache/documents/run.v1.json +2 -2
  303. googleapiclient/discovery_cache/documents/run.v2.json +290 -5
  304. googleapiclient/discovery_cache/documents/safebrowsing.v4.json +1 -1
  305. googleapiclient/discovery_cache/documents/safebrowsing.v5.json +6 -6
  306. googleapiclient/discovery_cache/documents/sasportal.v1alpha1.json +1 -1
  307. googleapiclient/discovery_cache/documents/script.v1.json +1 -1
  308. googleapiclient/discovery_cache/documents/searchads360.v0.json +273 -26
  309. googleapiclient/discovery_cache/documents/searchconsole.v1.json +1 -1
  310. googleapiclient/discovery_cache/documents/securitycenter.v1.json +821 -6
  311. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +765 -6
  312. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +765 -6
  313. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +1 -1
  314. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +1 -1
  315. googleapiclient/discovery_cache/documents/servicecontrol.v1.json +1 -1
  316. googleapiclient/discovery_cache/documents/servicecontrol.v2.json +11 -2
  317. googleapiclient/discovery_cache/documents/servicemanagement.v1.json +1 -1
  318. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +3 -3
  319. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +3 -3
  320. googleapiclient/discovery_cache/documents/serviceusage.v1.json +1 -1
  321. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +1 -1
  322. googleapiclient/discovery_cache/documents/sheets.v4.json +5 -3
  323. googleapiclient/discovery_cache/documents/slides.v1.json +1 -1
  324. googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json +1 -1
  325. googleapiclient/discovery_cache/documents/solar.v1.json +926 -0
  326. googleapiclient/discovery_cache/documents/sourcerepo.v1.json +1 -1
  327. googleapiclient/discovery_cache/documents/spanner.v1.json +41 -1
  328. googleapiclient/discovery_cache/documents/speech.v1.json +1 -1
  329. googleapiclient/discovery_cache/documents/speech.v1p1beta1.json +1 -1
  330. googleapiclient/discovery_cache/documents/sqladmin.v1.json +18 -3
  331. googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +19 -4
  332. googleapiclient/discovery_cache/documents/storage.v1.json +2 -2
  333. googleapiclient/discovery_cache/documents/storagetransfer.v1.json +5 -5
  334. googleapiclient/discovery_cache/documents/streetviewpublish.v1.json +1 -1
  335. googleapiclient/discovery_cache/documents/sts.v1.json +1 -1
  336. googleapiclient/discovery_cache/documents/sts.v1beta.json +1 -1
  337. googleapiclient/discovery_cache/documents/tagmanager.v1.json +1 -1
  338. googleapiclient/discovery_cache/documents/tagmanager.v2.json +1 -1
  339. googleapiclient/discovery_cache/documents/tasks.v1.json +1 -1
  340. googleapiclient/discovery_cache/documents/testing.v1.json +1 -1
  341. googleapiclient/discovery_cache/documents/toolresults.v1beta3.json +1 -1
  342. googleapiclient/discovery_cache/documents/tpu.v1.json +1 -1
  343. googleapiclient/discovery_cache/documents/tpu.v1alpha1.json +1 -1
  344. googleapiclient/discovery_cache/documents/tpu.v2.json +5 -3
  345. googleapiclient/discovery_cache/documents/tpu.v2alpha1.json +1 -1
  346. googleapiclient/discovery_cache/documents/trafficdirector.v2.json +1 -1
  347. googleapiclient/discovery_cache/documents/trafficdirector.v3.json +25 -2
  348. googleapiclient/discovery_cache/documents/travelimpactmodel.v1.json +1 -1
  349. googleapiclient/discovery_cache/documents/vault.v1.json +1 -1
  350. googleapiclient/discovery_cache/documents/verifiedaccess.v1.json +1 -1
  351. googleapiclient/discovery_cache/documents/verifiedaccess.v2.json +5 -1
  352. googleapiclient/discovery_cache/documents/versionhistory.v1.json +23 -21
  353. googleapiclient/discovery_cache/documents/videointelligence.v1.json +1 -1
  354. googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json +1 -1
  355. googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json +1 -1
  356. googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json +1 -1
  357. googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json +1 -1
  358. googleapiclient/discovery_cache/documents/vision.v1.json +1 -1
  359. googleapiclient/discovery_cache/documents/vision.v1p1beta1.json +1 -1
  360. googleapiclient/discovery_cache/documents/vision.v1p2beta1.json +1 -1
  361. googleapiclient/discovery_cache/documents/vmmigration.v1.json +1 -1
  362. googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +1 -1
  363. googleapiclient/discovery_cache/documents/vpcaccess.v1.json +1 -1
  364. googleapiclient/discovery_cache/documents/walletobjects.v1.json +1 -1
  365. googleapiclient/discovery_cache/documents/webfonts.v1.json +1 -1
  366. googleapiclient/discovery_cache/documents/webrisk.v1.json +1 -1
  367. googleapiclient/discovery_cache/documents/websecurityscanner.v1.json +1 -1
  368. googleapiclient/discovery_cache/documents/websecurityscanner.v1alpha.json +1 -1
  369. googleapiclient/discovery_cache/documents/websecurityscanner.v1beta.json +1 -1
  370. googleapiclient/discovery_cache/documents/workflowexecutions.v1.json +1 -1
  371. googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json +1 -1
  372. googleapiclient/discovery_cache/documents/workflows.v1.json +1 -1
  373. googleapiclient/discovery_cache/documents/workflows.v1beta.json +1 -1
  374. googleapiclient/discovery_cache/documents/workspaceevents.v1.json +2 -2
  375. googleapiclient/discovery_cache/documents/workstations.v1.json +1 -1
  376. googleapiclient/discovery_cache/documents/workstations.v1beta.json +8 -1
  377. googleapiclient/discovery_cache/documents/youtube.v3.json +3 -1
  378. googleapiclient/version.py +1 -1
  379. {google_api_python_client-2.124.0.dist-info → google_api_python_client-2.126.0.dist-info}/LICENSE +0 -0
  380. {google_api_python_client-2.124.0.dist-info → google_api_python_client-2.126.0.dist-info}/WHEEL +0 -0
  381. {google_api_python_client-2.124.0.dist-info → google_api_python_client-2.126.0.dist-info}/top_level.txt +0 -0
@@ -178,7 +178,7 @@
178
178
  "supportsMediaDownload": true
179
179
  },
180
180
  "upload": {
181
- "description": "Uploads an attachment. For an example, see [Upload media as a file attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/upload). Requires user [authentication](https://developers.google.com/chat/api/guides/auth/users). You can upload attachments up to 200 MB. Certain file types aren't supported. For details, see [File types blocked by Google Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).",
181
+ "description": "Uploads an attachment. For an example, see [Upload media as a file attachment](https://developers.google.com/workspace/chat/upload-media-attachments). Requires user [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). You can upload attachments up to 200 MB. Certain file types aren't supported. For details, see [File types blocked by Google Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).",
182
182
  "flatPath": "v1/spaces/{spacesId}/attachments:upload",
183
183
  "httpMethod": "POST",
184
184
  "id": "chat.media.upload",
@@ -229,7 +229,7 @@
229
229
  "spaces": {
230
230
  "methods": {
231
231
  "completeImport": {
232
- "description": "Completes the [import process](https://developers.google.com/chat/api/guides/import-data) for the specified space and makes it visible to users. Requires app authentication and domain-wide delegation. For more information, see [Authorize Google Chat apps to import data](https://developers.google.com/chat/api/guides/authorize-import).",
232
+ "description": "Completes the [import process](https://developers.google.com/workspace/chat/import-data) for the specified space and makes it visible to users. Requires app authentication and domain-wide delegation. For more information, see [Authorize Google Chat apps to import data](https://developers.google.com/workspace/chat/authorize-import).",
233
233
  "flatPath": "v1/spaces/{spacesId}:completeImport",
234
234
  "httpMethod": "POST",
235
235
  "id": "chat.spaces.completeImport",
@@ -257,7 +257,7 @@
257
257
  ]
258
258
  },
259
259
  "create": {
260
- "description": "Creates a named space. Spaces grouped by topics aren't supported. For an example, see [Create a space](https://developers.google.com/chat/api/guides/v1/spaces/create). If you receive the error message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
260
+ "description": "Creates a named space. Spaces grouped by topics aren't supported. For an example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces). If you receive the error message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
261
261
  "flatPath": "v1/spaces",
262
262
  "httpMethod": "POST",
263
263
  "id": "chat.spaces.create",
@@ -283,7 +283,7 @@
283
283
  ]
284
284
  },
285
285
  "delete": {
286
- "description": "Deletes a named space. Always performs a cascading delete, which means that the space's child resources\u2014like messages posted in the space and memberships in the space\u2014are also deleted. For an example, see [Delete a space](https://developers.google.com/chat/api/guides/v1/spaces/delete). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) from a user who has permission to delete the space.",
286
+ "description": "Deletes a named space. Always performs a cascading delete, which means that the space's child resources\u2014like messages posted in the space and memberships in the space\u2014are also deleted. For an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) from a user who has permission to delete the space.",
287
287
  "flatPath": "v1/spaces/{spacesId}",
288
288
  "httpMethod": "DELETE",
289
289
  "id": "chat.spaces.delete",
@@ -309,14 +309,14 @@
309
309
  ]
310
310
  },
311
311
  "findDirectMessage": {
312
- "description": "Returns the existing direct message with the specified user. If no direct message space is found, returns a `404 NOT_FOUND` error. For an example, see [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message). With [user authentication](https://developers.google.com/chat/api/guides/auth/users), returns the direct message space between the specified user and the authenticated user. With [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts), returns the direct message space between the specified user and the calling Chat app. Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) or [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).",
312
+ "description": "Returns the existing direct message with the specified user. If no direct message space is found, returns a `404 NOT_FOUND` error. For an example, see [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message). With [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), returns the direct message space between the specified user and the authenticated user. With [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app), returns the direct message space between the specified user and the calling Chat app. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) or [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).",
313
313
  "flatPath": "v1/spaces:findDirectMessage",
314
314
  "httpMethod": "GET",
315
315
  "id": "chat.spaces.findDirectMessage",
316
316
  "parameterOrder": [],
317
317
  "parameters": {
318
318
  "name": {
319
- "description": "Required. Resource name of the user to find direct message with. Format: `users/{user}`, where `{user}` is either the `id` for the [person](https://developers.google.com/people/api/rest/v1/people) from the People API, or the `id` for the [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) in the Directory API. For example, if the People API profile ID is `123456789`, you can find a direct message with that person by using `users/123456789` as the `name`. When [authenticated as a user](https://developers.google.com/chat/api/guides/auth/users), you can use the email as an alias for `{user}`. For example, `users/example@gmail.com` where `example@gmail.com` is the email of the Google Chat user.",
319
+ "description": "Required. Resource name of the user to find direct message with. Format: `users/{user}`, where `{user}` is either the `id` for the [person](https://developers.google.com/people/api/rest/v1/people) from the People API, or the `id` for the [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) in the Directory API. For example, if the People API profile ID is `123456789`, you can find a direct message with that person by using `users/123456789` as the `name`. When [authenticated as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), you can use the email as an alias for `{user}`. For example, `users/example@gmail.com` where `example@gmail.com` is the email of the Google Chat user.",
320
320
  "location": "query",
321
321
  "type": "string"
322
322
  }
@@ -332,7 +332,7 @@
332
332
  ]
333
333
  },
334
334
  "get": {
335
- "description": "Returns details about a space. For an example, see [Get a space](https://developers.google.com/chat/api/guides/v1/spaces/get). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
335
+ "description": "Returns details about a space. For an example, see [Get details about a space](https://developers.google.com/workspace/chat/get-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
336
336
  "flatPath": "v1/spaces/{spacesId}",
337
337
  "httpMethod": "GET",
338
338
  "id": "chat.spaces.get",
@@ -359,14 +359,14 @@
359
359
  ]
360
360
  },
361
361
  "list": {
362
- "description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/chat/api/guides/v1/spaces/list). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent.",
362
+ "description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent.",
363
363
  "flatPath": "v1/spaces",
364
364
  "httpMethod": "GET",
365
365
  "id": "chat.spaces.list",
366
366
  "parameterOrder": [],
367
367
  "parameters": {
368
368
  "filter": {
369
- "description": "Optional. A query filter. You can filter spaces by the space type ([`space_type`](https://developers.google.com/chat/api/reference/rest/v1/spaces#spacetype)). To filter by space type, you must specify valid enum value, such as `SPACE` or `GROUP_CHAT` (the `space_type` can't be `SPACE_TYPE_UNSPECIFIED`). To query for multiple space types, use the `OR` operator. For example, the following queries are valid: ``` space_type = \"SPACE\" spaceType = \"GROUP_CHAT\" OR spaceType = \"DIRECT_MESSAGE\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.",
369
+ "description": "Optional. A query filter. You can filter spaces by the space type ([`space_type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#spacetype)). To filter by space type, you must specify valid enum value, such as `SPACE` or `GROUP_CHAT` (the `space_type` can't be `SPACE_TYPE_UNSPECIFIED`). To query for multiple space types, use the `OR` operator. For example, the following queries are valid: ``` space_type = \"SPACE\" spaceType = \"GROUP_CHAT\" OR spaceType = \"DIRECT_MESSAGE\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.",
370
370
  "location": "query",
371
371
  "type": "string"
372
372
  },
@@ -393,7 +393,7 @@
393
393
  ]
394
394
  },
395
395
  "patch": {
396
- "description": "Updates a space. For an example, see [Update a space](https://developers.google.com/chat/api/guides/v1/spaces/update). If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`, try a different display name.. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
396
+ "description": "Updates a space. For an example, see [Update a space](https://developers.google.com/workspace/chat/update-spaces). If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`, try a different display name.. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
397
397
  "flatPath": "v1/spaces/{spacesId}",
398
398
  "httpMethod": "PATCH",
399
399
  "id": "chat.spaces.patch",
@@ -428,7 +428,7 @@
428
428
  ]
429
429
  },
430
430
  "setup": {
431
- "description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space](https://developers.google.com/chat/api/guides/v1/spaces/set-up). To specify the human members to add, add memberships with the appropriate `member.name` in the `SetUpSpaceRequest`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. For a space or group chat, if the caller blocks or is blocked by some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [create a membership](https://developers.google.com/chat/api/guides/v1/members/create). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
431
+ "description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `member.name` in the `SetUpSpaceRequest`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. For a space or group chat, if the caller blocks or is blocked by some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
432
432
  "flatPath": "v1/spaces:setup",
433
433
  "httpMethod": "POST",
434
434
  "id": "chat.spaces.setup",
@@ -451,7 +451,7 @@
451
451
  "members": {
452
452
  "methods": {
453
453
  "create": {
454
- "description": "Creates a human membership or app membership for the calling app. Creating memberships for other apps isn't supported. For an example, see [ Create a membership](https://developers.google.com/chat/api/guides/v1/members/create). When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users). To specify the member to add, set the `membership.member.name` in the `CreateMembershipRequest`: - To add the calling app to a space or a direct message between two human users, use `users/app`. Unable to add other apps to the space. - To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`.",
454
+ "description": "Creates a human membership or app membership for the calling app. Creating memberships for other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a space](https://developers.google.com/workspace/chat/create-members). When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To specify the member to add, set the `membership.member.name` in the `CreateMembershipRequest`: - To add the calling app to a space or a direct message between two human users, use `users/app`. Unable to add other apps to the space. - To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`.",
455
455
  "flatPath": "v1/spaces/{spacesId}/members",
456
456
  "httpMethod": "POST",
457
457
  "id": "chat.spaces.members.create",
@@ -481,7 +481,7 @@
481
481
  ]
482
482
  },
483
483
  "delete": {
484
- "description": "Deletes a membership. For an example, see [Delete a membership](https://developers.google.com/chat/api/guides/v1/members/delete). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
484
+ "description": "Deletes a membership. For an example, see [Remove a user or a Google Chat app from a space](https://developers.google.com/workspace/chat/delete-members). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
485
485
  "flatPath": "v1/spaces/{spacesId}/members/{membersId}",
486
486
  "httpMethod": "DELETE",
487
487
  "id": "chat.spaces.members.delete",
@@ -508,7 +508,7 @@
508
508
  ]
509
509
  },
510
510
  "get": {
511
- "description": "Returns details about a membership. For an example, see [Get a membership](https://developers.google.com/chat/api/guides/v1/members/get). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
511
+ "description": "Returns details about a membership. For an example, see [Get details about a user's or Google Chat app's membership](https://developers.google.com/workspace/chat/get-members). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
512
512
  "flatPath": "v1/spaces/{spacesId}/members/{membersId}",
513
513
  "httpMethod": "GET",
514
514
  "id": "chat.spaces.members.get",
@@ -517,7 +517,7 @@
517
517
  ],
518
518
  "parameters": {
519
519
  "name": {
520
- "description": "Required. Resource name of the membership to retrieve. To get the app's own membership, you can optionally use `spaces/{space}/members/app`. Format: `spaces/{space}/members/{member}` or `spaces/{space}/members/app` When [authenticated as a user](https://developers.google.com/chat/api/guides/auth/users), you can use the user's email as an alias for `{member}`. For example, `spaces/{space}/members/example@gmail.com` where `example@gmail.com` is the email of the Google Chat user.",
520
+ "description": "Required. Resource name of the membership to retrieve. To get the app's own membership, you can optionally use `spaces/{space}/members/app`. Format: `spaces/{space}/members/{member}` or `spaces/{space}/members/app` When [authenticated as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), you can use the user's email as an alias for `{member}`. For example, `spaces/{space}/members/example@gmail.com` where `example@gmail.com` is the email of the Google Chat user.",
521
521
  "location": "path",
522
522
  "pattern": "^spaces/[^/]+/members/[^/]+$",
523
523
  "required": true,
@@ -535,7 +535,7 @@
535
535
  ]
536
536
  },
537
537
  "list": {
538
- "description": "Lists memberships in a space. For an example, see [List memberships](https://developers.google.com/chat/api/guides/v1/members/list). Listing memberships with [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/chat/api/guides/auth/users) lists memberships in spaces that the authenticated user has access to. Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
538
+ "description": "Lists memberships in a space. For an example, see [List users and Google Chat apps in a space](https://developers.google.com/workspace/chat/list-members). Listing memberships with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) lists memberships in spaces that the authenticated user has access to. Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
539
539
  "flatPath": "v1/spaces/{spacesId}/members",
540
540
  "httpMethod": "GET",
541
541
  "id": "chat.spaces.members.list",
@@ -544,7 +544,7 @@
544
544
  ],
545
545
  "parameters": {
546
546
  "filter": {
547
- "description": "Optional. A query filter. You can filter memberships by a member's role ([`role`](https://developers.google.com/chat/api/reference/rest/v1/spaces.members#membershiprole)) and type ([`member.type`](https://developers.google.com/chat/api/reference/rest/v1/User#type)). To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter by type, set `member.type` to `HUMAN` or `BOT`. To filter by both role and type, use the `AND` operator. To filter by either role or type, use the `OR` operator. For example, the following queries are valid: ``` role = \"ROLE_MANAGER\" OR role = \"ROLE_MEMBER\" member.type = \"HUMAN\" AND role = \"ROLE_MANAGER\" ``` The following queries are invalid: ``` member.type = \"HUMAN\" AND member.type = \"BOT\" role = \"ROLE_MANAGER\" AND role = \"ROLE_MEMBER\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.",
547
+ "description": "Optional. A query filter. You can filter memberships by a member's role ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole)) and type ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter by type, set `member.type` to `HUMAN` or `BOT`. To filter by both role and type, use the `AND` operator. To filter by either role or type, use the `OR` operator. For example, the following queries are valid: ``` role = \"ROLE_MANAGER\" OR role = \"ROLE_MEMBER\" member.type = \"HUMAN\" AND role = \"ROLE_MANAGER\" ``` The following queries are invalid: ``` member.type = \"HUMAN\" AND member.type = \"BOT\" role = \"ROLE_MANAGER\" AND role = \"ROLE_MEMBER\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.",
548
548
  "location": "query",
549
549
  "type": "string"
550
550
  },
@@ -572,7 +572,7 @@
572
572
  "type": "boolean"
573
573
  },
574
574
  "showInvited": {
575
- "description": "Optional. When `true`, also returns memberships associated with invited members, in addition to other types of memberships. If a filter is set, invited memberships that don't match the filter criteria aren't returned. Currently requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
575
+ "description": "Optional. When `true`, also returns memberships associated with invited members, in addition to other types of memberships. If a filter is set, invited memberships that don't match the filter criteria aren't returned. Currently requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
576
576
  "location": "query",
577
577
  "type": "boolean"
578
578
  }
@@ -593,7 +593,7 @@
593
593
  "messages": {
594
594
  "methods": {
595
595
  "create": {
596
- "description": "Creates a message in a Google Chat space. For an example, see [Create a message](https://developers.google.com/chat/api/guides/v1/messages/create). Calling this method requires [authentication](https://developers.google.com/chat/api/guides/auth) and supports the following authentication types: - For text messages, user authentication or app authentication are supported. - For card messages, only app authentication is supported. (Only Chat apps can create card messages.)",
596
+ "description": "Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). Calling this method requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and supports the following authentication types: - For text messages, user authentication or app authentication are supported. - For card messages, only app authentication is supported. (Only Chat apps can create card messages.)",
597
597
  "flatPath": "v1/spaces/{spacesId}/messages",
598
598
  "httpMethod": "POST",
599
599
  "id": "chat.spaces.messages.create",
@@ -602,7 +602,7 @@
602
602
  ],
603
603
  "parameters": {
604
604
  "messageId": {
605
- "description": "Optional. A custom ID for a message. Lets Chat apps get, update, or delete a message without needing to store the system-assigned ID in the message's resource name (represented in the message `name` field). The value for this field must meet the following requirements: * Begins with `client-`. For example, `client-custom-name` is a valid custom ID, but `custom-name` is not. * Contains up to 63 characters and only lowercase letters, numbers, and hyphens. * Is unique within a space. A Chat app can't use the same custom ID for different messages. For details, see [Name a message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).",
605
+ "description": "Optional. A custom ID for a message. Lets Chat apps get, update, or delete a message without needing to store the system-assigned ID in the message's resource name (represented in the message `name` field). The value for this field must meet the following requirements: * Begins with `client-`. For example, `client-custom-name` is a valid custom ID, but `custom-name` is not. * Contains up to 63 characters and only lowercase letters, numbers, and hyphens. * Is unique within a space. A Chat app can't use the same custom ID for different messages. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).",
606
606
  "location": "query",
607
607
  "type": "string"
608
608
  },
@@ -635,7 +635,7 @@
635
635
  },
636
636
  "threadKey": {
637
637
  "deprecated": true,
638
- "description": "Optional. Deprecated: Use thread.thread_key instead. ID for the thread. Supports up to 4000 characters. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread).",
638
+ "description": "Optional. Deprecated: Use thread.thread_key instead. ID for the thread. Supports up to 4000 characters. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).",
639
639
  "location": "query",
640
640
  "type": "string"
641
641
  }
@@ -655,7 +655,7 @@
655
655
  ]
656
656
  },
657
657
  "delete": {
658
- "description": "Deletes a message. For an example, see [Delete a message](https://developers.google.com/chat/api/guides/v1/messages/delete). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). When using app authentication, requests can only delete messages created by the calling Chat app.",
658
+ "description": "Deletes a message. For an example, see [Delete a message](https://developers.google.com/workspace/chat/delete-messages). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). When using app authentication, requests can only delete messages created by the calling Chat app.",
659
659
  "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}",
660
660
  "httpMethod": "DELETE",
661
661
  "id": "chat.spaces.messages.delete",
@@ -664,12 +664,12 @@
664
664
  ],
665
665
  "parameters": {
666
666
  "force": {
667
- "description": "When `true`, deleting a message also deletes its threaded replies. When `false`, if a message has threaded replies, deletion fails. Only applies when [authenticating as a user](https://developers.google.com/chat/api/guides/auth/users). Has no effect when [authenticating as a Chat app] (https://developers.google.com/chat/api/guides/auth/service-accounts).",
667
+ "description": "When `true`, deleting a message also deletes its threaded replies. When `false`, if a message has threaded replies, deletion fails. Only applies when [authenticating as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Has no effect when [authenticating as a Chat app] (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).",
668
668
  "location": "query",
669
669
  "type": "boolean"
670
670
  },
671
671
  "name": {
672
- "description": "Required. Resource name of the message. Format: `spaces/{space}/messages/{message}` If you've set a custom ID for your message, you can use the value from the `clientAssignedMessageId` field for `{message}`. For details, see [Name a message] (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).",
672
+ "description": "Required. Resource name of the message. Format: `spaces/{space}/messages/{message}` If you've set a custom ID for your message, you can use the value from the `clientAssignedMessageId` field for `{message}`. For details, see [Name a message] (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).",
673
673
  "location": "path",
674
674
  "pattern": "^spaces/[^/]+/messages/[^/]+$",
675
675
  "required": true,
@@ -687,7 +687,7 @@
687
687
  ]
688
688
  },
689
689
  "get": {
690
- "description": "Returns details about a message. For an example, see [Read a message](https://developers.google.com/chat/api/guides/v1/messages/get). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). Note: Might return a message from a blocked member or space.",
690
+ "description": "Returns details about a message. For an example, see [Get details about a message](https://developers.google.com/workspace/chat/get-messages). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Note: Might return a message from a blocked member or space.",
691
691
  "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}",
692
692
  "httpMethod": "GET",
693
693
  "id": "chat.spaces.messages.get",
@@ -696,7 +696,7 @@
696
696
  ],
697
697
  "parameters": {
698
698
  "name": {
699
- "description": "Required. Resource name of the message. Format: `spaces/{space}/messages/{message}` If you've set a custom ID for your message, you can use the value from the `clientAssignedMessageId` field for `{message}`. For details, see [Name a message] (https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).",
699
+ "description": "Required. Resource name of the message. Format: `spaces/{space}/messages/{message}` If you've set a custom ID for your message, you can use the value from the `clientAssignedMessageId` field for `{message}`. For details, see [Name a message] (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).",
700
700
  "location": "path",
701
701
  "pattern": "^spaces/[^/]+/messages/[^/]+$",
702
702
  "required": true,
@@ -714,7 +714,7 @@
714
714
  ]
715
715
  },
716
716
  "list": {
717
- "description": "Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
717
+ "description": "Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
718
718
  "flatPath": "v1/spaces/{spacesId}/messages",
719
719
  "httpMethod": "GET",
720
720
  "id": "chat.spaces.messages.list",
@@ -767,7 +767,7 @@
767
767
  ]
768
768
  },
769
769
  "patch": {
770
- "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/chat/api/guides/v1/messages/update). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). When using app authentication, requests can only update messages created by the calling Chat app.",
770
+ "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). When using app authentication, requests can only update messages created by the calling Chat app.",
771
771
  "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}",
772
772
  "httpMethod": "PATCH",
773
773
  "id": "chat.spaces.messages.patch",
@@ -776,19 +776,19 @@
776
776
  ],
777
777
  "parameters": {
778
778
  "allowMissing": {
779
- "description": "Optional. If `true` and the message isn't found, a new message is created and `updateMask` is ignored. The specified message ID must be [client-assigned](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message) or the request fails.",
779
+ "description": "Optional. If `true` and the message isn't found, a new message is created and `updateMask` is ignored. The specified message ID must be [client-assigned](https://developers.google.com/workspace/chat/create-messages#name_a_created_message) or the request fails.",
780
780
  "location": "query",
781
781
  "type": "boolean"
782
782
  },
783
783
  "name": {
784
- "description": "Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).",
784
+ "description": "Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).",
785
785
  "location": "path",
786
786
  "pattern": "^spaces/[^/]+/messages/[^/]+$",
787
787
  "required": true,
788
788
  "type": "string"
789
789
  },
790
790
  "updateMask": {
791
- "description": "Required. The field paths to update. Separate multiple values with commas or use `*` to update all field paths. Currently supported field paths: - `text` - `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - Developer Preview: `accessory_widgets` (Requires [app authentication](/chat/api/guides/auth/service-accounts).)",
791
+ "description": "Required. The field paths to update. Separate multiple values with commas or use `*` to update all field paths. Currently supported field paths: - `text` - `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `accessory_widgets` (Requires [app authentication](/chat/api/guides/auth/service-accounts).)",
792
792
  "format": "google-fieldmask",
793
793
  "location": "query",
794
794
  "type": "string"
@@ -808,7 +808,7 @@
808
808
  ]
809
809
  },
810
810
  "update": {
811
- "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/chat/api/guides/v1/messages/update). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Supports [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). When using app authentication, requests can only update messages created by the calling Chat app.",
811
+ "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). When using app authentication, requests can only update messages created by the calling Chat app.",
812
812
  "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}",
813
813
  "httpMethod": "PUT",
814
814
  "id": "chat.spaces.messages.update",
@@ -817,19 +817,19 @@
817
817
  ],
818
818
  "parameters": {
819
819
  "allowMissing": {
820
- "description": "Optional. If `true` and the message isn't found, a new message is created and `updateMask` is ignored. The specified message ID must be [client-assigned](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message) or the request fails.",
820
+ "description": "Optional. If `true` and the message isn't found, a new message is created and `updateMask` is ignored. The specified message ID must be [client-assigned](https://developers.google.com/workspace/chat/create-messages#name_a_created_message) or the request fails.",
821
821
  "location": "query",
822
822
  "type": "boolean"
823
823
  },
824
824
  "name": {
825
- "description": "Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).",
825
+ "description": "Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).",
826
826
  "location": "path",
827
827
  "pattern": "^spaces/[^/]+/messages/[^/]+$",
828
828
  "required": true,
829
829
  "type": "string"
830
830
  },
831
831
  "updateMask": {
832
- "description": "Required. The field paths to update. Separate multiple values with commas or use `*` to update all field paths. Currently supported field paths: - `text` - `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - Developer Preview: `accessory_widgets` (Requires [app authentication](/chat/api/guides/auth/service-accounts).)",
832
+ "description": "Required. The field paths to update. Separate multiple values with commas or use `*` to update all field paths. Currently supported field paths: - `text` - `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `accessory_widgets` (Requires [app authentication](/chat/api/guides/auth/service-accounts).)",
833
833
  "format": "google-fieldmask",
834
834
  "location": "query",
835
835
  "type": "string"
@@ -853,7 +853,7 @@
853
853
  "attachments": {
854
854
  "methods": {
855
855
  "get": {
856
- "description": "Gets the metadata of a message attachment. The attachment data is fetched using the [media API](https://developers.google.com/chat/api/reference/rest/v1/media/download). For an example, see [Get a message attachment](https://developers.google.com/chat/api/guides/v1/media-and-attachments/get). Requires [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).",
856
+ "description": "Gets the metadata of a message attachment. The attachment data is fetched using the [media API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an example, see [Get metadata about a message attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).",
857
857
  "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/attachments/{attachmentsId}",
858
858
  "httpMethod": "GET",
859
859
  "id": "chat.spaces.messages.attachments.get",
@@ -882,7 +882,7 @@
882
882
  "reactions": {
883
883
  "methods": {
884
884
  "create": {
885
- "description": "Creates a reaction and adds it to a message. For an example, see [Create a reaction](https://developers.google.com/chat/api/guides/v1/reactions/create). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users). Only unicode emoji are supported.",
885
+ "description": "Creates a reaction and adds it to a message. Only unicode emojis are supported. For an example, see [Add a reaction to a message](https://developers.google.com/workspace/chat/create-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
886
886
  "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/reactions",
887
887
  "httpMethod": "POST",
888
888
  "id": "chat.spaces.messages.reactions.create",
@@ -913,7 +913,7 @@
913
913
  ]
914
914
  },
915
915
  "delete": {
916
- "description": "Deletes a reaction to a message. For an example, see [Delete a reaction](https://developers.google.com/chat/api/guides/v1/reactions/delete). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
916
+ "description": "Deletes a reaction to a message. Only unicode emojis are supported. For an example, see [Delete a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
917
917
  "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/reactions/{reactionsId}",
918
918
  "httpMethod": "DELETE",
919
919
  "id": "chat.spaces.messages.reactions.delete",
@@ -940,7 +940,7 @@
940
940
  ]
941
941
  },
942
942
  "list": {
943
- "description": "Lists reactions to a message. For an example, see [List reactions](https://developers.google.com/chat/api/guides/v1/reactions/list). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users).",
943
+ "description": "Lists reactions to a message. For an example, see [List reactions for a message](https://developers.google.com/workspace/chat/list-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
944
944
  "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/reactions",
945
945
  "httpMethod": "GET",
946
946
  "id": "chat.spaces.messages.reactions.list",
@@ -949,7 +949,7 @@
949
949
  ],
950
950
  "parameters": {
951
951
  "filter": {
952
- "description": "Optional. A query filter. You can filter reactions by [emoji](https://developers.google.com/chat/api/reference/rest/v1/Emoji) (either `emoji.unicode` or `emoji.custom_emoji.uid`) and [user](https://developers.google.com/chat/api/reference/rest/v1/User) (`user.name`). To filter reactions for multiple emojis or users, join similar fields with the `OR` operator, such as `emoji.unicode = \"\ud83d\ude42\" OR emoji.unicode = \"\ud83d\udc4d\"` and `user.name = \"users/AAAAAA\" OR user.name = \"users/BBBBBB\"`. To filter reactions by emoji and user, use the `AND` operator, such as `emoji.unicode = \"\ud83d\ude42\" AND user.name = \"users/AAAAAA\"`. If your query uses both `AND` and `OR`, group them with parentheses. For example, the following queries are valid: ``` user.name = \"users/{user}\" emoji.unicode = \"\ud83d\ude42\" emoji.custom_emoji.uid = \"{uid}\" emoji.unicode = \"\ud83d\ude42\" OR emoji.unicode = \"\ud83d\udc4d\" emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\" emoji.unicode = \"\ud83d\ude42\" AND user.name = \"users/{user}\" (emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\") AND user.name = \"users/{user}\" ``` The following queries are invalid: ``` emoji.unicode = \"\ud83d\ude42\" AND emoji.unicode = \"\ud83d\udc4d\" emoji.unicode = \"\ud83d\ude42\" AND emoji.custom_emoji.uid = \"{uid}\" emoji.unicode = \"\ud83d\ude42\" OR user.name = \"users/{user}\" emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\" OR user.name = \"users/{user}\" emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\" AND user.name = \"users/{user}\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.",
952
+ "description": "Optional. A query filter. You can filter reactions by [emoji](https://developers.google.com/workspace/chat/api/reference/rest/v1/Emoji) (either `emoji.unicode` or `emoji.custom_emoji.uid`) and [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User) (`user.name`). To filter reactions for multiple emojis or users, join similar fields with the `OR` operator, such as `emoji.unicode = \"\ud83d\ude42\" OR emoji.unicode = \"\ud83d\udc4d\"` and `user.name = \"users/AAAAAA\" OR user.name = \"users/BBBBBB\"`. To filter reactions by emoji and user, use the `AND` operator, such as `emoji.unicode = \"\ud83d\ude42\" AND user.name = \"users/AAAAAA\"`. If your query uses both `AND` and `OR`, group them with parentheses. For example, the following queries are valid: ``` user.name = \"users/{user}\" emoji.unicode = \"\ud83d\ude42\" emoji.custom_emoji.uid = \"{uid}\" emoji.unicode = \"\ud83d\ude42\" OR emoji.unicode = \"\ud83d\udc4d\" emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\" emoji.unicode = \"\ud83d\ude42\" AND user.name = \"users/{user}\" (emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\") AND user.name = \"users/{user}\" ``` The following queries are invalid: ``` emoji.unicode = \"\ud83d\ude42\" AND emoji.unicode = \"\ud83d\udc4d\" emoji.unicode = \"\ud83d\ude42\" AND emoji.custom_emoji.uid = \"{uid}\" emoji.unicode = \"\ud83d\ude42\" OR user.name = \"users/{user}\" emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\" OR user.name = \"users/{user}\" emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\" AND user.name = \"users/{user}\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.",
953
953
  "location": "query",
954
954
  "type": "string"
955
955
  },
@@ -986,13 +986,108 @@
986
986
  }
987
987
  }
988
988
  }
989
+ },
990
+ "spaceEvents": {
991
+ "methods": {
992
+ "get": {
993
+ "description": "Returns an event from a Google Chat space. The [event payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the resource that changed. For example, if you request an event about a new message but the message was later updated, the server returns the updated `Message` resource in the event payload. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To get an event, the authenticated user must be a member of the space. For an example, see [Get details about an event from a Google Chat space](https://developers.google.com/workspace/chat/get-space-event).",
994
+ "flatPath": "v1/spaces/{spacesId}/spaceEvents/{spaceEventsId}",
995
+ "httpMethod": "GET",
996
+ "id": "chat.spaces.spaceEvents.get",
997
+ "parameterOrder": [
998
+ "name"
999
+ ],
1000
+ "parameters": {
1001
+ "name": {
1002
+ "description": "Required. The resource name of the space event. Format: `spaces/{space}/spaceEvents/{spaceEvent}`",
1003
+ "location": "path",
1004
+ "pattern": "^spaces/[^/]+/spaceEvents/[^/]+$",
1005
+ "required": true,
1006
+ "type": "string"
1007
+ }
1008
+ },
1009
+ "path": "v1/{+name}",
1010
+ "response": {
1011
+ "$ref": "SpaceEvent"
1012
+ },
1013
+ "scopes": [
1014
+ "https://www.googleapis.com/auth/chat.memberships",
1015
+ "https://www.googleapis.com/auth/chat.memberships.readonly",
1016
+ "https://www.googleapis.com/auth/chat.messages",
1017
+ "https://www.googleapis.com/auth/chat.messages.reactions",
1018
+ "https://www.googleapis.com/auth/chat.messages.reactions.readonly",
1019
+ "https://www.googleapis.com/auth/chat.messages.readonly",
1020
+ "https://www.googleapis.com/auth/chat.spaces",
1021
+ "https://www.googleapis.com/auth/chat.spaces.readonly"
1022
+ ]
1023
+ },
1024
+ "list": {
1025
+ "description": "Lists events from a Google Chat space. For each event, the [payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the Chat resource. For example, if you list events about new space members, the server returns `Membership` resources that contain the latest membership details. If new members were removed during the requested period, the event payload contains an empty `Membership` resource. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To list events, the authenticated user must be a member of the space. For an example, see [List events from a Google Chat space](https://developers.google.com/workspace/chat/list-space-events).",
1026
+ "flatPath": "v1/spaces/{spacesId}/spaceEvents",
1027
+ "httpMethod": "GET",
1028
+ "id": "chat.spaces.spaceEvents.list",
1029
+ "parameterOrder": [
1030
+ "parent"
1031
+ ],
1032
+ "parameters": {
1033
+ "filter": {
1034
+ "description": "Required. A query filter. You must specify at least one event type (`event_type`) using the has `:` operator. To filter by multiple event types, use the `OR` operator. Omit batch event types in your filter. The request automatically returns any related batch events. For example, if you filter by new reactions (`google.workspace.chat.reaction.v1.created`), the server also returns batch new reactions events (`google.workspace.chat.reaction.v1.batchCreated`). For a list of supported event types, see the [`SpaceEvents` reference documentation](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.event_type). Optionally, you can also filter by start time (`start_time`) and end time (`end_time`): * `start_time`: Exclusive timestamp from which to start listing space events. You can list events that occurred up to 28 days ago. If unspecified, lists space events from the past 28 days. * `end_time`: Inclusive timestamp until which space events are listed. If unspecified, lists events up to the time of the request. To specify a start or end time, use the equals `=` operator and format in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339). To filter by both `start_time` and `end_time`, use the `AND` operator. For example, the following queries are valid: ``` start_time=\"2023-08-23T19:20:33+00:00\" AND end_time=\"2023-08-23T19:21:54+00:00\" ``` ``` start_time=\"2023-08-23T19:20:33+00:00\" AND (event_types:\"google.workspace.chat.space.v1.updated\" OR event_types:\"google.workspace.chat.message.v1.created\") ``` The following queries are invalid: ``` start_time=\"2023-08-23T19:20:33+00:00\" OR end_time=\"2023-08-23T19:21:54+00:00\" ``` ``` event_types:\"google.workspace.chat.space.v1.updated\" AND event_types:\"google.workspace.chat.message.v1.created\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.",
1035
+ "location": "query",
1036
+ "type": "string"
1037
+ },
1038
+ "pageSize": {
1039
+ "description": "Optional. The maximum number of space events returned. The service might return fewer than this value. Negative values return an `INVALID_ARGUMENT` error.",
1040
+ "format": "int32",
1041
+ "location": "query",
1042
+ "type": "integer"
1043
+ },
1044
+ "pageToken": {
1045
+ "description": "A page token, received from a previous list space events call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to list space events must match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.",
1046
+ "location": "query",
1047
+ "type": "string"
1048
+ },
1049
+ "parent": {
1050
+ "description": "Required. Resource name of the [Google Chat space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces) where the events occurred. Format: `spaces/{space}`.",
1051
+ "location": "path",
1052
+ "pattern": "^spaces/[^/]+$",
1053
+ "required": true,
1054
+ "type": "string"
1055
+ }
1056
+ },
1057
+ "path": "v1/{+parent}/spaceEvents",
1058
+ "response": {
1059
+ "$ref": "ListSpaceEventsResponse"
1060
+ },
1061
+ "scopes": [
1062
+ "https://www.googleapis.com/auth/chat.memberships",
1063
+ "https://www.googleapis.com/auth/chat.memberships.readonly",
1064
+ "https://www.googleapis.com/auth/chat.messages",
1065
+ "https://www.googleapis.com/auth/chat.messages.reactions",
1066
+ "https://www.googleapis.com/auth/chat.messages.reactions.readonly",
1067
+ "https://www.googleapis.com/auth/chat.messages.readonly",
1068
+ "https://www.googleapis.com/auth/chat.spaces",
1069
+ "https://www.googleapis.com/auth/chat.spaces.readonly"
1070
+ ]
1071
+ }
1072
+ }
989
1073
  }
990
1074
  }
991
1075
  }
992
1076
  },
993
- "revision": "20240319",
1077
+ "revision": "20240411",
994
1078
  "rootUrl": "https://chat.googleapis.com/",
995
1079
  "schemas": {
1080
+ "AccessoryWidget": {
1081
+ "description": "One or more interactive widgets that appear at the bottom of a message. For details, see [Add interactive widgets at the bottom of a message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).",
1082
+ "id": "AccessoryWidget",
1083
+ "properties": {
1084
+ "buttonList": {
1085
+ "$ref": "GoogleAppsCardV1ButtonList",
1086
+ "description": "A list of buttons."
1087
+ }
1088
+ },
1089
+ "type": "object"
1090
+ },
996
1091
  "ActionParameter": {
997
1092
  "description": "List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze one day, snooze next week. You might use `action method = snooze()`, passing the snooze type and snooze time in the list of string parameters.",
998
1093
  "id": "ActionParameter",
@@ -1014,7 +1109,7 @@
1014
1109
  "properties": {
1015
1110
  "dialogAction": {
1016
1111
  "$ref": "DialogAction",
1017
- "description": "Input only. A response to an interaction event related to a [dialog](https://developers.google.com/chat/how-tos/dialogs). Must be accompanied by `ResponseType.Dialog`."
1112
+ "description": "Input only. A response to an interaction event related to a [dialog](https://developers.google.com/workspace/chat/dialogs). Must be accompanied by `ResponseType.Dialog`."
1018
1113
  },
1019
1114
  "type": {
1020
1115
  "description": "Input only. The type of Chat app response.",
@@ -1033,7 +1128,7 @@
1033
1128
  "Update the Chat app's message. This is only permitted on a `CARD_CLICKED` event where the message sender type is `BOT`.",
1034
1129
  "Update the cards on a user's message. This is only permitted as a response to a `MESSAGE` event with a matched url, or a `CARD_CLICKED` event where the message sender type is `HUMAN`. Text is ignored.",
1035
1130
  "Privately ask the user for additional authentication or configuration.",
1036
- "Presents a [dialog](https://developers.google.com/chat/how-tos/dialogs).",
1131
+ "Presents a [dialog](https://developers.google.com/workspace/chat/dialogs).",
1037
1132
  "Widget text autocomplete options query."
1038
1133
  ],
1039
1134
  "type": "string"
@@ -1050,7 +1145,7 @@
1050
1145
  "type": "object"
1051
1146
  },
1052
1147
  "ActionStatus": {
1053
- "description": "Represents the status for a request to either invoke or submit a [dialog](https://developers.google.com/chat/how-tos/dialogs).",
1148
+ "description": "Represents the status for a request to either invoke or submit a [dialog](https://developers.google.com/workspace/chat/dialogs).",
1054
1149
  "id": "ActionStatus",
1055
1150
  "properties": {
1056
1151
  "statusCode": {
@@ -1103,7 +1198,7 @@
1103
1198
  "type": "object"
1104
1199
  },
1105
1200
  "Annotation": {
1106
- "description": "Output only. Annotations associated with the plain-text body of the message. To add basic formatting to a text message, see [Format text messages](https://developers.google.com/chat/format-messages). Example plain-text message body: ``` Hello @FooBot how are you!\" ``` The corresponding annotations metadata: ``` \"annotations\":[{ \"type\":\"USER_MENTION\", \"startIndex\":6, \"length\":7, \"userMention\": { \"user\": { \"name\":\"users/{user}\", \"displayName\":\"FooBot\", \"avatarUrl\":\"https://goo.gl/aeDtrS\", \"type\":\"BOT\" }, \"type\":\"MENTION\" } }] ```",
1201
+ "description": "Output only. Annotations associated with the plain-text body of the message. To add basic formatting to a text message, see [Format text messages](https://developers.google.com/workspace/chat/format-messages). Example plain-text message body: ``` Hello @FooBot how are you!\" ``` The corresponding annotations metadata: ``` \"annotations\":[{ \"type\":\"USER_MENTION\", \"startIndex\":6, \"length\":7, \"userMention\": { \"user\": { \"name\":\"users/{user}\", \"displayName\":\"FooBot\", \"avatarUrl\":\"https://goo.gl/aeDtrS\", \"type\":\"BOT\" }, \"type\":\"MENTION\" } }] ```",
1107
1202
  "id": "Annotation",
1108
1203
  "properties": {
1109
1204
  "length": {
@@ -1199,9 +1294,9 @@
1199
1294
  "UPLOADED_CONTENT"
1200
1295
  ],
1201
1296
  "enumDescriptions": [
1202
- "",
1203
- "",
1204
- ""
1297
+ "Reserved.",
1298
+ "The file is a Google Drive file.",
1299
+ "The file is uploaded to Chat."
1205
1300
  ],
1206
1301
  "readOnly": true,
1207
1302
  "type": "string"
@@ -1215,6 +1310,7 @@
1215
1310
  "type": "object"
1216
1311
  },
1217
1312
  "AttachmentDataRef": {
1313
+ "description": "A reference to the attachment data.",
1218
1314
  "id": "AttachmentDataRef",
1219
1315
  "properties": {
1220
1316
  "attachmentUploadToken": {
@@ -1320,7 +1416,7 @@
1320
1416
  "type": "object"
1321
1417
  },
1322
1418
  "CardWithId": {
1323
- "description": "A [card](https://developers.google.com/chat/api/reference/rest/v1/cards) in a Google Chat message. Only Chat apps can create cards. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the message can't contain cards. [Card builder](https://addons.gsuite.google.com/uikit/builder)",
1419
+ "description": "A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Only Chat apps can create cards. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the message can't contain cards. [Card builder](https://addons.gsuite.google.com/uikit/builder)",
1324
1420
  "id": "CardWithId",
1325
1421
  "properties": {
1326
1422
  "card": {
@@ -1477,6 +1573,7 @@
1477
1573
  "type": "object"
1478
1574
  },
1479
1575
  "CompleteImportSpaceResponse": {
1576
+ "description": "Response message for completing the import process for a space.",
1480
1577
  "id": "CompleteImportSpaceResponse",
1481
1578
  "properties": {
1482
1579
  "space": {
@@ -1564,18 +1661,18 @@
1564
1661
  "properties": {
1565
1662
  "action": {
1566
1663
  "$ref": "FormAction",
1567
- "description": "For `CARD_CLICKED` interaction events, the form action data associated when a user clicks a card or dialog. To learn more, see [Read form data input by users on cards](https://developers.google.com/chat/ui/read-form-data)."
1664
+ "description": "For `CARD_CLICKED` interaction events, the form action data associated when a user clicks a card or dialog. To learn more, see [Read form data input by users on cards](https://developers.google.com/workspace/chat/read-form-data)."
1568
1665
  },
1569
1666
  "common": {
1570
1667
  "$ref": "CommonEventObject",
1571
- "description": "Represents information about the user's client, such as locale, host app, and platform. For Chat apps, `CommonEventObject` includes information submitted by users interacting with [dialogs](https://developers.google.com/chat/how-tos/dialogs), like data entered on a card."
1668
+ "description": "Represents information about the user's client, such as locale, host app, and platform. For Chat apps, `CommonEventObject` includes information submitted by users interacting with [dialogs](https://developers.google.com/workspace/chat/dialogs), like data entered on a card."
1572
1669
  },
1573
1670
  "configCompleteRedirectUrl": {
1574
- "description": "The URL the Chat app should redirect the user to after they have completed an authorization or configuration flow outside of Google Chat. For more information, see [Connect a Chat app with other services & tools](https://developers.google.com/chat/how-tos/connect-web-services-tools).",
1671
+ "description": "The URL the Chat app should redirect the user to after they have completed an authorization or configuration flow outside of Google Chat. For more information, see [Connect a Chat app with other services & tools](https://developers.google.com/workspace/chat/connect-web-services-tools).",
1575
1672
  "type": "string"
1576
1673
  },
1577
1674
  "dialogEventType": {
1578
- "description": "The type of [dialog](https://developers.google.com/chat/how-tos/dialogs) interaction event received.",
1675
+ "description": "The type of [dialog](https://developers.google.com/workspace/chat/dialogs) interaction event received.",
1579
1676
  "enum": [
1580
1677
  "TYPE_UNSPECIFIED",
1581
1678
  "REQUEST_DIALOG",
@@ -1596,7 +1693,7 @@
1596
1693
  "type": "string"
1597
1694
  },
1598
1695
  "isDialogEvent": {
1599
- "description": "For `CARD_CLICKED` interaction events, whether the user interacted with a [dialog](https://developers.google.com/chat/how-tos/dialogs).",
1696
+ "description": "For `CARD_CLICKED` interaction events, whether the user interacted with a [dialog](https://developers.google.com/workspace/chat/dialogs).",
1600
1697
  "type": "boolean"
1601
1698
  },
1602
1699
  "message": {
@@ -1630,7 +1727,7 @@
1630
1727
  "A user sends the Chat app a message, or invokes the Chat app in a space.",
1631
1728
  "A user adds the Chat app to a space, or a Google Workspace administrator installs the Chat app in direct message spaces for users in their organization.",
1632
1729
  "A user removes the Chat app from a space.",
1633
- "A user clicks an interactive element of a card or dialog from a Chat app, such as a button. If a user interacts with a dialog, the `CARD_CLICKED` interaction event's `isDialogEvent` field is set to `true` and includes a [`DialogEventType`](https://developers.google.com/chat/api/reference/rest/v1/DialogEventType).",
1730
+ "A user clicks an interactive element of a card or dialog from a Chat app, such as a button. If a user interacts with a dialog, the `CARD_CLICKED` interaction event's `isDialogEvent` field is set to `true` and includes a [`DialogEventType`](https://developers.google.com/workspace/chat/api/reference/rest/v1/DialogEventType).",
1634
1731
  "A user updates a widget in a card message or dialog."
1635
1732
  ],
1636
1733
  "type": "string"
@@ -1654,16 +1751,16 @@
1654
1751
  "type": "object"
1655
1752
  },
1656
1753
  "DialogAction": {
1657
- "description": "Contains a [dialog](https://developers.google.com/chat/how-tos/dialogs) and request status code.",
1754
+ "description": "Contains a [dialog](https://developers.google.com/workspace/chat/dialogs) and request status code.",
1658
1755
  "id": "DialogAction",
1659
1756
  "properties": {
1660
1757
  "actionStatus": {
1661
1758
  "$ref": "ActionStatus",
1662
- "description": "Input only. Status for a request to either invoke or submit a [dialog](https://developers.google.com/chat/how-tos/dialogs). Displays a status and message to users, if necessary. For example, in case of an error or success."
1759
+ "description": "Input only. Status for a request to either invoke or submit a [dialog](https://developers.google.com/workspace/chat/dialogs). Displays a status and message to users, if necessary. For example, in case of an error or success."
1663
1760
  },
1664
1761
  "dialog": {
1665
1762
  "$ref": "Dialog",
1666
- "description": "Input only. [Dialog](https://developers.google.com/chat/how-tos/dialogs) for the request."
1763
+ "description": "Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request."
1667
1764
  }
1668
1765
  },
1669
1766
  "type": "object"
@@ -1685,7 +1782,7 @@
1685
1782
  "properties": {
1686
1783
  "driveDataRef": {
1687
1784
  "$ref": "DriveDataRef",
1688
- "description": "A [DriveDataRef](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref) which references a Google Drive file."
1785
+ "description": "A [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref) which references a Google Drive file."
1689
1786
  },
1690
1787
  "mimeType": {
1691
1788
  "description": "The mime type of the linked Google Drive resource.",
@@ -1755,18 +1852,18 @@
1755
1852
  "id": "GoogleAppsCardV1Action",
1756
1853
  "properties": {
1757
1854
  "function": {
1758
- "description": "A custom function to invoke when the containing element is clicked or othrwise activated. For example usage, see [Create interactive cards](https://developers.google.com/chat/how-tos/cards-onclick).",
1855
+ "description": "A custom function to invoke when the containing element is clicked or othrwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data).",
1759
1856
  "type": "string"
1760
1857
  },
1761
1858
  "interaction": {
1762
- "description": "Optional. Required when opening a [dialog](https://developers.google.com/chat/how-tos/dialogs). What to do in response to an interaction with a user, such as a user clicking a button in a card message. If unspecified, the app responds by executing an `action`\u2014like opening a link or running a function\u2014as normal. By specifying an `interaction`, the app can respond in special interactive ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When specified, a loading indicator isn't shown. If specified for an add-on, the entire card is stripped and nothing is shown in the client. [Google Chat apps](https://developers.google.com/workspace/chat):",
1859
+ "description": "Optional. Required when opening a [dialog](https://developers.google.com/workspace/chat/dialogs). What to do in response to an interaction with a user, such as a user clicking a button in a card message. If unspecified, the app responds by executing an `action`\u2014like opening a link or running a function\u2014as normal. By specifying an `interaction`, the app can respond in special interactive ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can open a [dialog](https://developers.google.com/workspace/chat/dialogs). When specified, a loading indicator isn't shown. If specified for an add-on, the entire card is stripped and nothing is shown in the client. [Google Chat apps](https://developers.google.com/workspace/chat):",
1763
1860
  "enum": [
1764
1861
  "INTERACTION_UNSPECIFIED",
1765
1862
  "OPEN_DIALOG"
1766
1863
  ],
1767
1864
  "enumDescriptions": [
1768
1865
  "Default value. The `action` executes as normal.",
1769
- "Opens a [dialog](https://developers.google.com/chat/how-tos/dialogs), a windowed, card-based interface that Chat apps use to interact with users. Only supported by Chat apps in response to button-clicks on card messages. If specified for an add-on, the entire card is stripped and nothing is shown in the client. [Google Chat apps](https://developers.google.com/workspace/chat):"
1866
+ "Opens a [dialog](https://developers.google.com/workspace/chat/dialogs), a windowed, card-based interface that Chat apps use to interact with users. Only supported by Chat apps in response to button-clicks on card messages. If specified for an add-on, the entire card is stripped and nothing is shown in the client. [Google Chat apps](https://developers.google.com/workspace/chat):"
1770
1867
  ],
1771
1868
  "type": "string"
1772
1869
  },
@@ -1790,14 +1887,14 @@
1790
1887
  "type": "array"
1791
1888
  },
1792
1889
  "persistValues": {
1793
- "description": "Indicates whether form values persist after the action. The default value is `false`. If `true`, form values remain after the action is triggered. To let the user make changes while the action is being processed, set [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) to `NONE`. For [card messages](https://developers.google.com/chat/api/guides/v1/messages/create#create) in Chat apps, you must also set the action's [`ResponseType`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#responsetype) to `UPDATE_MESSAGE` and use the same [`card_id`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#CardWithId) from the card that contained the action. If `false`, the form values are cleared when the action is triggered. To prevent the user from making changes while the action is being processed, set [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) to `SPINNER`.",
1890
+ "description": "Indicates whether form values persist after the action. The default value is `false`. If `true`, form values remain after the action is triggered. To let the user make changes while the action is being processed, set [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) to `NONE`. For [card messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/create#create) in Chat apps, you must also set the action's [`ResponseType`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#responsetype) to `UPDATE_MESSAGE` and use the same [`card_id`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#CardWithId) from the card that contained the action. If `false`, the form values are cleared when the action is triggered. To prevent the user from making changes while the action is being processed, set [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) to `SPINNER`.",
1794
1891
  "type": "boolean"
1795
1892
  }
1796
1893
  },
1797
1894
  "type": "object"
1798
1895
  },
1799
1896
  "GoogleAppsCardV1ActionParameter": {
1800
- "description": "List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze one day, or snooze next week. You might use `action method = snooze()`, passing the snooze type and snooze time in the list of string parameters. To learn more, see [`CommonEventObject`](https://developers.google.com/chat/api/reference/rest/v1/Event#commoneventobject). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
1897
+ "description": "List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze one day, or snooze next week. You might use `action method = snooze()`, passing the snooze type and snooze time in the list of string parameters. To learn more, see [`CommonEventObject`](https://developers.google.com/workspace/chat/api/reference/rest/v1/Event#commoneventobject). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
1801
1898
  "id": "GoogleAppsCardV1ActionParameter",
1802
1899
  "properties": {
1803
1900
  "key": {
@@ -1842,11 +1939,11 @@
1842
1939
  "type": "object"
1843
1940
  },
1844
1941
  "GoogleAppsCardV1Button": {
1845
- "description": "A text, icon, or text and icon button that users can click. For an example in Google Chat apps, see [Button list](https://developers.google.com/chat/ui/widgets/button-list). To make an image a clickable button, specify an `Image` (not an `ImageComponent`) and set an `onClick` action. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
1942
+ "description": "A text, icon, or text and icon button that users can click. For an example in Google Chat apps, see [Add a button](https://developers.google.com/workspace/chat/design-interactive-card-dialog#add_a_button). To make an image a clickable button, specify an `Image` (not an `ImageComponent`) and set an `onClick` action. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
1846
1943
  "id": "GoogleAppsCardV1Button",
1847
1944
  "properties": {
1848
1945
  "altText": {
1849
- "description": "The alternative text that's used for accessibility. Set descriptive text that lets users know what the button does. For example, if a button opens a hyperlink, you might write: \"Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/chat\".",
1946
+ "description": "The alternative text that's used for accessibility. Set descriptive text that lets users know what the button does. For example, if a button opens a hyperlink, you might write: \"Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat\".",
1850
1947
  "type": "string"
1851
1948
  },
1852
1949
  "color": {
@@ -1873,7 +1970,7 @@
1873
1970
  "type": "object"
1874
1971
  },
1875
1972
  "GoogleAppsCardV1ButtonList": {
1876
- "description": "A list of buttons layed out horizontally. For an example in Google Chat apps, see [Button list](https://developers.google.com/chat/ui/widgets/button-list). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
1973
+ "description": "A list of buttons layed out horizontally. For an example in Google Chat apps, see [Add a button](https://developers.google.com/workspace/chat/design-interactive-card-dialog#add_a_button). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
1877
1974
  "id": "GoogleAppsCardV1ButtonList",
1878
1975
  "properties": {
1879
1976
  "buttons": {
@@ -1887,7 +1984,7 @@
1887
1984
  "type": "object"
1888
1985
  },
1889
1986
  "GoogleAppsCardV1Card": {
1890
- "description": "A card interface displayed in a Google Chat message or Google Workspace Add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design dynamic, interactive, and consistent UIs with cards](https://developers.google.com/chat/ui). * For Google Workspace Add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { \"cardsV2\": [ { \"cardId\": \"unique-card-id\", \"card\": { \"header\": { \"title\": \"Sasha\", \"subtitle\": \"Software Engineer\", \"imageUrl\": \"https://developers.google.com/chat/images/quickstart-app-avatar.png\", \"imageType\": \"CIRCLE\", \"imageAltText\": \"Avatar for Sasha\" }, \"sections\": [ { \"header\": \"Contact Info\", \"collapsible\": true, \"uncollapsibleWidgetsCount\": 1, \"widgets\": [ { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"EMAIL\" }, \"text\": \"sasha@example.com\" } }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PERSON\" }, \"text\": \"Online\" } }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PHONE\" }, \"text\": \"+1 (555) 555-1234\" } }, { \"buttonList\": { \"buttons\": [ { \"text\": \"Share\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\" } } }, { \"text\": \"Edit\", \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\" } ] } } } ] } } ] } ] } } ] } ```",
1987
+ "description": "A card interface displayed in a Google Chat message or Google Workspace Add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace Add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { \"cardsV2\": [ { \"cardId\": \"unique-card-id\", \"card\": { \"header\": { \"title\": \"Sasha\", \"subtitle\": \"Software Engineer\", \"imageUrl\": \"https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png\", \"imageType\": \"CIRCLE\", \"imageAltText\": \"Avatar for Sasha\" }, \"sections\": [ { \"header\": \"Contact Info\", \"collapsible\": true, \"uncollapsibleWidgetsCount\": 1, \"widgets\": [ { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"EMAIL\" }, \"text\": \"sasha@example.com\" } }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PERSON\" }, \"text\": \"Online\" } }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PHONE\" }, \"text\": \"+1 (555) 555-1234\" } }, { \"buttonList\": { \"buttons\": [ { \"text\": \"Share\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\" } } }, { \"text\": \"Edit\", \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\" } ] } } } ] } } ] } ] } } ] } ```",
1891
1988
  "id": "GoogleAppsCardV1Card",
1892
1989
  "properties": {
1893
1990
  "cardActions": {
@@ -1913,7 +2010,7 @@
1913
2010
  },
1914
2011
  "fixedFooter": {
1915
2012
  "$ref": "GoogleAppsCardV1CardFixedFooter",
1916
- "description": "The fixed footer shown at the bottom of this card. Setting `fixedFooter` without specifying a `primaryButton` or a `secondaryButton` causes an error. For Chat apps, you can use fixed footers in [dialogs](https://developers.google.com/chat/how-tos/dialogs), but not [card messages](https://developers.google.com/chat/api/guides/v1/messages/create#create). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):"
2013
+ "description": "The fixed footer shown at the bottom of this card. Setting `fixedFooter` without specifying a `primaryButton` or a `secondaryButton` causes an error. For Chat apps, you can use fixed footers in [dialogs](https://developers.google.com/workspace/chat/dialogs), but not [card messages](https://developers.google.com/workspace/chat/create-messages#create). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):"
1917
2014
  },
1918
2015
  "header": {
1919
2016
  "$ref": "GoogleAppsCardV1CardHeader",
@@ -1942,7 +2039,7 @@
1942
2039
  "type": "string"
1943
2040
  },
1944
2041
  "sections": {
1945
- "description": "Contains a collection of widgets. Each section has its own, optional header. Sections are visually separated by a line divider. For an example in Google Chat apps, see [Card section](https://developers.google.com/chat/ui/widgets/card-section).",
2042
+ "description": "Contains a collection of widgets. Each section has its own, optional header. Sections are visually separated by a line divider. For an example in Google Chat apps, see [Define a section of a card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).",
1946
2043
  "items": {
1947
2044
  "$ref": "GoogleAppsCardV1Section"
1948
2045
  },
@@ -1967,7 +2064,7 @@
1967
2064
  "type": "object"
1968
2065
  },
1969
2066
  "GoogleAppsCardV1CardFixedFooter": {
1970
- "description": "A persistent (sticky) footer that that appears at the bottom of the card. Setting `fixedFooter` without specifying a `primaryButton` or a `secondaryButton` causes an error. For Chat apps, you can use fixed footers in [dialogs](https://developers.google.com/chat/how-tos/dialogs), but not [card messages](https://developers.google.com/chat/api/guides/v1/messages/create#create). For an example in Google Chat apps, see [Card footer](https://developers.google.com/chat/ui/widgets/card-fixed-footer). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2067
+ "description": "A persistent (sticky) footer that that appears at the bottom of the card. Setting `fixedFooter` without specifying a `primaryButton` or a `secondaryButton` causes an error. For Chat apps, you can use fixed footers in [dialogs](https://developers.google.com/workspace/chat/dialogs), but not [card messages](https://developers.google.com/workspace/chat/create-messages#create). For an example in Google Chat apps, see [Add a persistent footer](https://developers.google.com/workspace/chat/design-components-card-dialog#add_a_persistent_footer). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
1971
2068
  "id": "GoogleAppsCardV1CardFixedFooter",
1972
2069
  "properties": {
1973
2070
  "primaryButton": {
@@ -1982,7 +2079,7 @@
1982
2079
  "type": "object"
1983
2080
  },
1984
2081
  "GoogleAppsCardV1CardHeader": {
1985
- "description": "Represents a card header. For an example in Google Chat apps, see [Card header](https://developers.google.com/chat/ui/widgets/card-header). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2082
+ "description": "Represents a card header. For an example in Google Chat apps, see [Add a header](https://developers.google.com/workspace/chat/design-components-card-dialog#add_a_header). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
1986
2083
  "id": "GoogleAppsCardV1CardHeader",
1987
2084
  "properties": {
1988
2085
  "imageAltText": {
@@ -2077,7 +2174,7 @@
2077
2174
  "type": "object"
2078
2175
  },
2079
2176
  "GoogleAppsCardV1Columns": {
2080
- "description": "The `Columns` widget displays up to 2 columns in a card or dialog. You can add widgets to each column; the widgets appear in the order that they are specified. For an example in Google Chat apps, see [Columns](https://developers.google.com/chat/ui/widgets/columns). The height of each column is determined by the taller column. For example, if the first column is taller than the second column, both columns have the height of the first column. Because each column can contain a different number of widgets, you can't define rows or align widgets between the columns. Columns are displayed side-by-side. You can customize the width of each column using the `HorizontalSizeStyle` field. If the user's screen width is too narrow, the second column wraps below the first: * On web, the second column wraps if the screen width is less than or equal to 480 pixels. * On iOS devices, the second column wraps if the screen width is less than or equal to 300 pt. * On Android devices, the second column wraps if the screen width is less than or equal to 320 dp. To include more than 2 columns, or to use rows, use the `Grid` widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend): Columns for Google Workspace Add-ons are in Developer Preview.",
2177
+ "description": "The `Columns` widget displays up to 2 columns in a card or dialog. You can add widgets to each column; the widgets appear in the order that they are specified. For an example in Google Chat apps, see [Display cards and dialogs in columns](https://developers.google.com/workspace/chat/format-structure-card-dialog#display_cards_and_dialogs_in_columns). The height of each column is determined by the taller column. For example, if the first column is taller than the second column, both columns have the height of the first column. Because each column can contain a different number of widgets, you can't define rows or align widgets between the columns. Columns are displayed side-by-side. You can customize the width of each column using the `HorizontalSizeStyle` field. If the user's screen width is too narrow, the second column wraps below the first: * On web, the second column wraps if the screen width is less than or equal to 480 pixels. * On iOS devices, the second column wraps if the screen width is less than or equal to 300 pt. * On Android devices, the second column wraps if the screen width is less than or equal to 320 dp. To include more than 2 columns, or to use rows, use the `Grid` widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend): Columns for Google Workspace Add-ons are in Developer Preview.",
2081
2178
  "id": "GoogleAppsCardV1Columns",
2082
2179
  "properties": {
2083
2180
  "columnItems": {
@@ -2091,7 +2188,7 @@
2091
2188
  "type": "object"
2092
2189
  },
2093
2190
  "GoogleAppsCardV1DateTimePicker": {
2094
- "description": "Lets users input a date, a time, or both a date and a time. For an example in Google Chat apps, see [Date time picker](https://developers.google.com/chat/ui/widgets/date-time-picker). Users can input text or use the picker to select dates and times. If users input an invalid date or time, the picker shows an error that prompts users to input the information correctly. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2191
+ "description": "Lets users input a date, a time, or both a date and a time. For an example in Google Chat apps, see [Let a user pick a date and time](https://developers.google.com/workspace/chat/design-interactive-card-dialog#let_a_user_pick_a_date_and_time). Users can input text or use the picker to select dates and times. If users input an invalid date or time, the picker shows an error that prompts users to input the information correctly. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2095
2192
  "id": "GoogleAppsCardV1DateTimePicker",
2096
2193
  "properties": {
2097
2194
  "label": {
@@ -2099,7 +2196,7 @@
2099
2196
  "type": "string"
2100
2197
  },
2101
2198
  "name": {
2102
- "description": "The name by which the `DateTimePicker` is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/chat/ui/read-form-data).",
2199
+ "description": "The name by which the `DateTimePicker` is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).",
2103
2200
  "type": "string"
2104
2201
  },
2105
2202
  "onChangeAction": {
@@ -2134,7 +2231,7 @@
2134
2231
  "type": "object"
2135
2232
  },
2136
2233
  "GoogleAppsCardV1DecoratedText": {
2137
- "description": "A widget that displays text with optional decorations such as a label above or below the text, an icon in front of the text, a selection widget, or a button after the text. For an example in Google Chat apps, see [Decorated text](https://developers.google.com/chat/ui/widgets/decorated-text). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2234
+ "description": "A widget that displays text with optional decorations such as a label above or below the text, an icon in front of the text, a selection widget, or a button after the text. For an example in Google Chat apps, see [Display text with decorative text](https://developers.google.com/workspace/chat/add-text-image-card-dialog#display_text_with_decorative_elements). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2138
2235
  "id": "GoogleAppsCardV1DecoratedText",
2139
2236
  "properties": {
2140
2237
  "bottomLabel": {
@@ -2147,7 +2244,7 @@
2147
2244
  },
2148
2245
  "endIcon": {
2149
2246
  "$ref": "GoogleAppsCardV1Icon",
2150
- "description": "An icon displayed after the text. Supports [built-in](https://developers.google.com/chat/format-messages#builtinicons) and [custom](https://developers.google.com/chat/format-messages#customicons) icons."
2247
+ "description": "An icon displayed after the text. Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons."
2151
2248
  },
2152
2249
  "icon": {
2153
2250
  "$ref": "GoogleAppsCardV1Icon",
@@ -2167,7 +2264,7 @@
2167
2264
  "description": "A switch widget that a user can click to change its state and trigger an action."
2168
2265
  },
2169
2266
  "text": {
2170
- "description": "Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
2267
+ "description": "Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
2171
2268
  "type": "string"
2172
2269
  },
2173
2270
  "topLabel": {
@@ -2182,13 +2279,13 @@
2182
2279
  "type": "object"
2183
2280
  },
2184
2281
  "GoogleAppsCardV1Divider": {
2185
- "description": "Displays a divider between widgets as a horizontal line. For an example in Google Chat apps, see [Divider](https://developers.google.com/chat/ui/widgets/divider). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend): For example, the following JSON creates a divider: ``` \"divider\": {} ```",
2282
+ "description": "Displays a divider between widgets as a horizontal line. For an example in Google Chat apps, see [Add a horizontal divider between widgets](https://developers.google.com/workspace/chat/format-structure-card-dialog#add_a_horizontal_divider_between_widgets). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend): For example, the following JSON creates a divider: ``` \"divider\": {} ```",
2186
2283
  "id": "GoogleAppsCardV1Divider",
2187
2284
  "properties": {},
2188
2285
  "type": "object"
2189
2286
  },
2190
2287
  "GoogleAppsCardV1Grid": {
2191
- "description": "Displays a grid with a collection of items. Items can only include text or images. For responsive columns, or to include more than text or images, use `Columns`. For an example in Google Chat apps, see [Grid](https://developers.google.com/chat/ui/widgets/grid). A grid supports any number of columns and items. The number of rows is determined by items divided by columns. A grid with 10 items and 2 columns has 5 rows. A grid with 11 items and 2 columns has 6 rows. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend): For example, the following JSON creates a 2 column grid with a single item: ``` \"grid\": { \"title\": \"A fine collection of items\", \"columnCount\": 2, \"borderStyle\": { \"type\": \"STROKE\", \"cornerRadius\": 4 }, \"items\": [ { \"image\": { \"imageUri\": \"https://www.example.com/image.png\", \"cropStyle\": { \"type\": \"SQUARE\" }, \"borderStyle\": { \"type\": \"STROKE\" } }, \"title\": \"An item\", \"textAlignment\": \"CENTER\" } ], \"onClick\": { \"openLink\": { \"url\": \"https://www.example.com\" } } } ```",
2288
+ "description": "Displays a grid with a collection of items. Items can only include text or images. For responsive columns, or to include more than text or images, use `Columns`. For an example in Google Chat apps, see [Display a Grid with a collection of items](https://developers.google.com/workspace/chat/format-structure-card-dialog#display_a_grid_with_a_collection_of_items). A grid supports any number of columns and items. The number of rows is determined by items divided by columns. A grid with 10 items and 2 columns has 5 rows. A grid with 11 items and 2 columns has 6 rows. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend): For example, the following JSON creates a 2 column grid with a single item: ``` \"grid\": { \"title\": \"A fine collection of items\", \"columnCount\": 2, \"borderStyle\": { \"type\": \"STROKE\", \"cornerRadius\": 4 }, \"items\": [ { \"image\": { \"imageUri\": \"https://www.example.com/image.png\", \"cropStyle\": { \"type\": \"SQUARE\" }, \"borderStyle\": { \"type\": \"STROKE\" } }, \"title\": \"An item\", \"textAlignment\": \"CENTER\" } ], \"onClick\": { \"openLink\": { \"url\": \"https://www.example.com\" } } } ```",
2192
2289
  "id": "GoogleAppsCardV1Grid",
2193
2290
  "properties": {
2194
2291
  "borderStyle": {
@@ -2256,15 +2353,15 @@
2256
2353
  "type": "object"
2257
2354
  },
2258
2355
  "GoogleAppsCardV1Icon": {
2259
- "description": "An icon displayed in a widget on a card. For an example in Google Chat apps, see [Icon](https://developers.google.com/chat/ui/widgets/icon). Supports [built-in](https://developers.google.com/chat/format-messages#builtinicons) and [custom](https://developers.google.com/chat/format-messages#customicons) icons. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2356
+ "description": "An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2260
2357
  "id": "GoogleAppsCardV1Icon",
2261
2358
  "properties": {
2262
2359
  "altText": {
2263
- "description": "Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored.",
2360
+ "description": "Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored.",
2264
2361
  "type": "string"
2265
2362
  },
2266
2363
  "iconUrl": {
2267
- "description": "Display a custom icon hosted at an HTTPS URL. For example: ``` \"iconUrl\": \"https://developers.google.com/chat/images/quickstart-app-avatar.png\" ``` Supported file types include `.png` and `.jpg`.",
2364
+ "description": "Display a custom icon hosted at an HTTPS URL. For example: ``` \"iconUrl\": \"https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png\" ``` Supported file types include `.png` and `.jpg`.",
2268
2365
  "type": "string"
2269
2366
  },
2270
2367
  "imageType": {
@@ -2280,18 +2377,18 @@
2280
2377
  "type": "string"
2281
2378
  },
2282
2379
  "knownIcon": {
2283
- "description": "Display one of the built-in icons provided by Google Workspace. For example, to display an airplane icon, specify `AIRPLANE`. For a bus, specify `BUS`. For a full list of supported icons, see [built-in icons](https://developers.google.com/chat/format-messages#builtinicons).",
2380
+ "description": "Display one of the built-in icons provided by Google Workspace. For example, to display an airplane icon, specify `AIRPLANE`. For a bus, specify `BUS`. For a full list of supported icons, see [built-in icons](https://developers.google.com/workspace/chat/format-messages#builtinicons).",
2284
2381
  "type": "string"
2285
2382
  },
2286
2383
  "materialIcon": {
2287
2384
  "$ref": "GoogleAppsCardV1MaterialIcon",
2288
- "description": "Display one of the [Google Material Icons](https://fonts.google.com/icons). For example, to display a [checkbox icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048), use \"material_icon\": { \"name\": \"check_box\" } Available for Chat apps and in [Developer Preview](https://developers.google.com/workspace/preview) for Google Workspace Add-ons."
2385
+ "description": "Display one of the [Google Material Icons](https://fonts.google.com/icons). For example, to display a [checkbox icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048), use ``` \"material_icon\": { \"name\": \"check_box\" } ``` [Google Chat apps](https://developers.google.com/workspace/chat):"
2289
2386
  }
2290
2387
  },
2291
2388
  "type": "object"
2292
2389
  },
2293
2390
  "GoogleAppsCardV1Image": {
2294
- "description": "An image that is specified by a URL and can have an `onClick` action. For an example, see [Image](https://developers.google.com/chat/ui/widgets/image). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2391
+ "description": "An image that is specified by a URL and can have an `onClick` action. For an example, see [Add an image](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_image). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2295
2392
  "id": "GoogleAppsCardV1Image",
2296
2393
  "properties": {
2297
2394
  "altText": {
@@ -2299,7 +2396,7 @@
2299
2396
  "type": "string"
2300
2397
  },
2301
2398
  "imageUrl": {
2302
- "description": "The HTTPS URL that hosts the image. For example: ``` https://developers.google.com/chat/images/quickstart-app-avatar.png ```",
2399
+ "description": "The HTTPS URL that hosts the image. For example: ``` https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png ```",
2303
2400
  "type": "string"
2304
2401
  },
2305
2402
  "onClick": {
@@ -2363,24 +2460,24 @@
2363
2460
  "type": "object"
2364
2461
  },
2365
2462
  "GoogleAppsCardV1MaterialIcon": {
2366
- "description": "A [Google Material Icon](https://fonts.google.com/icons), which includes over 2500+ options. For example, to display a [checkbox icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048) with customized weight and grade, write { \"name\": \"check_box\", \"fill\": true, \"weight\": 300, \"grade\": -25 } Available for Chat apps and in [Developer Preview](https://developers.google.com/workspace/preview) for Google Workspace Add-ons.",
2463
+ "description": "A [Google Material Icon](https://fonts.google.com/icons), which includes over 2500+ options. For example, to display a [checkbox icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048) with customized weight and grade, write the following: ``` { \"name\": \"check_box\", \"fill\": true, \"weight\": 300, \"grade\": -25 } ``` [Google Chat apps](https://developers.google.com/workspace/chat):",
2367
2464
  "id": "GoogleAppsCardV1MaterialIcon",
2368
2465
  "properties": {
2369
2466
  "fill": {
2370
- "description": "Whether it renders a filled icon. Default value is false. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details.",
2467
+ "description": "Whether the icon renders as filled. Default value is false. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**.",
2371
2468
  "type": "boolean"
2372
2469
  },
2373
2470
  "grade": {
2374
- "description": "Weight and grade affect a symbol\u2019s thickness. Adjustments to grade are more granular than adjustments to weight and have a small impact on the size of the symbol. Choose from {-25, 0, 200}. If absent, default value is 0. If any other value is specified, a broken image icon is displayed. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details.",
2471
+ "description": "Weight and grade affect a symbol\u2019s thickness. Adjustments to grade are more granular than adjustments to weight and have a small impact on the size of the symbol. Choose from {-25, 0, 200}. If absent, default value is 0. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**.",
2375
2472
  "format": "int32",
2376
2473
  "type": "integer"
2377
2474
  },
2378
2475
  "name": {
2379
- "description": "The icon name defined in the [Google Material Icon Icon](https://fonts.google.com/icons) in snake_case. e.g. \"check_box\". Any invalid names are abandoned and replaced with empty string and results in the icon failing to render.",
2476
+ "description": "The icon name defined in the [Google Material Icon](https://fonts.google.com/icons), for example, `check_box`. Any invalid names are abandoned and replaced with empty string and results in the icon failing to render.",
2380
2477
  "type": "string"
2381
2478
  },
2382
2479
  "weight": {
2383
- "description": "The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, a broken image icon is displayed. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details.",
2480
+ "description": "The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**.",
2384
2481
  "format": "int32",
2385
2482
  "type": "integer"
2386
2483
  }
@@ -2477,7 +2574,7 @@
2477
2574
  "type": "boolean"
2478
2575
  },
2479
2576
  "header": {
2480
- "description": "Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
2577
+ "description": "Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
2481
2578
  "type": "string"
2482
2579
  },
2483
2580
  "uncollapsibleWidgetsCount": {
@@ -2496,7 +2593,7 @@
2496
2593
  "type": "object"
2497
2594
  },
2498
2595
  "GoogleAppsCardV1SelectionInput": {
2499
- "description": "A widget that creates one or more UI items that users can select. For example, a dropdown menu or checkboxes. You can use this widget to collect data that can be predicted or enumerated. For an example in Google Chat apps, see [Selection input](https://developers.google.com/chat/ui/widgets/selection-input). Chat apps can process the value of items that users select or input. For details about working with form inputs, see [Receive form data](https://developers.google.com/chat/ui/read-form-data). To collect undefined or abstract data from users, use the TextInput widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2596
+ "description": "A widget that creates one or more UI items that users can select. For example, a dropdown menu or checkboxes. You can use this widget to collect data that can be predicted or enumerated. For an example in Google Chat apps, see [Add selectable UI elements](/workspace/chat/design-interactive-card-dialog#add_selectable_ui_elements). Chat apps can process the value of items that users select or input. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). To collect undefined or abstract data from users, use the TextInput widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2500
2597
  "id": "GoogleAppsCardV1SelectionInput",
2501
2598
  "properties": {
2502
2599
  "externalDataSource": {
@@ -2520,17 +2617,17 @@
2520
2617
  "type": "integer"
2521
2618
  },
2522
2619
  "multiSelectMinQueryLength": {
2523
- "description": "For multiselect menus, the number of text characters that a user inputs before the Chat app queries autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters for static data sources and 3 characters for external data sources.",
2620
+ "description": "For multiselect menus, the number of text characters that a user inputs before the app queries autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters for static data sources and 3 characters for external data sources.",
2524
2621
  "format": "int32",
2525
2622
  "type": "integer"
2526
2623
  },
2527
2624
  "name": {
2528
- "description": "The name that identifies the selection input in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/chat/ui/read-form-data).",
2625
+ "description": "The name that identifies the selection input in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).",
2529
2626
  "type": "string"
2530
2627
  },
2531
2628
  "onChangeAction": {
2532
2629
  "$ref": "GoogleAppsCardV1Action",
2533
- "description": "If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/chat/ui/read-form-data)."
2630
+ "description": "If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data)."
2534
2631
  },
2535
2632
  "platformDataSource": {
2536
2633
  "$ref": "GoogleAppsCardV1PlatformDataSource",
@@ -2550,7 +2647,7 @@
2550
2647
  "A set of radio buttons. Users can select one radio button.",
2551
2648
  "A set of switches. Users can turn on one or more switches.",
2552
2649
  "A dropdown menu. Users can select one item from the menu.",
2553
- "A multiselect menu for static or dynamic data. From the menu bar, users select one or more items. Users can also input values to populate dynamic data. For example, users can start typing the name of a Google Chat space and the widget autosuggests the space. To populate items for a multiselect menu, you can use one of the following types of data sources: * Static data: Items are specified as `SelectionItem` objects in the widget. Up to 100 items. * Google Workspace data: Items are populated using data from Google Workspace, such as Google Workspace users or Google Chat spaces. * External data: Items are populated from an external data source outside of Google Workspace. For examples of how to implement multiselect menus, see the [`SelectionInput` widget page](https://developers.google.com/chat/ui/widgets/selection-input#multiselect-menu). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend): Multiselect for Google Workspace Add-ons are in Developer Preview."
2650
+ "A multiselect menu for static or dynamic data. From the menu bar, users select one or more items. Users can also input values to populate dynamic data. For example, users can start typing the name of a Google Chat space and the widget autosuggests the space. To populate items for a multiselect menu, you can use one of the following types of data sources: * Static data: Items are specified as `SelectionItem` objects in the widget. Up to 100 items. * Google Workspace data: Items are populated using data from Google Workspace, such as Google Workspace users or Google Chat spaces. * External data: Items are populated from an external data source outside of Google Workspace. For examples of how to implement multiselect menus, see [Add a multiselect menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#multiselect-menu). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend): Multiselect for Google Workspace Add-ons are in Developer Preview."
2554
2651
  ],
2555
2652
  "type": "string"
2556
2653
  }
@@ -2570,7 +2667,7 @@
2570
2667
  "type": "boolean"
2571
2668
  },
2572
2669
  "startIconUri": {
2573
- "description": "For multiselect menus, the URL for the icon displayed next to the item's `text` field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `https://developers.google.com/chat/images/quickstart-app-avatar.png`.",
2670
+ "description": "For multiselect menus, the URL for the icon displayed next to the item's `text` field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png`.",
2574
2671
  "type": "string"
2575
2672
  },
2576
2673
  "text": {
@@ -2578,7 +2675,7 @@
2578
2675
  "type": "string"
2579
2676
  },
2580
2677
  "value": {
2581
- "description": "The value associated with this item. The client should use this as a form input value. For details about working with form inputs, see [Receive form data](https://developers.google.com/chat/ui/read-form-data).",
2678
+ "description": "The value associated with this item. The client should use this as a form input value. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).",
2582
2679
  "type": "string"
2583
2680
  }
2584
2681
  },
@@ -2628,7 +2725,7 @@
2628
2725
  "type": "string"
2629
2726
  },
2630
2727
  "name": {
2631
- "description": "The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/chat/ui/read-form-data).",
2728
+ "description": "The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).",
2632
2729
  "type": "string"
2633
2730
  },
2634
2731
  "onChangeAction": {
@@ -2640,14 +2737,14 @@
2640
2737
  "type": "boolean"
2641
2738
  },
2642
2739
  "value": {
2643
- "description": "The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/chat/ui/read-form-data).",
2740
+ "description": "The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).",
2644
2741
  "type": "string"
2645
2742
  }
2646
2743
  },
2647
2744
  "type": "object"
2648
2745
  },
2649
2746
  "GoogleAppsCardV1TextInput": {
2650
- "description": "A field in which users can enter text. Supports suggestions and on-change actions. For an example in Google Chat apps, see [Text input](https://developers.google.com/chat/ui/widgets/text-input). Chat apps receive and can process the value of entered text during form input events. For details about working with form inputs, see [Receive form data](https://developers.google.com/chat/ui/read-form-data). When you need to collect undefined or abstract data from users, use a text input. To collect defined or enumerated data from users, use the SelectionInput widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2747
+ "description": "A field in which users can enter text. Supports suggestions and on-change actions. For an example in Google Chat apps, see [Add a field in which a user can enter text](https://developers.google.com/workspace/chat/design-interactive-card-dialog#add_a_field_in_which_a_user_can_enter_text). Chat apps receive and can process the value of entered text during form input events. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). When you need to collect undefined or abstract data from users, use a text input. To collect defined or enumerated data from users, use the SelectionInput widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2651
2748
  "id": "GoogleAppsCardV1TextInput",
2652
2749
  "properties": {
2653
2750
  "autoCompleteAction": {
@@ -2667,12 +2764,12 @@
2667
2764
  "type": "string"
2668
2765
  },
2669
2766
  "name": {
2670
- "description": "The name by which the text input is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/chat/ui/read-form-data).",
2767
+ "description": "The name by which the text input is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).",
2671
2768
  "type": "string"
2672
2769
  },
2673
2770
  "onChangeAction": {
2674
2771
  "$ref": "GoogleAppsCardV1Action",
2675
- "description": "What to do when a change occurs in the text input field. For example, a user adding to the field or deleting text. Examples of actions to take include running a custom function or opening a [dialog](https://developers.google.com/chat/how-tos/dialogs) in Google Chat."
2772
+ "description": "What to do when a change occurs in the text input field. For example, a user adding to the field or deleting text. Examples of actions to take include running a custom function or opening a [dialog](https://developers.google.com/workspace/chat/dialogs) in Google Chat."
2676
2773
  },
2677
2774
  "placeholderText": {
2678
2775
  "description": "Text that appears in the text input field when the field is empty. Use this text to prompt users to enter a value. For example, `Enter a number from 0 to 100`. [Google Chat apps](https://developers.google.com/workspace/chat):",
@@ -2691,14 +2788,14 @@
2691
2788
  "type": "string"
2692
2789
  },
2693
2790
  "value": {
2694
- "description": "The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/chat/ui/read-form-data).",
2791
+ "description": "The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).",
2695
2792
  "type": "string"
2696
2793
  }
2697
2794
  },
2698
2795
  "type": "object"
2699
2796
  },
2700
2797
  "GoogleAppsCardV1TextParagraph": {
2701
- "description": "A paragraph of text that supports formatting. For an example in Google Chat apps, see [Text paragraph](https://developers.google.com/chat/ui/widgets/text-paragraph). For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2798
+ "description": "A paragraph of text that supports formatting. For an example in Google Chat apps, see [Add a paragraph of formatted text](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text). For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):",
2702
2799
  "id": "GoogleAppsCardV1TextParagraph",
2703
2800
  "properties": {
2704
2801
  "text": {
@@ -2754,7 +2851,7 @@
2754
2851
  },
2755
2852
  "image": {
2756
2853
  "$ref": "GoogleAppsCardV1Image",
2757
- "description": "Displays an image. For example, the following JSON creates an image with alternative text: ``` \"image\": { \"imageUrl\": \"https://developers.google.com/chat/images/quickstart-app-avatar.png\", \"altText\": \"Chat app avatar\" } ```"
2854
+ "description": "Displays an image. For example, the following JSON creates an image with alternative text: ``` \"image\": { \"imageUrl\": \"https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png\", \"altText\": \"Chat app avatar\" } ```"
2758
2855
  },
2759
2856
  "selectionInput": {
2760
2857
  "$ref": "GoogleAppsCardV1SelectionInput",
@@ -2766,7 +2863,7 @@
2766
2863
  },
2767
2864
  "textParagraph": {
2768
2865
  "$ref": "GoogleAppsCardV1TextParagraph",
2769
- "description": "Displays a text paragraph. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). For example, the following JSON creates a bolded text: ``` \"textParagraph\": { \"text\": \" *bold text*\" } ```"
2866
+ "description": "Displays a text paragraph. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). For example, the following JSON creates a bolded text: ``` \"textParagraph\": { \"text\": \" *bold text*\" } ```"
2770
2867
  }
2771
2868
  },
2772
2869
  "type": "object"
@@ -2965,7 +3062,7 @@
2965
3062
  "id": "KeyValue",
2966
3063
  "properties": {
2967
3064
  "bottomLabel": {
2968
- "description": "The text of the bottom label. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
3065
+ "description": "The text of the bottom label. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
2969
3066
  "type": "string"
2970
3067
  },
2971
3068
  "button": {
@@ -2973,7 +3070,7 @@
2973
3070
  "description": "A button that can be clicked to trigger an action."
2974
3071
  },
2975
3072
  "content": {
2976
- "description": "The text of the content. Formatted text supported and always required. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
3073
+ "description": "The text of the content. Formatted text supported and always required. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
2977
3074
  "type": "string"
2978
3075
  },
2979
3076
  "contentMultiline": {
@@ -3059,13 +3156,14 @@
3059
3156
  "description": "The `onclick` action. Only the top label, bottom label, and content region are clickable."
3060
3157
  },
3061
3158
  "topLabel": {
3062
- "description": "The text of the top label. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
3159
+ "description": "The text of the top label. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
3063
3160
  "type": "string"
3064
3161
  }
3065
3162
  },
3066
3163
  "type": "object"
3067
3164
  },
3068
3165
  "ListMembershipsResponse": {
3166
+ "description": "Response to list memberships of the space.",
3069
3167
  "id": "ListMembershipsResponse",
3070
3168
  "properties": {
3071
3169
  "memberships": {
@@ -3083,6 +3181,7 @@
3083
3181
  "type": "object"
3084
3182
  },
3085
3183
  "ListMessagesResponse": {
3184
+ "description": "Response message for listing messages.",
3086
3185
  "id": "ListMessagesResponse",
3087
3186
  "properties": {
3088
3187
  "messages": {
@@ -3100,6 +3199,7 @@
3100
3199
  "type": "object"
3101
3200
  },
3102
3201
  "ListReactionsResponse": {
3202
+ "description": "Response to a list reactions request.",
3103
3203
  "id": "ListReactionsResponse",
3104
3204
  "properties": {
3105
3205
  "nextPageToken": {
@@ -3116,7 +3216,26 @@
3116
3216
  },
3117
3217
  "type": "object"
3118
3218
  },
3219
+ "ListSpaceEventsResponse": {
3220
+ "description": "Response message for listing space events.",
3221
+ "id": "ListSpaceEventsResponse",
3222
+ "properties": {
3223
+ "nextPageToken": {
3224
+ "description": "Continuation token used to fetch more events. If this field is omitted, there are no subsequent pages.",
3225
+ "type": "string"
3226
+ },
3227
+ "spaceEvents": {
3228
+ "description": "Results are returned in chronological order (oldest event first).",
3229
+ "items": {
3230
+ "$ref": "SpaceEvent"
3231
+ },
3232
+ "type": "array"
3233
+ }
3234
+ },
3235
+ "type": "object"
3236
+ },
3119
3237
  "ListSpacesResponse": {
3238
+ "description": "The response for a list spaces request.",
3120
3239
  "id": "ListSpacesResponse",
3121
3240
  "properties": {
3122
3241
  "nextPageToken": {
@@ -3176,7 +3295,7 @@
3176
3295
  },
3177
3296
  "member": {
3178
3297
  "$ref": "User",
3179
- "description": "The Google Chat user or app the membership corresponds to. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`."
3298
+ "description": "The Google Chat user or app the membership corresponds to. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output populates the [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User) `name` and `type`."
3180
3299
  },
3181
3300
  "name": {
3182
3301
  "description": "Resource name of the membership, assigned by the server. Format: `spaces/{space}/members/{member}`",
@@ -3216,10 +3335,92 @@
3216
3335
  },
3217
3336
  "type": "object"
3218
3337
  },
3338
+ "MembershipBatchCreatedEventData": {
3339
+ "description": "Event payload for multiple new memberships. Event type: `google.workspace.chat.membership.v1.batchCreated`",
3340
+ "id": "MembershipBatchCreatedEventData",
3341
+ "properties": {
3342
+ "memberships": {
3343
+ "description": "A list of new memberships.",
3344
+ "items": {
3345
+ "$ref": "MembershipCreatedEventData"
3346
+ },
3347
+ "type": "array"
3348
+ }
3349
+ },
3350
+ "type": "object"
3351
+ },
3352
+ "MembershipBatchDeletedEventData": {
3353
+ "description": "Event payload for multiple deleted memberships. Event type: `google.workspace.chat.membership.v1.batchDeleted`",
3354
+ "id": "MembershipBatchDeletedEventData",
3355
+ "properties": {
3356
+ "memberships": {
3357
+ "description": "A list of deleted memberships.",
3358
+ "items": {
3359
+ "$ref": "MembershipDeletedEventData"
3360
+ },
3361
+ "type": "array"
3362
+ }
3363
+ },
3364
+ "type": "object"
3365
+ },
3366
+ "MembershipBatchUpdatedEventData": {
3367
+ "description": "Event payload for multiple updated memberships. Event type: `google.workspace.chat.membership.v1.batchUpdated`",
3368
+ "id": "MembershipBatchUpdatedEventData",
3369
+ "properties": {
3370
+ "memberships": {
3371
+ "description": "A list of updated memberships.",
3372
+ "items": {
3373
+ "$ref": "MembershipUpdatedEventData"
3374
+ },
3375
+ "type": "array"
3376
+ }
3377
+ },
3378
+ "type": "object"
3379
+ },
3380
+ "MembershipCreatedEventData": {
3381
+ "description": "Event payload for a new membership. Event type: `google.workspace.chat.membership.v1.created`.",
3382
+ "id": "MembershipCreatedEventData",
3383
+ "properties": {
3384
+ "membership": {
3385
+ "$ref": "Membership",
3386
+ "description": "The new membership."
3387
+ }
3388
+ },
3389
+ "type": "object"
3390
+ },
3391
+ "MembershipDeletedEventData": {
3392
+ "description": "Event payload for a deleted membership. Event type: `google.workspace.chat.membership.v1.deleted`",
3393
+ "id": "MembershipDeletedEventData",
3394
+ "properties": {
3395
+ "membership": {
3396
+ "$ref": "Membership",
3397
+ "description": "The deleted membership. Only the `name` and `state` fields are populated."
3398
+ }
3399
+ },
3400
+ "type": "object"
3401
+ },
3402
+ "MembershipUpdatedEventData": {
3403
+ "description": "Event payload for an updated membership. Event type: `google.workspace.chat.membership.v1.updated`",
3404
+ "id": "MembershipUpdatedEventData",
3405
+ "properties": {
3406
+ "membership": {
3407
+ "$ref": "Membership",
3408
+ "description": "The updated membership."
3409
+ }
3410
+ },
3411
+ "type": "object"
3412
+ },
3219
3413
  "Message": {
3220
3414
  "description": "A message in a Google Chat space.",
3221
3415
  "id": "Message",
3222
3416
  "properties": {
3417
+ "accessoryWidgets": {
3418
+ "description": "One or more interactive widgets that appear at the bottom of a message. You can add accessory widgets to messages that contain text, cards, or both text and cards. Not supported for messages that contain dialogs. For details, see [Add interactive widgets at the bottom of a message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets). Creating a message with accessory widgets requires [app authentication] (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).",
3419
+ "items": {
3420
+ "$ref": "AccessoryWidget"
3421
+ },
3422
+ "type": "array"
3423
+ },
3223
3424
  "actionResponse": {
3224
3425
  "$ref": "ActionResponse",
3225
3426
  "description": "Input only. Parameters that a Chat app can use to configure how its response is posted."
@@ -3261,14 +3462,14 @@
3261
3462
  "type": "array"
3262
3463
  },
3263
3464
  "cardsV2": {
3264
- "description": "An array of [cards](https://developers.google.com/chat/api/reference/rest/v1/cards). Only Chat apps can create cards. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the messages can't contain cards. To learn about cards and how to create them, see [Design dynamic, interactive, and consistent UIs with cards](https://developers.google.com/chat/ui). [Card builder](https://addons.gsuite.google.com/uikit/builder)",
3465
+ "description": "An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Only Chat apps can create cards. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the messages can't contain cards. To learn about cards and how to create them, see [Send card messages](https://developers.google.com/workspace/chat/create-messages#create). [Card builder](https://addons.gsuite.google.com/uikit/builder)",
3265
3466
  "items": {
3266
3467
  "$ref": "CardWithId"
3267
3468
  },
3268
3469
  "type": "array"
3269
3470
  },
3270
3471
  "clientAssignedMessageId": {
3271
- "description": "Optional. A custom ID for the message. You can use field to identify a message, or to get, delete, or update a message. To set a custom ID, specify the [`messageId`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when you create the message. For details, see [Name a message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).",
3472
+ "description": "Optional. A custom ID for the message. You can use field to identify a message, or to get, delete, or update a message. To set a custom ID, specify the [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when you create the message. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).",
3272
3473
  "type": "string"
3273
3474
  },
3274
3475
  "createTime": {
@@ -3300,7 +3501,7 @@
3300
3501
  "type": "string"
3301
3502
  },
3302
3503
  "formattedText": {
3303
- "description": "Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text\u2014for example, ``. * Custom emoji using the format `:{emoji_name}:`\u2014for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. For more information, see [View text formatting sent in a message](https://developers.google.com/chat/format-messages#view_text_formatting_sent_in_a_message)",
3504
+ "description": "Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text\u2014for example, ``. * Custom emoji using the format `:{emoji_name}:`\u2014for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)",
3304
3505
  "readOnly": true,
3305
3506
  "type": "string"
3306
3507
  },
@@ -3312,16 +3513,16 @@
3312
3513
  },
3313
3514
  "matchedUrl": {
3314
3515
  "$ref": "MatchedUrl",
3315
- "description": "Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links).",
3516
+ "description": "Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links).",
3316
3517
  "readOnly": true
3317
3518
  },
3318
3519
  "name": {
3319
- "description": "Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).",
3520
+ "description": "Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).",
3320
3521
  "type": "string"
3321
3522
  },
3322
3523
  "privateMessageViewer": {
3323
3524
  "$ref": "User",
3324
- "description": "Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. Link previews and attachments aren't supported for private messages. Only Chat apps can send private messages. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users) to send a message, the message can't be private and must omit this field. For details, see [Send private messages to Google Chat users](https://developers.google.com/chat/api/guides/v1/messages/private)."
3525
+ "description": "Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. Link previews and attachments aren't supported for private messages. Only Chat apps can send private messages. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) to send a message, the message can't be private and must omit this field. For details, see [Send private messages to Google Chat users](https://developers.google.com/workspace/chat/private-messages)."
3325
3526
  },
3326
3527
  "quotedMessageMetadata": {
3327
3528
  "$ref": "QuotedMessageMetadata",
@@ -3330,7 +3531,7 @@
3330
3531
  },
3331
3532
  "sender": {
3332
3533
  "$ref": "User",
3333
- "description": "Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.",
3534
+ "description": "Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output populates the [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User) `name` and `type`.",
3334
3535
  "readOnly": true
3335
3536
  },
3336
3537
  "slashCommand": {
@@ -3340,15 +3541,15 @@
3340
3541
  },
3341
3542
  "space": {
3342
3543
  "$ref": "Space",
3343
- "description": "If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [space](https://developers.google.com/chat/api/reference/rest/v1/spaces) `name`."
3544
+ "description": "If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output populates the [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces) `name`."
3344
3545
  },
3345
3546
  "text": {
3346
- "description": "Plain-text body of the message. The first link to an image, video, or web page generates a [preview chip](https://developers.google.com/chat/how-tos/preview-links). You can also [@mention a Google Chat user](https://developers.google.com/chat/format-messages#messages-@mention), or everyone in the space. To learn about creating text messages, see [Send a text message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).",
3547
+ "description": "Plain-text body of the message. The first link to an image, video, or web page generates a [preview chip](https://developers.google.com/workspace/chat/preview-links). You can also [@mention a Google Chat user](https://developers.google.com/workspace/chat/format-messages#messages-@mention), or everyone in the space. To learn about creating text messages, see [Send a text message](https://developers.google.com/workspace/chat/create-messages#create-text-messages).",
3347
3548
  "type": "string"
3348
3549
  },
3349
3550
  "thread": {
3350
3551
  "$ref": "Thread",
3351
- "description": "The thread the message belongs to. For example usage, see [Start or reply to a message thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread)."
3552
+ "description": "The thread the message belongs to. For example usage, see [Start or reply to a message thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread)."
3352
3553
  },
3353
3554
  "threadReply": {
3354
3555
  "description": "Output only. When `true`, the message is a response in a reply thread. When `false`, the message is visible in the space's top-level conversation as either the first message of a thread or a message with no threaded replies. If the space doesn't support reply in threads, this field is always `false`.",
@@ -3358,6 +3559,81 @@
3358
3559
  },
3359
3560
  "type": "object"
3360
3561
  },
3562
+ "MessageBatchCreatedEventData": {
3563
+ "description": "Event payload for multiple new messages. Event type: `google.workspace.chat.message.v1.batchCreated`",
3564
+ "id": "MessageBatchCreatedEventData",
3565
+ "properties": {
3566
+ "messages": {
3567
+ "description": "A list of new messages.",
3568
+ "items": {
3569
+ "$ref": "MessageCreatedEventData"
3570
+ },
3571
+ "type": "array"
3572
+ }
3573
+ },
3574
+ "type": "object"
3575
+ },
3576
+ "MessageBatchDeletedEventData": {
3577
+ "description": "Event payload for multiple deleted messages. Event type: `google.workspace.chat.message.v1.batchDeleted`",
3578
+ "id": "MessageBatchDeletedEventData",
3579
+ "properties": {
3580
+ "messages": {
3581
+ "description": "A list of deleted messages.",
3582
+ "items": {
3583
+ "$ref": "MessageDeletedEventData"
3584
+ },
3585
+ "type": "array"
3586
+ }
3587
+ },
3588
+ "type": "object"
3589
+ },
3590
+ "MessageBatchUpdatedEventData": {
3591
+ "description": "Event payload for multiple updated messages. Event type: `google.workspace.chat.message.v1.batchUpdated`",
3592
+ "id": "MessageBatchUpdatedEventData",
3593
+ "properties": {
3594
+ "messages": {
3595
+ "description": "A list of updated messages.",
3596
+ "items": {
3597
+ "$ref": "MessageUpdatedEventData"
3598
+ },
3599
+ "type": "array"
3600
+ }
3601
+ },
3602
+ "type": "object"
3603
+ },
3604
+ "MessageCreatedEventData": {
3605
+ "description": "Event payload for a new message. Event type: `google.workspace.chat.message.v1.created`",
3606
+ "id": "MessageCreatedEventData",
3607
+ "properties": {
3608
+ "message": {
3609
+ "$ref": "Message",
3610
+ "description": "The new message."
3611
+ }
3612
+ },
3613
+ "type": "object"
3614
+ },
3615
+ "MessageDeletedEventData": {
3616
+ "description": "Event payload for a deleted message. Event type: `google.workspace.chat.message.v1.deleted`",
3617
+ "id": "MessageDeletedEventData",
3618
+ "properties": {
3619
+ "message": {
3620
+ "$ref": "Message",
3621
+ "description": "The deleted message. Only the `name`, `createTime`, `deleteTime`, and `deletionMetadata` fields are populated."
3622
+ }
3623
+ },
3624
+ "type": "object"
3625
+ },
3626
+ "MessageUpdatedEventData": {
3627
+ "description": "Event payload for an updated message. Event type: `google.workspace.chat.message.v1.updated`",
3628
+ "id": "MessageUpdatedEventData",
3629
+ "properties": {
3630
+ "message": {
3631
+ "$ref": "Message",
3632
+ "description": "The updated message."
3633
+ }
3634
+ },
3635
+ "type": "object"
3636
+ },
3361
3637
  "OnClick": {
3362
3638
  "description": "An `onclick` action (for example, open a link).",
3363
3639
  "id": "OnClick",
@@ -3422,6 +3698,56 @@
3422
3698
  },
3423
3699
  "type": "object"
3424
3700
  },
3701
+ "ReactionBatchCreatedEventData": {
3702
+ "description": "Event payload for multiple new reactions. Event type: `google.workspace.chat.reaction.v1.batchCreated`",
3703
+ "id": "ReactionBatchCreatedEventData",
3704
+ "properties": {
3705
+ "reactions": {
3706
+ "description": "A list of new reactions.",
3707
+ "items": {
3708
+ "$ref": "ReactionCreatedEventData"
3709
+ },
3710
+ "type": "array"
3711
+ }
3712
+ },
3713
+ "type": "object"
3714
+ },
3715
+ "ReactionBatchDeletedEventData": {
3716
+ "description": "Event payload for multiple deleted reactions. Event type: `google.workspace.chat.reaction.v1.batchDeleted`",
3717
+ "id": "ReactionBatchDeletedEventData",
3718
+ "properties": {
3719
+ "reactions": {
3720
+ "description": "A list of deleted reactions.",
3721
+ "items": {
3722
+ "$ref": "ReactionDeletedEventData"
3723
+ },
3724
+ "type": "array"
3725
+ }
3726
+ },
3727
+ "type": "object"
3728
+ },
3729
+ "ReactionCreatedEventData": {
3730
+ "description": "Event payload for a new reaction. Event type: `google.workspace.chat.reaction.v1.created`",
3731
+ "id": "ReactionCreatedEventData",
3732
+ "properties": {
3733
+ "reaction": {
3734
+ "$ref": "Reaction",
3735
+ "description": "The new reaction."
3736
+ }
3737
+ },
3738
+ "type": "object"
3739
+ },
3740
+ "ReactionDeletedEventData": {
3741
+ "description": "Event payload for a deleted reaction. Type: `google.workspace.chat.reaction.v1.deleted`",
3742
+ "id": "ReactionDeletedEventData",
3743
+ "properties": {
3744
+ "reaction": {
3745
+ "$ref": "Reaction",
3746
+ "description": "The deleted reaction."
3747
+ }
3748
+ },
3749
+ "type": "object"
3750
+ },
3425
3751
  "RichLinkMetadata": {
3426
3752
  "description": "A rich link to a resource.",
3427
3753
  "id": "RichLinkMetadata",
@@ -3454,7 +3780,7 @@
3454
3780
  "id": "Section",
3455
3781
  "properties": {
3456
3782
  "header": {
3457
- "description": "The header of the section. Formatted text is supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
3783
+ "description": "The header of the section. Formatted text is supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
3458
3784
  "type": "string"
3459
3785
  },
3460
3786
  "widgets": {
@@ -3482,6 +3808,7 @@
3482
3808
  "type": "object"
3483
3809
  },
3484
3810
  "SetUpSpaceRequest": {
3811
+ "description": "Request to create a space and add specified users to it.",
3485
3812
  "id": "SetUpSpaceRequest",
3486
3813
  "properties": {
3487
3814
  "memberships": {
@@ -3503,7 +3830,7 @@
3503
3830
  "type": "object"
3504
3831
  },
3505
3832
  "SlashCommand": {
3506
- "description": "A [slash command](https://developers.google.com/chat/how-tos/slash-commands) in Google Chat.",
3833
+ "description": "A [slash command](https://developers.google.com/workspace/chat/slash-commands) in Google Chat.",
3507
3834
  "id": "SlashCommand",
3508
3835
  "properties": {
3509
3836
  "commandId": {
@@ -3567,11 +3894,11 @@
3567
3894
  "type": "string"
3568
3895
  },
3569
3896
  "displayName": {
3570
- "description": "The space's display name. Required when [creating a space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create). If you receive the error message `ALREADY_EXISTS` when creating a space or updating the `displayName`, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. For direct messages, this field might be empty. Supports up to 128 characters.",
3897
+ "description": "The space's display name. Required when [creating a space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create). If you receive the error message `ALREADY_EXISTS` when creating a space or updating the `displayName`, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. For direct messages, this field might be empty. Supports up to 128 characters.",
3571
3898
  "type": "string"
3572
3899
  },
3573
3900
  "externalUserAllowed": {
3574
- "description": "Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. Omit this field when creating spaces in the following conditions: * The authenticated user uses a Google Account. By default, the space permits any Google Chat user. * The space is used to [import data to Google Chat] (https://developers.google.com/chat/api/guides/import-data-overview). Import mode spaces must only permit members from the same Google Workspace organization. For existing spaces, this field is output only.",
3901
+ "description": "Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. Omit this field when creating spaces in the following conditions: * The authenticated user uses a consumer account (unmanaged user account). By default, a space created by a consumer account permits any Google Chat user. * The space is used to [import data to Google Chat] (https://developers.google.com/chat/api/guides/import-data-overview) because import mode spaces must only permit members from the same Google Workspace organization. However, as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), import mode spaces can permit any Google Chat user so this field can then be set for import mode spaces. For existing spaces, this field is output only.",
3575
3902
  "type": "boolean"
3576
3903
  },
3577
3904
  "importMode": {
@@ -3652,7 +3979,7 @@
3652
3979
  "DM"
3653
3980
  ],
3654
3981
  "enumDescriptions": [
3655
- "",
3982
+ "Reserved.",
3656
3983
  "Conversations between two or more humans.",
3657
3984
  "1:1 Direct Message between a human and a Chat app, where all messages are flat. Note that this doesn't include direct messages between two humans."
3658
3985
  ],
@@ -3662,6 +3989,20 @@
3662
3989
  },
3663
3990
  "type": "object"
3664
3991
  },
3992
+ "SpaceBatchUpdatedEventData": {
3993
+ "description": "Event payload for multiple updates to a space. Event type: `google.workspace.chat.space.v1.batchUpdated`",
3994
+ "id": "SpaceBatchUpdatedEventData",
3995
+ "properties": {
3996
+ "spaces": {
3997
+ "description": "A list of updated spaces.",
3998
+ "items": {
3999
+ "$ref": "SpaceUpdatedEventData"
4000
+ },
4001
+ "type": "array"
4002
+ }
4003
+ },
4004
+ "type": "object"
4005
+ },
3665
4006
  "SpaceDataSource": {
3666
4007
  "description": "A data source that populates Google Chat spaces as selection items for a multiselect menu. Only populates spaces that the user is a member of. [Google Chat apps](https://developers.google.com/workspace/chat):",
3667
4008
  "id": "SpaceDataSource",
@@ -3688,6 +4029,109 @@
3688
4029
  },
3689
4030
  "type": "object"
3690
4031
  },
4032
+ "SpaceEvent": {
4033
+ "description": "An event that represents a change or activity in a Google Chat space. To learn more, see [Work with events from Google Chat](https://developers.google.com/workspace/chat/events-overview).",
4034
+ "id": "SpaceEvent",
4035
+ "properties": {
4036
+ "eventTime": {
4037
+ "description": "Time when the event occurred.",
4038
+ "format": "google-datetime",
4039
+ "type": "string"
4040
+ },
4041
+ "eventType": {
4042
+ "description": "Type of space event. Each event type has a batch version, which represents multiple instances of the event type that occur in a short period of time. For `spaceEvents.list()` requests, omit batch event types in your query filter. By default, the server returns both event type and its batch version. Supported event types for [messages](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages): * New message: `google.workspace.chat.message.v1.created` * Updated message: `google.workspace.chat.message.v1.updated` * Deleted message: `google.workspace.chat.message.v1.deleted` * Multiple new messages: `google.workspace.chat.message.v1.batchCreated` * Multiple updated messages: `google.workspace.chat.message.v1.batchUpdated` * Multiple deleted messages: `google.workspace.chat.message.v1.batchDeleted` Supported event types for [memberships](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members): * New membership: `google.workspace.chat.membership.v1.created` * Updated membership: `google.workspace.chat.membership.v1.updated` * Deleted membership: `google.workspace.chat.membership.v1.deleted` * Multiple new memberships: `google.workspace.chat.membership.v1.batchCreated` * Multiple updated memberships: `google.workspace.chat.membership.v1.batchUpdated` * Multiple deleted memberships: `google.workspace.chat.membership.v1.batchDeleted` Supported event types for [reactions](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.reactions): * New reaction: `google.workspace.chat.reaction.v1.created` * Deleted reaction: `google.workspace.chat.reaction.v1.deleted` * Multiple new reactions: `google.workspace.chat.reaction.v1.batchCreated` * Multiple deleted reactions: `google.workspace.chat.reaction.v1.batchDeleted` Supported event types about the [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces): * Updated space: `google.workspace.chat.space.v1.updated` * Multiple space updates: `google.workspace.chat.space.v1.batchUpdated`",
4043
+ "type": "string"
4044
+ },
4045
+ "membershipBatchCreatedEventData": {
4046
+ "$ref": "MembershipBatchCreatedEventData",
4047
+ "description": "Event payload for multiple new memberships. Event type: `google.workspace.chat.membership.v1.batchCreated`"
4048
+ },
4049
+ "membershipBatchDeletedEventData": {
4050
+ "$ref": "MembershipBatchDeletedEventData",
4051
+ "description": "Event payload for multiple deleted memberships. Event type: `google.workspace.chat.membership.v1.batchDeleted`"
4052
+ },
4053
+ "membershipBatchUpdatedEventData": {
4054
+ "$ref": "MembershipBatchUpdatedEventData",
4055
+ "description": "Event payload for multiple updated memberships. Event type: `google.workspace.chat.membership.v1.batchUpdated`"
4056
+ },
4057
+ "membershipCreatedEventData": {
4058
+ "$ref": "MembershipCreatedEventData",
4059
+ "description": "Event payload for a new membership. Event type: `google.workspace.chat.membership.v1.created`"
4060
+ },
4061
+ "membershipDeletedEventData": {
4062
+ "$ref": "MembershipDeletedEventData",
4063
+ "description": "Event payload for a deleted membership. Event type: `google.workspace.chat.membership.v1.deleted`"
4064
+ },
4065
+ "membershipUpdatedEventData": {
4066
+ "$ref": "MembershipUpdatedEventData",
4067
+ "description": "Event payload for an updated membership. Event type: `google.workspace.chat.membership.v1.updated`"
4068
+ },
4069
+ "messageBatchCreatedEventData": {
4070
+ "$ref": "MessageBatchCreatedEventData",
4071
+ "description": "Event payload for multiple new messages. Event type: `google.workspace.chat.message.v1.batchCreated`"
4072
+ },
4073
+ "messageBatchDeletedEventData": {
4074
+ "$ref": "MessageBatchDeletedEventData",
4075
+ "description": "Event payload for multiple deleted messages. Event type: `google.workspace.chat.message.v1.batchDeleted`"
4076
+ },
4077
+ "messageBatchUpdatedEventData": {
4078
+ "$ref": "MessageBatchUpdatedEventData",
4079
+ "description": "Event payload for multiple updated messages. Event type: `google.workspace.chat.message.v1.batchUpdated`"
4080
+ },
4081
+ "messageCreatedEventData": {
4082
+ "$ref": "MessageCreatedEventData",
4083
+ "description": "Event payload for a new message. Event type: `google.workspace.chat.message.v1.created`"
4084
+ },
4085
+ "messageDeletedEventData": {
4086
+ "$ref": "MessageDeletedEventData",
4087
+ "description": "Event payload for a deleted message. Event type: `google.workspace.chat.message.v1.deleted`"
4088
+ },
4089
+ "messageUpdatedEventData": {
4090
+ "$ref": "MessageUpdatedEventData",
4091
+ "description": "Event payload for an updated message. Event type: `google.workspace.chat.message.v1.updated`"
4092
+ },
4093
+ "name": {
4094
+ "description": "Resource name of the space event. Format: `spaces/{space}/spaceEvents/{spaceEvent}`",
4095
+ "type": "string"
4096
+ },
4097
+ "reactionBatchCreatedEventData": {
4098
+ "$ref": "ReactionBatchCreatedEventData",
4099
+ "description": "Event payload for multiple new reactions. Event type: `google.workspace.chat.reaction.v1.batchCreated`"
4100
+ },
4101
+ "reactionBatchDeletedEventData": {
4102
+ "$ref": "ReactionBatchDeletedEventData",
4103
+ "description": "Event payload for multiple deleted reactions. Event type: `google.workspace.chat.reaction.v1.batchDeleted`"
4104
+ },
4105
+ "reactionCreatedEventData": {
4106
+ "$ref": "ReactionCreatedEventData",
4107
+ "description": "Event payload for a new reaction. Event type: `google.workspace.chat.reaction.v1.created`"
4108
+ },
4109
+ "reactionDeletedEventData": {
4110
+ "$ref": "ReactionDeletedEventData",
4111
+ "description": "Event payload for a deleted reaction. Event type: `google.workspace.chat.reaction.v1.deleted`"
4112
+ },
4113
+ "spaceBatchUpdatedEventData": {
4114
+ "$ref": "SpaceBatchUpdatedEventData",
4115
+ "description": "Event payload for multiple updates to a space. Event type: `google.workspace.chat.space.v1.batchUpdated`"
4116
+ },
4117
+ "spaceUpdatedEventData": {
4118
+ "$ref": "SpaceUpdatedEventData",
4119
+ "description": "Event payload for a space update. Event type: `google.workspace.chat.space.v1.updated`"
4120
+ }
4121
+ },
4122
+ "type": "object"
4123
+ },
4124
+ "SpaceUpdatedEventData": {
4125
+ "description": "Event payload for an updated space. Event type: `google.workspace.chat.space.v1.updated`",
4126
+ "id": "SpaceUpdatedEventData",
4127
+ "properties": {
4128
+ "space": {
4129
+ "$ref": "Space",
4130
+ "description": "The updated space."
4131
+ }
4132
+ },
4133
+ "type": "object"
4134
+ },
3691
4135
  "Status": {
3692
4136
  "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
3693
4137
  "id": "Status",
@@ -3745,7 +4189,7 @@
3745
4189
  "type": "object"
3746
4190
  },
3747
4191
  "TextParagraph": {
3748
- "description": "A paragraph of text. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
4192
+ "description": "A paragraph of text. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).",
3749
4193
  "id": "TextParagraph",
3750
4194
  "properties": {
3751
4195
  "text": {
@@ -3755,7 +4199,7 @@
3755
4199
  "type": "object"
3756
4200
  },
3757
4201
  "Thread": {
3758
- "description": "A thread in a Google Chat space. For example usage, see [Start or reply to a message thread](https://developers.google.com/chat/api/guides/v1/messages/create#create-message-thread). If you specify a thread when creating a message, you can set the [`messageReplyOption`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#messagereplyoption) field to determine what happens if no matching thread is found.",
4202
+ "description": "A thread in a Google Chat space. For example usage, see [Start or reply to a message thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread). If you specify a thread when creating a message, you can set the [`messageReplyOption`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#messagereplyoption) field to determine what happens if no matching thread is found.",
3759
4203
  "id": "Thread",
3760
4204
  "properties": {
3761
4205
  "name": {
@@ -3818,6 +4262,7 @@
3818
4262
  "type": "object"
3819
4263
  },
3820
4264
  "UploadAttachmentRequest": {
4265
+ "description": "Request to upload an attachment.",
3821
4266
  "id": "UploadAttachmentRequest",
3822
4267
  "properties": {
3823
4268
  "filename": {
@@ -3828,6 +4273,7 @@
3828
4273
  "type": "object"
3829
4274
  },
3830
4275
  "UploadAttachmentResponse": {
4276
+ "description": "Response of uploading an attachment.",
3831
4277
  "id": "UploadAttachmentResponse",
3832
4278
  "properties": {
3833
4279
  "attachmentDataRef": {
@@ -3838,7 +4284,7 @@
3838
4284
  "type": "object"
3839
4285
  },
3840
4286
  "User": {
3841
- "description": "A user in Google Chat. When returned as an output from a request, if your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output for a `User` resource only populates the user's `name` and `type`.",
4287
+ "description": "A user in Google Chat. When returned as an output from a request, if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output for a `User` resource only populates the user's `name` and `type`.",
3842
4288
  "id": "User",
3843
4289
  "properties": {
3844
4290
  "displayName": {