google-api-python-client 2.122.0__py2.py3-none-any.whl → 2.124.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 (395) hide show
  1. {google_api_python_client-2.122.0.dist-info → google_api_python_client-2.124.0.dist-info}/METADATA +4 -4
  2. {google_api_python_client-2.122.0.dist-info → google_api_python_client-2.124.0.dist-info}/RECORD +395 -395
  3. googleapiclient/discovery.py +79 -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/adexchangebuyer2.v2beta1.json +1 -1
  9. googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json +1 -1
  10. googleapiclient/discovery_cache/documents/admin.datatransferv1.json +1 -1
  11. googleapiclient/discovery_cache/documents/admin.directory_v1.json +1 -1
  12. googleapiclient/discovery_cache/documents/admin.directoryv1.json +1 -1
  13. googleapiclient/discovery_cache/documents/admin.reports_v1.json +1 -1
  14. googleapiclient/discovery_cache/documents/admin.reportsv1.json +1 -1
  15. googleapiclient/discovery_cache/documents/admob.v1.json +1 -1
  16. googleapiclient/discovery_cache/documents/admob.v1beta.json +1 -1
  17. googleapiclient/discovery_cache/documents/adsense.v2.json +196 -6
  18. googleapiclient/discovery_cache/documents/advisorynotifications.v1.json +1 -1
  19. googleapiclient/discovery_cache/documents/aiplatform.v1.json +976 -25
  20. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +1056 -19
  21. googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json +1 -1
  22. googleapiclient/discovery_cache/documents/alloydb.v1.json +111 -78
  23. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +235 -77
  24. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +235 -77
  25. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +5 -1
  26. googleapiclient/discovery_cache/documents/analyticsadmin.v1beta.json +1 -1
  27. googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json +1 -1
  28. googleapiclient/discovery_cache/documents/analyticshub.v1.json +19 -1
  29. googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json +1 -1
  30. googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json +1 -1
  31. googleapiclient/discovery_cache/documents/androidenterprise.v1.json +1 -1
  32. googleapiclient/discovery_cache/documents/androidmanagement.v1.json +12 -6
  33. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +17 -2
  34. googleapiclient/discovery_cache/documents/apigateway.v1.json +1 -1
  35. googleapiclient/discovery_cache/documents/apigateway.v1beta.json +1 -1
  36. googleapiclient/discovery_cache/documents/apigee.v1.json +22 -3
  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 +1 -1
  43. googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json +1 -1
  44. googleapiclient/discovery_cache/documents/artifactregistry.v1.json +1 -1
  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/baremetalsolution.v2.json +1 -1
  52. googleapiclient/discovery_cache/documents/batch.v1.json +4 -4
  53. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +1 -1
  54. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +1 -1
  55. googleapiclient/discovery_cache/documents/biglake.v1.json +1 -1
  56. googleapiclient/discovery_cache/documents/bigquerydatapolicy.v1.json +1 -1
  57. googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +10 -10
  58. googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +48 -1
  59. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +544 -1
  60. googleapiclient/discovery_cache/documents/billingbudgets.v1.json +1 -1
  61. googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json +1 -1
  62. googleapiclient/discovery_cache/documents/binaryauthorization.v1.json +1 -1
  63. googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json +1 -1
  64. googleapiclient/discovery_cache/documents/blockchainnodeengine.v1.json +1 -1
  65. googleapiclient/discovery_cache/documents/blogger.v2.json +1 -1
  66. googleapiclient/discovery_cache/documents/blogger.v3.json +1 -1
  67. googleapiclient/discovery_cache/documents/books.v1.json +1 -1
  68. googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json +1 -1
  69. googleapiclient/discovery_cache/documents/calendar.v3.json +1 -1
  70. googleapiclient/discovery_cache/documents/certificatemanager.v1.json +19 -1
  71. googleapiclient/discovery_cache/documents/chat.v1.json +82 -5
  72. googleapiclient/discovery_cache/documents/checks.v1alpha.json +9 -3
  73. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +244 -2
  74. googleapiclient/discovery_cache/documents/chromepolicy.v1.json +1 -1
  75. googleapiclient/discovery_cache/documents/chromeuxreport.v1.json +1 -1
  76. googleapiclient/discovery_cache/documents/civicinfo.v2.json +1 -1
  77. googleapiclient/discovery_cache/documents/classroom.v1.json +1 -1
  78. googleapiclient/discovery_cache/documents/cloudasset.v1.json +1 -1
  79. googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json +1 -1
  80. googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json +3 -3
  81. googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json +1 -1
  82. googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json +1 -1
  83. googleapiclient/discovery_cache/documents/cloudbilling.v1.json +1 -1
  84. googleapiclient/discovery_cache/documents/cloudbilling.v1beta.json +1 -304
  85. googleapiclient/discovery_cache/documents/cloudbuild.v1.json +1 -1
  86. googleapiclient/discovery_cache/documents/cloudbuild.v2.json +4 -3
  87. googleapiclient/discovery_cache/documents/cloudchannel.v1.json +1 -1
  88. googleapiclient/discovery_cache/documents/clouddeploy.v1.json +1 -1
  89. googleapiclient/discovery_cache/documents/clouderrorreporting.v1beta1.json +2 -2
  90. googleapiclient/discovery_cache/documents/cloudfunctions.v1.json +1 -1
  91. googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +2 -2
  92. googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +2 -2
  93. googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +2 -2
  94. googleapiclient/discovery_cache/documents/cloudidentity.v1.json +234 -1
  95. googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +234 -1
  96. googleapiclient/discovery_cache/documents/cloudprofiler.v2.json +1 -1
  97. googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +1 -1
  98. googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json +1 -1
  99. googleapiclient/discovery_cache/documents/cloudshell.v1.json +1 -1
  100. googleapiclient/discovery_cache/documents/cloudsupport.v2.json +1 -1
  101. googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +1 -65
  102. googleapiclient/discovery_cache/documents/cloudtasks.v2.json +1 -1
  103. googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json +1 -1
  104. googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json +1 -1
  105. googleapiclient/discovery_cache/documents/cloudtrace.v1.json +1 -1
  106. googleapiclient/discovery_cache/documents/cloudtrace.v2.json +1 -1
  107. googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json +1 -1
  108. googleapiclient/discovery_cache/documents/composer.v1.json +5 -5
  109. googleapiclient/discovery_cache/documents/composer.v1beta1.json +4 -4
  110. googleapiclient/discovery_cache/documents/compute.alpha.json +759 -36
  111. googleapiclient/discovery_cache/documents/compute.beta.json +1196 -145
  112. googleapiclient/discovery_cache/documents/compute.v1.json +751 -5
  113. googleapiclient/discovery_cache/documents/connectors.v1.json +57 -2
  114. googleapiclient/discovery_cache/documents/connectors.v2.json +2 -2
  115. googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json +1 -1
  116. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +9 -5
  117. googleapiclient/discovery_cache/documents/container.v1.json +82 -1
  118. googleapiclient/discovery_cache/documents/container.v1beta1.json +74 -1
  119. googleapiclient/discovery_cache/documents/containeranalysis.v1.json +1 -1
  120. googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +1 -1
  121. googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +1 -1
  122. googleapiclient/discovery_cache/documents/content.v2.1.json +15 -6
  123. googleapiclient/discovery_cache/documents/customsearch.v1.json +13 -1
  124. googleapiclient/discovery_cache/documents/datacatalog.v1.json +23 -12
  125. googleapiclient/discovery_cache/documents/datacatalog.v1beta1.json +26 -13
  126. googleapiclient/discovery_cache/documents/dataflow.v1b3.json +15 -10
  127. googleapiclient/discovery_cache/documents/dataform.v1beta1.json +4 -6
  128. googleapiclient/discovery_cache/documents/datalineage.v1.json +1 -1
  129. googleapiclient/discovery_cache/documents/datamigration.v1.json +151 -13
  130. googleapiclient/discovery_cache/documents/datamigration.v1beta1.json +1 -1
  131. googleapiclient/discovery_cache/documents/datapipelines.v1.json +1 -1
  132. googleapiclient/discovery_cache/documents/dataplex.v1.json +1811 -160
  133. googleapiclient/discovery_cache/documents/dataportability.v1.json +204 -1
  134. googleapiclient/discovery_cache/documents/dataportability.v1beta.json +204 -1
  135. googleapiclient/discovery_cache/documents/dataproc.v1.json +51 -2
  136. googleapiclient/discovery_cache/documents/datastore.v1.json +117 -1
  137. googleapiclient/discovery_cache/documents/datastore.v1beta1.json +1 -1
  138. googleapiclient/discovery_cache/documents/datastore.v1beta3.json +117 -1
  139. googleapiclient/discovery_cache/documents/datastream.v1.json +1 -1
  140. googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +1 -1
  141. googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json +1 -1
  142. googleapiclient/discovery_cache/documents/deploymentmanager.v2.json +1 -1
  143. googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json +1 -1
  144. googleapiclient/discovery_cache/documents/dialogflow.v2.json +93 -1
  145. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +93 -1
  146. googleapiclient/discovery_cache/documents/dialogflow.v3.json +319 -1
  147. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +319 -1
  148. googleapiclient/discovery_cache/documents/digitalassetlinks.v1.json +1 -1
  149. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +535 -142
  150. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +237 -140
  151. googleapiclient/discovery_cache/documents/displayvideo.v2.json +10 -4
  152. googleapiclient/discovery_cache/documents/displayvideo.v3.json +10 -4
  153. googleapiclient/discovery_cache/documents/dlp.v2.json +27 -19
  154. googleapiclient/discovery_cache/documents/dns.v1.json +1 -1
  155. googleapiclient/discovery_cache/documents/dns.v1beta2.json +1 -1
  156. googleapiclient/discovery_cache/documents/docs.v1.json +1 -1
  157. googleapiclient/discovery_cache/documents/documentai.v1.json +22 -1
  158. googleapiclient/discovery_cache/documents/documentai.v1beta2.json +1 -1
  159. googleapiclient/discovery_cache/documents/documentai.v1beta3.json +2 -2
  160. googleapiclient/discovery_cache/documents/domains.v1.json +1 -1
  161. googleapiclient/discovery_cache/documents/domains.v1alpha2.json +1 -1
  162. googleapiclient/discovery_cache/documents/domains.v1beta1.json +1 -1
  163. googleapiclient/discovery_cache/documents/domainsrdap.v1.json +1 -1
  164. googleapiclient/discovery_cache/documents/doubleclickbidmanager.v2.json +1 -1
  165. googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json +1 -1
  166. googleapiclient/discovery_cache/documents/drive.v2.json +1 -1
  167. googleapiclient/discovery_cache/documents/drive.v3.json +1 -1
  168. googleapiclient/discovery_cache/documents/driveactivity.v2.json +1 -1
  169. googleapiclient/discovery_cache/documents/drivelabels.v2.json +1 -1
  170. googleapiclient/discovery_cache/documents/drivelabels.v2beta.json +1 -1
  171. googleapiclient/discovery_cache/documents/essentialcontacts.v1.json +1 -1
  172. googleapiclient/discovery_cache/documents/eventarc.v1.json +1 -1
  173. googleapiclient/discovery_cache/documents/eventarc.v1beta1.json +1 -1
  174. googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json +1 -1
  175. googleapiclient/discovery_cache/documents/fcm.v1.json +1 -1
  176. googleapiclient/discovery_cache/documents/fcmdata.v1beta1.json +1 -1
  177. googleapiclient/discovery_cache/documents/file.v1.json +2 -2
  178. googleapiclient/discovery_cache/documents/file.v1beta1.json +2 -2
  179. googleapiclient/discovery_cache/documents/firebase.v1beta1.json +1 -1
  180. googleapiclient/discovery_cache/documents/firebaseappcheck.v1.json +1 -1
  181. googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json +1 -1
  182. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1.json +1 -1
  183. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +1 -1
  184. googleapiclient/discovery_cache/documents/firebasedatabase.v1beta.json +1 -1
  185. googleapiclient/discovery_cache/documents/firebasedynamiclinks.v1.json +1 -1
  186. googleapiclient/discovery_cache/documents/firebasehosting.v1.json +2 -2
  187. googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json +2 -2
  188. googleapiclient/discovery_cache/documents/firebaseml.v1.json +1 -1
  189. googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json +1 -1
  190. googleapiclient/discovery_cache/documents/firebaserules.v1.json +1 -1
  191. googleapiclient/discovery_cache/documents/firestore.v1.json +117 -4
  192. googleapiclient/discovery_cache/documents/firestore.v1beta1.json +91 -1
  193. googleapiclient/discovery_cache/documents/firestore.v1beta2.json +1 -1
  194. googleapiclient/discovery_cache/documents/fitness.v1.json +1 -1
  195. googleapiclient/discovery_cache/documents/forms.v1.json +1 -1
  196. googleapiclient/discovery_cache/documents/games.v1.json +1 -1
  197. googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json +1 -1
  198. googleapiclient/discovery_cache/documents/gamesManagement.v1management.json +1 -1
  199. googleapiclient/discovery_cache/documents/gkebackup.v1.json +7 -7
  200. googleapiclient/discovery_cache/documents/gkehub.v1.json +242 -1
  201. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +122 -1
  202. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +242 -1
  203. googleapiclient/discovery_cache/documents/gkehub.v1beta1.json +1 -1
  204. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +1 -1
  205. googleapiclient/discovery_cache/documents/gmail.v1.json +1 -1
  206. googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json +1 -1
  207. googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json +1 -1
  208. googleapiclient/discovery_cache/documents/groupsmigration.v1.json +1 -1
  209. googleapiclient/discovery_cache/documents/healthcare.v1.json +2 -2
  210. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +13 -13
  211. googleapiclient/discovery_cache/documents/homegraph.v1.json +1 -1
  212. googleapiclient/discovery_cache/documents/iam.v1.json +46 -5
  213. googleapiclient/discovery_cache/documents/iam.v2.json +33 -2
  214. googleapiclient/discovery_cache/documents/iam.v2beta.json +33 -2
  215. googleapiclient/discovery_cache/documents/iamcredentials.v1.json +1 -1
  216. googleapiclient/discovery_cache/documents/iap.v1.json +3 -3
  217. googleapiclient/discovery_cache/documents/iap.v1beta1.json +1 -1
  218. googleapiclient/discovery_cache/documents/identitytoolkit.v1.json +1 -1
  219. googleapiclient/discovery_cache/documents/identitytoolkit.v2.json +2 -3
  220. googleapiclient/discovery_cache/documents/indexing.v3.json +1 -1
  221. googleapiclient/discovery_cache/documents/integrations.v1alpha.json +49 -1
  222. googleapiclient/discovery_cache/documents/jobs.v3.json +1 -1
  223. googleapiclient/discovery_cache/documents/jobs.v3p1beta1.json +1 -1
  224. googleapiclient/discovery_cache/documents/jobs.v4.json +1 -1
  225. googleapiclient/discovery_cache/documents/keep.v1.json +1 -1
  226. googleapiclient/discovery_cache/documents/kgsearch.v1.json +1 -1
  227. googleapiclient/discovery_cache/documents/kmsinventory.v1.json +1 -1
  228. googleapiclient/discovery_cache/documents/language.v1.json +1 -1
  229. googleapiclient/discovery_cache/documents/language.v1beta2.json +1 -1
  230. googleapiclient/discovery_cache/documents/language.v2.json +1 -1
  231. googleapiclient/discovery_cache/documents/libraryagent.v1.json +1 -1
  232. googleapiclient/discovery_cache/documents/licensing.v1.json +1 -1
  233. googleapiclient/discovery_cache/documents/lifesciences.v2beta.json +1 -1
  234. googleapiclient/discovery_cache/documents/localservices.v1.json +1 -1
  235. googleapiclient/discovery_cache/documents/logging.v2.json +40 -6
  236. googleapiclient/discovery_cache/documents/looker.v1.json +1 -1
  237. googleapiclient/discovery_cache/documents/marketingplatformadmin.v1alpha.json +1 -1
  238. googleapiclient/discovery_cache/documents/memcache.v1.json +2 -2
  239. googleapiclient/discovery_cache/documents/memcache.v1beta2.json +2 -2
  240. googleapiclient/discovery_cache/documents/metastore.v1.json +1 -35
  241. googleapiclient/discovery_cache/documents/metastore.v1alpha.json +1 -35
  242. googleapiclient/discovery_cache/documents/metastore.v1beta.json +1 -35
  243. googleapiclient/discovery_cache/documents/migrationcenter.v1.json +1 -1
  244. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +1 -1
  245. googleapiclient/discovery_cache/documents/ml.v1.json +1 -1
  246. googleapiclient/discovery_cache/documents/monitoring.v1.json +1 -1
  247. googleapiclient/discovery_cache/documents/monitoring.v3.json +1 -1
  248. googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json +1 -1
  249. googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +1 -1
  250. googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json +1 -1
  251. googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json +1 -1
  252. googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json +1 -1
  253. googleapiclient/discovery_cache/documents/mybusinessqanda.v1.json +1 -1
  254. googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +1 -1
  255. googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +1 -1
  256. googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +1 -1
  257. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +19 -5
  258. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +19 -5
  259. googleapiclient/discovery_cache/documents/networksecurity.v1.json +1 -1
  260. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +1 -1
  261. googleapiclient/discovery_cache/documents/networkservices.v1.json +4 -4
  262. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +4 -4
  263. googleapiclient/discovery_cache/documents/notebooks.v1.json +6 -2
  264. googleapiclient/discovery_cache/documents/notebooks.v2.json +1 -1
  265. googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +1 -1
  266. googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +1 -1
  267. googleapiclient/discovery_cache/documents/orgpolicy.v2.json +1 -1
  268. googleapiclient/discovery_cache/documents/osconfig.v1.json +89 -1
  269. googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +1 -1
  270. googleapiclient/discovery_cache/documents/osconfig.v1beta.json +1 -1
  271. googleapiclient/discovery_cache/documents/oslogin.v1.json +1 -1
  272. googleapiclient/discovery_cache/documents/oslogin.v1alpha.json +1 -1
  273. googleapiclient/discovery_cache/documents/oslogin.v1beta.json +1 -1
  274. googleapiclient/discovery_cache/documents/pagespeedonline.v5.json +1 -1
  275. googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +1 -1
  276. googleapiclient/discovery_cache/documents/people.v1.json +15 -13
  277. googleapiclient/discovery_cache/documents/places.v1.json +1 -1
  278. googleapiclient/discovery_cache/documents/playcustomapp.v1.json +1 -1
  279. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1alpha1.json +1 -1
  280. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json +1 -1
  281. googleapiclient/discovery_cache/documents/playgrouping.v1alpha1.json +1 -1
  282. googleapiclient/discovery_cache/documents/playintegrity.v1.json +2 -2
  283. googleapiclient/discovery_cache/documents/policyanalyzer.v1.json +1 -1
  284. googleapiclient/discovery_cache/documents/policyanalyzer.v1beta1.json +1 -1
  285. googleapiclient/discovery_cache/documents/policysimulator.v1.json +1 -1
  286. googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json +1 -1
  287. googleapiclient/discovery_cache/documents/policysimulator.v1beta.json +1 -1
  288. googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json +1 -1
  289. googleapiclient/discovery_cache/documents/policytroubleshooter.v1beta.json +1 -1
  290. googleapiclient/discovery_cache/documents/privateca.v1.json +2 -2
  291. googleapiclient/discovery_cache/documents/privateca.v1beta1.json +1 -1
  292. googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json +1 -1
  293. googleapiclient/discovery_cache/documents/publicca.v1.json +1 -1
  294. googleapiclient/discovery_cache/documents/publicca.v1alpha1.json +1 -1
  295. googleapiclient/discovery_cache/documents/publicca.v1beta1.json +1 -1
  296. googleapiclient/discovery_cache/documents/pubsub.v1.json +1 -1
  297. googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json +1 -1
  298. googleapiclient/discovery_cache/documents/pubsub.v1beta2.json +1 -1
  299. googleapiclient/discovery_cache/documents/pubsublite.v1.json +1 -1
  300. googleapiclient/discovery_cache/documents/rapidmigrationassessment.v1.json +1 -1
  301. googleapiclient/discovery_cache/documents/readerrevenuesubscriptionlinking.v1.json +1 -1
  302. googleapiclient/discovery_cache/documents/realtimebidding.v1.json +5 -3
  303. googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +2 -2
  304. googleapiclient/discovery_cache/documents/recommendationengine.v1beta1.json +1 -1
  305. googleapiclient/discovery_cache/documents/recommender.v1.json +1 -1
  306. googleapiclient/discovery_cache/documents/recommender.v1beta1.json +1 -1
  307. googleapiclient/discovery_cache/documents/redis.v1.json +154 -5
  308. googleapiclient/discovery_cache/documents/redis.v1beta1.json +154 -5
  309. googleapiclient/discovery_cache/documents/reseller.v1.json +1 -1
  310. googleapiclient/discovery_cache/documents/resourcesettings.v1.json +1 -1
  311. googleapiclient/discovery_cache/documents/retail.v2.json +2 -2
  312. googleapiclient/discovery_cache/documents/retail.v2alpha.json +3 -3
  313. googleapiclient/discovery_cache/documents/retail.v2beta.json +2 -2
  314. googleapiclient/discovery_cache/documents/run.v1.json +2 -2
  315. googleapiclient/discovery_cache/documents/run.v2.json +11 -3
  316. googleapiclient/discovery_cache/documents/safebrowsing.v4.json +1 -1
  317. googleapiclient/discovery_cache/documents/safebrowsing.v5.json +1 -1
  318. googleapiclient/discovery_cache/documents/sasportal.v1alpha1.json +1 -1
  319. googleapiclient/discovery_cache/documents/script.v1.json +1 -1
  320. googleapiclient/discovery_cache/documents/searchconsole.v1.json +1 -1
  321. googleapiclient/discovery_cache/documents/secretmanager.v1.json +8 -1
  322. googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json +8 -1
  323. googleapiclient/discovery_cache/documents/secretmanager.v1beta2.json +8 -1
  324. googleapiclient/discovery_cache/documents/securitycenter.v1.json +1 -1
  325. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +1 -1
  326. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +1 -1
  327. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +1 -1
  328. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +9 -9
  329. googleapiclient/discovery_cache/documents/servicecontrol.v1.json +1 -1
  330. googleapiclient/discovery_cache/documents/servicecontrol.v2.json +1 -1
  331. googleapiclient/discovery_cache/documents/servicemanagement.v1.json +1 -1
  332. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +1 -1
  333. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +1 -1
  334. googleapiclient/discovery_cache/documents/serviceusage.v1.json +1 -1
  335. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +17 -17
  336. googleapiclient/discovery_cache/documents/sheets.v4.json +11 -3
  337. googleapiclient/discovery_cache/documents/slides.v1.json +1 -1
  338. googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json +1 -1
  339. googleapiclient/discovery_cache/documents/sourcerepo.v1.json +1 -1
  340. googleapiclient/discovery_cache/documents/spanner.v1.json +434 -1
  341. googleapiclient/discovery_cache/documents/speech.v1.json +1 -1
  342. googleapiclient/discovery_cache/documents/speech.v1p1beta1.json +1 -1
  343. googleapiclient/discovery_cache/documents/sqladmin.v1.json +115 -4
  344. googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +115 -4
  345. googleapiclient/discovery_cache/documents/storage.v1.json +9 -3
  346. googleapiclient/discovery_cache/documents/storagetransfer.v1.json +28 -1
  347. googleapiclient/discovery_cache/documents/streetviewpublish.v1.json +1 -1
  348. googleapiclient/discovery_cache/documents/sts.v1.json +1 -154
  349. googleapiclient/discovery_cache/documents/sts.v1beta.json +1 -1
  350. googleapiclient/discovery_cache/documents/tagmanager.v1.json +1 -1
  351. googleapiclient/discovery_cache/documents/tagmanager.v2.json +1 -1
  352. googleapiclient/discovery_cache/documents/tasks.v1.json +13 -9
  353. googleapiclient/discovery_cache/documents/testing.v1.json +4 -3
  354. googleapiclient/discovery_cache/documents/texttospeech.v1.json +1 -1
  355. googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +1 -1
  356. googleapiclient/discovery_cache/documents/toolresults.v1beta3.json +4 -2
  357. googleapiclient/discovery_cache/documents/trafficdirector.v2.json +1 -1
  358. googleapiclient/discovery_cache/documents/trafficdirector.v3.json +1 -1
  359. googleapiclient/discovery_cache/documents/transcoder.v1.json +1 -1
  360. googleapiclient/discovery_cache/documents/travelimpactmodel.v1.json +1 -1
  361. googleapiclient/discovery_cache/documents/vault.v1.json +1 -1
  362. googleapiclient/discovery_cache/documents/verifiedaccess.v1.json +1 -1
  363. googleapiclient/discovery_cache/documents/verifiedaccess.v2.json +1 -1
  364. googleapiclient/discovery_cache/documents/versionhistory.v1.json +1 -1
  365. googleapiclient/discovery_cache/documents/videointelligence.v1.json +1 -1
  366. googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json +1 -1
  367. googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json +1 -1
  368. googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json +1 -1
  369. googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json +1 -1
  370. googleapiclient/discovery_cache/documents/vision.v1.json +1 -1
  371. googleapiclient/discovery_cache/documents/vision.v1p1beta1.json +1 -1
  372. googleapiclient/discovery_cache/documents/vision.v1p2beta1.json +1 -1
  373. googleapiclient/discovery_cache/documents/vmmigration.v1.json +1 -1
  374. googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +1 -1
  375. googleapiclient/discovery_cache/documents/vmwareengine.v1.json +1 -1
  376. googleapiclient/discovery_cache/documents/vpcaccess.v1.json +1 -1
  377. googleapiclient/discovery_cache/documents/walletobjects.v1.json +3 -3
  378. googleapiclient/discovery_cache/documents/webfonts.v1.json +1 -1
  379. googleapiclient/discovery_cache/documents/webrisk.v1.json +1 -1
  380. googleapiclient/discovery_cache/documents/websecurityscanner.v1.json +1 -1
  381. googleapiclient/discovery_cache/documents/websecurityscanner.v1alpha.json +1 -1
  382. googleapiclient/discovery_cache/documents/websecurityscanner.v1beta.json +1 -1
  383. googleapiclient/discovery_cache/documents/workflowexecutions.v1.json +1 -1
  384. googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json +1 -1
  385. googleapiclient/discovery_cache/documents/workflows.v1.json +1 -1
  386. googleapiclient/discovery_cache/documents/workflows.v1beta.json +1 -1
  387. googleapiclient/discovery_cache/documents/workloadmanager.v1.json +31 -686
  388. googleapiclient/discovery_cache/documents/workspaceevents.v1.json +1 -1
  389. googleapiclient/discovery_cache/documents/youtube.v3.json +1 -1
  390. googleapiclient/discovery_cache/documents/youtubeAnalytics.v2.json +1 -1
  391. googleapiclient/discovery_cache/documents/youtubereporting.v1.json +1 -1
  392. googleapiclient/version.py +1 -1
  393. {google_api_python_client-2.122.0.dist-info → google_api_python_client-2.124.0.dist-info}/LICENSE +0 -0
  394. {google_api_python_client-2.122.0.dist-info → google_api_python_client-2.124.0.dist-info}/WHEEL +0 -0
  395. {google_api_python_client-2.122.0.dist-info → google_api_python_client-2.124.0.dist-info}/top_level.txt +0 -0
