google-api-python-client 2.86.0__py2.py3-none-any.whl → 2.87.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 (406) hide show
  1. {google_api_python_client-2.86.0.dist-info → google_api_python_client-2.87.0.dist-info}/METADATA +2 -2
  2. {google_api_python_client-2.86.0.dist-info → google_api_python_client-2.87.0.dist-info}/RECORD +406 -404
  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 +12 -3
  6. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +1 -1
  7. googleapiclient/discovery_cache/documents/accesscontextmanager.v1beta.json +1 -1
  8. googleapiclient/discovery_cache/documents/acmedns.v1.json +1 -1
  9. googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json +4 -4
  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 +4 -4
  14. googleapiclient/discovery_cache/documents/admin.directoryv1.json +4 -4
  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 +2 -2
  18. googleapiclient/discovery_cache/documents/admob.v1beta.json +2 -2
  19. googleapiclient/discovery_cache/documents/adsense.v2.json +1 -1
  20. googleapiclient/discovery_cache/documents/advisorynotifications.v1.json +1 -1
  21. googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json +86 -6
  22. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +445 -9
  23. googleapiclient/discovery_cache/documents/analyticsadmin.v1beta.json +1 -1
  24. googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json +4 -4
  25. googleapiclient/discovery_cache/documents/analyticshub.v1.json +1 -20
  26. googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json +1 -20
  27. googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json +10 -3
  28. googleapiclient/discovery_cache/documents/androidenterprise.v1.json +5 -1
  29. googleapiclient/discovery_cache/documents/androidmanagement.v1.json +39 -8
  30. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +23 -17
  31. googleapiclient/discovery_cache/documents/apigateway.v1.json +2 -2
  32. googleapiclient/discovery_cache/documents/apigateway.v1beta.json +2 -2
  33. googleapiclient/discovery_cache/documents/apigee.v1.json +34 -25
  34. googleapiclient/discovery_cache/documents/apikeys.v2.json +1 -1
  35. googleapiclient/discovery_cache/documents/appengine.v1.json +2 -2
  36. googleapiclient/discovery_cache/documents/appengine.v1alpha.json +2 -2
  37. googleapiclient/discovery_cache/documents/appengine.v1beta.json +2 -2
  38. googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json +1 -1
  39. googleapiclient/discovery_cache/documents/artifactregistry.v1.json +206 -2
  40. googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json +4 -2
  41. googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json +4 -2
  42. googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +22 -18
  43. googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +130 -2
  44. googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json +3 -3
  45. googleapiclient/discovery_cache/documents/baremetalsolution.v2.json +2 -2
  46. googleapiclient/discovery_cache/documents/batch.v1.json +45 -4
  47. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +286 -2
  48. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +458 -2
  49. googleapiclient/discovery_cache/documents/bigquery.v2.json +196 -42
  50. googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json +1 -1
  51. googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +4 -2
  52. googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +4 -3
  53. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +6 -2
  54. googleapiclient/discovery_cache/documents/billingbudgets.v1.json +1 -1
  55. googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json +1 -1
  56. googleapiclient/discovery_cache/documents/binaryauthorization.v1.json +1 -1
  57. googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json +1 -1
  58. googleapiclient/discovery_cache/documents/blogger.v2.json +1 -1
  59. googleapiclient/discovery_cache/documents/blogger.v3.json +1 -1
  60. googleapiclient/discovery_cache/documents/books.v1.json +1 -1
  61. googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json +2 -2
  62. googleapiclient/discovery_cache/documents/certificatemanager.v1.json +4 -4
  63. googleapiclient/discovery_cache/documents/chat.v1.json +973 -166
  64. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +91 -27
  65. googleapiclient/discovery_cache/documents/chromepolicy.v1.json +9 -1
  66. googleapiclient/discovery_cache/documents/chromeuxreport.v1.json +1 -1
  67. googleapiclient/discovery_cache/documents/civicinfo.v2.json +1 -1
  68. googleapiclient/discovery_cache/documents/classroom.v1.json +1 -1
  69. googleapiclient/discovery_cache/documents/cloudasset.v1.json +172 -7
  70. googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json +1 -1
  71. googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json +1 -1
  72. googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json +1 -1
  73. googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json +1 -1
  74. googleapiclient/discovery_cache/documents/cloudbilling.v1.json +1 -1
  75. googleapiclient/discovery_cache/documents/cloudbilling.v1beta.json +2 -2
  76. googleapiclient/discovery_cache/documents/cloudbuild.v1.json +51 -19
  77. googleapiclient/discovery_cache/documents/cloudchannel.v1.json +164 -16
  78. googleapiclient/discovery_cache/documents/clouddebugger.v2.json +1 -1
  79. googleapiclient/discovery_cache/documents/clouddeploy.v1.json +53 -3
  80. googleapiclient/discovery_cache/documents/clouderrorreporting.v1beta1.json +1 -1
  81. googleapiclient/discovery_cache/documents/cloudfunctions.v1.json +92 -92
  82. googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +91 -91
  83. googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +91 -91
  84. googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +91 -91
  85. googleapiclient/discovery_cache/documents/cloudidentity.v1.json +1 -1
  86. googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +1 -1
  87. googleapiclient/discovery_cache/documents/cloudkms.v1.json +2 -2
  88. googleapiclient/discovery_cache/documents/cloudprofiler.v2.json +1 -1
  89. googleapiclient/discovery_cache/documents/cloudresourcemanager.v1.json +1 -1
  90. googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json +2 -1
  91. googleapiclient/discovery_cache/documents/cloudresourcemanager.v2.json +1 -1
  92. googleapiclient/discovery_cache/documents/cloudresourcemanager.v2beta1.json +1 -1
  93. googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json +8 -8
  94. googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +3 -3
  95. googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json +3 -3
  96. googleapiclient/discovery_cache/documents/cloudsearch.v1.json +369 -44
  97. googleapiclient/discovery_cache/documents/cloudshell.v1.json +1 -1
  98. googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +12 -12
  99. googleapiclient/discovery_cache/documents/cloudtasks.v2.json +2 -2
  100. googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json +2 -2
  101. googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json +11 -3
  102. googleapiclient/discovery_cache/documents/cloudtrace.v1.json +1 -1
  103. googleapiclient/discovery_cache/documents/cloudtrace.v2.json +2 -2
  104. googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json +1 -1
  105. googleapiclient/discovery_cache/documents/composer.v1.json +349 -3
  106. googleapiclient/discovery_cache/documents/composer.v1beta1.json +272 -3
  107. googleapiclient/discovery_cache/documents/compute.alpha.json +539 -40
  108. googleapiclient/discovery_cache/documents/compute.beta.json +3403 -757
  109. googleapiclient/discovery_cache/documents/compute.v1.json +1017 -26
  110. googleapiclient/discovery_cache/documents/connectors.v1.json +524 -3
  111. googleapiclient/discovery_cache/documents/connectors.v2.json +1 -1
  112. googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json +50 -4
  113. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +157 -1
  114. googleapiclient/discovery_cache/documents/container.v1.json +30 -22
  115. googleapiclient/discovery_cache/documents/container.v1beta1.json +45 -22
  116. googleapiclient/discovery_cache/documents/containeranalysis.v1.json +208 -87
  117. googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +81 -5
  118. googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +159 -7
  119. googleapiclient/discovery_cache/documents/content.v2.1.json +211 -7
  120. googleapiclient/discovery_cache/documents/contentwarehouse.v1.json +1468 -234
  121. googleapiclient/discovery_cache/documents/customsearch.v1.json +1 -1
  122. googleapiclient/discovery_cache/documents/datacatalog.v1.json +19 -4
  123. googleapiclient/discovery_cache/documents/datacatalog.v1beta1.json +8 -3
  124. googleapiclient/discovery_cache/documents/dataflow.v1b3.json +38 -3
  125. googleapiclient/discovery_cache/documents/dataform.v1beta1.json +50 -2
  126. googleapiclient/discovery_cache/documents/datafusion.v1.json +7 -2
  127. googleapiclient/discovery_cache/documents/datafusion.v1beta1.json +7 -2
  128. googleapiclient/discovery_cache/documents/datalabeling.v1beta1.json +2 -2
  129. googleapiclient/discovery_cache/documents/datalineage.v1.json +4 -4
  130. googleapiclient/discovery_cache/documents/datamigration.v1.json +106 -5
  131. googleapiclient/discovery_cache/documents/datamigration.v1beta1.json +6 -4
  132. googleapiclient/discovery_cache/documents/datapipelines.v1.json +1 -1
  133. googleapiclient/discovery_cache/documents/dataplex.v1.json +381 -4
  134. googleapiclient/discovery_cache/documents/dataproc.v1.json +7 -7
  135. googleapiclient/discovery_cache/documents/datastore.v1.json +2 -2
  136. googleapiclient/discovery_cache/documents/datastore.v1beta1.json +1 -1
  137. googleapiclient/discovery_cache/documents/datastore.v1beta3.json +2 -2
  138. googleapiclient/discovery_cache/documents/datastream.v1.json +3 -3
  139. googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +27 -2
  140. googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json +1 -1
  141. googleapiclient/discovery_cache/documents/deploymentmanager.v2.json +1 -1
  142. googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json +1 -1
  143. googleapiclient/discovery_cache/documents/dfareporting.v3.5.json +1 -1
  144. googleapiclient/discovery_cache/documents/dfareporting.v4.json +62 -1
  145. googleapiclient/discovery_cache/documents/dialogflow.v2.json +365 -18
  146. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +439 -18
  147. googleapiclient/discovery_cache/documents/dialogflow.v3.json +219 -18
  148. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +219 -18
  149. googleapiclient/discovery_cache/documents/digitalassetlinks.v1.json +1 -1
  150. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +344 -29
  151. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +344 -29
  152. googleapiclient/discovery_cache/documents/displayvideo.v1.json +100 -100
  153. googleapiclient/discovery_cache/documents/displayvideo.v2.json +106 -106
  154. googleapiclient/discovery_cache/documents/dlp.v2.json +20 -12
  155. googleapiclient/discovery_cache/documents/dns.v1.json +1 -1
  156. googleapiclient/discovery_cache/documents/dns.v1beta2.json +1 -1
  157. googleapiclient/discovery_cache/documents/docs.v1.json +1 -1
  158. googleapiclient/discovery_cache/documents/documentai.v1.json +417 -141
  159. googleapiclient/discovery_cache/documents/documentai.v1beta2.json +309 -108
  160. googleapiclient/discovery_cache/documents/documentai.v1beta3.json +427 -147
  161. googleapiclient/discovery_cache/documents/domains.v1.json +2 -2
  162. googleapiclient/discovery_cache/documents/domains.v1alpha2.json +2 -2
  163. googleapiclient/discovery_cache/documents/domains.v1beta1.json +2 -2
  164. googleapiclient/discovery_cache/documents/domainsrdap.v1.json +1 -1
  165. googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.1.json +1 -1
  166. googleapiclient/discovery_cache/documents/doubleclickbidmanager.v2.json +3 -3
  167. googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json +1 -1
  168. googleapiclient/discovery_cache/documents/drive.v2.json +9 -4
  169. googleapiclient/discovery_cache/documents/drive.v3.json +44 -39
  170. googleapiclient/discovery_cache/documents/driveactivity.v2.json +1 -1
  171. googleapiclient/discovery_cache/documents/drivelabels.v2.json +6 -4
  172. googleapiclient/discovery_cache/documents/drivelabels.v2beta.json +6 -4
  173. googleapiclient/discovery_cache/documents/essentialcontacts.v1.json +1 -1
  174. googleapiclient/discovery_cache/documents/eventarc.v1.json +10 -10
  175. googleapiclient/discovery_cache/documents/eventarc.v1beta1.json +2 -2
  176. googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json +1 -1
  177. googleapiclient/discovery_cache/documents/fcm.v1.json +17 -1
  178. googleapiclient/discovery_cache/documents/fcmdata.v1beta1.json +1 -1
  179. googleapiclient/discovery_cache/documents/file.v1.json +10 -6
  180. googleapiclient/discovery_cache/documents/file.v1beta1.json +61 -6
  181. googleapiclient/discovery_cache/documents/firebase.v1beta1.json +1 -1
  182. googleapiclient/discovery_cache/documents/firebaseappcheck.v1.json +5 -1
  183. googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json +62 -1
  184. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1.json +2 -12
  185. googleapiclient/discovery_cache/documents/firebasedatabase.v1beta.json +1 -1
  186. googleapiclient/discovery_cache/documents/firebasedynamiclinks.v1.json +1 -1
  187. googleapiclient/discovery_cache/documents/firebasehosting.v1.json +1 -1
  188. googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json +7 -1
  189. googleapiclient/discovery_cache/documents/firebaseml.v1.json +1 -1
  190. googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json +1 -1
  191. googleapiclient/discovery_cache/documents/firebaserules.v1.json +1 -1
  192. googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json +5 -5
  193. googleapiclient/discovery_cache/documents/firestore.v1.json +509 -3
  194. googleapiclient/discovery_cache/documents/firestore.v1beta1.json +43 -1
  195. googleapiclient/discovery_cache/documents/firestore.v1beta2.json +1 -1
  196. googleapiclient/discovery_cache/documents/fitness.v1.json +1 -1
  197. googleapiclient/discovery_cache/documents/forms.v1.json +1 -1
  198. googleapiclient/discovery_cache/documents/games.v1.json +1 -1
  199. googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json +1 -1
  200. googleapiclient/discovery_cache/documents/gamesManagement.v1management.json +1 -1
  201. googleapiclient/discovery_cache/documents/gameservices.v1.json +2 -2
  202. googleapiclient/discovery_cache/documents/gameservices.v1beta.json +2 -2
  203. googleapiclient/discovery_cache/documents/genomics.v2alpha1.json +1 -1
  204. googleapiclient/discovery_cache/documents/gkebackup.v1.json +2 -2
  205. googleapiclient/discovery_cache/documents/gkehub.v1.json +108 -12
  206. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +162 -25
  207. googleapiclient/discovery_cache/documents/gkehub.v1alpha2.json +8 -8
  208. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +154 -17
  209. googleapiclient/discovery_cache/documents/gkehub.v1beta1.json +3 -2
  210. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +2 -2
  211. googleapiclient/discovery_cache/documents/gkeonprem.v1.json +6197 -0
  212. googleapiclient/discovery_cache/documents/gmail.v1.json +3 -3
  213. googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json +1 -1
  214. googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json +1 -1
  215. googleapiclient/discovery_cache/documents/healthcare.v1.json +50 -6
  216. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +16 -8
  217. googleapiclient/discovery_cache/documents/homegraph.v1.json +1 -1
  218. googleapiclient/discovery_cache/documents/iam.v1.json +40 -3
  219. googleapiclient/discovery_cache/documents/iam.v2.json +1 -1
  220. googleapiclient/discovery_cache/documents/iam.v2beta.json +1 -1
  221. googleapiclient/discovery_cache/documents/iamcredentials.v1.json +1 -1
  222. googleapiclient/discovery_cache/documents/iap.v1.json +1 -1
  223. googleapiclient/discovery_cache/documents/iap.v1beta1.json +1 -1
  224. googleapiclient/discovery_cache/documents/identitytoolkit.v1.json +56 -1
  225. googleapiclient/discovery_cache/documents/identitytoolkit.v2.json +608 -1
  226. googleapiclient/discovery_cache/documents/indexing.v3.json +1 -1
  227. googleapiclient/discovery_cache/documents/integrations.v1alpha.json +75 -5
  228. googleapiclient/discovery_cache/documents/jobs.v3.json +1 -1
  229. googleapiclient/discovery_cache/documents/jobs.v3p1beta1.json +1 -1
  230. googleapiclient/discovery_cache/documents/jobs.v4.json +1 -1
  231. googleapiclient/discovery_cache/documents/keep.v1.json +1 -1
  232. googleapiclient/discovery_cache/documents/kgsearch.v1.json +1 -1
  233. googleapiclient/discovery_cache/documents/kmsinventory.v1.json +1 -1
  234. googleapiclient/discovery_cache/documents/language.v1.json +2 -2
  235. googleapiclient/discovery_cache/documents/language.v1beta2.json +3 -3
  236. googleapiclient/discovery_cache/documents/libraryagent.v1.json +1 -1
  237. googleapiclient/discovery_cache/documents/licensing.v1.json +1 -1
  238. googleapiclient/discovery_cache/documents/lifesciences.v2beta.json +2 -2
  239. googleapiclient/discovery_cache/documents/localservices.v1.json +1 -1
  240. googleapiclient/discovery_cache/documents/logging.v2.json +3 -3
  241. googleapiclient/discovery_cache/documents/managedidentities.v1.json +93 -2
  242. googleapiclient/discovery_cache/documents/managedidentities.v1alpha1.json +2 -2
  243. googleapiclient/discovery_cache/documents/managedidentities.v1beta1.json +2 -2
  244. googleapiclient/discovery_cache/documents/memcache.v1.json +3 -3
  245. googleapiclient/discovery_cache/documents/memcache.v1beta2.json +3 -3
  246. googleapiclient/discovery_cache/documents/metastore.v1.json +168 -2
  247. googleapiclient/discovery_cache/documents/metastore.v1alpha.json +16 -2
  248. googleapiclient/discovery_cache/documents/metastore.v1beta.json +16 -2
  249. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +198 -12
  250. googleapiclient/discovery_cache/documents/ml.v1.json +1 -1
  251. googleapiclient/discovery_cache/documents/monitoring.v1.json +1 -1
  252. googleapiclient/discovery_cache/documents/monitoring.v3.json +4 -4
  253. googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json +1 -1
  254. googleapiclient/discovery_cache/documents/mybusinessbusinesscalls.v1.json +1 -1
  255. googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +1 -1
  256. googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json +1 -1
  257. googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json +1 -1
  258. googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json +1 -1
  259. googleapiclient/discovery_cache/documents/mybusinessqanda.v1.json +1 -1
  260. googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +1 -1
  261. googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +1379 -170
  262. googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +2 -2
  263. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +6 -6
  264. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +6 -6
  265. googleapiclient/discovery_cache/documents/networksecurity.v1.json +1005 -35
  266. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +9 -9
  267. googleapiclient/discovery_cache/documents/networkservices.v1.json +15 -8
  268. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +15 -8
  269. googleapiclient/discovery_cache/documents/notebooks.v1.json +2 -2
  270. googleapiclient/discovery_cache/documents/notebooks.v2.json +2 -2
  271. googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +119 -21
  272. googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +119 -21
  273. googleapiclient/discovery_cache/documents/orgpolicy.v2.json +1 -1
  274. googleapiclient/discovery_cache/documents/osconfig.v1.json +1 -1
  275. googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +4 -1
  276. googleapiclient/discovery_cache/documents/osconfig.v1beta.json +1 -1
  277. googleapiclient/discovery_cache/documents/oslogin.v1.json +1 -1
  278. googleapiclient/discovery_cache/documents/oslogin.v1alpha.json +1 -1
  279. googleapiclient/discovery_cache/documents/oslogin.v1beta.json +1 -1
  280. googleapiclient/discovery_cache/documents/pagespeedonline.v5.json +1 -1
  281. googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +10 -4
  282. googleapiclient/discovery_cache/documents/people.v1.json +1 -1
  283. googleapiclient/discovery_cache/documents/playcustomapp.v1.json +1 -1
  284. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1alpha1.json +297 -28
  285. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json +297 -28
  286. googleapiclient/discovery_cache/documents/playintegrity.v1.json +35 -1
  287. googleapiclient/discovery_cache/documents/policyanalyzer.v1.json +1 -1
  288. googleapiclient/discovery_cache/documents/policyanalyzer.v1beta1.json +1 -1
  289. googleapiclient/discovery_cache/documents/policysimulator.v1.json +1 -1
  290. googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json +1 -1
  291. googleapiclient/discovery_cache/documents/policysimulator.v1beta.json +1 -1
  292. googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json +1 -1
  293. googleapiclient/discovery_cache/documents/policytroubleshooter.v1beta.json +1 -1
  294. googleapiclient/discovery_cache/documents/privateca.v1.json +16 -2
  295. googleapiclient/discovery_cache/documents/privateca.v1beta1.json +2 -2
  296. googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json +1 -1
  297. googleapiclient/discovery_cache/documents/publicca.v1.json +180 -0
  298. googleapiclient/discovery_cache/documents/publicca.v1alpha1.json +1 -1
  299. googleapiclient/discovery_cache/documents/publicca.v1beta1.json +1 -1
  300. googleapiclient/discovery_cache/documents/pubsub.v1.json +79 -3
  301. googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json +1 -1
  302. googleapiclient/discovery_cache/documents/pubsub.v1beta2.json +1 -1
  303. googleapiclient/discovery_cache/documents/pubsublite.v1.json +1 -1
  304. googleapiclient/discovery_cache/documents/readerrevenuesubscriptionlinking.v1.json +1 -1
  305. googleapiclient/discovery_cache/documents/realtimebidding.v1.json +1 -1
  306. googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json +1 -1
  307. googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +26 -3
  308. googleapiclient/discovery_cache/documents/recommendationengine.v1beta1.json +1 -1
  309. googleapiclient/discovery_cache/documents/recommender.v1.json +1 -1
  310. googleapiclient/discovery_cache/documents/recommender.v1beta1.json +1 -1
  311. googleapiclient/discovery_cache/documents/redis.v1.json +2 -2
  312. googleapiclient/discovery_cache/documents/redis.v1beta1.json +2 -2
  313. googleapiclient/discovery_cache/documents/reseller.v1.json +1 -1
  314. googleapiclient/discovery_cache/documents/resourcesettings.v1.json +1 -1
  315. googleapiclient/discovery_cache/documents/retail.v2.json +145 -29
  316. googleapiclient/discovery_cache/documents/retail.v2alpha.json +161 -50
  317. googleapiclient/discovery_cache/documents/retail.v2beta.json +149 -33
  318. googleapiclient/discovery_cache/documents/run.v1.json +79 -60
  319. googleapiclient/discovery_cache/documents/run.v2.json +80 -28
  320. googleapiclient/discovery_cache/documents/runtimeconfig.v1.json +1 -1
  321. googleapiclient/discovery_cache/documents/runtimeconfig.v1beta1.json +1 -1
  322. googleapiclient/discovery_cache/documents/safebrowsing.v4.json +1 -1
  323. googleapiclient/discovery_cache/documents/sasportal.v1alpha1.json +1 -1
  324. googleapiclient/discovery_cache/documents/script.v1.json +15 -1
  325. googleapiclient/discovery_cache/documents/searchads360.v0.json +161 -99
  326. googleapiclient/discovery_cache/documents/searchconsole.v1.json +1 -1
  327. googleapiclient/discovery_cache/documents/secretmanager.v1.json +2 -2
  328. googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json +2 -2
  329. googleapiclient/discovery_cache/documents/securitycenter.v1.json +111 -97
  330. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +96 -82
  331. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +96 -82
  332. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +11 -3
  333. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +11 -3
  334. googleapiclient/discovery_cache/documents/servicecontrol.v1.json +1 -1
  335. googleapiclient/discovery_cache/documents/servicecontrol.v2.json +1 -1
  336. googleapiclient/discovery_cache/documents/servicedirectory.v1.json +2 -2
  337. googleapiclient/discovery_cache/documents/servicedirectory.v1beta1.json +2 -2
  338. googleapiclient/discovery_cache/documents/servicemanagement.v1.json +13 -3
  339. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +13 -3
  340. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +13 -3
  341. googleapiclient/discovery_cache/documents/serviceusage.v1.json +132 -4
  342. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +137 -4
  343. googleapiclient/discovery_cache/documents/sheets.v4.json +1 -1
  344. googleapiclient/discovery_cache/documents/slides.v1.json +1 -1
  345. googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json +1 -1
  346. googleapiclient/discovery_cache/documents/sourcerepo.v1.json +1 -1
  347. googleapiclient/discovery_cache/documents/spanner.v1.json +130 -2
  348. googleapiclient/discovery_cache/documents/speech.v1.json +21 -1
  349. googleapiclient/discovery_cache/documents/speech.v1p1beta1.json +21 -1
  350. googleapiclient/discovery_cache/documents/sqladmin.v1.json +68 -8
  351. googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +66 -6
  352. googleapiclient/discovery_cache/documents/storage.v1.json +2 -2
  353. googleapiclient/discovery_cache/documents/storagetransfer.v1.json +10 -2
  354. googleapiclient/discovery_cache/documents/streetviewpublish.v1.json +3 -2
  355. googleapiclient/discovery_cache/documents/sts.v1.json +1 -1
  356. googleapiclient/discovery_cache/documents/sts.v1beta.json +1 -1
  357. googleapiclient/discovery_cache/documents/tagmanager.v1.json +1 -1
  358. googleapiclient/discovery_cache/documents/tagmanager.v2.json +1 -1
  359. googleapiclient/discovery_cache/documents/tasks.v1.json +1 -1
  360. googleapiclient/discovery_cache/documents/testing.v1.json +52 -2
  361. googleapiclient/discovery_cache/documents/texttospeech.v1.json +4 -4
  362. googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +4 -4
  363. googleapiclient/discovery_cache/documents/toolresults.v1beta3.json +1 -1
  364. googleapiclient/discovery_cache/documents/tpu.v1.json +2 -2
  365. googleapiclient/discovery_cache/documents/tpu.v1alpha1.json +2 -2
  366. googleapiclient/discovery_cache/documents/tpu.v2.json +2 -2
  367. googleapiclient/discovery_cache/documents/tpu.v2alpha1.json +12 -2
  368. googleapiclient/discovery_cache/documents/trafficdirector.v2.json +1 -1
  369. googleapiclient/discovery_cache/documents/transcoder.v1.json +4 -4
  370. googleapiclient/discovery_cache/documents/translate.v3.json +122 -2
  371. googleapiclient/discovery_cache/documents/translate.v3beta1.json +2 -2
  372. googleapiclient/discovery_cache/documents/travelimpactmodel.v1.json +1 -1
  373. googleapiclient/discovery_cache/documents/vault.v1.json +1 -1
  374. googleapiclient/discovery_cache/documents/verifiedaccess.v1.json +1 -1
  375. googleapiclient/discovery_cache/documents/verifiedaccess.v2.json +266 -7
  376. googleapiclient/discovery_cache/documents/versionhistory.v1.json +1 -1
  377. googleapiclient/discovery_cache/documents/videointelligence.v1.json +1 -1
  378. googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json +1 -1
  379. googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json +1 -1
  380. googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json +1 -1
  381. googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json +1 -1
  382. googleapiclient/discovery_cache/documents/vision.v1.json +1 -1
  383. googleapiclient/discovery_cache/documents/vision.v1p1beta1.json +1 -1
  384. googleapiclient/discovery_cache/documents/vision.v1p2beta1.json +1 -1
  385. googleapiclient/discovery_cache/documents/vmmigration.v1.json +34 -2
  386. googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +34 -2
  387. googleapiclient/discovery_cache/documents/vpcaccess.v1.json +2 -2
  388. googleapiclient/discovery_cache/documents/vpcaccess.v1beta1.json +2 -2
  389. googleapiclient/discovery_cache/documents/webfonts.v1.json +60 -1
  390. googleapiclient/discovery_cache/documents/webrisk.v1.json +1 -1
  391. googleapiclient/discovery_cache/documents/websecurityscanner.v1.json +1 -1
  392. googleapiclient/discovery_cache/documents/websecurityscanner.v1alpha.json +1 -1
  393. googleapiclient/discovery_cache/documents/websecurityscanner.v1beta.json +1 -1
  394. googleapiclient/discovery_cache/documents/workflowexecutions.v1.json +2 -2
  395. googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json +1 -1
  396. googleapiclient/discovery_cache/documents/workflows.v1.json +4 -4
  397. googleapiclient/discovery_cache/documents/workflows.v1beta.json +2 -2
  398. googleapiclient/discovery_cache/documents/workloadmanager.v1.json +56 -22
  399. googleapiclient/discovery_cache/documents/workstations.v1beta.json +80 -28
  400. googleapiclient/discovery_cache/documents/youtube.v3.json +4 -2
  401. googleapiclient/discovery_cache/documents/youtubeAnalytics.v2.json +1 -1
  402. googleapiclient/discovery_cache/documents/youtubereporting.v1.json +1 -1
  403. googleapiclient/version.py +1 -1
  404. {google_api_python_client-2.86.0.dist-info → google_api_python_client-2.87.0.dist-info}/LICENSE +0 -0
  405. {google_api_python_client-2.86.0.dist-info → google_api_python_client-2.87.0.dist-info}/WHEEL +0 -0
  406. {google_api_python_client-2.86.0.dist-info → google_api_python_client-2.87.0.dist-info}/top_level.txt +0 -0
