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.
- {google_api_python_client-2.122.0.dist-info → google_api_python_client-2.124.0.dist-info}/METADATA +4 -4
- {google_api_python_client-2.122.0.dist-info → google_api_python_client-2.124.0.dist-info}/RECORD +395 -395
- googleapiclient/discovery.py +79 -1
- googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json +1 -1
- googleapiclient/discovery_cache/documents/accessapproval.v1.json +1 -1
- googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +1 -1
- googleapiclient/discovery_cache/documents/acmedns.v1.json +1 -1
- googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json +1 -1
- googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json +1 -1
- googleapiclient/discovery_cache/documents/admin.datatransferv1.json +1 -1
- googleapiclient/discovery_cache/documents/admin.directory_v1.json +1 -1
- googleapiclient/discovery_cache/documents/admin.directoryv1.json +1 -1
- googleapiclient/discovery_cache/documents/admin.reports_v1.json +1 -1
- googleapiclient/discovery_cache/documents/admin.reportsv1.json +1 -1
- googleapiclient/discovery_cache/documents/admob.v1.json +1 -1
- googleapiclient/discovery_cache/documents/admob.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/adsense.v2.json +196 -6
- googleapiclient/discovery_cache/documents/advisorynotifications.v1.json +1 -1
- googleapiclient/discovery_cache/documents/aiplatform.v1.json +976 -25
- googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +1056 -19
- googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/alloydb.v1.json +111 -78
- googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +235 -77
- googleapiclient/discovery_cache/documents/alloydb.v1beta.json +235 -77
- googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +5 -1
- googleapiclient/discovery_cache/documents/analyticsadmin.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/analyticshub.v1.json +19 -1
- googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json +1 -1
- googleapiclient/discovery_cache/documents/androidenterprise.v1.json +1 -1
- googleapiclient/discovery_cache/documents/androidmanagement.v1.json +12 -6
- googleapiclient/discovery_cache/documents/androidpublisher.v3.json +17 -2
- googleapiclient/discovery_cache/documents/apigateway.v1.json +1 -1
- googleapiclient/discovery_cache/documents/apigateway.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/apigee.v1.json +22 -3
- googleapiclient/discovery_cache/documents/apikeys.v2.json +1 -1
- googleapiclient/discovery_cache/documents/appengine.v1.json +1 -1
- googleapiclient/discovery_cache/documents/appengine.v1alpha.json +1 -1
- googleapiclient/discovery_cache/documents/appengine.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/apphub.v1.json +1 -1
- googleapiclient/discovery_cache/documents/apphub.v1alpha.json +1 -1
- googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/artifactregistry.v1.json +1 -1
- googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json +1 -1
- googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +9 -5
- googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +9 -5
- googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json +1 -1
- googleapiclient/discovery_cache/documents/backupdr.v1.json +1 -1
- googleapiclient/discovery_cache/documents/baremetalsolution.v2.json +1 -1
- googleapiclient/discovery_cache/documents/batch.v1.json +4 -4
- googleapiclient/discovery_cache/documents/beyondcorp.v1.json +1 -1
- googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +1 -1
- googleapiclient/discovery_cache/documents/biglake.v1.json +1 -1
- googleapiclient/discovery_cache/documents/bigquerydatapolicy.v1.json +1 -1
- googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +10 -10
- googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +48 -1
- googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +544 -1
- googleapiclient/discovery_cache/documents/billingbudgets.v1.json +1 -1
- googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/binaryauthorization.v1.json +1 -1
- googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/blockchainnodeengine.v1.json +1 -1
- googleapiclient/discovery_cache/documents/blogger.v2.json +1 -1
- googleapiclient/discovery_cache/documents/blogger.v3.json +1 -1
- googleapiclient/discovery_cache/documents/books.v1.json +1 -1
- googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json +1 -1
- googleapiclient/discovery_cache/documents/calendar.v3.json +1 -1
- googleapiclient/discovery_cache/documents/certificatemanager.v1.json +19 -1
- googleapiclient/discovery_cache/documents/chat.v1.json +82 -5
- googleapiclient/discovery_cache/documents/checks.v1alpha.json +9 -3
- googleapiclient/discovery_cache/documents/chromemanagement.v1.json +244 -2
- googleapiclient/discovery_cache/documents/chromepolicy.v1.json +1 -1
- googleapiclient/discovery_cache/documents/chromeuxreport.v1.json +1 -1
- googleapiclient/discovery_cache/documents/civicinfo.v2.json +1 -1
- googleapiclient/discovery_cache/documents/classroom.v1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudasset.v1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json +3 -3
- googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudbilling.v1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudbilling.v1beta.json +1 -304
- googleapiclient/discovery_cache/documents/cloudbuild.v1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudbuild.v2.json +4 -3
- googleapiclient/discovery_cache/documents/cloudchannel.v1.json +1 -1
- googleapiclient/discovery_cache/documents/clouddeploy.v1.json +1 -1
- googleapiclient/discovery_cache/documents/clouderrorreporting.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/cloudfunctions.v1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +2 -2
- googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +2 -2
- googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +2 -2
- googleapiclient/discovery_cache/documents/cloudidentity.v1.json +234 -1
- googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +234 -1
- googleapiclient/discovery_cache/documents/cloudprofiler.v2.json +1 -1
- googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudshell.v1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudsupport.v2.json +1 -1
- googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +1 -65
- googleapiclient/discovery_cache/documents/cloudtasks.v2.json +1 -1
- googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json +1 -1
- googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json +1 -1
- googleapiclient/discovery_cache/documents/cloudtrace.v1.json +1 -1
- googleapiclient/discovery_cache/documents/cloudtrace.v2.json +1 -1
- googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json +1 -1
- googleapiclient/discovery_cache/documents/composer.v1.json +5 -5
- googleapiclient/discovery_cache/documents/composer.v1beta1.json +4 -4
- googleapiclient/discovery_cache/documents/compute.alpha.json +759 -36
- googleapiclient/discovery_cache/documents/compute.beta.json +1196 -145
- googleapiclient/discovery_cache/documents/compute.v1.json +751 -5
- googleapiclient/discovery_cache/documents/connectors.v1.json +57 -2
- googleapiclient/discovery_cache/documents/connectors.v2.json +2 -2
- googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +9 -5
- googleapiclient/discovery_cache/documents/container.v1.json +82 -1
- googleapiclient/discovery_cache/documents/container.v1beta1.json +74 -1
- googleapiclient/discovery_cache/documents/containeranalysis.v1.json +1 -1
- googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/content.v2.1.json +15 -6
- googleapiclient/discovery_cache/documents/customsearch.v1.json +13 -1
- googleapiclient/discovery_cache/documents/datacatalog.v1.json +23 -12
- googleapiclient/discovery_cache/documents/datacatalog.v1beta1.json +26 -13
- googleapiclient/discovery_cache/documents/dataflow.v1b3.json +15 -10
- googleapiclient/discovery_cache/documents/dataform.v1beta1.json +4 -6
- googleapiclient/discovery_cache/documents/datalineage.v1.json +1 -1
- googleapiclient/discovery_cache/documents/datamigration.v1.json +151 -13
- googleapiclient/discovery_cache/documents/datamigration.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/datapipelines.v1.json +1 -1
- googleapiclient/discovery_cache/documents/dataplex.v1.json +1811 -160
- googleapiclient/discovery_cache/documents/dataportability.v1.json +204 -1
- googleapiclient/discovery_cache/documents/dataportability.v1beta.json +204 -1
- googleapiclient/discovery_cache/documents/dataproc.v1.json +51 -2
- googleapiclient/discovery_cache/documents/datastore.v1.json +117 -1
- googleapiclient/discovery_cache/documents/datastore.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/datastore.v1beta3.json +117 -1
- googleapiclient/discovery_cache/documents/datastream.v1.json +1 -1
- googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json +1 -1
- googleapiclient/discovery_cache/documents/deploymentmanager.v2.json +1 -1
- googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json +1 -1
- googleapiclient/discovery_cache/documents/dialogflow.v2.json +93 -1
- googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +93 -1
- googleapiclient/discovery_cache/documents/dialogflow.v3.json +319 -1
- googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +319 -1
- googleapiclient/discovery_cache/documents/digitalassetlinks.v1.json +1 -1
- googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +535 -142
- googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +237 -140
- googleapiclient/discovery_cache/documents/displayvideo.v2.json +10 -4
- googleapiclient/discovery_cache/documents/displayvideo.v3.json +10 -4
- googleapiclient/discovery_cache/documents/dlp.v2.json +27 -19
- googleapiclient/discovery_cache/documents/dns.v1.json +1 -1
- googleapiclient/discovery_cache/documents/dns.v1beta2.json +1 -1
- googleapiclient/discovery_cache/documents/docs.v1.json +1 -1
- googleapiclient/discovery_cache/documents/documentai.v1.json +22 -1
- googleapiclient/discovery_cache/documents/documentai.v1beta2.json +1 -1
- googleapiclient/discovery_cache/documents/documentai.v1beta3.json +2 -2
- googleapiclient/discovery_cache/documents/domains.v1.json +1 -1
- googleapiclient/discovery_cache/documents/domains.v1alpha2.json +1 -1
- googleapiclient/discovery_cache/documents/domains.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/domainsrdap.v1.json +1 -1
- googleapiclient/discovery_cache/documents/doubleclickbidmanager.v2.json +1 -1
- googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json +1 -1
- googleapiclient/discovery_cache/documents/drive.v2.json +1 -1
- googleapiclient/discovery_cache/documents/drive.v3.json +1 -1
- googleapiclient/discovery_cache/documents/driveactivity.v2.json +1 -1
- googleapiclient/discovery_cache/documents/drivelabels.v2.json +1 -1
- googleapiclient/discovery_cache/documents/drivelabels.v2beta.json +1 -1
- googleapiclient/discovery_cache/documents/essentialcontacts.v1.json +1 -1
- googleapiclient/discovery_cache/documents/eventarc.v1.json +1 -1
- googleapiclient/discovery_cache/documents/eventarc.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/fcm.v1.json +1 -1
- googleapiclient/discovery_cache/documents/fcmdata.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/file.v1.json +2 -2
- googleapiclient/discovery_cache/documents/file.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/firebase.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/firebaseappcheck.v1.json +1 -1
- googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/firebaseappdistribution.v1.json +1 -1
- googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +1 -1
- googleapiclient/discovery_cache/documents/firebasedatabase.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/firebasedynamiclinks.v1.json +1 -1
- googleapiclient/discovery_cache/documents/firebasehosting.v1.json +2 -2
- googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/firebaseml.v1.json +1 -1
- googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json +1 -1
- googleapiclient/discovery_cache/documents/firebaserules.v1.json +1 -1
- googleapiclient/discovery_cache/documents/firestore.v1.json +117 -4
- googleapiclient/discovery_cache/documents/firestore.v1beta1.json +91 -1
- googleapiclient/discovery_cache/documents/firestore.v1beta2.json +1 -1
- googleapiclient/discovery_cache/documents/fitness.v1.json +1 -1
- googleapiclient/discovery_cache/documents/forms.v1.json +1 -1
- googleapiclient/discovery_cache/documents/games.v1.json +1 -1
- googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json +1 -1
- googleapiclient/discovery_cache/documents/gamesManagement.v1management.json +1 -1
- googleapiclient/discovery_cache/documents/gkebackup.v1.json +7 -7
- googleapiclient/discovery_cache/documents/gkehub.v1.json +242 -1
- googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +122 -1
- googleapiclient/discovery_cache/documents/gkehub.v1beta.json +242 -1
- googleapiclient/discovery_cache/documents/gkehub.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +1 -1
- googleapiclient/discovery_cache/documents/gmail.v1.json +1 -1
- googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json +1 -1
- googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/groupsmigration.v1.json +1 -1
- googleapiclient/discovery_cache/documents/healthcare.v1.json +2 -2
- googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +13 -13
- googleapiclient/discovery_cache/documents/homegraph.v1.json +1 -1
- googleapiclient/discovery_cache/documents/iam.v1.json +46 -5
- googleapiclient/discovery_cache/documents/iam.v2.json +33 -2
- googleapiclient/discovery_cache/documents/iam.v2beta.json +33 -2
- googleapiclient/discovery_cache/documents/iamcredentials.v1.json +1 -1
- googleapiclient/discovery_cache/documents/iap.v1.json +3 -3
- googleapiclient/discovery_cache/documents/iap.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/identitytoolkit.v1.json +1 -1
- googleapiclient/discovery_cache/documents/identitytoolkit.v2.json +2 -3
- googleapiclient/discovery_cache/documents/indexing.v3.json +1 -1
- googleapiclient/discovery_cache/documents/integrations.v1alpha.json +49 -1
- googleapiclient/discovery_cache/documents/jobs.v3.json +1 -1
- googleapiclient/discovery_cache/documents/jobs.v3p1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/jobs.v4.json +1 -1
- googleapiclient/discovery_cache/documents/keep.v1.json +1 -1
- googleapiclient/discovery_cache/documents/kgsearch.v1.json +1 -1
- googleapiclient/discovery_cache/documents/kmsinventory.v1.json +1 -1
- googleapiclient/discovery_cache/documents/language.v1.json +1 -1
- googleapiclient/discovery_cache/documents/language.v1beta2.json +1 -1
- googleapiclient/discovery_cache/documents/language.v2.json +1 -1
- googleapiclient/discovery_cache/documents/libraryagent.v1.json +1 -1
- googleapiclient/discovery_cache/documents/licensing.v1.json +1 -1
- googleapiclient/discovery_cache/documents/lifesciences.v2beta.json +1 -1
- googleapiclient/discovery_cache/documents/localservices.v1.json +1 -1
- googleapiclient/discovery_cache/documents/logging.v2.json +40 -6
- googleapiclient/discovery_cache/documents/looker.v1.json +1 -1
- googleapiclient/discovery_cache/documents/marketingplatformadmin.v1alpha.json +1 -1
- googleapiclient/discovery_cache/documents/memcache.v1.json +2 -2
- googleapiclient/discovery_cache/documents/memcache.v1beta2.json +2 -2
- googleapiclient/discovery_cache/documents/metastore.v1.json +1 -35
- googleapiclient/discovery_cache/documents/metastore.v1alpha.json +1 -35
- googleapiclient/discovery_cache/documents/metastore.v1beta.json +1 -35
- googleapiclient/discovery_cache/documents/migrationcenter.v1.json +1 -1
- googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/ml.v1.json +1 -1
- googleapiclient/discovery_cache/documents/monitoring.v1.json +1 -1
- googleapiclient/discovery_cache/documents/monitoring.v3.json +1 -1
- googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json +1 -1
- googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +1 -1
- googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json +1 -1
- googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json +1 -1
- googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json +1 -1
- googleapiclient/discovery_cache/documents/mybusinessqanda.v1.json +1 -1
- googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +1 -1
- googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +1 -1
- googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/networkmanagement.v1.json +19 -5
- googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +19 -5
- googleapiclient/discovery_cache/documents/networksecurity.v1.json +1 -1
- googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/networkservices.v1.json +4 -4
- googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +4 -4
- googleapiclient/discovery_cache/documents/notebooks.v1.json +6 -2
- googleapiclient/discovery_cache/documents/notebooks.v2.json +1 -1
- googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +1 -1
- googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/orgpolicy.v2.json +1 -1
- googleapiclient/discovery_cache/documents/osconfig.v1.json +89 -1
- googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +1 -1
- googleapiclient/discovery_cache/documents/osconfig.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/oslogin.v1.json +1 -1
- googleapiclient/discovery_cache/documents/oslogin.v1alpha.json +1 -1
- googleapiclient/discovery_cache/documents/oslogin.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/pagespeedonline.v5.json +1 -1
- googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +1 -1
- googleapiclient/discovery_cache/documents/people.v1.json +15 -13
- googleapiclient/discovery_cache/documents/places.v1.json +1 -1
- googleapiclient/discovery_cache/documents/playcustomapp.v1.json +1 -1
- googleapiclient/discovery_cache/documents/playdeveloperreporting.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/playgrouping.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/playintegrity.v1.json +2 -2
- googleapiclient/discovery_cache/documents/policyanalyzer.v1.json +1 -1
- googleapiclient/discovery_cache/documents/policyanalyzer.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/policysimulator.v1.json +1 -1
- googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json +1 -1
- googleapiclient/discovery_cache/documents/policysimulator.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json +1 -1
- googleapiclient/discovery_cache/documents/policytroubleshooter.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/privateca.v1.json +2 -2
- googleapiclient/discovery_cache/documents/privateca.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/publicca.v1.json +1 -1
- googleapiclient/discovery_cache/documents/publicca.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/publicca.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/pubsub.v1.json +1 -1
- googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json +1 -1
- googleapiclient/discovery_cache/documents/pubsub.v1beta2.json +1 -1
- googleapiclient/discovery_cache/documents/pubsublite.v1.json +1 -1
- googleapiclient/discovery_cache/documents/rapidmigrationassessment.v1.json +1 -1
- googleapiclient/discovery_cache/documents/readerrevenuesubscriptionlinking.v1.json +1 -1
- googleapiclient/discovery_cache/documents/realtimebidding.v1.json +5 -3
- googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +2 -2
- googleapiclient/discovery_cache/documents/recommendationengine.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/recommender.v1.json +1 -1
- googleapiclient/discovery_cache/documents/recommender.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/redis.v1.json +154 -5
- googleapiclient/discovery_cache/documents/redis.v1beta1.json +154 -5
- googleapiclient/discovery_cache/documents/reseller.v1.json +1 -1
- googleapiclient/discovery_cache/documents/resourcesettings.v1.json +1 -1
- googleapiclient/discovery_cache/documents/retail.v2.json +2 -2
- googleapiclient/discovery_cache/documents/retail.v2alpha.json +3 -3
- googleapiclient/discovery_cache/documents/retail.v2beta.json +2 -2
- googleapiclient/discovery_cache/documents/run.v1.json +2 -2
- googleapiclient/discovery_cache/documents/run.v2.json +11 -3
- googleapiclient/discovery_cache/documents/safebrowsing.v4.json +1 -1
- googleapiclient/discovery_cache/documents/safebrowsing.v5.json +1 -1
- googleapiclient/discovery_cache/documents/sasportal.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/script.v1.json +1 -1
- googleapiclient/discovery_cache/documents/searchconsole.v1.json +1 -1
- googleapiclient/discovery_cache/documents/secretmanager.v1.json +8 -1
- googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json +8 -1
- googleapiclient/discovery_cache/documents/secretmanager.v1beta2.json +8 -1
- googleapiclient/discovery_cache/documents/securitycenter.v1.json +1 -1
- googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +1 -1
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +1 -1
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +9 -9
- googleapiclient/discovery_cache/documents/servicecontrol.v1.json +1 -1
- googleapiclient/discovery_cache/documents/servicecontrol.v2.json +1 -1
- googleapiclient/discovery_cache/documents/servicemanagement.v1.json +1 -1
- googleapiclient/discovery_cache/documents/servicenetworking.v1.json +1 -1
- googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/serviceusage.v1.json +1 -1
- googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +17 -17
- googleapiclient/discovery_cache/documents/sheets.v4.json +11 -3
- googleapiclient/discovery_cache/documents/slides.v1.json +1 -1
- googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json +1 -1
- googleapiclient/discovery_cache/documents/sourcerepo.v1.json +1 -1
- googleapiclient/discovery_cache/documents/spanner.v1.json +434 -1
- googleapiclient/discovery_cache/documents/speech.v1.json +1 -1
- googleapiclient/discovery_cache/documents/speech.v1p1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/sqladmin.v1.json +115 -4
- googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +115 -4
- googleapiclient/discovery_cache/documents/storage.v1.json +9 -3
- googleapiclient/discovery_cache/documents/storagetransfer.v1.json +28 -1
- googleapiclient/discovery_cache/documents/streetviewpublish.v1.json +1 -1
- googleapiclient/discovery_cache/documents/sts.v1.json +1 -154
- googleapiclient/discovery_cache/documents/sts.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/tagmanager.v1.json +1 -1
- googleapiclient/discovery_cache/documents/tagmanager.v2.json +1 -1
- googleapiclient/discovery_cache/documents/tasks.v1.json +13 -9
- googleapiclient/discovery_cache/documents/testing.v1.json +4 -3
- googleapiclient/discovery_cache/documents/texttospeech.v1.json +1 -1
- googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/toolresults.v1beta3.json +4 -2
- googleapiclient/discovery_cache/documents/trafficdirector.v2.json +1 -1
- googleapiclient/discovery_cache/documents/trafficdirector.v3.json +1 -1
- googleapiclient/discovery_cache/documents/transcoder.v1.json +1 -1
- googleapiclient/discovery_cache/documents/travelimpactmodel.v1.json +1 -1
- googleapiclient/discovery_cache/documents/vault.v1.json +1 -1
- googleapiclient/discovery_cache/documents/verifiedaccess.v1.json +1 -1
- googleapiclient/discovery_cache/documents/verifiedaccess.v2.json +1 -1
- googleapiclient/discovery_cache/documents/versionhistory.v1.json +1 -1
- googleapiclient/discovery_cache/documents/videointelligence.v1.json +1 -1
- googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json +1 -1
- googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json +1 -1
- googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json +1 -1
- googleapiclient/discovery_cache/documents/vision.v1.json +1 -1
- googleapiclient/discovery_cache/documents/vision.v1p1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/vision.v1p2beta1.json +1 -1
- googleapiclient/discovery_cache/documents/vmmigration.v1.json +1 -1
- googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/vmwareengine.v1.json +1 -1
- googleapiclient/discovery_cache/documents/vpcaccess.v1.json +1 -1
- googleapiclient/discovery_cache/documents/walletobjects.v1.json +3 -3
- googleapiclient/discovery_cache/documents/webfonts.v1.json +1 -1
- googleapiclient/discovery_cache/documents/webrisk.v1.json +1 -1
- googleapiclient/discovery_cache/documents/websecurityscanner.v1.json +1 -1
- googleapiclient/discovery_cache/documents/websecurityscanner.v1alpha.json +1 -1
- googleapiclient/discovery_cache/documents/websecurityscanner.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/workflowexecutions.v1.json +1 -1
- googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/workflows.v1.json +1 -1
- googleapiclient/discovery_cache/documents/workflows.v1beta.json +1 -1
- googleapiclient/discovery_cache/documents/workloadmanager.v1.json +31 -686
- googleapiclient/discovery_cache/documents/workspaceevents.v1.json +1 -1
- googleapiclient/discovery_cache/documents/youtube.v3.json +1 -1
- googleapiclient/discovery_cache/documents/youtubeAnalytics.v2.json +1 -1
- googleapiclient/discovery_cache/documents/youtubereporting.v1.json +1 -1
- googleapiclient/version.py +1 -1
- {google_api_python_client-2.122.0.dist-info → google_api_python_client-2.124.0.dist-info}/LICENSE +0 -0
- {google_api_python_client-2.122.0.dist-info → google_api_python_client-2.124.0.dist-info}/WHEEL +0 -0
- {google_api_python_client-2.122.0.dist-info → google_api_python_client-2.124.0.dist-info}/top_level.txt +0 -0
googleapiclient/discovery.py
CHANGED
|
@@ -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.
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"adunits": {
|
|
325
325
|
"methods": {
|
|
326
326
|
"create": {
|
|
327
|
-
"description": "Creates an ad unit. This method can
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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": "
|
|
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",
|