@@ -53,6 +53,13 @@ try:
53
53
  except ImportError: # pragma: NO COVER
54
54
  google_auth_httplib2 = None
55
55
 
56
+ try:
57
+ from google.api_core import universe
58
+
59
+ HAS_UNIVERSE = True
60
+ except ImportError:
61
+ HAS_UNIVERSE = False
62
+
56
63
  # Local imports
57
64
  from googleapiclient import _auth, mimeparse
58
65
  from googleapiclient._helpers import _add_query_parameter, positional
@@ -116,12 +123,22 @@ _PAGE_TOKEN_NAMES = ("pageToken", "nextPageToken")
116
123
  # Parameters controlling mTLS behavior. See https://google.aip.dev/auth/4114.
117
124
  GOOGLE_API_USE_CLIENT_CERTIFICATE = "GOOGLE_API_USE_CLIENT_CERTIFICATE"
118
125
  GOOGLE_API_USE_MTLS_ENDPOINT = "GOOGLE_API_USE_MTLS_ENDPOINT"
119
-
126
+ GOOGLE_CLOUD_UNIVERSE_DOMAIN = "GOOGLE_CLOUD_UNIVERSE_DOMAIN"
127
+ DEFAULT_UNIVERSE = "googleapis.com"
120
128
  # Parameters accepted by the stack, but not visible via discovery.