@@ -843,7 +843,7 @@
843
843
  }
844
844
  }
845
845
  },
846
- "revision": "20230405",
846
+ "revision": "20230510",
847
847
  "rootUrl": "https://domains.googleapis.com/",
848
848
  "schemas": {
849
849
  "AuditConfig": {
@@ -1376,7 +1376,7 @@
1376
1376
  "type": "object"
1377
1377
  },
1378
1378
  "Location": {
1379
- "description": "A resource that represents Google Cloud Platform location.",
1379
+ "description": "A resource that represents a Google Cloud location.",
1380
1380
  "id": "Location",
1381
1381
  "properties": {
1382
1382
  "displayName": {
@@ -843,7 +843,7 @@
843
843
  }
844
844
  }
845
845
  },
846
- "revision": "20230405",
846
+ "revision": "20230510",
847
847
  "rootUrl": "https://domains.googleapis.com/",
848
848
  "schemas": {
849
849
  "AuditConfig": {
@@ -1376,7 +1376,7 @@
1376
1376
  "type": "object"
1377
1377
  },
1378
1378
  "Location": {
1379
- "description": "A resource that represents Google Cloud Platform location.",
1379
+ "description": "A resource that represents a Google Cloud location.",
1380
1380
  "id": "Location",
1381
1381
  "properties": {
1382
1382
  "displayName": {
@@ -843,7 +843,7 @@
843
843
  }
844
844
  }
845
845
  },
846
- "revision": "20230405",
846
+ "revision": "20230510",
847
847
  "rootUrl": "https://domains.googleapis.com/",
848
848
  "schemas": {
849
849
  "AuditConfig": {
@@ -1376,7 +1376,7 @@
1376
1376
  "type": "object"
1377
1377
  },
1378
1378
  "Location": {
1379
- "description": "A resource that represents Google Cloud Platform location.",
1379
+ "description": "A resource that represents a Google Cloud location.",
1380
1380
  "id": "Location",
1381
1381
  "properties": {
1382
1382
  "displayName": {
@@ -289,7 +289,7 @@
289
289
  }
290
290
  }
291
291
  },
292
- "revision": "20230417",
292
+ "revision": "20230523",
293
293
  "rootUrl": "https://domainsrdap.googleapis.com/",
294
294
  "schemas": {
295
295
  "HttpBody": {
@@ -280,7 +280,7 @@
280
280
  }
281
281
  }
282
282
  },
283
- "revision": "20230404",
283
+ "revision": "20230516",
284
284
  "rootUrl": "https://doubleclickbidmanager.googleapis.com/",
285
285
  "schemas": {
286
286
  "ChannelGrouping": {
@@ -320,7 +320,7 @@
320
320
  }
321
321
  }
322
322
  },
323
- "revision": "20230404",
323
+ "revision": "20230516",
324
324
  "rootUrl": "https://doubleclickbidmanager.googleapis.com/",
325
325
  "schemas": {
326
326
  "ChannelGrouping": {
@@ -547,7 +547,7 @@
547
547
  "description": "Additional query options."
548
548
  },
549
549
  "type": {
550
- "description": "The type of the report. The type of the report will dictate what dimesions, filters, and metrics can be used.",
550
+ "description": "The type of the report. The type of the report will dictate what dimesions, filters, and metrics can be used. **Warning:** The `AUDIENCE_COMPOSITION` report type will be deprecated in Display & Video 360 on **June 8, 2023**. Once deprecated, you will no longer be able to create new or retrieve existing Query and Report resources of this type.",
551
551
  "enum": [
552
552
  "REPORT_TYPE_UNSPECIFIED",
553
553
  "STANDARD",
@@ -566,7 +566,7 @@
566
566
  "Default value when report type is not specified or is unknown in this version.",
567
567
  "Standard report.",
568
568
  "Inventory Availability report.",
569
- "Audience Composition report.",
569
+ "Audience Composition report. **Warning:** This report type will be deprecated in Display & Video 360 on **June 8, 2023**. Once deprecated, you will no longer be able to create new or retrieve existing Query and Report resources of this type.",
570
570
  "Floodlight report.",
571
571
  "YouTube report.",
572
572
  "GRP report.",
@@ -543,7 +543,7 @@
543
543
  }
544
544
  }
545
545
  },
546
- "revision": "20230411",
546
+ "revision": "20230516",
547
547
  "rootUrl": "https://doubleclicksearch.googleapis.com/",
548
548
  "schemas": {
549
549
  "Availability": {
@@ -38,7 +38,7 @@
38
38
  "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
39
39
  "discoveryVersion": "v1",
40
40
  "documentationLink": "https://developers.google.com/drive/",
41
- "etag": "\"VYc8DWo_6wRTElVugbtvWfkARsc/dOQGKrTwRgBUrvlq11qcfi6tIQ8\"",
41
+ "etag": "\"VYc8DWo_6wRTElVugbtvWfkARsc/to8W0Xrp55yNHhg4FqPjePP3FcY\"",
42
42
  "icons": {
43
43
  "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
44
44
  "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
@@ -1290,10 +1290,15 @@
1290
1290
  ]
1291
1291
  },
1292
1292
  "emptyTrash": {
1293
- "description": "Permanently deletes all of the user's trashed files.",
1293
+ "description": "Permanently deletes all trashed files of a user or shared drive.",
1294
1294
  "httpMethod": "DELETE",
1295
1295
  "id": "drive.files.emptyTrash",
1296
1296
  "parameters": {
1297
+ "driveId": {
1298
+ "description": "If set, empties the trash of the provided shared drive.",
1299
+ "location": "query",
1300
+ "type": "string"
1301
+ },
1297
1302
  "enforceSingleParent": {
1298
1303
  "default": "false",
1299
1304
  "description": "Deprecated. If an item is not in a shared drive and its last parent is deleted but the item itself is not, the item will be placed under its owner's root.",
@@ -2226,7 +2231,7 @@
2226
2231
  "supportsMediaUpload": true
2227
2232
  },
2228
2233
  "watch": {
2229
- "description": "Subscribes to changes to a file. While you can establish a channel for changes to a file on a shared drive, a change to a shared drive file won't create a notification.",
2234
+ "description": "Subscribe to changes on a file.",
2230
2235
  "httpMethod": "POST",
2231
2236
  "id": "drive.files.watch",
2232
2237
  "parameterOrder": [
@@ -3668,7 +3673,7 @@
3668
3673
  }
3669
3674
  }
3670
3675
  },
3671
- "revision": "20230402",
3676
+ "revision": "20230514",
3672
3677
  "rootUrl": "https://www.googleapis.com/",
3673
3678
  "schemas": {
3674
3679
  "About": {
@@ -35,7 +35,7 @@
35
35
  "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
36
36
  "discoveryVersion": "v1",
37
37
  "documentationLink": "https://developers.google.com/drive/",
38
- "etag": "\"VYc8DWo_6wRTElVugbtvWfkARsc/WQriJjubUMs4u0mQvFtbZ9iWxEc\"",
38
+ "etag": "\"VYc8DWo_6wRTElVugbtvWfkARsc/Rbg-qVi5IMtZXkfgFBOCN9uNluk\"",
39
39
  "icons": {
40
40
  "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
41
41
  "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
@@ -997,10 +997,15 @@
997
997
  ]
998
998
  },
999
999
  "emptyTrash": {
1000
- "description": "Permanently deletes all of the user's trashed files.",
1000
+ "description": "Permanently deletes all trashed files of a user or shared drive.",
1001
1001
  "httpMethod": "DELETE",
1002
1002
  "id": "drive.files.emptyTrash",
1003
1003
  "parameters": {
1004
+ "driveId": {
1005
+ "description": "If set, empties the trash of the provided shared drive.",
1006
+ "location": "query",
1007
+ "type": "string"
1008
+ },
1004
1009
  "enforceSingleParent": {
1005
1010
  "default": "false",
1006
1011
  "description": "Deprecated. If an item is not in a shared drive and its last parent is deleted but the item itself is not, the item will be placed under its owner's root.",
@@ -1424,7 +1429,7 @@
1424
1429
  "supportsMediaUpload": true
1425
1430
  },
1426
1431
  "watch": {
1427
- "description": "Subscribes to changes to a file. While you can establish a channel for changes to a file on a shared drive, a change to a shared drive file won't create a notification.",
1432
+ "description": "Subscribe to changes on a file.",
1428
1433
  "httpMethod": "POST",
1429
1434
  "id": "drive.files.watch",
1430
1435
  "parameterOrder": [
@@ -2312,7 +2317,7 @@
2312
2317
  }
2313
2318
  }
2314
2319
  },
2315
- "revision": "20230402",
2320
+ "revision": "20230514",
2316
2321
  "rootUrl": "https://www.googleapis.com/",
2317
2322
  "schemas": {
2318
2323
  "About": {
@@ -2930,22 +2935,22 @@
2930
2935
  "additionalProperties": {
2931
2936
  "type": "string"
2932
2937
  },
2933
- "description": "A collection of arbitrary key-value pairs which are private to the requesting app.\nEntries with null values are cleared in update and copy requests. These properties can only be retrieved using an authenticated request. An authenticated request uses an access token obtained with a OAuth 2 client ID. You cannot use an API key to retrieve private properties.",
2938
+ "description": "A collection of arbitrary key-value pairs that are private to the requesting app.\nEntries with null values are cleared in update and copy requests. These properties can only be retrieved using an authenticated request. An authenticated request uses an access token obtained with an OAuth 2 client ID. You cannot use an API key to retrieve private properties.",
2934
2939
  "type": "object"
2935
2940
  },
2936
2941
  "capabilities": {
2937
- "description": "Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.",
2942
+ "description": "Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user can take.",
2938
2943
  "properties": {
2939
2944
  "canAcceptOwnership": {
2940
2945
  "description": "Whether the current user is the pending owner of the file. Not populated for shared drive files.",
2941
2946
  "type": "boolean"
2942
2947
  },
2943
2948
  "canAddChildren": {
2944
- "description": "Whether the current user can add children to this folder. This is always false when the item is not a folder.",
2949
+ "description": "Whether the current user can add children to this folder. This is always false when the item isn't a folder.",
2945
2950
  "type": "boolean"
2946
2951
  },
2947
2952
  "canAddFolderFromAnotherDrive": {
2948
- "description": "Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is false when the item is not a folder. Only populated for items in shared drives.",
2953
+ "description": "Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is false when the item isn't a folder. Only populated for items in shared drives.",
2949
2954
  "type": "boolean"
2950
2955
  },
2951
2956
  "canAddMyDriveParent": {
@@ -2969,7 +2974,7 @@
2969
2974
  "type": "boolean"
2970
2975
  },
2971
2976
  "canCopy": {
2972
- "description": "Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.",
2977
+ "description": "Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it's not a folder.",
2973
2978
  "type": "boolean"
2974
2979
  },
2975
2980
  "canDelete": {
@@ -2977,7 +2982,7 @@
2977
2982
  "type": "boolean"
2978
2983
  },
2979
2984
  "canDeleteChildren": {
2980
- "description": "Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.",
2985
+ "description": "Whether the current user can delete children of this folder. This is false when the item isn't a folder. Only populated for items in shared drives.",
2981
2986
  "type": "boolean"
2982
2987
  },
2983
2988
  "canDownload": {
@@ -2985,11 +2990,11 @@
2985
2990
  "type": "boolean"
2986
2991
  },
2987
2992
  "canEdit": {
2988
- "description": "Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see canChangeCopyRequiresWriterPermission or canModifyContent.",
2993
+ "description": "Whether the current user can edit this file. Other factors might limit the type of changes a user can make to a file. For example, see canChangeCopyRequiresWriterPermission or canModifyContent.",
2989
2994
  "type": "boolean"
2990
2995
  },
2991
2996
  "canListChildren": {
2992
- "description": "Whether the current user can list the children of this folder. This is always false when the item is not a folder.",
2997
+ "description": "Whether the current user can list the children of this folder. This is always false when the item isn't a folder.",
2993
2998
  "type": "boolean"
2994
2999
  },
2995
3000
  "canModifyContent": {
@@ -3005,7 +3010,7 @@
3005
3010
  "type": "boolean"
3006
3011
  },
3007
3012
  "canMoveChildrenOutOfDrive": {
3008
- "description": "Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.",
3013
+ "description": "Whether the current user can move children of this folder outside of the shared drive. This is false when the item isn't a folder. Only populated for items in shared drives.",
3009
3014
  "type": "boolean"
3010
3015
  },
3011
3016
  "canMoveChildrenOutOfTeamDrive": {
@@ -3013,7 +3018,7 @@
3013
3018
  "type": "boolean"
3014
3019
  },
3015
3020
  "canMoveChildrenWithinDrive": {
3016
- "description": "Whether the current user can move children of this folder within this drive. This is false when the item is not a folder. Note that a request to move the child may still fail depending on the current user's access to the child and to the destination folder.",
3021
+ "description": "Whether the current user can move children of this folder within this shared drive or My Drive. This is false when the item isn't a folder. Note that a request to move the child might still fail depending on the current user's access to the child and to the destination folder.",
3017
3022
  "type": "boolean"
3018
3023
  },
3019
3024
  "canMoveChildrenWithinTeamDrive": {
@@ -3025,7 +3030,7 @@
3025
3030
  "type": "boolean"
3026
3031
  },
3027
3032
  "canMoveItemOutOfDrive": {
3028
- "description": "Whether the current user can move this item outside of this drive by changing its parent. Note that a request to change the parent of the item may still fail depending on the new parent that is being added.",
3033
+ "description": "Whether the current user can move this item outside of this shared drive or My Drive by changing its parent. Note that a request to change the parent of the item might still fail depending on the new parent that's being added.",
3029
3034
  "type": "boolean"
3030
3035
  },
3031
3036
  "canMoveItemOutOfTeamDrive": {
@@ -3033,7 +3038,7 @@
3033
3038
  "type": "boolean"
3034
3039
  },
3035
3040
  "canMoveItemWithinDrive": {
3036
- "description": "Whether the current user can move this item within this drive. Note that a request to change the parent of the item may still fail depending on the new parent that is being added and the parent that is being removed.",
3041
+ "description": "Whether the current user can move this item within this shared drive or My Drive. Note that a request to change the parent of the item might still fail depending on the new parent that's being added and the parent that's being removed.",
3037
3042
  "type": "boolean"
3038
3043
  },
3039
3044
  "canMoveItemWithinTeamDrive": {
@@ -3053,7 +3058,7 @@
3053
3058
  "type": "boolean"
3054
3059
  },
3055
3060
  "canReadRevisions": {
3056
- "description": "Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it isn't a folder, can be read.",
3061
+ "description": "Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it's not a folder, can be read.",
3057
3062
  "type": "boolean"
3058
3063
  },
3059
3064
  "canReadTeamDrive": {
@@ -3061,7 +3066,7 @@
3061
3066
  "type": "boolean"
3062
3067
  },
3063
3068
  "canRemoveChildren": {
3064
- "description": "Whether the current user can remove children from this folder. This is always false when the item is not a folder. For a folder in a shared drive, use canDeleteChildren or canTrashChildren instead.",
3069
+ "description": "Whether the current user can remove children from this folder. This is always false when the item isn't a folder. For a folder in a shared drive, use canDeleteChildren or canTrashChildren instead.",
3065
3070
  "type": "boolean"
3066
3071
  },
3067
3072
  "canRemoveMyDriveParent": {
@@ -3081,7 +3086,7 @@
3081
3086
  "type": "boolean"
3082
3087
  },
3083
3088
  "canTrashChildren": {
3084
- "description": "Whether the current user can trash children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.",
3089
+ "description": "Whether the current user can trash children of this folder. This is false when the item isn't a folder. Only populated for items in shared drives.",
3085
3090
  "type": "boolean"
3086
3091
  },
3087
3092
  "canUntrash": {
@@ -3095,7 +3100,7 @@
3095
3100
  "description": "Additional information about the content of the file. These fields are never populated in responses.",
3096
3101
  "properties": {
3097
3102
  "indexableText": {
3098
- "description": "Text to be indexed for the file to improve fullText queries. This is limited to 128 KB in length and may contain HTML elements. For more information, see Manage file metadata.",
3103
+ "description": "Text to be indexed for the file to improve fullText queries. This is limited to 128 KB in length and might contain HTML elements. For more information, see Manage file metadata.",
3099
3104
  "type": "string"
3100
3105
  },
3101
3106
  "thumbnail": {
@@ -3162,7 +3167,7 @@
3162
3167
  "type": "string"
3163
3168
  },
3164
3169
  "fullFileExtension": {
3165
- "description": "The full file extension extracted from the name field. May contain multiple concatenated extensions, such as \"tar.gz\". This is only available for files with binary content in Google Drive.\nThis is automatically updated when the name field changes, however it isn't cleared if the new name does not contain a valid extension.",
3170
+ "description": "The full file extension extracted from the name field. Can contain multiple concatenated extensions, such as \"tar.gz\". This is only available for files with binary content in Google Drive.\nThis is automatically updated when the name field changes, however it's not cleared if the new name does not contain a valid extension.",
3166
3171
  "type": "string"
3167
3172
  },
3168
3173
  "hasAugmentedPermissions": {
@@ -3174,7 +3179,7 @@
3174
3179
  "type": "boolean"
3175
3180
  },
3176
3181
  "headRevisionId": {
3177
- "description": "The ID of the file's head revision. This is currently only available for files with binary content in Google Drive.",
3182
+ "description": "The ID of the file's head revision. This is only available for files with binary content in Google Drive.",
3178
3183
  "type": "string"
3179
3184
  },
3180
3185
  "iconLink": {
@@ -3273,7 +3278,7 @@
3273
3278
  "type": "string"
3274
3279
  },
3275
3280
  "rotation": {
3276
- "description": "The number of clockwise 90 degree rotations applied from the image's original orientation.",
3281
+ "description": "The number of clockwise 90-degree rotations applied from the image's original orientation.",
3277
3282
  "format": "int32",
3278
3283
  "type": "integer"
3279
3284
  },
@@ -3303,7 +3308,7 @@
3303
3308
  "type": "object"
3304
3309
  },
3305
3310
  "isAppAuthorized": {
3306
- "description": "Whether the file was created or opened by the requesting app.",
3311
+ "description": "Whether the requesting app created or opened the file.",
3307
3312
  "type": "boolean"
3308
3313
  },
3309
3314
  "kind": {
@@ -3351,21 +3356,21 @@
3351
3356
  "type": "string"
3352
3357
  },
3353
3358
  "modifiedByMe": {
3354
- "description": "Whether the file has been modified by this user.",
3359
+ "description": "Whether this user has modified the file.",
3355
3360
  "type": "boolean"
3356
3361
  },
3357
3362
  "modifiedByMeTime": {
3358
- "description": "The last time the file was modified by the user (RFC 3339 date-time).",
3363
+ "description": "The last time the user modified the file (RFC 3339 date-time).",
3359
3364
  "format": "date-time",
3360
3365
  "type": "string"
3361
3366
  },
3362
3367
  "modifiedTime": {
3363
- "description": "The last time the file was modified by anyone (RFC 3339 date-time).\nNote that setting modifiedTime will also update modifiedByMeTime for the user.",
3368
+ "description": "The last time anyone modified the file (RFC 3339 date-time).\nNote that setting modifiedTime will also update modifiedByMeTime for the user.",
3364
3369
  "format": "date-time",
3365
3370
  "type": "string"
3366
3371
  },
3367
3372
  "name": {
3368
- "description": "The name of the file. This is not necessarily unique within a folder. Note that for immutable items such as the top level folders of shared drives, My Drive root folder, and Application Data folder the name is constant.",
3373
+ "description": "The name of the file. This isn't necessarily unique within a folder. Note that for immutable items such as the top-level folders of shared drives, My Drive root folder, and Application Data folder the name is constant.",
3369
3374
  "type": "string"
3370
3375
  },
3371
3376
  "originalFilename": {
@@ -3377,14 +3382,14 @@
3377
3382
  "type": "boolean"
3378
3383
  },
3379
3384
  "owners": {
3380
- "description": "The owner of this file. Only certain legacy files may have more than one owner. This field isn't populated for items in shared drives.",
3385
+ "description": "The owner of this file. Only certain legacy files might have more than one owner. This field isn't populated for items in shared drives.",
3381
3386
  "items": {
3382
3387
  "$ref": "User"
3383
3388
  },
3384
3389
  "type": "array"
3385
3390
  },
3386
3391
  "parents": {
3387
- "description": "The IDs of the parent folders which contain the file.\nIf not specified as part of a create request, the file will be placed directly in the user's My Drive folder. If not specified as part of a copy request, the file will inherit any discoverable parents of the source file. Update requests must use the addParents and removeParents parameters to modify the parents list.",
3392
+ "description": "The IDs of the parent folders that contain the file.\nIf not specified as part of a create request, the file will be placed directly in the user's My Drive folder. If not specified as part of a copy request, the file will inherit any discoverable parents of the source file. Update requests must use the addParents and removeParents parameters to modify the parents list.",
3388
3393
  "items": {
3389
3394
  "type": "string"
3390
3395
  },
@@ -3408,7 +3413,7 @@
3408
3413
  "additionalProperties": {
3409
3414
  "type": "string"
3410
3415
  },
3411
- "description": "A collection of arbitrary key-value pairs which are visible to all apps.\nEntries with null values are cleared in update and copy requests.",
3416
+ "description": "A collection of arbitrary key-value pairs that are visible to all apps.\nEntries with null values are cleared in update and copy requests.",
3412
3417
  "type": "object"
3413
3418
  },
3414
3419
  "quotaBytesUsed": {
@@ -3421,11 +3426,11 @@
3421
3426
  "type": "string"
3422
3427
  },
3423
3428
  "sha1Checksum": {
3424
- "description": "The SHA1 checksum associated with this file, if available. This field is only populated for files with content stored in Google Drive; it isn't populated for Docs Editors or shortcut files.",
3429
+ "description": "The SHA1 checksum associated with this file, if available. This field is only populated for files with content stored in Google Drive; it's not populated for Docs Editors or shortcut files.",
3425
3430
  "type": "string"
3426
3431
  },
3427
3432
  "sha256Checksum": {
3428
- "description": "The SHA256 checksum associated with this file, if available. This field is only populated for files with content stored in Google Drive; it isn't populated for Docs Editors or shortcut files.",
3433
+ "description": "The SHA256 checksum associated with this file, if available. This field is only populated for files with content stored in Google Drive; it's not populated for Docs Editors or shortcut files.",
3429
3434
  "type": "string"
3430
3435
  },
3431
3436
  "shared": {
@@ -3460,12 +3465,12 @@
3460
3465
  "type": "object"
3461
3466
  },
3462
3467
  "size": {
3463
- "description": "The size of the file's content in bytes. This field is populated for files with binary content stored in Google Drive and for Docs Editors files; it is not populated for shortcuts or folders.",
3468
+ "description": "The size of the file's content in bytes. This field is populated for files with binary content stored in Google Drive and for Docs Editors files; it's not populated for shortcuts or folders.",
3464
3469
  "format": "int64",
3465
3470
  "type": "string"
3466
3471
  },
3467
3472
  "spaces": {
3468
- "description": "The list of spaces which contain the file. The currently supported values are 'drive', 'appDataFolder' and 'photos'.",
3473
+ "description": "The list of spaces that contain the file. The currently supported values are 'drive', 'appDataFolder' and 'photos'.",
3469
3474
  "items": {
3470
3475
  "type": "string"
3471
3476
  },
@@ -3489,7 +3494,7 @@
3489
3494
  "type": "string"
3490
3495
  },
3491
3496
  "trashed": {
3492
- "description": "Whether the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may trash a file. The trashed item is excluded from all files.list responses returned for any user who does not own the file. However, all users with access to the file can see the trashed item metadata in an API response. All users with access can copy, download, export, and share the file.",
3497
+ "description": "Whether the file has been trashed, either explicitly or from a trashed parent folder. Only the owner can trash a file. The trashed item is excluded from all files.list responses returned for any user who does not own the file. However, all users with access to the file can see the trashed item metadata in an API response. All users with access can copy, download, export, and share the file.",
3493
3498
  "type": "boolean"
3494
3499
  },
3495
3500
  "trashedTime": {
@@ -3507,7 +3512,7 @@
3507
3512
  "type": "string"
3508
3513
  },
3509
3514
  "videoMediaMetadata": {
3510
- "description": "Additional metadata about video media. This may not be available immediately upon upload.",
3515
+ "description": "Additional metadata about video media. This might not be available immediately upon upload.",
3511
3516
  "properties": {
3512
3517
  "durationMillis": {
3513
3518
  "description": "The duration of the video in milliseconds.",
@@ -3528,11 +3533,11 @@
3528
3533
  "type": "object"
3529
3534
  },
3530
3535
  "viewedByMe": {
3531
- "description": "Whether the file has been viewed by this user.",
3536
+ "description": "Whether this user has viewed the file.",
3532
3537
  "type": "boolean"
3533
3538
  },
3534
3539
  "viewedByMeTime": {
3535
- "description": "The last time the file was viewed by the user (RFC 3339 date-time).",
3540
+ "description": "The last time the user viewed the file (RFC 3339 date-time).",
3536
3541
  "format": "date-time",
3537
3542
  "type": "string"
3538
3543
  },
@@ -132,7 +132,7 @@
132
132
  }
133
133
  }
134
134
  },
135
- "revision": "20230408",
135
+ "revision": "20230520",
136
136
  "rootUrl": "https://driveactivity.googleapis.com/",
137
137
  "schemas": {
138
138
  "Action": {
@@ -898,7 +898,7 @@
898
898
  }
899
899
  }
900
900
  },
901
- "revision": "20230412",
901
+ "revision": "20230522",
902
902
  "rootUrl": "https://drivelabels.googleapis.com/",
903
903
  "schemas": {
904
904
  "GoogleAppsDriveLabelsV2BadgeColors": {
@@ -2186,12 +2186,14 @@
2186
2186
  "enum": [
2187
2187
  "LABEL_TYPE_UNSPECIFIED",
2188
2188
  "SHARED",
2189
- "ADMIN"
2189
+ "ADMIN",
2190
+ "GOOGLE_APP"
2190
2191
  ],
2191
2192
  "enumDescriptions": [
2192
2193
  "Unknown label type.",
2193
2194
  "Shared labels may be shared with users to apply to Drive items.",
2194
- "Admin-owned label. Only creatable and editable by admins. Supports some additional admin-only features."
2195
+ "Admin-owned label. Only creatable and editable by admins. Supports some additional admin-only features.",
2196
+ "A label owned by an internal Google application rather than a customer. These labels are read-only."
2195
2197
  ],
2196
2198
  "type": "string"
2197
2199
  },
@@ -2856,7 +2858,7 @@
2856
2858
  "type": "object"
2857
2859
  },
2858
2860
  "GoogleTypeColor": {
2859
- "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to/from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't carry information about the absolute color space that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most 1e-5. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...",
2861
+ "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page does not have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...",
2860
2862
  "id": "GoogleTypeColor",
2861
2863
  "properties": {
2862
2864
  "alpha": {
@@ -898,7 +898,7 @@
898
898
  }
899
899
  }
900
900
  },
901
- "revision": "20230412",
901
+ "revision": "20230522",
902
902
  "rootUrl": "https://drivelabels.googleapis.com/",
903
903
  "schemas": {
904
904
  "GoogleAppsDriveLabelsV2betaBadgeColors": {
@@ -2186,12 +2186,14 @@
2186
2186
  "enum": [
2187
2187
  "LABEL_TYPE_UNSPECIFIED",
2188
2188
  "SHARED",
2189
- "ADMIN"
2189
+ "ADMIN",
2190
+ "GOOGLE_APP"
2190
2191
  ],
2191
2192
  "enumDescriptions": [
2192
2193
  "Unknown label type.",
2193
2194
  "Shared labels may be shared with users to apply to Drive items.",
2194
- "Admin-owned label. Only creatable and editable by admins. Supports some additional admin-only features."
2195
+ "Admin-owned label. Only creatable and editable by admins. Supports some additional admin-only features.",
2196
+ "A label owned by an internal Google application rather than a customer. These labels are read-only."
2195
2197
  ],
2196
2198
  "type": "string"
2197
2199
  },
@@ -2856,7 +2858,7 @@
2856
2858
  "type": "object"
2857
2859
  },
2858
2860
  "GoogleTypeColor": {
2859
- "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to/from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't carry information about the absolute color space that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most 1e-5. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...",
2861
+ "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page does not have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...",
2860
2862
  "id": "GoogleTypeColor",
2861
2863
  "properties": {
2862
2864
  "alpha": {
@@ -850,7 +850,7 @@
850
850
  }
851
851
  }
852
852
  },
853
- "revision": "20230416",
853
+ "revision": "20230522",
854
854
  "rootUrl": "https://essentialcontacts.googleapis.com/",
855
855
  "schemas": {
856
856
  "GoogleCloudEssentialcontactsV1ComputeContactsResponse": {