121
129
  # TODO(dhermes): Remove 'userip' in 'v2'.
122
130
  STACK_QUERY_PARAMETERS = frozenset(["trace", "pp", "userip", "strict"])
123
131
  STACK_QUERY_PARAMETER_DEFAULT_VALUE = {"type": "string", "location": "query"}
124
132
 
133
+
134
+ class APICoreVersionError(ValueError):
135
+ def __init__(self):
136
+ message = (
137
+ "google-api-core >= 2.18.0 is required to use the universe domain feature."
138
+ )
139
+ super().__init__(message)
140
+
141
+
125
142
  # Library-specific reserved words beyond Python keywords.
126
143
  RESERVED_WORDS = frozenset(["body"])
127
144
 
@@ -436,6 +453,13 @@ def _retrieve_discovery_doc(
436
453
  return content
437
454
 
438
455
 
456
+ def _check_api_core_compatible_with_credentials_universe(credentials):
457
+ if not HAS_UNIVERSE:
458
+ credentials_universe = getattr(credentials, "universe_domain", None)
459
+ if credentials_universe and credentials_universe != DEFAULT_UNIVERSE:
460
+ raise APICoreVersionError
461
+
462
+
439
463
  @positional(1)
440
464
  def build_from_document(
441
465
  service,
@@ -544,6 +568,18 @@ def build_from_document(
544
568
 
545
569
  # If an API Endpoint is provided on client options, use that as the base URL
546
570
  base = urllib.parse.urljoin(service["rootUrl"], service["servicePath"])
571
+ universe_domain = None
572
+ if HAS_UNIVERSE:
573
+ universe_domain_env = os.getenv(GOOGLE_CLOUD_UNIVERSE_DOMAIN, None)
574
+ universe_domain = universe.determine_domain(
575
+ client_options.universe_domain, universe_domain_env
576
+ )
577
+ base = base.replace(universe.DEFAULT_UNIVERSE, universe_domain)
578
+ else:
579
+ client_universe = getattr(client_options, "universe_domain", None)
580
+ if client_universe:
581
+ raise APICoreVersionError
582
+
547
583
  audience_for_self_signed_jwt = base
548
584
  if client_options.api_endpoint:
549
585
  base = client_options.api_endpoint
@@ -582,6 +618,9 @@ def build_from_document(
582
618
  quota_project_id=client_options.quota_project_id,
583
619
  )
584
620
 
621
+ # Check google-api-core >= 2.18.0 if credentials' universe != "googleapis.com".
622
+ _check_api_core_compatible_with_credentials_universe(credentials)
623
+
585
624
  # The credentials need to be scoped.
586
625
  # If the user provided scopes via client_options don't override them
587
626
  if not client_options.scopes:
@@ -666,7 +705,15 @@ def build_from_document(
666
705
  if use_mtls_endpoint == "always" or (
667
706
  use_mtls_endpoint == "auto" and client_cert_to_use
668
707
  ):
708
+ if HAS_UNIVERSE and universe_domain != universe.DEFAULT_UNIVERSE:
709
+ raise MutualTLSChannelError(
710
+ f"mTLS is not supported in any universe other than {universe.DEFAULT_UNIVERSE}."
711
+ )
669
712
  base = mtls_endpoint
713
+ else:
714
+ # Check google-api-core >= 2.18.0 if credentials' universe != "googleapis.com".
715
+ http_credentials = getattr(http, "credentials", None)
716
+ _check_api_core_compatible_with_credentials_universe(http_credentials)
670
717
 
671
718
  if model is None:
672
719
  features = service.get("features", [])
@@ -681,6 +728,7 @@ def build_from_document(
681
728
  resourceDesc=service,
682
729
  rootDesc=service,
683
730
  schema=schema,
731
+ universe_domain=universe_domain,
684
732
  )
685
733
 
686
734
 
@@ -1043,6 +1091,9 @@ def createMethod(methodName, methodDesc, rootDesc, schema):
1043
1091
  def method(self, **kwargs):
1044
1092
  # Don't bother with doc string, it will be over-written by createMethod.
1045
1093
 
1094
+ # Validate credentials for the configured universe.
1095
+ self._validate_credentials()
1096
+
1046
1097
  for name in kwargs:
1047
1098
  if name not in parameters.argmap:
1048
1099
  raise TypeError("Got an unexpected keyword argument {}".format(name))
@@ -1352,6 +1403,7 @@ class Resource(object):
1352
1403
  resourceDesc,
1353
1404
  rootDesc,
1354
1405
  schema,
1406
+ universe_domain=universe.DEFAULT_UNIVERSE if HAS_UNIVERSE else "",
1355
1407
  ):
1356
1408
  """Build a Resource from the API description.
1357
1409
 
@@ -1369,6 +1421,8 @@ class Resource(object):
1369
1421
  is considered a resource.
1370
1422
  rootDesc: object, the entire deserialized discovery document.
1371
1423
  schema: object, mapping of schema names to schema descriptions.
1424
+ universe_domain: string, the universe for the API. The default universe
1425
+ is "googleapis.com".
1372
1426
  """
1373
1427
  self._dynamic_attrs = []
1374
1428
 
@@ -1380,6 +1434,8 @@ class Resource(object):
1380
1434
  self._resourceDesc = resourceDesc
1381
1435
  self._rootDesc = rootDesc
1382
1436
  self._schema = schema
1437
+ self._universe_domain = universe_domain
1438
+ self._credentials_validated = False
1383
1439
 
1384
1440
  self._set_service_methods()
1385
1441
 
@@ -1502,6 +1558,7 @@ class Resource(object):
1502
1558
  resourceDesc=methodDesc,
1503
1559
  rootDesc=rootDesc,
1504
1560
  schema=schema,
1561
+ universe_domain=self._universe_domain,
1505
1562
  )
1506
1563
 
1507
1564
  setattr(methodResource, "__doc__", "A collection resource.")
@@ -1546,6 +1603,27 @@ class Resource(object):
1546
1603
  fixedMethodName, method.__get__(self, self.__class__)
1547
1604
  )
1548
1605
 
1606
+ def _validate_credentials(self):
1607
+ """Validates client's and credentials' universe domains are consistent.
1608
+
1609
+ Returns:
1610
+ bool: True iff the configured universe domain is valid.
1611
+
1612
+ Raises:
1613
+ UniverseMismatchError: If the configured universe domain is not valid.
1614
+ """
1615
+ credentials = getattr(self._http, "credentials", None)
1616
+
1617
+ self._credentials_validated = (
1618
+ (
1619
+ self._credentials_validated
1620
+ or universe.compare_domains(self._universe_domain, credentials)
1621
+ )
1622
+ if HAS_UNIVERSE
1623
+ else True
1624
+ )
1625
+ return self._credentials_validated
1626
+
1549
1627
 
1550
1628
  def _findPageTokenName(fields):
1551
1629
  """Search field names for one like a page token.
@@ -115,7 +115,7 @@
115
115
  }
116
116
  }
117
117
  },
118
- "revision": "20240310",
118
+ "revision": "20240324",
119
119
  "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
120
120
  "schemas": {
121
121
  "AmpUrl": {
@@ -913,7 +913,7 @@
913
913
  }
914
914
  }
915
915
  },
916
- "revision": "20240311",
916
+ "revision": "20240322",
917
917
  "rootUrl": "https://accessapproval.googleapis.com/",
918
918
  "schemas": {
919
919
  "AccessApprovalServiceAccount": {
@@ -1290,7 +1290,7 @@
1290
1290
  }
1291
1291
  }
1292
1292
  },
1293
- "revision": "20240226",
1293
+ "revision": "20240318",
1294
1294
  "rootUrl": "https://accesscontextmanager.googleapis.com/",
1295
1295
  "schemas": {
1296
1296
  "AccessContextManagerOperationMetadata": {
@@ -146,7 +146,7 @@
146
146
  }
147
147
  }
148
148
  },
149
- "revision": "20240310",
149
+ "revision": "20240324",
150
150
  "rootUrl": "https://acmedns.googleapis.com/",
151
151
  "schemas": {
152
152
  "AcmeChallengeSet": {
@@ -3115,7 +3115,7 @@
3115
3115
  }
3116
3116
  }
3117
3117
  },
3118
- "revision": "20240311",
3118
+ "revision": "20240325",
3119
3119
  "rootUrl": "https://adexchangebuyer.googleapis.com/",
3120
3120
  "schemas": {
3121
3121
  "AbsoluteDateRange": {
@@ -272,7 +272,7 @@
272
272
  }
273
273
  }
274
274
  },
275
- "revision": "20240304",
275
+ "revision": "20240321",
276
276
  "rootUrl": "https://admin.googleapis.com/",
277
277
  "schemas": {
278
278
  "Application": {
@@ -272,7 +272,7 @@
272
272
  }
273
273
  }
274
274
  },
275
- "revision": "20240304",
275
+ "revision": "20240321",
276
276
  "rootUrl": "https://admin.googleapis.com/",
277
277
  "schemas": {
278
278
  "Application": {
@@ -4671,7 +4671,7 @@
4671
4671
  }
4672
4672
  }
4673
4673
  },
4674
- "revision": "20240304",
4674
+ "revision": "20240321",
4675
4675
  "rootUrl": "https://admin.googleapis.com/",
4676
4676
  "schemas": {
4677
4677
  "Alias": {
@@ -4671,7 +4671,7 @@
4671
4671
  }
4672
4672
  }
4673
4673
  },
4674
- "revision": "20240304",
4674
+ "revision": "20240321",
4675
4675
  "rootUrl": "https://admin.googleapis.com/",
4676
4676
  "schemas": {
4677
4677
  "Alias": {
@@ -626,7 +626,7 @@
626
626
  }
627
627
  }
628
628
  },
629
- "revision": "20240304",
629
+ "revision": "20240321",
630
630
  "rootUrl": "https://admin.googleapis.com/",
631
631
  "schemas": {
632
632
  "Activities": {
@@ -626,7 +626,7 @@
626
626
  }
627
627
  }
628
628
  },
629
- "revision": "20240304",
629
+ "revision": "20240321",
630
630
  "rootUrl": "https://admin.googleapis.com/",
631
631
  "schemas": {
632
632
  "Activities": {
@@ -321,7 +321,7 @@
321
321
  }
322
322
  }
323
323
  },
324
- "revision": "20240311",
324
+ "revision": "20240325",
325
325
  "rootUrl": "https://admob.googleapis.com/",
326
326
  "schemas": {
327
327
  "AdUnit": {
@@ -758,7 +758,7 @@
758
758
  }
759
759
  }
760
760
  },
761
- "revision": "20240311",
761
+ "revision": "20240325",
762
762
  "rootUrl": "https://admob.googleapis.com/",
763
763
  "schemas": {
764
764
  "AdSource": {
@@ -324,7 +324,7 @@
324
324
  "adunits": {
325
325
  "methods": {
326
326
  "create": {
327
- "description": "Creates an ad unit. This method can only be used by projects enabled for the [AdSense for Platforms](https://developers.google.com/adsense/platforms/) product. Note that ad units can only be created for ad clients with an \"AFC\" product code. For more info see the [AdClient resource](/adsense/management/reference/rest/v2/accounts.adclients). For now, this method can only be used to create `DISPLAY` ad units. See: https://support.google.com/adsense/answer/9183566",
327
+ "description": "Creates an ad unit. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method. Note that ad units can only be created for ad clients with an \"AFC\" product code. For more info see the [AdClient resource](/adsense/management/reference/rest/v2/accounts.adclients). For now, this method can only be used to create `DISPLAY` ad units. See: https://support.google.com/adsense/answer/9183566",
328
328
  "flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits",
329
329
  "httpMethod": "POST",
330
330
  "id": "adsense.accounts.adclients.adunits.create",
@@ -478,7 +478,7 @@
478
478
  ]
479
479
  },
480
480
  "patch": {
481
- "description": "Updates an ad unit. This method can only be used by projects enabled for the [AdSense for Platforms](https://developers.google.com/adsense/platforms/) product. For now, this method can only be used to update `DISPLAY` ad units. See: https://support.google.com/adsense/answer/9183566",
481
+ "description": "Updates an ad unit. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method. For now, this method can only be used to update `DISPLAY` ad units. See: https://support.google.com/adsense/answer/9183566",
482
482
  "flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId}",
483
483
  "httpMethod": "PATCH",
484
484
  "id": "adsense.accounts.adclients.adunits.patch",
@@ -516,7 +516,7 @@
516
516
  "customchannels": {
517
517
  "methods": {
518
518
  "create": {
519
- "description": "Creates a custom channel. This method can only be used by projects enabled for the [AdSense for Platforms](https://developers.google.com/adsense/platforms/) product.",
519
+ "description": "Creates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.",
520
520
  "flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels",
521
521
  "httpMethod": "POST",
522
522
  "id": "adsense.accounts.adclients.customchannels.create",
@@ -544,7 +544,7 @@
544
544
  ]
545
545
  },
546
546
  "delete": {
547
- "description": "Deletes a custom channel. This method can only be used by projects enabled for the [AdSense for Platforms](https://developers.google.com/adsense/platforms/) product.",
547
+ "description": "Deletes a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.",
548
548
  "flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId}",
549
549
  "httpMethod": "DELETE",
550
550
  "id": "adsense.accounts.adclients.customchannels.delete",
@@ -669,7 +669,7 @@
669
669
  ]
670
670
  },
671
671
  "patch": {
672
- "description": "Updates a custom channel. This method can only be used by projects enabled for the [AdSense for Platforms](https://developers.google.com/adsense/platforms/) product.",
672
+ "description": "Updates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.",
673
673
  "flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId}",
674
674
  "httpMethod": "PATCH",
675
675
  "id": "adsense.accounts.adclients.customchannels.patch",
@@ -838,6 +838,73 @@
838
838
  }
839
839
  }
840
840
  },
841
+ "policyIssues": {
842
+ "methods": {
843
+ "get": {
844
+ "description": "Gets information about the selected policy issue.",
845
+ "flatPath": "v2/accounts/{accountsId}/policyIssues/{policyIssuesId}",
846
+ "httpMethod": "GET",
847
+ "id": "adsense.accounts.policyIssues.get",
848
+ "parameterOrder": [
849
+ "name"
850
+ ],
851
+ "parameters": {
852
+ "name": {
853
+ "description": "Required. Name of the policy issue. Format: accounts/{account}/policyIssues/{policy_issue}",
854
+ "location": "path",
855
+ "pattern": "^accounts/[^/]+/policyIssues/[^/]+$",
856
+ "required": true,
857
+ "type": "string"
858
+ }
859
+ },
860
+ "path": "v2/{+name}",
861
+ "response": {
862
+ "$ref": "PolicyIssue"
863
+ },
864
+ "scopes": [
865
+ "https://www.googleapis.com/auth/adsense",
866
+ "https://www.googleapis.com/auth/adsense.readonly"
867
+ ]
868
+ },
869
+ "list": {
870
+ "description": "Lists all the policy issues for the specified account.",
871
+ "flatPath": "v2/accounts/{accountsId}/policyIssues",
872
+ "httpMethod": "GET",
873
+ "id": "adsense.accounts.policyIssues.list",
874
+ "parameterOrder": [
875
+ "parent"
876
+ ],
877
+ "parameters": {
878
+ "pageSize": {
879
+ "description": "The maximum number of policy issues to include in the response, used for paging. If unspecified, at most 10000 policy issues will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.",
880
+ "format": "int32",
881
+ "location": "query",
882
+ "type": "integer"
883
+ },
884
+ "pageToken": {
885
+ "description": "A page token, received from a previous `ListPolicyIssues` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPolicyIssues` must match the call that provided the page token.",
886
+ "location": "query",
887
+ "type": "string"
888
+ },
889
+ "parent": {
890
+ "description": "Required. The account for which policy issues are being retrieved. Format: accounts/{account}",
891
+ "location": "path",
892
+ "pattern": "^accounts/[^/]+$",
893
+ "required": true,
894
+ "type": "string"
895
+ }
896
+ },
897
+ "path": "v2/{+parent}/policyIssues",
898
+ "response": {
899
+ "$ref": "ListPolicyIssuesResponse"
900
+ },
901
+ "scopes": [
902
+ "https://www.googleapis.com/auth/adsense",
903
+ "https://www.googleapis.com/auth/adsense.readonly"
904
+ ]
905
+ }
906
+ }
907
+ },
841
908
  "reports": {
842
909
  "methods": {
843
910
  "generate": {
@@ -1845,7 +1912,7 @@
1845
1912
  }
1846
1913
  }
1847
1914
  },
1848
- "revision": "20240311",
1915
+ "revision": "20240324",
1849
1916
  "rootUrl": "https://adsense.googleapis.com/",
1850
1917
  "schemas": {
1851
1918
  "Account": {
@@ -2392,6 +2459,24 @@ true
2392
2459
  },
2393
2460
  "type": "object"
2394
2461
  },
2462
+ "ListPolicyIssuesResponse": {
2463
+ "description": "Response definition for the policy issues list rpc. Policy issues are reported only if the publisher has at least one AFC ad client in READY or GETTING_READY state. If the publisher has no such AFC ad client, the response will be an empty list.",
2464
+ "id": "ListPolicyIssuesResponse",
2465
+ "properties": {
2466
+ "nextPageToken": {
2467
+ "description": "Continuation token used to page through policy issues. To retrieve the next page of the results, set the next request's \"page_token\" value to this.",
2468
+ "type": "string"
2469
+ },
2470
+ "policyIssues": {
2471
+ "description": "The policy issues returned in the list response.",
2472
+ "items": {
2473
+ "$ref": "PolicyIssue"
2474
+ },
2475
+ "type": "array"
2476
+ }
2477
+ },
2478
+ "type": "object"
2479
+ },
2395
2480
  "ListSavedReportsResponse": {
2396
2481
  "description": "Response definition for the saved reports list rpc.",
2397
2482
  "id": "ListSavedReportsResponse",
@@ -2468,6 +2553,111 @@ true
2468
2553
  },
2469
2554
  "type": "object"
2470
2555
  },
2556
+ "PolicyIssue": {
2557
+ "description": "Representation of a policy issue for a single entity (site, site-section, or page). All issues for a single entity are represented by a single PolicyIssue resource, though that PolicyIssue can have multiple causes (or \"topics\") that can change over time. Policy issues are removed if there are no issues detected recently or if there's a recent successful appeal for the entity.",
2558
+ "id": "PolicyIssue",
2559
+ "properties": {
2560
+ "action": {
2561
+ "description": "Required. The most severe action taken on the entity over the past seven days.",
2562
+ "enum": [
2563
+ "ENFORCEMENT_ACTION_UNSPECIFIED",
2564
+ "WARNED",
2565
+ "AD_SERVING_RESTRICTED",
2566
+ "AD_SERVING_DISABLED",
2567
+ "AD_SERVED_WITH_CLICK_CONFIRMATION",
2568
+ "AD_PERSONALIZATION_RESTRICTED"
2569
+ ],
2570
+ "enumDescriptions": [
2571
+ "The action is unspecified.",
2572
+ "No ad serving enforcement is currently present, but enforcement will start on the `warning_escalation_date` if the issue is not resolved.",
2573
+ "Ad serving demand has been restricted on the entity.",
2574
+ "Ad serving has been disabled on the entity.",
2575
+ "Ads are being served for the entity but Confirmed Click is being applied to the ads. See https://support.google.com/adsense/answer/10025624.",
2576
+ "Ad personalization is restricted because the ad requests coming from the EEA and UK do not have a TCF string or the Consent Management Platform (CMP) indicated by the TCF string is not Google certified. As a result, basic/limited ads will be served. See https://support.google.com/adsense/answer/13554116"
2577
+ ],
2578
+ "type": "string"
2579
+ },
2580
+ "adClients": {
2581
+ "description": "Optional. List of ad clients associated with the policy issue (either as the primary ad client or an associated host/secondary ad client). In the latter case, this will be an ad client that is not owned by the current account.",
2582
+ "items": {
2583
+ "type": "string"
2584
+ },
2585
+ "type": "array"
2586
+ },
2587
+ "adRequestCount": {
2588
+ "description": "Required. Total number of ad requests affected by the policy violations over the past seven days.",
2589
+ "format": "int64",
2590
+ "type": "string"
2591
+ },
2592
+ "entityType": {
2593
+ "description": "Required. Type of the entity indicating if the entity is a site, site-section, or page.",
2594
+ "enum": [
2595
+ "ENTITY_TYPE_UNSPECIFIED",
2596
+ "SITE",
2597
+ "SITE_SECTION",
2598
+ "PAGE"
2599
+ ],
2600
+ "enumDescriptions": [
2601
+ "The entity type is unspecified.",
2602
+ "The enforced entity is an entire website.",
2603
+ "The enforced entity is a particular section of a website. All the pages with this prefix are enforced.",
2604
+ "The enforced entity is a single web page."
2605
+ ],
2606
+ "type": "string"
2607
+ },
2608
+ "firstDetectedDate": {
2609
+ "$ref": "Date",
2610
+ "description": "Required. The date (in the America/Los_Angeles timezone) when policy violations were first detected on the entity."
2611
+ },
2612
+ "lastDetectedDate": {
2613
+ "$ref": "Date",
2614
+ "description": "Required. The date (in the America/Los_Angeles timezone) when policy violations were last detected on the entity."
2615
+ },
2616
+ "name": {
2617
+ "description": "Required. Resource name of the entity with policy issues. Format: accounts/{account}/policyIssues/{policy_issue}",
2618
+ "type": "string"
2619
+ },
2620
+ "policyTopics": {
2621
+ "description": "Required. Unordered list. The policy topics that this entity was found to violate over the past seven days.",
2622
+ "items": {
2623
+ "$ref": "PolicyTopic"
2624
+ },
2625
+ "type": "array"
2626
+ },
2627
+ "site": {
2628
+ "description": "Required. Hostname/domain of the entity (for example \"foo.com\" or \"www.foo.com\"). This _should_ be a bare domain/host name without any protocol. This will be present for all policy issues.",
2629
+ "type": "string"
2630
+ },
2631
+ "siteSection": {
2632
+ "description": "Optional. Prefix of the site-section having policy issues (For example \"foo.com/bar-section\"). This will be present if the `entity_type` is `SITE_SECTION` and will be absent for other entity types.",
2633
+ "type": "string"
2634
+ },
2635
+ "uri": {
2636
+ "description": "Optional. URI of the page having policy violations (for example \"foo.com/bar\" or \"www.foo.com/bar\"). This will be present if the `entity_type` is `PAGE` and will be absent for other entity types.",
2637
+ "type": "string"
2638
+ },
2639
+ "warningEscalationDate": {
2640
+ "$ref": "Date",
2641
+ "description": "Optional. The date (in the America/Los_Angeles timezone) when the entity will have ad serving demand restricted or ad serving disabled. This is present only for issues with a `WARNED` enforcement action. See https://support.google.com/adsense/answer/11066888."
2642
+ }
2643
+ },
2644
+ "type": "object"
2645
+ },
2646
+ "PolicyTopic": {
2647
+ "description": "Information about a particular policy topic. A policy topic represents a single class of policy issue that can impact ad serving for your site. For example, sexual content or having ads that obscure your content. A single policy issue can have multiple policy topics for a single entity.",
2648
+ "id": "PolicyTopic",
2649
+ "properties": {
2650
+ "mustFix": {
2651
+ "description": "Required. Indicates if this is a policy violation or not. When the value is true, issues that are instances of this topic must be addressed to remain in compliance with the partner's agreements with Google. A false value indicates that it's not mandatory to fix the issues but advertising demand might be restricted.",
2652
+ "type": "boolean"
2653
+ },
2654
+ "topic": {
2655
+ "description": "Required. The policy topic. For example, \"sexual-content\" or \"ads-obscuring-content\".\"",
2656
+ "type": "string"
2657
+ }
2658
+ },
2659
+ "type": "object"
2660
+ },
2471
2661
  "ReportResult": {
2472
2662
  "description": "Result of a generated report.",
2473
2663
  "id": "ReportResult",
@@ -357,7 +357,7 @@
357
357
  }
358
358
  }
359
359
  },
360
- "revision": "20240303",
360
+ "revision": "20240317",
361
361
  "rootUrl": "https://advisorynotifications.googleapis.com/",
362
362
  "schemas": {
363
363
  "GoogleCloudAdvisorynotificationsV1Attachment": {