From fb1972eddfc0208259cc3672de0f61d3f1a220d1 Mon Sep 17 00:00:00 2001 From: Deep Khatri Date: Wed, 17 Dec 2025 23:43:12 -0800 Subject: [PATCH] Enhance verify_lazy.js to validate API lazy-loading via getters, Add getter-based checks and multi-API validation to verify_lazy.js , Strengthen lazy-loading verification logic in verify_lazy.js --- .release-please-manifest.json | 447 +-- discovery/androidpublisher-v3.json | 6 +- discovery/bigtableadmin-v2.json | 6 +- discovery/chat-v1.json | 6 +- discovery/containeranalysis-v1alpha1.json | 8 +- discovery/containeranalysis-v1beta1.json | 8 +- discovery/discoveryengine-v1.json | 116 +- discovery/discoveryengine-v1alpha.json | 136 +- discovery/discoveryengine-v1beta.json | 116 +- discovery/docs-v1.json | 96 +- discovery/firebaseml-v2beta.json | 91 +- discovery/managedkafka-v1.json | 54 +- discovery/observability-v1.json | 221 +- package.json | 18 +- release-please-config.json | 159 +- src/apis/androidpublisher/v3.ts | 4 - src/apis/bigtableadmin/v2.ts | 6 +- src/apis/discoveryengine/v1.ts | 705 +++- src/apis/discoveryengine/v1alpha.ts | 1452 ++++++-- src/apis/discoveryengine/v1beta.ts | 705 +++- src/apis/docs/v1.ts | 79 + src/apis/firebaseml/v2beta.ts | 69 +- src/apis/index.ts | 3891 ++++++++++++++++----- src/apis/managedkafka/v1.ts | 37 + src/apis/observability/v1.ts | 1202 +------ src/generator/templates/index.njk | 12 +- src/googleapis.ts | 9 +- src/index.ts | 2 +- verify_lazy.js | 54 + 29 files changed, 6456 insertions(+), 3259 deletions(-) create mode 100644 verify_lazy.js diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ded89f7ec8f..ccd33c0774f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,321 +1,172 @@ { - "src/apis/kmsinventory": "8.1.0", - "src/apis/cloudbilling": "9.0.1", - "src/apis/mybusinessaccountmanagement": "7.0.1", - "src/apis/reseller": "8.0.1", - "src/apis/websecurityscanner": "4.0.1", - "src/apis/fcmdata": "5.0.1", - "src/apis/transcoder": "8.0.1", - "src/apis/serviceconsumermanagement": "25.1.1", - "src/apis/sourcerepo": "8.0.0", - "src/apis/customsearch": "7.0.1", - "src/apis/localservices": "8.0.1", - "src/apis/cloudidentity": "21.2.0", - "src/apis/bigquery": "20.1.1", - "src/apis/plus": "5.0.0", - "src/apis/language": "10.0.1", - "src/apis/clouddebugger": "5.0.0", - "src/apis/analyticshub": "18.1.1", - "src/apis/metastore": "14.0.2", - "src/apis/toolresults": "7.0.1", - "src/apis/managedkafka": "7.3.0", - "src/apis/areainsights": "4.0.1", - "src/apis/dataproc": "16.1.0", - "src/apis/bigqueryreservation": "7.1.1", + "src/apis/abusiveexperiencereport": "4.0.1", + "src/apis/acceleratedmobilepageurl": "4.0.0", + "src/apis/acmedns": "5.0.0", + "src/apis/addressvalidation": "4.0.1", + "src/apis/adexchangebuyer": "5.0.0", + "src/apis/adexchangebuyer2": "8.0.1", + "src/apis/adexperiencereport": "5.0.1", + "src/apis/admin": "30.2.0", + "src/apis/admob": "6.0.1", + "src/apis/adsense": "14.0.1", + "src/apis/adsensehost": "9.0.0", "src/apis/adsenseplatform": "5.0.1", + "src/apis/airquality": "4.0.1", + "src/apis/alertcenter": "13.1.0", + "src/apis/analytics": "11.0.1", + "src/apis/analyticsreporting": "5.0.0", "src/apis/androiddeviceprovisioning": "10.0.1", - "src/apis/appsactivity": "5.0.0", - "src/apis/accesscontextmanager": "12.0.1", - "src/apis/workflows": "8.0.2", - "src/apis/datastore": "8.0.2", - "src/apis/dataplex": "25.0.0", - "src/apis/streetviewpublish": "8.0.1", - "src/apis/fcm": "9.0.1", - "src/apis/realtimebidding": "8.0.1", + "src/apis/androidenterprise": "13.0.1", "src/apis/androidmanagement": "22.1.2", - "src/apis/parametermanager": "5.0.2", - "src/apis/remotebuildexecution": "7.0.0", - "src/apis/cloudcontrolspartner": "4.0.1", - "src/apis/mybusinessqanda": "5.0.1", - "src/apis/chromeuxreport": "7.0.1", - "src/apis/tasks": "12.0.0", - "src/apis/cloudscheduler": "7.1.2", - "src/apis/dataportability": "8.1.0", - "src/apis/pagespeedonline": "5.0.1", + "src/apis/androidpublisher": "34.0.0", + "src/apis/apim": "7.0.2", + "src/apis/appsactivity": "5.0.0", + "src/apis/authorizedbuyersmarketplace": "14.2.0", + "src/apis/biglake": "4.1.1", + "src/apis/bigtableadmin": "32.1.2", + "src/apis/blockchainnodeengine": "10.0.1", + "src/apis/blogger": "6.0.1", + "src/apis/books": "8.0.1", "src/apis/businessprofileperformance": "5.0.1", - "src/apis/admin": "30.2.0", - "src/apis/kgsearch": "5.0.0", - "src/apis/contactcenterinsights": "20.2.0", - "src/apis/youtube": "30.1.0", - "src/apis/readerrevenuesubscriptionlinking": "5.0.1", + "src/apis/calendar": "14.2.0", + "src/apis/checks": "9.0.1", + "src/apis/chromemanagement": "25.1.0", "src/apis/chromepolicy": "13.0.1", - "src/apis/dlp": "19.1.0", - "src/apis/bigtableadmin": "32.1.2", - "src/apis/healthcare": "27.0.0", - "src/apis/eventarc": "10.1.0", - "src/apis/gmail": "16.1.1", - "src/apis/authorizedbuyersmarketplace": "14.2.0", - "src/apis/serviceusage": "21.0.1", - "src/apis/looker": "8.3.0", - "src/apis/admob": "6.0.1", - "src/apis/content": "42.1.0", - "src/apis/retail": "21.0.1", - "src/apis/cloudbuild": "16.2.0", - "src/apis/securityposture": "5.1.1", - "src/apis/sasportal": "22.0.1", - "src/apis/domainsrdap": "5.0.0", - "src/apis/vpcaccess": "7.1.1", - "src/apis/sts": "15.1.0", - "src/apis/tpu": "12.0.0", - "src/apis/recommendationengine": "7.1.1", - "src/apis/datacatalog": "12.0.0", - "src/apis/resourcesettings": "5.0.0", - "src/apis/servicemanagement": "7.0.3", - "src/apis/texttospeech": "7.1.1", + "src/apis/chromeuxreport": "7.0.1", + "src/apis/chromewebstore": "2.0.2", + "src/apis/civicinfo": "20.0.1", + "src/apis/classroom": "11.0.1", + "src/apis/cloudcommerceprocurement": "2.0.1", + "src/apis/clouddebugger": "5.0.0", + "src/apis/cloudidentity": "21.2.0", "src/apis/cloudsearch": "19.0.1", - "src/apis/clouderrorreporting": "7.0.1", - "src/apis/storage": "21.0.0", - "src/apis/cloudprofiler": "7.0.1", - "src/apis/firebasedynamiclinks": "5.0.1", - "src/apis/discovery": "5.0.0", + "src/apis/cloudtrace": "5.0.1", + "src/apis/contactcenteraiplatform": "14.0.0", + "src/apis/content": "42.1.0", + "src/apis/customsearch": "7.0.1", + "src/apis/datapipelines": "5.0.1", + "src/apis/dataportability": "8.1.0", + "src/apis/deploymentmanager": "19.1.0", "src/apis/dfareporting": "17.2.1", - "src/apis/baremetalsolution": "5.0.0", - "src/apis/managedidentities": "7.0.1", - "src/apis/datamigration": "13.0.1", - "src/apis/accessapproval": "4.0.1", - "src/apis/siteVerification": "6.0.1", - "src/apis/netapp": "6.2.0", - "src/apis/gkehub": "26.0.1", - "src/apis/mybusinessnotifications": "5.0.1", - "src/apis/licensing": "5.0.1", + "src/apis/digitalassetlinks": "9.0.1", + "src/apis/discovery": "5.0.0", + "src/apis/displayvideo": "38.0.0", + "src/apis/docs": "9.0.0", + "src/apis/domainsrdap": "5.0.0", + "src/apis/doubleclickbidmanager": "14.0.1", + "src/apis/doubleclicksearch": "8.0.1", + "src/apis/drive": "20.0.0", + "src/apis/driveactivity": "6.0.0", + "src/apis/drivelabels": "11.0.1", + "src/apis/factchecktools": "5.0.1", + "src/apis/fcm": "9.0.1", + "src/apis/fcmdata": "5.0.1", + "src/apis/firebase": "12.0.1", + "src/apis/firebaseappcheck": "10.0.1", + "src/apis/firebaseappdistribution": "12.1.0", + "src/apis/firebaseapphosting": "7.0.1", + "src/apis/firebasedatabase": "6.0.1", "src/apis/firebasedataconnect": "6.0.1", + "src/apis/firebasedynamiclinks": "5.0.1", + "src/apis/firebasehosting": "14.0.2", "src/apis/firebaseml": "24.2.0", - "src/apis/cloudshell": "9.0.0", - "src/apis/firebasedatabase": "6.0.1", - "src/apis/mybusinessbusinessinformation": "8.0.1", - "src/apis/contactcenteraiplatform": "14.0.0", + "src/apis/firebaserules": "5.0.1", + "src/apis/firebasestorage": "12.0.1", + "src/apis/firestore": "18.0.3", "src/apis/fitness": "7.0.1", - "src/apis/run": "31.0.0", - "src/apis/cloudtasks": "20.0.2", - "src/apis/containeranalysis": "17.1.0", - "src/apis/dialogflow": "25.0.0", - "src/apis/apigeeregistry": "6.0.1", - "src/apis/cloudkms": "25.0.0", - "src/apis/firebaseappcheck": "10.0.1", - "src/apis/datafusion": "17.0.0", - "src/apis/composer": "15.0.0", - "src/apis/domains": "6.0.1", - "src/apis/mybusinessplaceactions": "5.0.1", - "src/apis/bigquerydatapolicy": "4.1.1", - "src/apis/docs": "9.0.0", - "src/apis/datapipelines": "5.0.1", - "src/apis/saasservicemgmt": "7.0.0", - "src/apis/vision": "5.0.1", + "src/apis/forms": "6.0.1", + "src/apis/games": "12.0.1", "src/apis/gamesConfiguration": "6.0.1", - "src/apis/smartdevicemanagement": "7.0.1", - "src/apis/trafficdirector": "9.0.1", - "src/apis/gamesManagement": "6.0.1", - "src/apis/secretmanager": "6.0.2", - "src/apis/servicenetworking": "27.0.2", - "src/apis/androidpublisher": "34.0.0", - "src/apis/doubleclickbidmanager": "14.0.1", - "src/apis/spanner": "12.2.0", - "src/apis/cloudasset": "14.1.2", - "src/apis/analyticsadmin": "16.0.1", - "src/apis/biglake": "4.1.1", - "src/apis/bigquerydatatransfer": "7.2.1", - "src/apis/oracledatabase": "8.0.2", - "src/apis/chromemanagement": "25.1.0", - "src/apis/versionhistory": "5.0.1", - "src/apis/manufacturers": "10.0.1", - "src/apis/orgpolicy": "8.0.2", - "src/apis/chat": "44.4.0", - "src/apis/servicecontrol": "11.1.0", - "src/apis/vmmigration": "19.0.0", - "src/apis/batch": "13.0.1", - "src/apis/safebrowsing": "14.0.1", - "src/apis/parallelstore": "6.0.2", - "src/apis/pubsub": "10.1.1", - "src/apis/script": "11.0.1", "src/apis/gameservices": "5.0.0", - "src/apis/analytics": "11.0.1", - "src/apis/connectors": "26.0.1", - "src/apis/datastream": "13.2.0", - "src/apis/logging": "17.0.0", - "src/apis/analyticsdata": "5.0.1", - "src/apis/memcache": "10.0.1", - "src/apis/beyondcorp": "25.1.1", - "src/apis/webrisk": "7.0.0", - "src/apis/sqladmin": "35.0.0", - "src/apis/documentai": "19.1.1", - "src/apis/androidenterprise": "13.0.1", - "src/apis/slides": "5.0.1", - "src/apis/alertcenter": "13.1.0", - "src/apis/mybusinesslodging": "7.0.1", - "src/apis/firestore": "18.0.3", - "src/apis/gkebackup": "14.0.0", - "src/apis/places": "15.1.1", - "src/apis/binaryauthorization": "11.0.1", - "src/apis/searchconsole": "6.0.1", - "src/apis/groupsmigration": "5.0.0", - "src/apis/alloydb": "18.4.0", - "src/apis/dataform": "14.0.0", - "src/apis/vault": "8.1.2", - "src/apis/youtubereporting": "5.1.0", - "src/apis/cloudiot": "5.0.0", - "src/apis/addressvalidation": "4.0.1", - "src/apis/blogger": "6.0.1", - "src/apis/discoveryengine": "28.1.0", - "src/apis/aiplatform": "28.0.0", - "src/apis/acmedns": "5.0.0", + "src/apis/gamesManagement": "6.0.1", + "src/apis/genomics": "7.0.0", + "src/apis/gkeonprem": "13.2.1", + "src/apis/gmail": "16.1.1", "src/apis/gmailpostmastertools": "5.0.1", - "src/apis/clouddeploy": "13.2.0", - "src/apis/testing": "19.1.0", - "src/apis/assuredworkloads": "14.0.2", - "src/apis/cloudtrace": "5.0.1", - "src/apis/dns": "11.0.1", - "src/apis/drivelabels": "11.0.1", - "src/apis/dataflow": "20.0.1", + "src/apis/groupsmigration": "5.0.0", + "src/apis/groupssettings": "7.0.0", + "src/apis/healthcare": "27.0.0", + "src/apis/homegraph": "8.0.1", + "src/apis/iam": "35.1.2", + "src/apis/ideahub": "5.0.0", + "src/apis/identitytoolkit": "19.0.1", "src/apis/indexing": "6.0.1", - "src/apis/firebasestorage": "12.0.1", - "src/apis/policytroubleshooter": "5.0.0", - "src/apis/firebasehosting": "14.0.2", - "src/apis/travelimpactmodel": "6.0.2", - "src/apis/policyanalyzer": "5.0.1", - "src/apis/area120tables": "5.0.1", - "src/apis/backupdr": "14.2.0", - "src/apis/networkservices": "32.1.0", - "src/apis/contentwarehouse": "13.0.1", - "src/apis/speech": "6.0.2", - "src/apis/firebaseappdistribution": "12.1.0", - "src/apis/config": "8.1.0", - "src/apis/recaptchaenterprise": "13.1.0", - "src/apis/redis": "22.0.1", - "src/apis/digitalassetlinks": "9.0.1", - "src/apis/jobs": "8.0.1", - "src/apis/servicedirectory": "8.0.2", + "src/apis/integrations": "6.0.0", + "src/apis/keep": "4.0.1", + "src/apis/kgsearch": "5.0.0", + "src/apis/kmsinventory": "8.1.0", + "src/apis/libraryagent": "5.0.1", + "src/apis/licensing": "5.0.1", + "src/apis/localservices": "8.0.1", + "src/apis/looker": "8.3.0", + "src/apis/manufacturers": "10.0.1", "src/apis/ml": "8.0.1", - "src/apis/prod_tt_sasportal": "21.0.1", - "src/apis/gkeonprem": "13.2.1", - "src/apis/meet": "4.0.1", - "src/apis/developerconnect": "9.0.0", - "src/apis/vectortile": "5.0.0", - "src/apis/cloudlocationfinder": "5.0.2", - "src/apis/compute": "35.2.0", - "src/apis/analyticsreporting": "5.0.0", - "src/apis/merchantapi": "17.1.0", - "src/apis/paymentsresellersubscription": "18.2.1", - "src/apis/oauth2": "5.0.1", - "src/apis/firebase": "12.0.1", - "src/apis/networksecurity": "15.1.0", - "src/apis/adexperiencereport": "5.0.1", - "src/apis/playablelocations": "5.0.0", - "src/apis/workstations": "18.0.0", - "src/apis/essentialcontacts": "5.0.1", - "src/apis/doubleclicksearch": "8.0.1", - "src/apis/billingbudgets": "5.0.1", - "src/apis/policysimulator": "17.0.1", - "src/apis/sql": "5.0.0", - "src/apis/advisorynotifications": "6.0.1", - "src/apis/factchecktools": "5.0.1", - "src/apis/forms": "6.0.1", - "src/apis/homegraph": "8.0.1", - "src/apis/games": "12.0.1", + "src/apis/mybusinessaccountmanagement": "7.0.1", "src/apis/mybusinessbusinesscalls": "8.0.0", - "src/apis/walletobjects": "11.1.0", - "src/apis/vmwareengine": "7.2.0", - "src/apis/networkconnectivity": "16.0.1", - "src/apis/securitycenter": "17.2.0", - "src/apis/datalabeling": "6.0.1", - "src/apis/adexchangebuyer": "5.0.0", - "src/apis/iamcredentials": "10.0.1", - "src/apis/storagebatchoperations": "8.0.2", - "src/apis/pubsublite": "6.0.1", - "src/apis/genomics": "7.0.0", - "src/apis/workloadmanager": "31.0.0", + "src/apis/mybusinessbusinessinformation": "8.0.1", + "src/apis/mybusinesslodging": "7.0.1", + "src/apis/mybusinessnotifications": "5.0.1", + "src/apis/mybusinessplaceactions": "5.0.1", + "src/apis/mybusinessqanda": "5.0.1", + "src/apis/mybusinessverifications": "6.0.1", + "src/apis/oauth2": "5.0.1", "src/apis/observability": "7.1.0", - "src/apis/driveactivity": "6.0.0", - "src/apis/css": "4.0.1", - "src/apis/lifesciences": "6.0.1", - "src/apis/privateca": "12.0.2", - "src/apis/bigqueryconnection": "5.0.1", - "src/apis/certificatemanager": "11.1.0", - "src/apis/file": "16.2.0", - "src/apis/webfonts": "6.0.0", "src/apis/ondemandscanning": "21.0.2", - "src/apis/checks": "9.0.1", - "src/apis/cloudfunctions": "13.2.0", - "src/apis/tagmanager": "14.1.0", - "src/apis/appengine": "13.2.0", + "src/apis/pagespeedonline": "5.0.1", + "src/apis/paymentsresellersubscription": "18.2.1", + "src/apis/people": "7.0.1", + "src/apis/playablelocations": "5.0.0", "src/apis/playcustomapp": "5.0.1", - "src/apis/searchads360": "11.0.0", + "src/apis/playdeveloperreporting": "9.0.1", + "src/apis/playgrouping": "4.0.1", + "src/apis/playintegrity": "23.0.1", + "src/apis/plus": "5.0.0", + "src/apis/policyanalyzer": "5.0.1", "src/apis/pollen": "4.0.1", - "src/apis/firebaserules": "5.0.1", - "src/apis/adsensehost": "9.0.0", - "src/apis/videointelligence": "6.0.1", - "src/apis/cloudsupport": "15.1.0", - "src/apis/integrations": "6.0.0", - "src/apis/apikeys": "5.0.1", - "src/apis/airquality": "4.0.1", - "src/apis/adexchangebuyer2": "8.0.1", - "src/apis/migrationcenter": "17.0.0", - "src/apis/ids": "10.0.0", - "src/apis/networkmanagement": "17.1.0", - "src/apis/acceleratedmobilepageurl": "4.0.0", - "src/apis/runtimeconfig": "8.1.0", - "src/apis/container": "24.0.0", - "src/apis/solar": "4.1.1", - "src/apis/cloudchannel": "8.0.1", "src/apis/poly": "5.0.0", - "src/apis/civicinfo": "20.0.1", - "src/apis/classroom": "11.0.1", - "src/apis/datalineage": "5.0.0", - "src/apis/youtubeAnalytics": "6.0.1", - "src/apis/workflowexecutions": "11.0.1", - "src/apis/apim": "7.0.2", - "src/apis/firebaseapphosting": "7.0.1", - "src/apis/ideahub": "5.0.0", - "src/apis/apigateway": "6.0.2", - "src/apis/drive": "20.0.0", - "src/apis/playintegrity": "23.0.1", - "src/apis/deploymentmanager": "19.1.0", - "src/apis/displayvideo": "38.0.0", - "src/apis/marketingplatformadmin": "4.1.1", - "src/apis/securesourcemanager": "3.0.1", - "src/apis/webmasters": "5.0.0", - "src/apis/artifactregistry": "19.3.0", - "src/apis/playgrouping": "4.0.1", - "src/apis/workspaceevents": "9.0.0", - "src/apis/keep": "4.0.1", - "src/apis/groupssettings": "7.0.0", - "src/apis/books": "8.0.1", - "src/apis/rapidmigrationassessment": "4.0.1", - "src/apis/recommender": "10.0.2", - "src/apis/adsense": "14.0.1", - "src/apis/libraryagent": "5.0.1", - "src/apis/apphub": "8.3.0", - "src/apis/oslogin": "8.1.0", - "src/apis/mybusinessverifications": "6.0.1", - "src/apis/people": "7.0.1", - "src/apis/verifiedaccess": "7.0.1", - "src/apis/storagetransfer": "11.3.0", - "src/apis/iap": "12.1.1", - "src/apis/cloudresourcemanager": "6.0.1", - "src/apis/notebooks": "15.0.0", - "src/apis/playdeveloperreporting": "9.0.1", - "src/apis/blockchainnodeengine": "10.0.1", - "src/apis/apihub": "6.0.0", - "src/apis/osconfig": "11.0.1", - "src/apis/calendar": "14.2.0", - "src/apis/iam": "35.1.2", - "src/apis/translate": "7.0.1", - "src/apis/abusiveexperiencereport": "4.0.1", - "src/apis/publicca": "5.0.1", - "src/apis/identitytoolkit": "19.0.1", + "src/apis/prod_tt_sasportal": "21.0.1", + "src/apis/pubsublite": "6.0.1", + "src/apis/readerrevenuesubscriptionlinking": "5.0.1", + "src/apis/realtimebidding": "8.0.1", + "src/apis/recommendationengine": "7.1.1", + "src/apis/remotebuildexecution": "7.0.0", + "src/apis/reseller": "8.0.1", + "src/apis/resourcesettings": "5.0.0", + "src/apis/runtimeconfig": "8.1.0", + "src/apis/safebrowsing": "14.0.1", + "src/apis/sasportal": "22.0.1", + "src/apis/script": "11.0.1", + "src/apis/searchads360": "11.0.0", + "src/apis/searchconsole": "6.0.1", + "src/apis/securityposture": "5.1.1", + "src/apis/serviceconsumermanagement": "25.1.1", + "src/apis/servicenetworking": "27.0.2", "src/apis/sheets": "13.0.1", - "src/apis/monitoring": "13.0.1", - ".": "169.0.0", - "src/apis/cloudcommerceprocurement": "2.0.1", - "src/apis/datamanager": "3.1.1", - "src/apis/chromewebstore": "2.0.2" -} + "src/apis/siteVerification": "6.0.1", + "src/apis/slides": "5.0.1", + "src/apis/smartdevicemanagement": "7.0.1", + "src/apis/sourcerepo": "8.0.0", + "src/apis/spanner": "12.2.0", + "src/apis/sql": "5.0.0", + "src/apis/streetviewpublish": "8.0.1", + "src/apis/sts": "15.1.0", + "src/apis/tagmanager": "14.1.0", + "src/apis/tasks": "12.0.0", + "src/apis/testing": "19.1.0", + "src/apis/toolresults": "7.0.1", + "src/apis/trafficdirector": "9.0.1", + "src/apis/travelimpactmodel": "6.0.2", + "src/apis/vault": "8.1.2", + "src/apis/vectortile": "5.0.0", + "src/apis/verifiedaccess": "7.0.1", + "src/apis/versionhistory": "5.0.1", + "src/apis/walletobjects": "11.1.0", + "src/apis/webfonts": "6.0.0", + "src/apis/webmasters": "5.0.0", + "src/apis/workflows": "8.0.2", + "src/apis/workloadmanager": "31.0.0", + "src/apis/youtube": "30.1.0", + "src/apis/youtubeAnalytics": "6.0.1", + "src/apis/youtubereporting": "5.1.0", + ".": "169.0.0" +} \ No newline at end of file diff --git a/discovery/androidpublisher-v3.json b/discovery/androidpublisher-v3.json index e83c24c33ef..4785e98cc89 100644 --- a/discovery/androidpublisher-v3.json +++ b/discovery/androidpublisher-v3.json @@ -5555,7 +5555,7 @@ } } }, - "revision": "20251211", + "revision": "20251215", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -10388,10 +10388,6 @@ "description": "Details of a proration period. A proration period can be a period calculated during a plan change to cover existing entitlements (For more information, see [Allow users to upgrade, downgrade, or change their subscription](https://developer.android.com/google/play/billing/subscriptions#allow-users-change), or a prorated period to align add-on renewal dates with the base (For more information, see [Rules applicable for items in the purchase](https://developer.android.com/google/play/billing/subscription-with-addons#rules-base-addons)).", "id": "ProrationPeriodDetails", "properties": { - "linkedOrderId": { - "description": "The last order id of the original subscription purchase prior to the plan change. This is only populated if this proration period is from an ugrade/downgrade from a previous subscription and carries the remaining offer phase from the linked order of the previous subscription.", - "type": "string" - }, "originalOfferPhase": { "description": "Represent the original offer phase from the purchased the line item if the proration period contains any of them. For example, a proration period from CHARGE_FULL_PRICE plan change may merge the 1st offer phase of the subscription offer of the new product user purchased. In this case, the original offer phase will be set here.", "enum": [ diff --git a/discovery/bigtableadmin-v2.json b/discovery/bigtableadmin-v2.json index 85546a19c3e..742c8ce038a 100644 --- a/discovery/bigtableadmin-v2.json +++ b/discovery/bigtableadmin-v2.json @@ -201,7 +201,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -3118,7 +3118,7 @@ } } }, - "revision": "20251026", + "revision": "20251209", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -4942,7 +4942,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/discovery/chat-v1.json b/discovery/chat-v1.json index ad1dc707296..a2d42fa9581 100644 --- a/discovery/chat-v1.json +++ b/discovery/chat-v1.json @@ -1535,7 +1535,7 @@ } } }, - "revision": "20251207", + "revision": "20251215", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -5293,9 +5293,9 @@ ], "enumDescriptions": [ "Reserved.", - "Named spaces that support message threads. When users respond to a message, they can reply in-thread, which keeps their response in the context of the original message.", + "Spaces that support message threads. When users respond to a message, they can reply in-thread, which keeps their response in the context of the original message.", "Named spaces where the conversation is organized by topic. Topics and their replies are grouped together.", - "Direct messages (DMs) between two people and group conversations between 3 or more people." + "Spaces that don't support message threading. This space threading state is only used for special cases including: * Continuous meeting chat where threading is intentionally turned off. * Legacy group conversations that were created prior to 2022." ], "readOnly": true, "type": "string" diff --git a/discovery/containeranalysis-v1alpha1.json b/discovery/containeranalysis-v1alpha1.json index 9448d5f6c5f..a7842d3ea22 100644 --- a/discovery/containeranalysis-v1alpha1.json +++ b/discovery/containeranalysis-v1alpha1.json @@ -1452,7 +1452,7 @@ } } }, - "revision": "20251203", + "revision": "20251212", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AnalysisCompleted": { @@ -4909,12 +4909,14 @@ "enum": [ "NONE", "SHA256", - "GO_MODULE_H1" + "GO_MODULE_H1", + "DIRSUM_SHA256" ], "enumDescriptions": [ "No hash requested.", "A sha256 hash.", - "Dirhash of a Go module's source code which is then hex-encoded." + "Dirhash of a Go module's source code which is then hex-encoded.", + "Dirsum hash of the downloaded artifact files." ], "type": "string" }, diff --git a/discovery/containeranalysis-v1beta1.json b/discovery/containeranalysis-v1beta1.json index 14a47c21a5c..f0786313c90 100644 --- a/discovery/containeranalysis-v1beta1.json +++ b/discovery/containeranalysis-v1beta1.json @@ -1771,7 +1771,7 @@ } } }, - "revision": "20251203", + "revision": "20251212", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -5284,13 +5284,15 @@ "HASH_TYPE_UNSPECIFIED", "SHA256", "GO_MODULE_H1", - "SHA512" + "SHA512", + "DIRSUM_SHA256" ], "enumDescriptions": [ "Unknown.", "A SHA-256 hash.", "Dirhash of a Go module's source code which is then hex-encoded. See b/244466565 and https://github.com/in-toto/attestation/pull/108.", - "A SHA-512 hash." + "A SHA-512 hash.", + "A Dirsum SHA-256 hash." ], "type": "string" }, diff --git a/discovery/discoveryengine-v1.json b/discovery/discoveryengine-v1.json index 40ea590d54c..54d8c3b9af3 100644 --- a/discovery/discoveryengine-v1.json +++ b/discovery/discoveryengine-v1.json @@ -2238,6 +2238,40 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "create": { + "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", + "required": true, + "type": "string" + }, + "servingConfigId": { + "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/servingConfigs", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1ServingConfig" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1ServingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "delete": { "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", @@ -4497,6 +4531,40 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "create": { + "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + "required": true, + "type": "string" + }, + "servingConfigId": { + "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/servingConfigs", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1ServingConfig" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1ServingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "delete": { "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}", @@ -6555,6 +6623,40 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "create": { + "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.dataStores.servingConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", + "required": true, + "type": "string" + }, + "servingConfigId": { + "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/servingConfigs", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1ServingConfig" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1ServingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "delete": { "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", @@ -8699,7 +8801,7 @@ } } }, - "revision": "20251209", + "revision": "20251216", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -13073,7 +13175,8 @@ "NATIVE_CLOUD_IDENTITY", "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", - "GCNV" + "GCNV", + "GOOGLE_CHAT" ], "enumDescriptions": [ "Default value.", @@ -13087,7 +13190,8 @@ "Native Cloud Identity connector for people search powered by People API.", "Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.", "Connector utilized for End User Authentication features.", - "Google Cloud NetApp Volumes connector." + "Google Cloud NetApp Volumes connector.", + "Google Chat connector." ], "readOnly": true, "type": "string" @@ -21928,7 +22032,8 @@ "NATIVE_CLOUD_IDENTITY", "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", - "GCNV" + "GCNV", + "GOOGLE_CHAT" ], "enumDescriptions": [ "Default value.", @@ -21942,7 +22047,8 @@ "Native Cloud Identity connector for people search powered by People API.", "Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.", "Connector utilized for End User Authentication features.", - "Google Cloud NetApp Volumes connector." + "Google Cloud NetApp Volumes connector.", + "Google Chat connector." ], "readOnly": true, "type": "string" diff --git a/discovery/discoveryengine-v1alpha.json b/discovery/discoveryengine-v1alpha.json index c447c96885c..6d41eac083e 100644 --- a/discovery/discoveryengine-v1alpha.json +++ b/discovery/discoveryengine-v1alpha.json @@ -3367,6 +3367,40 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "create": { + "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", + "required": true, + "type": "string" + }, + "servingConfigId": { + "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+parent}/servingConfigs", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "delete": { "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", @@ -6474,6 +6508,40 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "create": { + "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + "required": true, + "type": "string" + }, + "servingConfigId": { + "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+parent}/servingConfigs", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "delete": { "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}", @@ -8928,6 +8996,40 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "create": { + "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.dataStores.servingConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", + "required": true, + "type": "string" + }, + "servingConfigId": { + "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+parent}/servingConfigs", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "delete": { "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", @@ -12009,7 +12111,7 @@ } } }, - "revision": "20251209", + "revision": "20251216", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -13474,7 +13576,8 @@ "NATIVE_CLOUD_IDENTITY", "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", - "GCNV" + "GCNV", + "GOOGLE_CHAT" ], "enumDescriptions": [ "Default value.", @@ -13488,7 +13591,8 @@ "Native Cloud Identity connector for people search powered by People API.", "Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.", "Connector utilized for End User Authentication features.", - "Google Cloud NetApp Volumes connector." + "Google Cloud NetApp Volumes connector.", + "Google Chat connector." ], "readOnly": true, "type": "string" @@ -16346,6 +16450,10 @@ "description": "Stored definition of an agent that uses A2A.", "id": "GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition", "properties": { + "cloudMarketplaceConfig": { + "$ref": "GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig", + "description": "Optional. Configuration specific to agents that are deployed from Cloud Marketplace." + }, "jsonAgentCard": { "description": "Optional. The agent card is a JSON string.", "type": "string" @@ -16353,6 +16461,22 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig": { + "description": "Configuration specific to agents that are deployed from Cloud Marketplace.", + "id": "GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig", + "properties": { + "entitlement": { + "description": "Required. The Marketplace Entitlement this agent is associated with. Format: `projects/{project}/entitlements/{entitlement}`.", + "type": "string" + }, + "order": { + "description": "Output only. The Marketplace Order this agent belongs to. Format: `billingAccounts/{billing_account}/orders/{order}`", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaAclConfig": { "description": "Access Control Configuration.", "id": "GoogleCloudDiscoveryengineV1alphaAclConfig", @@ -21592,7 +21716,8 @@ "NATIVE_CLOUD_IDENTITY", "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", - "GCNV" + "GCNV", + "GOOGLE_CHAT" ], "enumDescriptions": [ "Default value.", @@ -21606,7 +21731,8 @@ "Native Cloud Identity connector for people search powered by People API.", "Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.", "Connector utilized for End User Authentication features.", - "Google Cloud NetApp Volumes connector." + "Google Cloud NetApp Volumes connector.", + "Google Chat connector." ], "readOnly": true, "type": "string" diff --git a/discovery/discoveryengine-v1beta.json b/discovery/discoveryengine-v1beta.json index 61eeb865c93..ce0eeb42015 100644 --- a/discovery/discoveryengine-v1beta.json +++ b/discovery/discoveryengine-v1beta.json @@ -2164,6 +2164,40 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "create": { + "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", + "required": true, + "type": "string" + }, + "servingConfigId": { + "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+parent}/servingConfigs", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "delete": { "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", @@ -4434,6 +4468,40 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "create": { + "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.collections.engines.servingConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + "required": true, + "type": "string" + }, + "servingConfigId": { + "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+parent}/servingConfigs", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "delete": { "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}", @@ -6415,6 +6483,40 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "create": { + "description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.dataStores.servingConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", + "required": true, + "type": "string" + }, + "servingConfigId": { + "description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+parent}/servingConfigs", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "delete": { "description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", @@ -9004,7 +9106,7 @@ } } }, - "revision": "20251209", + "revision": "20251216", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -10469,7 +10571,8 @@ "NATIVE_CLOUD_IDENTITY", "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", - "GCNV" + "GCNV", + "GOOGLE_CHAT" ], "enumDescriptions": [ "Default value.", @@ -10483,7 +10586,8 @@ "Native Cloud Identity connector for people search powered by People API.", "Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.", "Connector utilized for End User Authentication features.", - "Google Cloud NetApp Volumes connector." + "Google Cloud NetApp Volumes connector.", + "Google Chat connector." ], "readOnly": true, "type": "string" @@ -15516,7 +15620,8 @@ "NATIVE_CLOUD_IDENTITY", "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", - "GCNV" + "GCNV", + "GOOGLE_CHAT" ], "enumDescriptions": [ "Default value.", @@ -15530,7 +15635,8 @@ "Native Cloud Identity connector for people search powered by People API.", "Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.", "Connector utilized for End User Authentication features.", - "Google Cloud NetApp Volumes connector." + "Google Cloud NetApp Volumes connector.", + "Google Chat connector." ], "readOnly": true, "type": "string" diff --git a/discovery/docs-v1.json b/discovery/docs-v1.json index 4220c4adde7..fa3eee3d7b0 100644 --- a/discovery/docs-v1.json +++ b/discovery/docs-v1.json @@ -221,7 +221,7 @@ } } }, - "revision": "20251124", + "revision": "20251215", "rootUrl": "https://docs.googleapis.com/", "schemas": { "AutoText": { @@ -673,6 +673,54 @@ }, "type": "object" }, + "DateElement": { + "description": "A date instance mentioned in a document.", + "id": "DateElement", + "properties": { + "dateElementProperties": { + "$ref": "DateElementProperties", + "description": "The properties of this DateElement." + }, + "dateId": { + "description": "Output only. The unique ID of this date.", + "readOnly": true, + "type": "string" + }, + "suggestedDateElementPropertiesChanges": { + "additionalProperties": { + "$ref": "SuggestedDateElementProperties" + }, + "description": "The suggested changes to the date element properties, keyed by suggestion ID.", + "type": "object" + }, + "suggestedDeletionIds": { + "description": "IDs for suggestions that remove this date from the document. A DateElement might have multiple deletion IDs if, for example, multiple users suggest deleting it. If empty, then this date isn't suggested for deletion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "suggestedInsertionIds": { + "description": "IDs for suggestions that insert this date into the document. A DateElement might have multiple insertion IDs if it's a nested suggested change (a suggestion within a suggestion made by a different user, for example). If empty, then this date isn't a suggested insertion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "suggestedTextStyleChanges": { + "additionalProperties": { + "$ref": "SuggestedTextStyle" + }, + "description": "The suggested text style changes to this DateElement, keyed by suggestion ID.", + "type": "object" + }, + "textStyle": { + "$ref": "TextStyle", + "description": "The text style of this DateElement." + } + }, + "type": "object" + }, "DateElementProperties": { "description": "Properties of a DateElement.", "id": "DateElementProperties", @@ -733,6 +781,33 @@ }, "type": "object" }, + "DateElementPropertiesSuggestionState": { + "description": "A mask that indicates which of the fields on the base DateElementProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.", + "id": "DateElementPropertiesSuggestionState", + "properties": { + "dateFormatSuggested": { + "description": "Indicates if there was a suggested change to date_format.", + "type": "boolean" + }, + "localeSuggested": { + "description": "Indicates if there was a suggested change to locale.", + "type": "boolean" + }, + "timeFormatSuggested": { + "description": "Indicates if there was a suggested change to time_format.", + "type": "boolean" + }, + "timeZoneIdSuggested": { + "description": "Indicates if there was a suggested change to time_zone_id.", + "type": "boolean" + }, + "timestampSuggested": { + "description": "Indicates if there was a suggested change to timestamp.", + "type": "boolean" + } + }, + "type": "object" + }, "DeleteContentRangeRequest": { "description": "Deletes content from the document.", "id": "DeleteContentRangeRequest", @@ -2539,6 +2614,10 @@ "$ref": "ColumnBreak", "description": "A column break paragraph element." }, + "dateElement": { + "$ref": "DateElement", + "description": "A paragraph element that represents a date." + }, "endIndex": { "description": "The zero-base end index of this paragraph element, exclusive, in UTF-16 code units.", "format": "int32", @@ -3706,6 +3785,21 @@ }, "type": "object" }, + "SuggestedDateElementProperties": { + "description": "A suggested change to a DateElementProperties.", + "id": "SuggestedDateElementProperties", + "properties": { + "dateElementProperties": { + "$ref": "DateElementProperties", + "description": "DateElementProperties that only includes the changes made in this suggestion. This can be used along with the date_element_properties_suggestion_state to see which fields have changed and their new values." + }, + "dateElementPropertiesSuggestionState": { + "$ref": "DateElementPropertiesSuggestionState", + "description": "A mask that indicates which of the fields on the base DateElementProperties have been changed in this suggestion." + } + }, + "type": "object" + }, "SuggestedDocumentStyle": { "description": "A suggested change to the DocumentStyle.", "id": "SuggestedDocumentStyle", diff --git a/discovery/firebaseml-v2beta.json b/discovery/firebaseml-v2beta.json index 8822096526d..03a980c93dd 100644 --- a/discovery/firebaseml-v2beta.json +++ b/discovery/firebaseml-v2beta.json @@ -206,7 +206,7 @@ } } }, - "revision": "20251203", + "revision": "20251214", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -1492,12 +1492,16 @@ "enum": [ "THINKING_LEVEL_UNSPECIFIED", "LOW", - "HIGH" + "MEDIUM", + "HIGH", + "MINIMAL" ], "enumDescriptions": [ "Unspecified thinking level.", "Low thinking level.", - "High thinking level." + "Medium thinking level.", + "High thinking level.", + "MINIMAL thinking level." ], "type": "string" } @@ -1981,13 +1985,15 @@ "MEDIA_RESOLUTION_UNSPECIFIED", "MEDIA_RESOLUTION_LOW", "MEDIA_RESOLUTION_MEDIUM", - "MEDIA_RESOLUTION_HIGH" + "MEDIA_RESOLUTION_HIGH", + "MEDIA_RESOLUTION_ULTRA_HIGH" ], "enumDescriptions": [ "Media resolution has not been set.", "Media resolution set to low.", "Media resolution set to medium.", - "Media resolution set to high." + "Media resolution set to high.", + "Media resolution set to ultra high. This is for image only." ], "type": "string" } @@ -2448,133 +2454,133 @@ "type": "object" }, "GoogleCloudAiplatformV1beta1Schema": { - "description": "Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed.", + "description": "Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).", "id": "GoogleCloudAiplatformV1beta1Schema", "properties": { "additionalProperties": { - "description": "Optional. Can either be a boolean or an object; controls the presence of additional properties.", + "description": "Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.", "type": "any" }, "anyOf": { - "description": "Optional. The value should be validated against any (one or more) of the subschemas in the list.", + "description": "Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.", "items": { "$ref": "GoogleCloudAiplatformV1beta1Schema" }, "type": "array" }, "default": { - "description": "Optional. Default value of the data.", + "description": "Optional. Default value to use if the field is not specified.", "type": "any" }, "defs": { "additionalProperties": { "$ref": "GoogleCloudAiplatformV1beta1Schema" }, - "description": "Optional. A map of definitions for use by `ref` Only allowed at the root of the schema.", + "description": "Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.", "type": "object" }, "description": { - "description": "Optional. The description of the data.", + "description": "Optional. Description of the schema.", "type": "string" }, "enum": { - "description": "Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:[\"EAST\", NORTH\", \"SOUTH\", \"WEST\"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:[\"101\", \"201\", \"301\"]}", + "description": "Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:[\"EAST\", \"NORTH\", \"SOUTH\", \"WEST\"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:[\"101\", \"201\", \"301\"]}`", "items": { "type": "string" }, "type": "array" }, "example": { - "description": "Optional. Example of the object. Will only populated when the object is the root.", + "description": "Optional. Example of an instance of this schema.", "type": "any" }, "format": { - "description": "Optional. The format of the data. Supported formats: for NUMBER type: \"float\", \"double\" for INTEGER type: \"int32\", \"int64\" for STRING type: \"email\", \"byte\", etc", + "description": "Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.", "type": "string" }, "items": { "$ref": "GoogleCloudAiplatformV1beta1Schema", - "description": "Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY." + "description": "Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array." }, "maxItems": { - "description": "Optional. Maximum number of the elements for Type.ARRAY.", + "description": "Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.", "format": "int64", "type": "string" }, "maxLength": { - "description": "Optional. Maximum length of the Type.STRING", + "description": "Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.", "format": "int64", "type": "string" }, "maxProperties": { - "description": "Optional. Maximum number of the properties for Type.OBJECT.", + "description": "Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.", "format": "int64", "type": "string" }, "maximum": { - "description": "Optional. Maximum value of the Type.INTEGER and Type.NUMBER", + "description": "Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.", "format": "double", "type": "number" }, "minItems": { - "description": "Optional. Minimum number of the elements for Type.ARRAY.", + "description": "Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.", "format": "int64", "type": "string" }, "minLength": { - "description": "Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING", + "description": "Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.", "format": "int64", "type": "string" }, "minProperties": { - "description": "Optional. Minimum number of the properties for Type.OBJECT.", + "description": "Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.", "format": "int64", "type": "string" }, "minimum": { - "description": "Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER", + "description": "Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.", "format": "double", "type": "number" }, "nullable": { - "description": "Optional. Indicates if the value may be null.", + "description": "Optional. Indicates if the value of this field can be null.", "type": "boolean" }, "pattern": { - "description": "Optional. Pattern of the Type.STRING to restrict a string to a regular expression.", + "description": "Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.", "type": "string" }, "properties": { "additionalProperties": { "$ref": "GoogleCloudAiplatformV1beta1Schema" }, - "description": "Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.", + "description": "Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.", "type": "object" }, "propertyOrdering": { - "description": "Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties.", + "description": "Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.", "items": { "type": "string" }, "type": "array" }, "ref": { - "description": "Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named \"Pet\": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the \"pet\" property is a reference to the schema node named \"Pet\". See details in https://json-schema.org/understanding-json-schema/structuring", + "description": "Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named \"Pet\": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the \"pet\" property is a reference to the schema node named \"Pet\". See details in https://json-schema.org/understanding-json-schema/structuring", "type": "string" }, "required": { - "description": "Optional. Required properties of Type.OBJECT.", + "description": "Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.", "items": { "type": "string" }, "type": "array" }, "title": { - "description": "Optional. The title of the Schema.", + "description": "Optional. Title for the schema.", "type": "string" }, "type": { - "description": "Optional. The type of the data.", + "description": "Optional. Data type of the schema field.", "enum": [ "TYPE_UNSPECIFIED", "STRING", @@ -2716,6 +2722,10 @@ "deprecated": true, "description": "Optional. Specialized retrieval tool that is powered by Google Search." }, + "parallelAiSearch": { + "$ref": "GoogleCloudAiplatformV1beta1ToolParallelAiSearch", + "description": "Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation" + }, "retrieval": { "$ref": "GoogleCloudAiplatformV1beta1Retrieval", "description": "Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation." @@ -2810,6 +2820,25 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1ToolParallelAiSearch": { + "description": "ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding.", + "id": "GoogleCloudAiplatformV1beta1ToolParallelAiSearch", + "properties": { + "apiKey": { + "description": "Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.", + "type": "string" + }, + "customConfigs": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { \"source_policy\": { \"include_domains\": [\"google.com\", \"wikipedia.org\"], \"exclude_domains\": [\"example.com\"] }, \"fetch_policy\": { \"max_age_seconds\": 3600 } }", + "type": "object" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1UrlContext": { "description": "Tool to support URL context.", "id": "GoogleCloudAiplatformV1beta1UrlContext", diff --git a/discovery/managedkafka-v1.json b/discovery/managedkafka-v1.json index 78c4ef6eba2..c7856b3e5d5 100644 --- a/discovery/managedkafka-v1.json +++ b/discovery/managedkafka-v1.json @@ -480,6 +480,21 @@ "pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", "required": true, "type": "string" + }, + "view": { + "description": "Optional. Specifies the view of the Cluster resource to be returned. Defaults to CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values.", + "enum": [ + "CLUSTER_VIEW_UNSPECIFIED", + "CLUSTER_VIEW_BASIC", + "CLUSTER_VIEW_FULL" + ], + "enumDescriptions": [ + "The default / unset value. The API will default to the BASIC view.", + "Include the basic metadata of the Cluster. This is the default value (for both ListClusters and GetCluster).", + "Include everything, including data fetched from the Kafka cluster source of truth." + ], + "location": "query", + "type": "string" } }, "path": "v1/{+name}", @@ -3166,7 +3181,7 @@ } } }, - "revision": "20251204", + "revision": "20251212", "rootUrl": "https://managedkafka.googleapis.com/", "schemas": { "AccessConfig": { @@ -3258,6 +3273,30 @@ }, "type": "object" }, + "BrokerDetails": { + "description": "Details of a broker in the Kafka cluster.", + "id": "BrokerDetails", + "properties": { + "brokerIndex": { + "description": "Output only. The index of the broker.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "nodeId": { + "description": "Output only. The node id of the broker.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "rack": { + "description": "Output only. The rack of the broker.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", @@ -3352,6 +3391,14 @@ "description": "An Apache Kafka cluster deployed in a location.", "id": "Cluster", "properties": { + "brokerDetails": { + "description": "Output only. Only populated when FULL view is requested. Details of each broker in the cluster.", + "items": { + "$ref": "BrokerDetails" + }, + "readOnly": true, + "type": "array" + }, "capacityConfig": { "$ref": "CapacityConfig", "description": "Required. Capacity configuration for the Kafka cluster." @@ -3366,6 +3413,11 @@ "$ref": "GcpConfig", "description": "Required. Configuration properties for a Kafka cluster deployed to Google Cloud Platform." }, + "kafkaVersion": { + "description": "Output only. Only populated when FULL view is requested. The Kafka version of the cluster.", + "readOnly": true, + "type": "string" + }, "labels": { "additionalProperties": { "type": "string" diff --git a/discovery/observability-v1.json b/discovery/observability-v1.json index 77418f1f276..6e456de79f9 100644 --- a/discovery/observability-v1.json +++ b/discovery/observability-v1.json @@ -12,7 +12,7 @@ "baseUrl": "https://observability.googleapis.com/", "batchPath": "batch", "canonicalName": "Cloud Observability", - "description": "", + "description": "Provides functionality for configuring the observability scope, which controls the log, metric, and trace data that you can view.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/stackdriver/docs/", "fullyEncodeReservedExpansion": true, @@ -105,140 +105,6 @@ }, "protocol": "rest", "resources": { - "folders": { - "resources": { - "locations": { - "methods": { - "getSettings": { - "description": "Get Settings", - "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/settings", - "httpMethod": "GET", - "id": "observability.folders.locations.getSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the settings to retrieve. Name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/settings\" \"folders/[FOLDER_ID]/locations/[LOCATION]/settings\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings\"", - "location": "path", - "pattern": "^folders/[^/]+/locations/[^/]+/settings$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Settings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "updateSettings": { - "description": "Update Settings", - "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/settings", - "httpMethod": "PATCH", - "id": "observability.folders.locations.updateSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. The resource name of the settings.", - "location": "path", - "pattern": "^folders/[^/]+/locations/[^/]+/settings$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Optional. The field mask specifying which fields of the settings are to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "Settings" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "organizations": { - "resources": { - "locations": { - "methods": { - "getSettings": { - "description": "Get Settings", - "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings", - "httpMethod": "GET", - "id": "observability.organizations.locations.getSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the settings to retrieve. Name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/settings\" \"folders/[FOLDER_ID]/locations/[LOCATION]/settings\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings\"", - "location": "path", - "pattern": "^organizations/[^/]+/locations/[^/]+/settings$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Settings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "updateSettings": { - "description": "Update Settings", - "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings", - "httpMethod": "PATCH", - "id": "observability.organizations.locations.updateSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. The resource name of the settings.", - "location": "path", - "pattern": "^organizations/[^/]+/locations/[^/]+/settings$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Optional. The field mask specifying which fields of the settings are to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "Settings" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, "projects": { "resources": { "locations": { @@ -268,31 +134,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getSettings": { - "description": "Get Settings", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings", - "httpMethod": "GET", - "id": "observability.projects.locations.getSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the settings to retrieve. Name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/settings\" \"folders/[FOLDER_ID]/locations/[LOCATION]/settings\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings\"", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/settings$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Settings" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists information about the supported locations for this service.", "flatPath": "v1/projects/{projectsId}/locations", @@ -339,40 +180,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "updateSettings": { - "description": "Update Settings", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings", - "httpMethod": "PATCH", - "id": "observability.projects.locations.updateSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. The resource name of the settings.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/settings$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Optional. The field mask specifying which fields of the settings are to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "Settings" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } }, "resources": { @@ -729,7 +536,7 @@ } } }, - "revision": "20251204", + "revision": "20251211", "rootUrl": "https://observability.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -943,30 +750,6 @@ }, "type": "object" }, - "Settings": { - "description": "Describes the settings associated with a project, organization, or folder.", - "id": "Settings", - "properties": { - "defaultStorageLocation": { - "description": "Optional. The location which should be used when any regional resources are provisioned by GCP.", - "type": "string" - }, - "kmsKeyName": { - "description": "Optional. The resource name for the configured Cloud KMS key. KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]\" For example: `\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key\"`", - "type": "string" - }, - "name": { - "description": "Identifier. The resource name of the settings.", - "type": "string" - }, - "serviceAccountId": { - "description": "Output only. The service account for the given resource container, such as project or folder. This will be used by Cloud Observability to perform actions in the container's project like access KMS keys or create Links. Always the same service account per resource container regardless of region.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "Status": { "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", "id": "Status", diff --git a/package.json b/package.json index b4a4696e34d..c318365576a 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@types/mocha": "^10.0.10", "@types/mv": "^2.1.4", "@types/ncp": "^2.0.8", - "@types/node": "^22.15.3", + "@types/node": "^25.0.3", "@types/nunjucks": "^3.2.6", "@types/prettier": "^3.0.0", "@types/proxyquire": "^1.3.31", @@ -74,30 +74,30 @@ "@types/yargs-parser": "^21.0.3", "c8": "^10.1.3", "codecov": "^3.8.3", - "cross-env": "^7.0.3", - "execa": "^5.0.0", + "cross-env": "^10.1.0", + "execa": "^9.6.1", "gaxios": "^7.1.0", - "gts": "^6.0.2", + "gts": "^7.0.0", "js-green-licenses": "^4.0.0", "jsdoc": "^4.0.4", "jsdoc-fresh": "^5.0.0", "jsdoc-region-tag": "^4.0.0", - "linkinator": "^6.1.2", + "linkinator": "^7.5.1", "mocha": "^11.2.2", "mv": "^2.1.1", "ncp": "^2.0.0", "nock": "^14.0.4", "nunjucks": "^3.2.4", - "open": "^10.1.2", - "p-queue": "^6.0.0", + "open": "^11.0.0", + "p-queue": "^9.0.1", "pdfmake": "^0.2.19", "prettier": "^3.5.3", "proxyquire": "^2.1.3", - "rimraf": "^5.0.0", + "rimraf": "^6.1.2", "server-destroy": "^1.0.1", "sinon": "^21.0.0", "tmp": "^0.2.3", "typescript": "^5.8.3", - "yargs-parser": "^21.1.1" + "yargs-parser": "^22.0.0" } } diff --git a/release-please-config.json b/release-please-config.json index c51e0c1f7c5..a944c84f4cc 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -35,12 +35,14 @@ "src/apis/chromemanagement": {}, "src/apis/chromepolicy": {}, "src/apis/chromeuxreport": {}, + "src/apis/chromewebstore": {}, "src/apis/civicinfo": {}, "src/apis/classroom": {}, + "src/apis/cloudcommerceprocurement": {}, "src/apis/clouddebugger": {}, "src/apis/cloudidentity": {}, - "src/apis/cloudlocationfinder": {}, "src/apis/cloudsearch": {}, + "src/apis/cloudtrace": {}, "src/apis/contactcenteraiplatform": {}, "src/apis/content": {}, "src/apis/customsearch": {}, @@ -77,8 +79,8 @@ "src/apis/forms": {}, "src/apis/games": {}, "src/apis/gamesConfiguration": {}, - "src/apis/gamesManagement": {}, "src/apis/gameservices": {}, + "src/apis/gamesManagement": {}, "src/apis/genomics": {}, "src/apis/gkeonprem": {}, "src/apis/gmail": {}, @@ -133,7 +135,6 @@ "src/apis/reseller": {}, "src/apis/resourcesettings": {}, "src/apis/runtimeconfig": {}, - "src/apis/saasservicemgmt": {}, "src/apis/safebrowsing": {}, "src/apis/sasportal": {}, "src/apis/script": {}, @@ -169,156 +170,6 @@ "src/apis/youtube": {}, "src/apis/youtubeAnalytics": {}, "src/apis/youtubereporting": {}, - ".": {}, - "src/apis/osconfig": {}, - "src/apis/developerconnect": {}, - "src/apis/pubsub": {}, - "src/apis/cloudbilling": {}, - "src/apis/bigquery": {}, - "src/apis/webrisk": {}, - "src/apis/netapp": {}, - "src/apis/cloudbuild": {}, - "src/apis/rapidmigrationassessment": {}, - "src/apis/container": {}, - "src/apis/storagetransfer": {}, - "src/apis/monitoring": {}, - "src/apis/storagebatchoperations": {}, - "src/apis/parallelstore": {}, - "src/apis/cloudtasks": {}, - "src/apis/networkconnectivity": {}, - "src/apis/bigquerydatapolicy": {}, - "src/apis/datastore": {}, - "src/apis/assuredworkloads": {}, - "src/apis/run": {}, - "src/apis/area120tables": {}, - "src/apis/texttospeech": {}, - "src/apis/bigqueryconnection": {}, - "src/apis/securesourcemanager": {}, - "src/apis/dataplex": {}, - "src/apis/retail": {}, - "src/apis/compute": {}, - "src/apis/cloudkms": {}, - "src/apis/merchantapi": {}, - "src/apis/dns": {}, - "src/apis/dataproc": {}, - "src/apis/accesscontextmanager": {}, - "src/apis/vmwareengine": {}, - "src/apis/servicecontrol": {}, - "src/apis/oslogin": {}, - "src/apis/cloudscheduler": {}, - "src/apis/workstations": {}, - "src/apis/analyticsadmin": {}, - "src/apis/bigquerydatatransfer": {}, - "src/apis/datastream": {}, - "src/apis/containeranalysis": {}, - "src/apis/ids": {}, - "src/apis/iamcredentials": {}, - "src/apis/cloudsupport": {}, - "src/apis/language": {}, - "src/apis/logging": {}, - "src/apis/cloudtrace": {}, - "src/apis/vision": {}, - "src/apis/vmmigration": {}, - "src/apis/cloudiot": {}, - "src/apis/oracledatabase": {}, - "src/apis/datafusion": {}, - "src/apis/accessapproval": {}, - "src/apis/notebooks": {}, - "src/apis/discoveryengine": {}, - "src/apis/dialogflow": {}, - "src/apis/translate": {}, - "src/apis/parametermanager": {}, - "src/apis/places": {}, - "src/apis/migrationcenter": {}, - "src/apis/serviceusage": {}, - "src/apis/tpu": {}, - "src/apis/billingbudgets": {}, - "src/apis/meet": {}, - "src/apis/aiplatform": {}, - "src/apis/transcoder": {}, - "src/apis/domains": {}, - "src/apis/apihub": {}, - "src/apis/metastore": {}, - "src/apis/managedidentities": {}, - "src/apis/apikeys": {}, - "src/apis/lifesciences": {}, - "src/apis/contentwarehouse": {}, - "src/apis/config": {}, - "src/apis/essentialcontacts": {}, - "src/apis/chat": {}, - "src/apis/datalabeling": {}, - "src/apis/composer": {}, - "src/apis/gkehub": {}, - "src/apis/iap": {}, - "src/apis/apigeeregistry": {}, - "src/apis/workspaceevents": {}, - "src/apis/binaryauthorization": {}, - "src/apis/alloydb": {}, - "src/apis/clouderrorreporting": {}, - "src/apis/cloudresourcemanager": {}, - "src/apis/policytroubleshooter": {}, - "src/apis/artifactregistry": {}, - "src/apis/dataflow": {}, - "src/apis/beyondcorp": {}, - "src/apis/certificatemanager": {}, - "src/apis/recommender": {}, - "src/apis/networkmanagement": {}, - "src/apis/file": {}, - "src/apis/gkebackup": {}, - "src/apis/cloudasset": {}, - "src/apis/datacatalog": {}, - "src/apis/dataform": {}, - "src/apis/advisorynotifications": {}, - "src/apis/batch": {}, - "src/apis/videointelligence": {}, - "src/apis/clouddeploy": {}, - "src/apis/secretmanager": {}, - "src/apis/recaptchaenterprise": {}, - "src/apis/jobs": {}, - "src/apis/publicca": {}, - "src/apis/managedkafka": {}, - "src/apis/cloudfunctions": {}, - "src/apis/networkservices": {}, - "src/apis/cloudcontrolspartner": {}, - "src/apis/baremetalsolution": {}, - "src/apis/memcache": {}, - "src/apis/privateca": {}, - "src/apis/securitycenter": {}, - "src/apis/apphub": {}, - "src/apis/cloudshell": {}, - "src/apis/servicemanagement": {}, - "src/apis/marketingplatformadmin": {}, - "src/apis/analyticshub": {}, - "src/apis/analyticsdata": {}, - "src/apis/cloudchannel": {}, - "src/apis/solar": {}, - "src/apis/datalineage": {}, - "src/apis/servicedirectory": {}, - "src/apis/redis": {}, - "src/apis/vpcaccess": {}, - "src/apis/storage": {}, - "src/apis/documentai": {}, - "src/apis/workflowexecutions": {}, - "src/apis/networksecurity": {}, - "src/apis/areainsights": {}, - "src/apis/cloudprofiler": {}, - "src/apis/websecurityscanner": {}, - "src/apis/speech": {}, - "src/apis/bigqueryreservation": {}, - "src/apis/orgpolicy": {}, - "src/apis/sqladmin": {}, - "src/apis/contactcenterinsights": {}, - "src/apis/eventarc": {}, - "src/apis/backupdr": {}, - "src/apis/datamigration": {}, - "src/apis/connectors": {}, - "src/apis/appengine": {}, - "src/apis/dlp": {}, - "src/apis/css": {}, - "src/apis/policysimulator": {}, - "src/apis/apigateway": {}, - "src/apis/cloudcommerceprocurement": {}, - "src/apis/datamanager": {}, - "src/apis/chromewebstore": {} + ".": {} } } \ No newline at end of file diff --git a/src/apis/androidpublisher/v3.ts b/src/apis/androidpublisher/v3.ts index 81acce8853b..38709a045e6 100644 --- a/src/apis/androidpublisher/v3.ts +++ b/src/apis/androidpublisher/v3.ts @@ -3527,10 +3527,6 @@ export namespace androidpublisher_v3 { * Details of a proration period. A proration period can be a period calculated during a plan change to cover existing entitlements (For more information, see [Allow users to upgrade, downgrade, or change their subscription](https://developer.android.com/google/play/billing/subscriptions#allow-users-change), or a prorated period to align add-on renewal dates with the base (For more information, see [Rules applicable for items in the purchase](https://developer.android.com/google/play/billing/subscription-with-addons#rules-base-addons)). */ export interface Schema$ProrationPeriodDetails { - /** - * The last order id of the original subscription purchase prior to the plan change. This is only populated if this proration period is from an ugrade/downgrade from a previous subscription and carries the remaining offer phase from the linked order of the previous subscription. - */ - linkedOrderId?: string | null; /** * Represent the original offer phase from the purchased the line item if the proration period contains any of them. For example, a proration period from CHARGE_FULL_PRICE plan change may merge the 1st offer phase of the subscription offer of the new product user purchased. In this case, the original offer phase will be set here. */ diff --git a/src/apis/bigtableadmin/v2.ts b/src/apis/bigtableadmin/v2.ts index b19996fedfa..34be6009672 100644 --- a/src/apis/bigtableadmin/v2.ts +++ b/src/apis/bigtableadmin/v2.ts @@ -1447,7 +1447,7 @@ export namespace bigtableadmin_v2 { */ operations?: Schema$Operation[]; /** - * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. */ unreachable?: string[] | null; } @@ -2461,7 +2461,7 @@ export namespace bigtableadmin_v2 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', - * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); @@ -2591,7 +2591,7 @@ export namespace bigtableadmin_v2 { */ pageToken?: string; /** - * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */ returnPartialSuccess?: boolean; } diff --git a/src/apis/discoveryengine/v1.ts b/src/apis/discoveryengine/v1.ts index 7da546f116a..17a5fc067ff 100644 --- a/src/apis/discoveryengine/v1.ts +++ b/src/apis/discoveryengine/v1.ts @@ -26411,6 +26411,210 @@ export namespace discoveryengine_v1 { } } + /** + * Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.create( + * { + * // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + * parent: + * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore', + * // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + * servingConfigId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/servingConfigs').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. * @example @@ -27860,6 +28064,21 @@ export namespace discoveryengine_v1 { */ requestBody?: Schema$GoogleCloudDiscoveryengineV1AnswerQueryRequest; } + export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create extends StandardParameters { + /** + * Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + */ + parent?: string; + /** + * Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + */ + servingConfigId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1ServingConfig; + } export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete extends StandardParameters { /** * Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` @@ -38699,54 +38918,258 @@ export namespace discoveryengine_v1 { params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, options?: MethodOptions ): Promise< - GaxiosResponseWithHTTP2 + GaxiosResponseWithHTTP2 + >; + answer( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + answer( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + answer( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, + callback: BodyResponseCallback + ): void; + answer( + callback: BodyResponseCallback + ): void; + answer( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+servingConfig}:answer').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['servingConfig'], + pathParams: ['servingConfig'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.collections.engines.servingConfigs.create( + * { + * // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + * parent: + * 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine', + * // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + * servingConfigId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 >; - answer( - params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - answer( - params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - answer( - params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + callback: BodyResponseCallback ): void; - answer( - callback: BodyResponseCallback + create( + callback: BodyResponseCallback ): void; - answer( + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer - | BodyResponseCallback + | Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void | Promise< - GaxiosResponseWithHTTP2 + GaxiosResponseWithHTTP2 > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer; + {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer; + {} as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create; options = {}; } @@ -38760,7 +39183,7 @@ export namespace discoveryengine_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+servingConfig}:answer').replace( + url: (rootUrl + '/v1/{+parent}/servingConfigs').replace( /([^:]\/)\/+/g, '$1' ), @@ -38770,17 +39193,17 @@ export namespace discoveryengine_v1 { options ), params, - requiredParams: ['servingConfig'], - pathParams: ['servingConfig'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } @@ -40235,6 +40658,21 @@ export namespace discoveryengine_v1 { */ requestBody?: Schema$GoogleCloudDiscoveryengineV1AnswerQueryRequest; } + export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create extends StandardParameters { + /** + * Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + */ + parent?: string; + /** + * Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + */ + servingConfigId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1ServingConfig; + } export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Delete extends StandardParameters { /** * Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` @@ -49743,6 +50181,208 @@ export namespace discoveryengine_v1 { } } + /** + * Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.dataStores.servingConfigs.create({ + * // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + * parent: + * 'projects/my-project/locations/my-location/dataStores/my-dataStore', + * // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + * servingConfigId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/servingConfigs').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. * @example @@ -51182,6 +51822,21 @@ export namespace discoveryengine_v1 { */ requestBody?: Schema$GoogleCloudDiscoveryengineV1AnswerQueryRequest; } + export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create extends StandardParameters { + /** + * Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + */ + parent?: string; + /** + * Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + */ + servingConfigId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1ServingConfig; + } export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Delete extends StandardParameters { /** * Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` diff --git a/src/apis/discoveryengine/v1alpha.ts b/src/apis/discoveryengine/v1alpha.ts index 950bfa4ddf7..0a41e950e71 100644 --- a/src/apis/discoveryengine/v1alpha.ts +++ b/src/apis/discoveryengine/v1alpha.ts @@ -521,11 +521,28 @@ export namespace discoveryengine_v1alpha { * Stored definition of an agent that uses A2A. */ export interface Schema$GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition { + /** + * Optional. Configuration specific to agents that are deployed from Cloud Marketplace. + */ + cloudMarketplaceConfig?: Schema$GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig; /** * Optional. The agent card is a JSON string. */ jsonAgentCard?: string | null; } + /** + * Configuration specific to agents that are deployed from Cloud Marketplace. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig { + /** + * Required. The Marketplace Entitlement this agent is associated with. Format: `projects/{project\}/entitlements/{entitlement\}`. + */ + entitlement?: string | null; + /** + * Output only. The Marketplace Order this agent belongs to. Format: `billingAccounts/{billing_account\}/orders/{order\}` + */ + order?: string | null; + } /** * Access Control Configuration. */ @@ -33694,7 +33711,7 @@ export namespace discoveryengine_v1alpha { } /** - * Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. + * Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. * @example * ```js * // Before running the sample: @@ -33727,150 +33744,44 @@ export namespace discoveryengine_v1alpha { * * // Do the magic * const res = - * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete( + * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.create( * { - * // Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` - * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/servingConfigs/my-servingConfig', - * }, - * ); - * console.log(res.data); - * - * // Example response - * // {} - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - delete( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, - options: StreamMethodOptions - ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, - options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, - callback: BodyResponseCallback - ): void; - delete(callback: BodyResponseCallback): void; - delete( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://discoveryengine.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const discoveryengine = google.discoveryengine('v1alpha'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: [ - * 'https://www.googleapis.com/auth/cloud-platform', - * 'https://www.googleapis.com/auth/discoveryengine.readwrite', - * ], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); + * // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + * parent: + * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore', + * // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + * servingConfigId: 'placeholder-value', * - * // Do the magic - * const res = - * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.get( - * { - * // Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` - * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/servingConfigs/my-servingConfig', + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "customFineTuningSpec": {}, + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "guidedSearchSpec": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * }, * }, * ); * console.log(res.data); @@ -33916,38 +33827,38 @@ export namespace discoveryengine_v1alpha { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - get( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, + create( + params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, options?: MethodOptions ): Promise< GaxiosResponseWithHTTP2 >; - get( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, options: | MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, callback: BodyResponseCallback ): void; - get( + create( callback: BodyResponseCallback ): void; - get( + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get + | Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -33965,13 +33876,13 @@ export namespace discoveryengine_v1alpha { > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get; + {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get; + {} as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create; options = {}; } @@ -33985,15 +33896,18 @@ export namespace discoveryengine_v1alpha { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1alpha/{+parent}/servingConfigs').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { @@ -34009,7 +33923,7 @@ export namespace discoveryengine_v1alpha { } /** - * Lists all ServingConfigs linked to this dataStore. + * Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. * @example * ```js * // Before running the sample: @@ -34042,24 +33956,16 @@ export namespace discoveryengine_v1alpha { * * // Do the magic * const res = - * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.list( + * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete( * { - * // Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned. - * pageSize: 'placeholder-value', - * // Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. - * pageToken: 'placeholder-value', - * // Required. Full resource name of the parent resource. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` - * parent: - * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore', + * // Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` + * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/servingConfigs/my-servingConfig', * }, * ); * console.log(res.data); * * // Example response - * // { - * // "nextPageToken": "my_nextPageToken", - * // "servingConfigs": [] - * // } + * // {} * } * * main().catch(e => { @@ -34074,62 +33980,54 @@ export namespace discoveryengine_v1alpha { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, + delete( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, + delete( + params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List; + {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List; + {} as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete; options = {}; } @@ -34143,34 +34041,365 @@ export namespace discoveryengine_v1alpha { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1alpha/{+parent}/servingConfigs').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. + * Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.get( + * { + * // Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` + * name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/servingConfigs/my-servingConfig', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "customFineTuningSpec": {}, + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "guidedSearchSpec": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + get( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Lists all ServingConfigs linked to this dataStore. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.list( + * { + * // Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. + * pageToken: 'placeholder-value', + * // Required. Full resource name of the parent resource. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + * parent: + * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "nextPageToken": "my_nextPageToken", + * // "servingConfigs": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/servingConfigs').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. * @example * ```js * // Before running the sample: @@ -35181,6 +35410,21 @@ export namespace discoveryengine_v1alpha { */ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest; } + export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create extends StandardParameters { + /** + * Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + */ + parent?: string; + /** + * Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + */ + servingConfigId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaServingConfig; + } export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete extends StandardParameters { /** * Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` @@ -50664,6 +50908,218 @@ export namespace discoveryengine_v1alpha { } } + /** + * Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.collections.engines.servingConfigs.create( + * { + * // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + * parent: + * 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine', + * // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + * servingConfigId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "customFineTuningSpec": {}, + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "guidedSearchSpec": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "customFineTuningSpec": {}, + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "guidedSearchSpec": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/servingConfigs').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. * @example @@ -52152,6 +52608,21 @@ export namespace discoveryengine_v1alpha { */ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest; } + export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create extends StandardParameters { + /** + * Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + */ + parent?: string; + /** + * Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + */ + servingConfigId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaServingConfig; + } export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Delete extends StandardParameters { /** * Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` @@ -63072,34 +63543,265 @@ export namespace discoveryengine_v1alpha { * google.options({auth: authClient}); * * // Do the magic - * const res = await discoveryengine.projects.locations.dataStores.schemas.patch( - * { - * // If set to true, and the Schema is not found, a new Schema is created. In this situation, `update_mask` is ignored. - * allowMissing: 'placeholder-value', - * // Immutable. The full resource name of the schema, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/schemas/{schema\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. - * name: 'projects/my-project/locations/my-location/dataStores/my-dataStore/schemas/my-schema', + * const res = await discoveryengine.projects.locations.dataStores.schemas.patch( + * { + * // If set to true, and the Schema is not found, a new Schema is created. In this situation, `update_mask` is ignored. + * allowMissing: 'placeholder-value', + * // Immutable. The full resource name of the schema, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/schemas/{schema\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. + * name: 'projects/my-project/locations/my-location/dataStores/my-dataStore/schemas/my-schema', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "fieldConfigs": [], + * // "jsonSchema": "my_jsonSchema", + * // "name": "my_name", + * // "structSchema": {} + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + patch( + params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datastores$Schemas$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datastores$Schemas$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Datastores$Schemas$Create extends StandardParameters { + /** + * Required. The parent data store resource name, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}`. + */ + parent?: string; + /** + * Required. The ID to use for the Schema, which becomes the final component of the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. + */ + schemaId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaSchema; + } + export interface Params$Resource$Projects$Locations$Datastores$Schemas$Delete extends StandardParameters { + /** + * Required. The full resource name of the schema, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/schemas/{schema\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Datastores$Schemas$Get extends StandardParameters { + /** + * Required. The full resource name of the schema, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/schemas/{schema\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Datastores$Schemas$List extends StandardParameters { + /** + * The maximum number of Schemas to return. The service may return fewer than this value. If unspecified, at most 100 Schemas are returned. The maximum value is 1000; values above 1000 are set to 1000. + */ + pageSize?: number; + /** + * A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent data store resource name, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Datastores$Schemas$Patch extends StandardParameters { + /** + * If set to true, and the Schema is not found, a new Schema is created. In this situation, `update_mask` is ignored. + */ + allowMissing?: boolean; + /** + * Immutable. The full resource name of the schema, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/schemas/{schema\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaSchema; + } + + export class Resource$Projects$Locations$Datastores$Servingconfigs { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Answer query method. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.dataStores.servingConfigs.answer({ + * // Required. The resource name of the Search serving config, such as `projects/x/locations/global/collections/default_collection/engines/x/servingConfigs/default_serving_config`, or `projects/x/locations/global/collections/default_collection/dataStores/x/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. + * servingConfig: + * 'projects/my-project/locations/my-location/dataStores/my-dataStore/servingConfigs/my-servingConfig', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "fieldConfigs": [], - * // "jsonSchema": "my_jsonSchema", - * // "name": "my_name", - * // "structSchema": {} + * // "answerGenerationSpec": {}, + * // "asynchronousMode": false, + * // "endUserSpec": {}, + * // "groundingSpec": {}, + * // "query": {}, + * // "queryUnderstandingSpec": {}, + * // "relatedQuestionsSpec": {}, + * // "safetySpec": {}, + * // "searchSpec": {}, + * // "session": "my_session", + * // "userLabels": {}, + * // "userPseudoId": "my_userPseudoId" * // } * }, - * }, - * ); + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "answer": {}, + * // "answerQueryToken": "my_answerQueryToken", + * // "session": {} * // } * } * @@ -63115,58 +63817,62 @@ export namespace discoveryengine_v1alpha { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, + answer( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, + answer( + params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, + ): Promise< + GaxiosResponseWithHTTP2 + >; + answer( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, + answer( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Datastores$Schemas$Patch, - callback: BodyResponseCallback + answer( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, + callback: BodyResponseCallback ): void; - patch( - callback: BodyResponseCallback + answer( + callback: BodyResponseCallback ): void; - patch( + answer( paramsOrCallback?: - | Params$Resource$Projects$Locations$Datastores$Schemas$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Datastores$Schemas$Patch; + {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Datastores$Schemas$Patch; + {} as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer; options = {}; } @@ -63180,93 +63886,34 @@ export namespace discoveryengine_v1alpha { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1alpha/{+servingConfig}:answer').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['servingConfig'], + pathParams: ['servingConfig'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } - } - - export interface Params$Resource$Projects$Locations$Datastores$Schemas$Create extends StandardParameters { - /** - * Required. The parent data store resource name, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}`. - */ - parent?: string; - /** - * Required. The ID to use for the Schema, which becomes the final component of the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. - */ - schemaId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaSchema; - } - export interface Params$Resource$Projects$Locations$Datastores$Schemas$Delete extends StandardParameters { - /** - * Required. The full resource name of the schema, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/schemas/{schema\}`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Datastores$Schemas$Get extends StandardParameters { - /** - * Required. The full resource name of the schema, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/schemas/{schema\}`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Datastores$Schemas$List extends StandardParameters { - /** - * The maximum number of Schemas to return. The service may return fewer than this value. If unspecified, at most 100 Schemas are returned. The maximum value is 1000; values above 1000 are set to 1000. - */ - pageSize?: number; - /** - * A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token. - */ - pageToken?: string; - /** - * Required. The parent data store resource name, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Datastores$Schemas$Patch extends StandardParameters { - /** - * If set to true, and the Schema is not found, a new Schema is created. In this situation, `update_mask` is ignored. - */ - allowMissing?: boolean; - /** - * Immutable. The full resource name of the schema, in the format of `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/schemas/{schema\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. - */ - name?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaSchema; - } - - export class Resource$Projects$Locations$Datastores$Servingconfigs { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Answer query method. + * Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. * @example * ```js * // Before running the sample: @@ -63289,7 +63936,6 @@ export namespace discoveryengine_v1alpha { * // Scopes can be specified either as an array or as a single, space-delimited string. * scopes: [ * 'https://www.googleapis.com/auth/cloud-platform', - * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', * 'https://www.googleapis.com/auth/discoveryengine.readwrite', * ], * }); @@ -63300,27 +63946,41 @@ export namespace discoveryengine_v1alpha { * * // Do the magic * const res = - * await discoveryengine.projects.locations.dataStores.servingConfigs.answer({ - * // Required. The resource name of the Search serving config, such as `projects/x/locations/global/collections/default_collection/engines/x/servingConfigs/default_serving_config`, or `projects/x/locations/global/collections/default_collection/dataStores/x/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. - * servingConfig: - * 'projects/my-project/locations/my-location/dataStores/my-dataStore/servingConfigs/my-servingConfig', + * await discoveryengine.projects.locations.dataStores.servingConfigs.create({ + * // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + * parent: + * 'projects/my-project/locations/my-location/dataStores/my-dataStore', + * // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + * servingConfigId: 'placeholder-value', * * // Request body metadata * requestBody: { * // request body parameters * // { * // "answerGenerationSpec": {}, - * // "asynchronousMode": false, - * // "endUserSpec": {}, - * // "groundingSpec": {}, - * // "query": {}, - * // "queryUnderstandingSpec": {}, - * // "relatedQuestionsSpec": {}, - * // "safetySpec": {}, - * // "searchSpec": {}, - * // "session": "my_session", - * // "userLabels": {}, - * // "userPseudoId": "my_userPseudoId" + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "customFineTuningSpec": {}, + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "guidedSearchSpec": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" * // } * }, * }); @@ -63328,9 +63988,30 @@ export namespace discoveryengine_v1alpha { * * // Example response * // { - * // "answer": {}, - * // "answerQueryToken": "my_answerQueryToken", - * // "session": {} + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "customFineTuningSpec": {}, + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "guidedSearchSpec": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" * // } * } * @@ -63346,62 +64027,62 @@ export namespace discoveryengine_v1alpha { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - answer( - params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, options: StreamMethodOptions ): Promise>; - answer( - params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, + create( + params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, options?: MethodOptions ): Promise< - GaxiosResponseWithHTTP2 + GaxiosResponseWithHTTP2 >; - answer( - params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - answer( - params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - answer( - params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + callback: BodyResponseCallback ): void; - answer( - callback: BodyResponseCallback + create( + callback: BodyResponseCallback ): void; - answer( + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer - | BodyResponseCallback + | Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void | Promise< - GaxiosResponseWithHTTP2 + GaxiosResponseWithHTTP2 > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer; + {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer; + {} as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create; options = {}; } @@ -63415,7 +64096,7 @@ export namespace discoveryengine_v1alpha { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1alpha/{+servingConfig}:answer').replace( + url: (rootUrl + '/v1alpha/{+parent}/servingConfigs').replace( /([^:]\/)\/+/g, '$1' ), @@ -63425,17 +64106,17 @@ export namespace discoveryengine_v1alpha { options ), params, - requiredParams: ['servingConfig'], - pathParams: ['servingConfig'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } @@ -64919,6 +65600,21 @@ export namespace discoveryengine_v1alpha { */ requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest; } + export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create extends StandardParameters { + /** + * Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + */ + parent?: string; + /** + * Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + */ + servingConfigId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaServingConfig; + } export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Delete extends StandardParameters { /** * Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` diff --git a/src/apis/discoveryengine/v1beta.ts b/src/apis/discoveryengine/v1beta.ts index 70d8c23e4c3..33e0e2bb8bf 100644 --- a/src/apis/discoveryengine/v1beta.ts +++ b/src/apis/discoveryengine/v1beta.ts @@ -25922,6 +25922,214 @@ export namespace discoveryengine_v1beta { } } + /** + * Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.collections.dataStores.servingConfigs.create( + * { + * // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + * parent: + * 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore', + * // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + * servingConfigId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/servingConfigs').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. * @example @@ -27399,6 +27607,21 @@ export namespace discoveryengine_v1beta { */ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaAnswerQueryRequest; } + export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create extends StandardParameters { + /** + * Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + */ + parent?: string; + /** + * Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + */ + servingConfigId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1betaServingConfig; + } export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete extends StandardParameters { /** * Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` @@ -38422,7 +38645,7 @@ export namespace discoveryengine_v1beta { } /** - * Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. + * Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. * @example * ```js * // Before running the sample: @@ -38455,30 +38678,238 @@ export namespace discoveryengine_v1beta { * * // Do the magic * const res = - * await discoveryengine.projects.locations.collections.engines.servingConfigs.delete( + * await discoveryengine.projects.locations.collections.engines.servingConfigs.create( * { - * // Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` - * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/servingConfigs/my-servingConfig', + * // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + * parent: + * 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine', + * // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + * servingConfigId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * }, * }, * ); * console.log(res.data); * * // Example response - * // {} - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/servingConfigs').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.collections.engines.servingConfigs.delete( + * { + * // Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` + * name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/servingConfigs/my-servingConfig', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // {} + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ delete( params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Delete, options: StreamMethodOptions @@ -39898,6 +40329,21 @@ export namespace discoveryengine_v1beta { */ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaAnswerQueryRequest; } + export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create extends StandardParameters { + /** + * Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + */ + parent?: string; + /** + * Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + */ + servingConfigId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1betaServingConfig; + } export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Delete extends StandardParameters { /** * Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` @@ -48947,6 +49393,212 @@ export namespace discoveryengine_v1beta { } } + /** + * Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.dataStores.servingConfigs.create({ + * // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + * parent: + * 'projects/my-project/locations/my-location/dataStores/my-dataStore', + * // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + * servingConfigId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "answerGenerationSpec": {}, + * // "boostControlIds": [], + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "dissociateControlIds": [], + * // "diversityLevel": "my_diversityLevel", + * // "embeddingConfig": {}, + * // "filterControlIds": [], + * // "genericConfig": {}, + * // "ignoreControlIds": [], + * // "mediaConfig": {}, + * // "modelId": "my_modelId", + * // "name": "my_name", + * // "onewaySynonymsControlIds": [], + * // "personalizationSpec": {}, + * // "promoteControlIds": [], + * // "rankingExpression": "my_rankingExpression", + * // "redirectControlIds": [], + * // "replacementControlIds": [], + * // "solutionType": "my_solutionType", + * // "synonymsControlIds": [], + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/servingConfigs').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. * @example @@ -50414,6 +51066,21 @@ export namespace discoveryengine_v1beta { */ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaAnswerQueryRequest; } + export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create extends StandardParameters { + /** + * Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}` + */ + parent?: string; + /** + * Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. + */ + servingConfigId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDiscoveryengineV1betaServingConfig; + } export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Delete extends StandardParameters { /** * Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}` diff --git a/src/apis/docs/v1.ts b/src/apis/docs/v1.ts index 93b9b3f083b..5fac05792d5 100644 --- a/src/apis/docs/v1.ts +++ b/src/apis/docs/v1.ts @@ -438,6 +438,43 @@ export namespace docs_v1 { */ offsetTopSuggested?: boolean | null; } + /** + * A date instance mentioned in a document. + */ + export interface Schema$DateElement { + /** + * The properties of this DateElement. + */ + dateElementProperties?: Schema$DateElementProperties; + /** + * Output only. The unique ID of this date. + */ + dateId?: string | null; + /** + * The suggested changes to the date element properties, keyed by suggestion ID. + */ + suggestedDateElementPropertiesChanges?: { + [key: string]: Schema$SuggestedDateElementProperties; + } | null; + /** + * IDs for suggestions that remove this date from the document. A DateElement might have multiple deletion IDs if, for example, multiple users suggest deleting it. If empty, then this date isn't suggested for deletion. + */ + suggestedDeletionIds?: string[] | null; + /** + * IDs for suggestions that insert this date into the document. A DateElement might have multiple insertion IDs if it's a nested suggested change (a suggestion within a suggestion made by a different user, for example). If empty, then this date isn't a suggested insertion. + */ + suggestedInsertionIds?: string[] | null; + /** + * The suggested text style changes to this DateElement, keyed by suggestion ID. + */ + suggestedTextStyleChanges?: { + [key: string]: Schema$SuggestedTextStyle; + } | null; + /** + * The text style of this DateElement. + */ + textStyle?: Schema$TextStyle; + } /** * Properties of a DateElement. */ @@ -467,6 +504,31 @@ export namespace docs_v1 { */ timeZoneId?: string | null; } + /** + * A mask that indicates which of the fields on the base DateElementProperties have been changed in this suggestion. For any field set to true, there's a new suggested value. + */ + export interface Schema$DateElementPropertiesSuggestionState { + /** + * Indicates if there was a suggested change to date_format. + */ + dateFormatSuggested?: boolean | null; + /** + * Indicates if there was a suggested change to locale. + */ + localeSuggested?: boolean | null; + /** + * Indicates if there was a suggested change to time_format. + */ + timeFormatSuggested?: boolean | null; + /** + * Indicates if there was a suggested change to timestamp. + */ + timestampSuggested?: boolean | null; + /** + * Indicates if there was a suggested change to time_zone_id. + */ + timeZoneIdSuggested?: boolean | null; + } /** * Deletes content from the document. */ @@ -1847,6 +1909,10 @@ export namespace docs_v1 { * A column break paragraph element. */ columnBreak?: Schema$ColumnBreak; + /** + * A paragraph element that represents a date. + */ + dateElement?: Schema$DateElement; /** * The zero-base end index of this paragraph element, exclusive, in UTF-16 code units. */ @@ -2786,6 +2852,19 @@ export namespace docs_v1 { */ bulletSuggestionState?: Schema$BulletSuggestionState; } + /** + * A suggested change to a DateElementProperties. + */ + export interface Schema$SuggestedDateElementProperties { + /** + * DateElementProperties that only includes the changes made in this suggestion. This can be used along with the date_element_properties_suggestion_state to see which fields have changed and their new values. + */ + dateElementProperties?: Schema$DateElementProperties; + /** + * A mask that indicates which of the fields on the base DateElementProperties have been changed in this suggestion. + */ + dateElementPropertiesSuggestionState?: Schema$DateElementPropertiesSuggestionState; + } /** * A suggested change to the DocumentStyle. */ diff --git a/src/apis/firebaseml/v2beta.ts b/src/apis/firebaseml/v2beta.ts index 819ca7be51d..eb776483852 100644 --- a/src/apis/firebaseml/v2beta.ts +++ b/src/apis/firebaseml/v2beta.ts @@ -1574,109 +1574,109 @@ export namespace firebaseml_v2beta { threshold?: string | null; } /** - * Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. + * Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). */ export interface Schema$GoogleCloudAiplatformV1beta1Schema { /** - * Optional. Can either be a boolean or an object; controls the presence of additional properties. + * Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. */ additionalProperties?: any | null; /** - * Optional. The value should be validated against any (one or more) of the subschemas in the list. + * Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. */ anyOf?: Schema$GoogleCloudAiplatformV1beta1Schema[]; /** - * Optional. Default value of the data. + * Optional. Default value to use if the field is not specified. */ default?: any | null; /** - * Optional. A map of definitions for use by `ref` Only allowed at the root of the schema. + * Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. */ defs?: {[key: string]: Schema$GoogleCloudAiplatformV1beta1Schema} | null; /** - * Optional. The description of the data. + * Optional. Description of the schema. */ description?: string | null; /** - * Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]\} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:["101", "201", "301"]\} + * Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]\}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]\}` */ enum?: string[] | null; /** - * Optional. Example of the object. Will only populated when the object is the root. + * Optional. Example of an instance of this schema. */ example?: any | null; /** - * Optional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc + * Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. */ format?: string | null; /** - * Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY. + * Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. */ items?: Schema$GoogleCloudAiplatformV1beta1Schema; /** - * Optional. Maximum value of the Type.INTEGER and Type.NUMBER + * Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. */ maximum?: number | null; /** - * Optional. Maximum number of the elements for Type.ARRAY. + * Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. */ maxItems?: string | null; /** - * Optional. Maximum length of the Type.STRING + * Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. */ maxLength?: string | null; /** - * Optional. Maximum number of the properties for Type.OBJECT. + * Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. */ maxProperties?: string | null; /** - * Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER + * Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. */ minimum?: number | null; /** - * Optional. Minimum number of the elements for Type.ARRAY. + * Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. */ minItems?: string | null; /** - * Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING + * Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. */ minLength?: string | null; /** - * Optional. Minimum number of the properties for Type.OBJECT. + * Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. */ minProperties?: string | null; /** - * Optional. Indicates if the value may be null. + * Optional. Indicates if the value of this field can be null. */ nullable?: boolean | null; /** - * Optional. Pattern of the Type.STRING to restrict a string to a regular expression. + * Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. */ pattern?: string | null; /** - * Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. + * Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. */ properties?: { [key: string]: Schema$GoogleCloudAiplatformV1beta1Schema; } | null; /** - * Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties. + * Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. */ propertyOrdering?: string[] | null; /** - * Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring + * Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring */ ref?: string | null; /** - * Optional. Required properties of Type.OBJECT. + * Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. */ required?: string[] | null; /** - * Optional. The title of the Schema. + * Optional. Title for the schema. */ title?: string | null; /** - * Optional. The type of the data. + * Optional. Data type of the schema field. */ type?: string | null; } @@ -1776,6 +1776,10 @@ export namespace firebaseml_v2beta { * Optional. Specialized retrieval tool that is powered by Google Search. */ googleSearchRetrieval?: Schema$GoogleCloudAiplatformV1beta1GoogleSearchRetrieval; + /** + * Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation + */ + parallelAiSearch?: Schema$GoogleCloudAiplatformV1beta1ToolParallelAiSearch; /** * Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */ @@ -1828,6 +1832,19 @@ export namespace firebaseml_v2beta { */ excludeDomains?: string[] | null; } + /** + * ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding. + */ + export interface Schema$GoogleCloudAiplatformV1beta1ToolParallelAiSearch { + /** + * Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details. + */ + apiKey?: string | null; + /** + * Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { "source_policy": { "include_domains": ["google.com", "wikipedia.org"], "exclude_domains": ["example.com"] \}, "fetch_policy": { "max_age_seconds": 3600 \} \} + */ + customConfigs?: {[key: string]: any} | null; + } /** * Tool to support URL context. */ diff --git a/src/apis/index.ts b/src/apis/index.ts index c795830486e..589de0c166e 100644 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -12,759 +12,831 @@ // limitations under the License. /*! THIS FILE IS AUTO-GENERATED */ -import { +import type { VERSIONS as abusiveexperiencereportVersions, abusiveexperiencereport, } from './abusiveexperiencereport'; -import { +import type { VERSIONS as acceleratedmobilepageurlVersions, acceleratedmobilepageurl, } from './acceleratedmobilepageurl'; -import { +import type { VERSIONS as accessapprovalVersions, accessapproval, } from './accessapproval'; -import { +import type { VERSIONS as accesscontextmanagerVersions, accesscontextmanager, } from './accesscontextmanager'; -import {VERSIONS as acmednsVersions, acmedns} from './acmedns'; -import { +import type {VERSIONS as acmednsVersions, acmedns} from './acmedns'; +import type { VERSIONS as addressvalidationVersions, addressvalidation, } from './addressvalidation'; -import { +import type { VERSIONS as adexchangebuyerVersions, adexchangebuyer, } from './adexchangebuyer'; -import { +import type { VERSIONS as adexchangebuyer2Versions, adexchangebuyer2, } from './adexchangebuyer2'; -import { +import type { VERSIONS as adexperiencereportVersions, adexperiencereport, } from './adexperiencereport'; -import {VERSIONS as adminVersions, admin} from './admin'; -import {VERSIONS as admobVersions, admob} from './admob'; -import {VERSIONS as adsenseVersions, adsense} from './adsense'; -import {VERSIONS as adsensehostVersions, adsensehost} from './adsensehost'; -import { +import type {VERSIONS as adminVersions, admin} from './admin'; +import type {VERSIONS as admobVersions, admob} from './admob'; +import type {VERSIONS as adsenseVersions, adsense} from './adsense'; +import type {VERSIONS as adsensehostVersions, adsensehost} from './adsensehost'; +import type { VERSIONS as adsenseplatformVersions, adsenseplatform, } from './adsenseplatform'; -import { +import type { VERSIONS as advisorynotificationsVersions, advisorynotifications, } from './advisorynotifications'; -import {VERSIONS as aiplatformVersions, aiplatform} from './aiplatform'; -import {VERSIONS as airqualityVersions, airquality} from './airquality'; -import {VERSIONS as alertcenterVersions, alertcenter} from './alertcenter'; -import {VERSIONS as alloydbVersions, alloydb} from './alloydb'; -import {VERSIONS as analyticsVersions, analytics} from './analytics'; -import { +import type {VERSIONS as aiplatformVersions, aiplatform} from './aiplatform'; +import type {VERSIONS as airqualityVersions, airquality} from './airquality'; +import type {VERSIONS as alertcenterVersions, alertcenter} from './alertcenter'; +import type {VERSIONS as alloydbVersions, alloydb} from './alloydb'; +import type {VERSIONS as analyticsVersions, analytics} from './analytics'; +import type { VERSIONS as analyticsadminVersions, analyticsadmin, } from './analyticsadmin'; -import { +import type { VERSIONS as analyticsdataVersions, analyticsdata, } from './analyticsdata'; -import {VERSIONS as analyticshubVersions, analyticshub} from './analyticshub'; -import { +import type { + VERSIONS as analyticshubVersions, + analyticshub, +} from './analyticshub'; +import type { VERSIONS as analyticsreportingVersions, analyticsreporting, } from './analyticsreporting'; -import { +import type { VERSIONS as androiddeviceprovisioningVersions, androiddeviceprovisioning, } from './androiddeviceprovisioning'; -import { +import type { VERSIONS as androidenterpriseVersions, androidenterprise, } from './androidenterprise'; -import { +import type { VERSIONS as androidmanagementVersions, androidmanagement, } from './androidmanagement'; -import { +import type { VERSIONS as androidpublisherVersions, androidpublisher, } from './androidpublisher'; -import {VERSIONS as apigatewayVersions, apigateway} from './apigateway'; -import { +import type {VERSIONS as apigatewayVersions, apigateway} from './apigateway'; +import type { VERSIONS as apigeeregistryVersions, apigeeregistry, } from './apigeeregistry'; -import {VERSIONS as apihubVersions, apihub} from './apihub'; -import {VERSIONS as apikeysVersions, apikeys} from './apikeys'; -import {VERSIONS as apimVersions, apim} from './apim'; -import {VERSIONS as appengineVersions, appengine} from './appengine'; -import {VERSIONS as apphubVersions, apphub} from './apphub'; -import {VERSIONS as appsactivityVersions, appsactivity} from './appsactivity'; -import { +import type {VERSIONS as apihubVersions, apihub} from './apihub'; +import type {VERSIONS as apikeysVersions, apikeys} from './apikeys'; +import type {VERSIONS as apimVersions, apim} from './apim'; +import type {VERSIONS as appengineVersions, appengine} from './appengine'; +import type {VERSIONS as apphubVersions, apphub} from './apphub'; +import type { + VERSIONS as appsactivityVersions, + appsactivity, +} from './appsactivity'; +import type { VERSIONS as area120tablesVersions, area120tables, } from './area120tables'; -import {VERSIONS as areainsightsVersions, areainsights} from './areainsights'; -import { +import type { + VERSIONS as areainsightsVersions, + areainsights, +} from './areainsights'; +import type { VERSIONS as artifactregistryVersions, artifactregistry, } from './artifactregistry'; -import { +import type { VERSIONS as assuredworkloadsVersions, assuredworkloads, } from './assuredworkloads'; -import { +import type { VERSIONS as authorizedbuyersmarketplaceVersions, authorizedbuyersmarketplace, } from './authorizedbuyersmarketplace'; -import {VERSIONS as backupdrVersions, backupdr} from './backupdr'; -import { +import type {VERSIONS as backupdrVersions, backupdr} from './backupdr'; +import type { VERSIONS as baremetalsolutionVersions, baremetalsolution, } from './baremetalsolution'; -import {VERSIONS as batchVersions, batch} from './batch'; -import {VERSIONS as beyondcorpVersions, beyondcorp} from './beyondcorp'; -import {VERSIONS as biglakeVersions, biglake} from './biglake'; -import {VERSIONS as bigqueryVersions, bigquery} from './bigquery'; -import { +import type {VERSIONS as batchVersions, batch} from './batch'; +import type {VERSIONS as beyondcorpVersions, beyondcorp} from './beyondcorp'; +import type {VERSIONS as biglakeVersions, biglake} from './biglake'; +import type {VERSIONS as bigqueryVersions, bigquery} from './bigquery'; +import type { VERSIONS as bigqueryconnectionVersions, bigqueryconnection, } from './bigqueryconnection'; -import { +import type { VERSIONS as bigquerydatapolicyVersions, bigquerydatapolicy, } from './bigquerydatapolicy'; -import { +import type { VERSIONS as bigquerydatatransferVersions, bigquerydatatransfer, } from './bigquerydatatransfer'; -import { +import type { VERSIONS as bigqueryreservationVersions, bigqueryreservation, } from './bigqueryreservation'; -import { +import type { VERSIONS as bigtableadminVersions, bigtableadmin, } from './bigtableadmin'; -import { +import type { VERSIONS as billingbudgetsVersions, billingbudgets, } from './billingbudgets'; -import { +import type { VERSIONS as binaryauthorizationVersions, binaryauthorization, } from './binaryauthorization'; -import { +import type { VERSIONS as blockchainnodeengineVersions, blockchainnodeengine, } from './blockchainnodeengine'; -import {VERSIONS as bloggerVersions, blogger} from './blogger'; -import {VERSIONS as booksVersions, books} from './books'; -import { +import type {VERSIONS as bloggerVersions, blogger} from './blogger'; +import type {VERSIONS as booksVersions, books} from './books'; +import type { VERSIONS as businessprofileperformanceVersions, businessprofileperformance, } from './businessprofileperformance'; -import {VERSIONS as calendarVersions, calendar} from './calendar'; -import { +import type {VERSIONS as calendarVersions, calendar} from './calendar'; +import type { VERSIONS as certificatemanagerVersions, certificatemanager, } from './certificatemanager'; -import {VERSIONS as chatVersions, chat} from './chat'; -import {VERSIONS as checksVersions, checks} from './checks'; -import { +import type {VERSIONS as chatVersions, chat} from './chat'; +import type {VERSIONS as checksVersions, checks} from './checks'; +import type { VERSIONS as chromemanagementVersions, chromemanagement, } from './chromemanagement'; -import {VERSIONS as chromepolicyVersions, chromepolicy} from './chromepolicy'; -import { +import type { + VERSIONS as chromepolicyVersions, + chromepolicy, +} from './chromepolicy'; +import type { VERSIONS as chromeuxreportVersions, chromeuxreport, } from './chromeuxreport'; -import { +import type { VERSIONS as chromewebstoreVersions, chromewebstore, } from './chromewebstore'; -import {VERSIONS as civicinfoVersions, civicinfo} from './civicinfo'; -import {VERSIONS as classroomVersions, classroom} from './classroom'; -import {VERSIONS as cloudassetVersions, cloudasset} from './cloudasset'; -import {VERSIONS as cloudbillingVersions, cloudbilling} from './cloudbilling'; -import {VERSIONS as cloudbuildVersions, cloudbuild} from './cloudbuild'; -import {VERSIONS as cloudchannelVersions, cloudchannel} from './cloudchannel'; -import { +import type {VERSIONS as civicinfoVersions, civicinfo} from './civicinfo'; +import type {VERSIONS as classroomVersions, classroom} from './classroom'; +import type {VERSIONS as cloudassetVersions, cloudasset} from './cloudasset'; +import type { + VERSIONS as cloudbillingVersions, + cloudbilling, +} from './cloudbilling'; +import type {VERSIONS as cloudbuildVersions, cloudbuild} from './cloudbuild'; +import type { + VERSIONS as cloudchannelVersions, + cloudchannel, +} from './cloudchannel'; +import type { VERSIONS as cloudcommerceprocurementVersions, cloudcommerceprocurement, } from './cloudcommerceprocurement'; -import { +import type { VERSIONS as cloudcontrolspartnerVersions, cloudcontrolspartner, } from './cloudcontrolspartner'; -import { +import type { VERSIONS as clouddebuggerVersions, clouddebugger, } from './clouddebugger'; -import {VERSIONS as clouddeployVersions, clouddeploy} from './clouddeploy'; -import { +import type {VERSIONS as clouddeployVersions, clouddeploy} from './clouddeploy'; +import type { VERSIONS as clouderrorreportingVersions, clouderrorreporting, } from './clouderrorreporting'; -import { +import type { VERSIONS as cloudfunctionsVersions, cloudfunctions, } from './cloudfunctions'; -import { +import type { VERSIONS as cloudidentityVersions, cloudidentity, } from './cloudidentity'; -import {VERSIONS as cloudiotVersions, cloudiot} from './cloudiot'; -import {VERSIONS as cloudkmsVersions, cloudkms} from './cloudkms'; -import { +import type {VERSIONS as cloudiotVersions, cloudiot} from './cloudiot'; +import type {VERSIONS as cloudkmsVersions, cloudkms} from './cloudkms'; +import type { VERSIONS as cloudlocationfinderVersions, cloudlocationfinder, } from './cloudlocationfinder'; -import { +import type { VERSIONS as cloudprofilerVersions, cloudprofiler, } from './cloudprofiler'; -import { +import type { VERSIONS as cloudresourcemanagerVersions, cloudresourcemanager, } from './cloudresourcemanager'; -import { +import type { VERSIONS as cloudschedulerVersions, cloudscheduler, } from './cloudscheduler'; -import {VERSIONS as cloudsearchVersions, cloudsearch} from './cloudsearch'; -import {VERSIONS as cloudshellVersions, cloudshell} from './cloudshell'; -import {VERSIONS as cloudsupportVersions, cloudsupport} from './cloudsupport'; -import {VERSIONS as cloudtasksVersions, cloudtasks} from './cloudtasks'; -import {VERSIONS as cloudtraceVersions, cloudtrace} from './cloudtrace'; -import {VERSIONS as composerVersions, composer} from './composer'; -import {VERSIONS as computeVersions, compute} from './compute'; -import {VERSIONS as configVersions, config} from './config'; -import {VERSIONS as connectorsVersions, connectors} from './connectors'; -import { +import type {VERSIONS as cloudsearchVersions, cloudsearch} from './cloudsearch'; +import type {VERSIONS as cloudshellVersions, cloudshell} from './cloudshell'; +import type { + VERSIONS as cloudsupportVersions, + cloudsupport, +} from './cloudsupport'; +import type {VERSIONS as cloudtasksVersions, cloudtasks} from './cloudtasks'; +import type {VERSIONS as cloudtraceVersions, cloudtrace} from './cloudtrace'; +import type {VERSIONS as composerVersions, composer} from './composer'; +import type {VERSIONS as computeVersions, compute} from './compute'; +import type {VERSIONS as configVersions, config} from './config'; +import type {VERSIONS as connectorsVersions, connectors} from './connectors'; +import type { VERSIONS as contactcenteraiplatformVersions, contactcenteraiplatform, } from './contactcenteraiplatform'; -import { +import type { VERSIONS as contactcenterinsightsVersions, contactcenterinsights, } from './contactcenterinsights'; -import {VERSIONS as containerVersions, container} from './container'; -import { +import type {VERSIONS as containerVersions, container} from './container'; +import type { VERSIONS as containeranalysisVersions, containeranalysis, } from './containeranalysis'; -import {VERSIONS as contentVersions, content} from './content'; -import { +import type {VERSIONS as contentVersions, content} from './content'; +import type { VERSIONS as contentwarehouseVersions, contentwarehouse, } from './contentwarehouse'; -import {VERSIONS as cssVersions, css} from './css'; -import {VERSIONS as customsearchVersions, customsearch} from './customsearch'; -import {VERSIONS as datacatalogVersions, datacatalog} from './datacatalog'; -import {VERSIONS as dataflowVersions, dataflow} from './dataflow'; -import {VERSIONS as dataformVersions, dataform} from './dataform'; -import {VERSIONS as datafusionVersions, datafusion} from './datafusion'; -import {VERSIONS as datalabelingVersions, datalabeling} from './datalabeling'; -import {VERSIONS as datalineageVersions, datalineage} from './datalineage'; -import {VERSIONS as datamanagerVersions, datamanager} from './datamanager'; -import { +import type {VERSIONS as cssVersions, css} from './css'; +import type { + VERSIONS as customsearchVersions, + customsearch, +} from './customsearch'; +import type {VERSIONS as datacatalogVersions, datacatalog} from './datacatalog'; +import type {VERSIONS as dataflowVersions, dataflow} from './dataflow'; +import type {VERSIONS as dataformVersions, dataform} from './dataform'; +import type {VERSIONS as datafusionVersions, datafusion} from './datafusion'; +import type { + VERSIONS as datalabelingVersions, + datalabeling, +} from './datalabeling'; +import type {VERSIONS as datalineageVersions, datalineage} from './datalineage'; +import type {VERSIONS as datamanagerVersions, datamanager} from './datamanager'; +import type { VERSIONS as datamigrationVersions, datamigration, } from './datamigration'; -import { +import type { VERSIONS as datapipelinesVersions, datapipelines, } from './datapipelines'; -import {VERSIONS as dataplexVersions, dataplex} from './dataplex'; -import { +import type {VERSIONS as dataplexVersions, dataplex} from './dataplex'; +import type { VERSIONS as dataportabilityVersions, dataportability, } from './dataportability'; -import {VERSIONS as dataprocVersions, dataproc} from './dataproc'; -import {VERSIONS as datastoreVersions, datastore} from './datastore'; -import {VERSIONS as datastreamVersions, datastream} from './datastream'; -import { +import type {VERSIONS as dataprocVersions, dataproc} from './dataproc'; +import type {VERSIONS as datastoreVersions, datastore} from './datastore'; +import type {VERSIONS as datastreamVersions, datastream} from './datastream'; +import type { VERSIONS as deploymentmanagerVersions, deploymentmanager, } from './deploymentmanager'; -import { +import type { VERSIONS as developerconnectVersions, developerconnect, } from './developerconnect'; -import {VERSIONS as dfareportingVersions, dfareporting} from './dfareporting'; -import {VERSIONS as dialogflowVersions, dialogflow} from './dialogflow'; -import { +import type { + VERSIONS as dfareportingVersions, + dfareporting, +} from './dfareporting'; +import type {VERSIONS as dialogflowVersions, dialogflow} from './dialogflow'; +import type { VERSIONS as digitalassetlinksVersions, digitalassetlinks, } from './digitalassetlinks'; -import {VERSIONS as discoveryVersions, discovery} from './discovery'; -import { +import type {VERSIONS as discoveryVersions, discovery} from './discovery'; +import type { VERSIONS as discoveryengineVersions, discoveryengine, } from './discoveryengine'; -import {VERSIONS as displayvideoVersions, displayvideo} from './displayvideo'; -import {VERSIONS as dlpVersions, dlp} from './dlp'; -import {VERSIONS as dnsVersions, dns} from './dns'; -import {VERSIONS as docsVersions, docs} from './docs'; -import {VERSIONS as documentaiVersions, documentai} from './documentai'; -import {VERSIONS as domainsVersions, domains} from './domains'; -import {VERSIONS as domainsrdapVersions, domainsrdap} from './domainsrdap'; -import { +import type { + VERSIONS as displayvideoVersions, + displayvideo, +} from './displayvideo'; +import type {VERSIONS as dlpVersions, dlp} from './dlp'; +import type {VERSIONS as dnsVersions, dns} from './dns'; +import type {VERSIONS as docsVersions, docs} from './docs'; +import type {VERSIONS as documentaiVersions, documentai} from './documentai'; +import type {VERSIONS as domainsVersions, domains} from './domains'; +import type {VERSIONS as domainsrdapVersions, domainsrdap} from './domainsrdap'; +import type { VERSIONS as doubleclickbidmanagerVersions, doubleclickbidmanager, } from './doubleclickbidmanager'; -import { +import type { VERSIONS as doubleclicksearchVersions, doubleclicksearch, } from './doubleclicksearch'; -import {VERSIONS as driveVersions, drive} from './drive'; -import { +import type {VERSIONS as driveVersions, drive} from './drive'; +import type { VERSIONS as driveactivityVersions, driveactivity, } from './driveactivity'; -import {VERSIONS as drivelabelsVersions, drivelabels} from './drivelabels'; -import { +import type {VERSIONS as drivelabelsVersions, drivelabels} from './drivelabels'; +import type { VERSIONS as essentialcontactsVersions, essentialcontacts, } from './essentialcontacts'; -import {VERSIONS as eventarcVersions, eventarc} from './eventarc'; -import { +import type {VERSIONS as eventarcVersions, eventarc} from './eventarc'; +import type { VERSIONS as factchecktoolsVersions, factchecktools, } from './factchecktools'; -import {VERSIONS as fcmVersions, fcm} from './fcm'; -import {VERSIONS as fcmdataVersions, fcmdata} from './fcmdata'; -import {VERSIONS as fileVersions, file} from './file'; -import {VERSIONS as firebaseVersions, firebase} from './firebase'; -import { +import type {VERSIONS as fcmVersions, fcm} from './fcm'; +import type {VERSIONS as fcmdataVersions, fcmdata} from './fcmdata'; +import type {VERSIONS as fileVersions, file} from './file'; +import type {VERSIONS as firebaseVersions, firebase} from './firebase'; +import type { VERSIONS as firebaseappcheckVersions, firebaseappcheck, } from './firebaseappcheck'; -import { +import type { VERSIONS as firebaseappdistributionVersions, firebaseappdistribution, } from './firebaseappdistribution'; -import { +import type { VERSIONS as firebaseapphostingVersions, firebaseapphosting, } from './firebaseapphosting'; -import { +import type { VERSIONS as firebasedatabaseVersions, firebasedatabase, } from './firebasedatabase'; -import { +import type { VERSIONS as firebasedataconnectVersions, firebasedataconnect, } from './firebasedataconnect'; -import { +import type { VERSIONS as firebasedynamiclinksVersions, firebasedynamiclinks, } from './firebasedynamiclinks'; -import { +import type { VERSIONS as firebasehostingVersions, firebasehosting, } from './firebasehosting'; -import {VERSIONS as firebasemlVersions, firebaseml} from './firebaseml'; -import { +import type {VERSIONS as firebasemlVersions, firebaseml} from './firebaseml'; +import type { VERSIONS as firebaserulesVersions, firebaserules, } from './firebaserules'; -import { +import type { VERSIONS as firebasestorageVersions, firebasestorage, } from './firebasestorage'; -import {VERSIONS as firestoreVersions, firestore} from './firestore'; -import {VERSIONS as fitnessVersions, fitness} from './fitness'; -import {VERSIONS as formsVersions, forms} from './forms'; -import {VERSIONS as gamesVersions, games} from './games'; -import { +import type {VERSIONS as firestoreVersions, firestore} from './firestore'; +import type {VERSIONS as fitnessVersions, fitness} from './fitness'; +import type {VERSIONS as formsVersions, forms} from './forms'; +import type {VERSIONS as gamesVersions, games} from './games'; +import type { VERSIONS as gamesConfigurationVersions, gamesConfiguration, } from './gamesConfiguration'; -import { +import type { + VERSIONS as gameservicesVersions, + gameservices, +} from './gameservices'; +import type { VERSIONS as gamesManagementVersions, gamesManagement, } from './gamesManagement'; -import {VERSIONS as gameservicesVersions, gameservices} from './gameservices'; -import {VERSIONS as genomicsVersions, genomics} from './genomics'; -import {VERSIONS as gkebackupVersions, gkebackup} from './gkebackup'; -import {VERSIONS as gkehubVersions, gkehub} from './gkehub'; -import {VERSIONS as gkeonpremVersions, gkeonprem} from './gkeonprem'; -import {VERSIONS as gmailVersions, gmail} from './gmail'; -import { +import type {VERSIONS as genomicsVersions, genomics} from './genomics'; +import type {VERSIONS as gkebackupVersions, gkebackup} from './gkebackup'; +import type {VERSIONS as gkehubVersions, gkehub} from './gkehub'; +import type {VERSIONS as gkeonpremVersions, gkeonprem} from './gkeonprem'; +import type {VERSIONS as gmailVersions, gmail} from './gmail'; +import type { VERSIONS as gmailpostmastertoolsVersions, gmailpostmastertools, } from './gmailpostmastertools'; -import { +import type { VERSIONS as groupsmigrationVersions, groupsmigration, } from './groupsmigration'; -import { +import type { VERSIONS as groupssettingsVersions, groupssettings, } from './groupssettings'; -import {VERSIONS as healthcareVersions, healthcare} from './healthcare'; -import {VERSIONS as homegraphVersions, homegraph} from './homegraph'; -import {VERSIONS as iamVersions, iam} from './iam'; -import { +import type {VERSIONS as healthcareVersions, healthcare} from './healthcare'; +import type {VERSIONS as homegraphVersions, homegraph} from './homegraph'; +import type {VERSIONS as iamVersions, iam} from './iam'; +import type { VERSIONS as iamcredentialsVersions, iamcredentials, } from './iamcredentials'; -import {VERSIONS as iapVersions, iap} from './iap'; -import {VERSIONS as ideahubVersions, ideahub} from './ideahub'; -import { +import type {VERSIONS as iapVersions, iap} from './iap'; +import type {VERSIONS as ideahubVersions, ideahub} from './ideahub'; +import type { VERSIONS as identitytoolkitVersions, identitytoolkit, } from './identitytoolkit'; -import {VERSIONS as idsVersions, ids} from './ids'; -import {VERSIONS as indexingVersions, indexing} from './indexing'; -import {VERSIONS as integrationsVersions, integrations} from './integrations'; -import {VERSIONS as jobsVersions, jobs} from './jobs'; -import {VERSIONS as keepVersions, keep} from './keep'; -import {VERSIONS as kgsearchVersions, kgsearch} from './kgsearch'; -import {VERSIONS as kmsinventoryVersions, kmsinventory} from './kmsinventory'; -import {VERSIONS as languageVersions, language} from './language'; -import {VERSIONS as libraryagentVersions, libraryagent} from './libraryagent'; -import {VERSIONS as licensingVersions, licensing} from './licensing'; -import {VERSIONS as lifesciencesVersions, lifesciences} from './lifesciences'; -import { +import type {VERSIONS as idsVersions, ids} from './ids'; +import type {VERSIONS as indexingVersions, indexing} from './indexing'; +import type { + VERSIONS as integrationsVersions, + integrations, +} from './integrations'; +import type {VERSIONS as jobsVersions, jobs} from './jobs'; +import type {VERSIONS as keepVersions, keep} from './keep'; +import type {VERSIONS as kgsearchVersions, kgsearch} from './kgsearch'; +import type { + VERSIONS as kmsinventoryVersions, + kmsinventory, +} from './kmsinventory'; +import type {VERSIONS as languageVersions, language} from './language'; +import type { + VERSIONS as libraryagentVersions, + libraryagent, +} from './libraryagent'; +import type {VERSIONS as licensingVersions, licensing} from './licensing'; +import type { + VERSIONS as lifesciencesVersions, + lifesciences, +} from './lifesciences'; +import type { VERSIONS as localservicesVersions, localservices, } from './localservices'; -import {VERSIONS as loggingVersions, logging} from './logging'; -import {VERSIONS as lookerVersions, looker} from './looker'; -import { +import type {VERSIONS as loggingVersions, logging} from './logging'; +import type {VERSIONS as lookerVersions, looker} from './looker'; +import type { VERSIONS as managedidentitiesVersions, managedidentities, } from './managedidentities'; -import {VERSIONS as managedkafkaVersions, managedkafka} from './managedkafka'; -import { +import type { + VERSIONS as managedkafkaVersions, + managedkafka, +} from './managedkafka'; +import type { VERSIONS as manufacturersVersions, manufacturers, } from './manufacturers'; -import { +import type { VERSIONS as marketingplatformadminVersions, marketingplatformadmin, } from './marketingplatformadmin'; -import {VERSIONS as meetVersions, meet} from './meet'; -import {VERSIONS as memcacheVersions, memcache} from './memcache'; -import {VERSIONS as merchantapiVersions, merchantapi} from './merchantapi'; -import {VERSIONS as metastoreVersions, metastore} from './metastore'; -import { +import type {VERSIONS as meetVersions, meet} from './meet'; +import type {VERSIONS as memcacheVersions, memcache} from './memcache'; +import type {VERSIONS as merchantapiVersions, merchantapi} from './merchantapi'; +import type {VERSIONS as metastoreVersions, metastore} from './metastore'; +import type { VERSIONS as migrationcenterVersions, migrationcenter, } from './migrationcenter'; -import {VERSIONS as mlVersions, ml} from './ml'; -import {VERSIONS as monitoringVersions, monitoring} from './monitoring'; -import { +import type {VERSIONS as mlVersions, ml} from './ml'; +import type {VERSIONS as monitoringVersions, monitoring} from './monitoring'; +import type { VERSIONS as mybusinessaccountmanagementVersions, mybusinessaccountmanagement, } from './mybusinessaccountmanagement'; -import { +import type { VERSIONS as mybusinessbusinesscallsVersions, mybusinessbusinesscalls, } from './mybusinessbusinesscalls'; -import { +import type { VERSIONS as mybusinessbusinessinformationVersions, mybusinessbusinessinformation, } from './mybusinessbusinessinformation'; -import { +import type { VERSIONS as mybusinesslodgingVersions, mybusinesslodging, } from './mybusinesslodging'; -import { +import type { VERSIONS as mybusinessnotificationsVersions, mybusinessnotifications, } from './mybusinessnotifications'; -import { +import type { VERSIONS as mybusinessplaceactionsVersions, mybusinessplaceactions, } from './mybusinessplaceactions'; -import { +import type { VERSIONS as mybusinessqandaVersions, mybusinessqanda, } from './mybusinessqanda'; -import { +import type { VERSIONS as mybusinessverificationsVersions, mybusinessverifications, } from './mybusinessverifications'; -import {VERSIONS as netappVersions, netapp} from './netapp'; -import { +import type {VERSIONS as netappVersions, netapp} from './netapp'; +import type { VERSIONS as networkconnectivityVersions, networkconnectivity, } from './networkconnectivity'; -import { +import type { VERSIONS as networkmanagementVersions, networkmanagement, } from './networkmanagement'; -import { +import type { VERSIONS as networksecurityVersions, networksecurity, } from './networksecurity'; -import { +import type { VERSIONS as networkservicesVersions, networkservices, } from './networkservices'; -import {VERSIONS as notebooksVersions, notebooks} from './notebooks'; -import {VERSIONS as oauth2Versions, oauth2} from './oauth2'; -import { +import type {VERSIONS as notebooksVersions, notebooks} from './notebooks'; +import type {VERSIONS as oauth2Versions, oauth2} from './oauth2'; +import type { VERSIONS as observabilityVersions, observability, } from './observability'; -import { +import type { VERSIONS as ondemandscanningVersions, ondemandscanning, } from './ondemandscanning'; -import { +import type { VERSIONS as oracledatabaseVersions, oracledatabase, } from './oracledatabase'; -import {VERSIONS as orgpolicyVersions, orgpolicy} from './orgpolicy'; -import {VERSIONS as osconfigVersions, osconfig} from './osconfig'; -import {VERSIONS as osloginVersions, oslogin} from './oslogin'; -import { +import type {VERSIONS as orgpolicyVersions, orgpolicy} from './orgpolicy'; +import type {VERSIONS as osconfigVersions, osconfig} from './osconfig'; +import type {VERSIONS as osloginVersions, oslogin} from './oslogin'; +import type { VERSIONS as pagespeedonlineVersions, pagespeedonline, } from './pagespeedonline'; -import { +import type { VERSIONS as parallelstoreVersions, parallelstore, } from './parallelstore'; -import { +import type { VERSIONS as parametermanagerVersions, parametermanager, } from './parametermanager'; -import { +import type { VERSIONS as paymentsresellersubscriptionVersions, paymentsresellersubscription, } from './paymentsresellersubscription'; -import {VERSIONS as peopleVersions, people} from './people'; -import {VERSIONS as placesVersions, places} from './places'; -import { +import type {VERSIONS as peopleVersions, people} from './people'; +import type {VERSIONS as placesVersions, places} from './places'; +import type { VERSIONS as playablelocationsVersions, playablelocations, } from './playablelocations'; -import { +import type { VERSIONS as playcustomappVersions, playcustomapp, } from './playcustomapp'; -import { +import type { VERSIONS as playdeveloperreportingVersions, playdeveloperreporting, } from './playdeveloperreporting'; -import {VERSIONS as playgroupingVersions, playgrouping} from './playgrouping'; -import { +import type { + VERSIONS as playgroupingVersions, + playgrouping, +} from './playgrouping'; +import type { VERSIONS as playintegrityVersions, playintegrity, } from './playintegrity'; -import {VERSIONS as plusVersions, plus} from './plus'; -import { +import type {VERSIONS as plusVersions, plus} from './plus'; +import type { VERSIONS as policyanalyzerVersions, policyanalyzer, } from './policyanalyzer'; -import { +import type { VERSIONS as policysimulatorVersions, policysimulator, } from './policysimulator'; -import { +import type { VERSIONS as policytroubleshooterVersions, policytroubleshooter, } from './policytroubleshooter'; -import {VERSIONS as pollenVersions, pollen} from './pollen'; -import {VERSIONS as polyVersions, poly} from './poly'; -import {VERSIONS as privatecaVersions, privateca} from './privateca'; -import { +import type {VERSIONS as pollenVersions, pollen} from './pollen'; +import type {VERSIONS as polyVersions, poly} from './poly'; +import type {VERSIONS as privatecaVersions, privateca} from './privateca'; +import type { VERSIONS as prod_tt_sasportalVersions, prod_tt_sasportal, } from './prod_tt_sasportal'; -import {VERSIONS as publiccaVersions, publicca} from './publicca'; -import {VERSIONS as pubsubVersions, pubsub} from './pubsub'; -import {VERSIONS as pubsubliteVersions, pubsublite} from './pubsublite'; -import { +import type {VERSIONS as publiccaVersions, publicca} from './publicca'; +import type {VERSIONS as pubsubVersions, pubsub} from './pubsub'; +import type {VERSIONS as pubsubliteVersions, pubsublite} from './pubsublite'; +import type { VERSIONS as rapidmigrationassessmentVersions, rapidmigrationassessment, } from './rapidmigrationassessment'; -import { +import type { VERSIONS as readerrevenuesubscriptionlinkingVersions, readerrevenuesubscriptionlinking, } from './readerrevenuesubscriptionlinking'; -import { +import type { VERSIONS as realtimebiddingVersions, realtimebidding, } from './realtimebidding'; -import { +import type { VERSIONS as recaptchaenterpriseVersions, recaptchaenterprise, } from './recaptchaenterprise'; -import { +import type { VERSIONS as recommendationengineVersions, recommendationengine, } from './recommendationengine'; -import {VERSIONS as recommenderVersions, recommender} from './recommender'; -import {VERSIONS as redisVersions, redis} from './redis'; -import { +import type {VERSIONS as recommenderVersions, recommender} from './recommender'; +import type {VERSIONS as redisVersions, redis} from './redis'; +import type { VERSIONS as remotebuildexecutionVersions, remotebuildexecution, } from './remotebuildexecution'; -import {VERSIONS as resellerVersions, reseller} from './reseller'; -import { +import type {VERSIONS as resellerVersions, reseller} from './reseller'; +import type { VERSIONS as resourcesettingsVersions, resourcesettings, } from './resourcesettings'; -import {VERSIONS as retailVersions, retail} from './retail'; -import {VERSIONS as runVersions, run} from './run'; -import { +import type {VERSIONS as retailVersions, retail} from './retail'; +import type {VERSIONS as runVersions, run} from './run'; +import type { VERSIONS as runtimeconfigVersions, runtimeconfig, } from './runtimeconfig'; -import { +import type { VERSIONS as saasservicemgmtVersions, saasservicemgmt, } from './saasservicemgmt'; -import {VERSIONS as safebrowsingVersions, safebrowsing} from './safebrowsing'; -import {VERSIONS as sasportalVersions, sasportal} from './sasportal'; -import {VERSIONS as scriptVersions, script} from './script'; -import {VERSIONS as searchads360Versions, searchads360} from './searchads360'; -import { +import type { + VERSIONS as safebrowsingVersions, + safebrowsing, +} from './safebrowsing'; +import type {VERSIONS as sasportalVersions, sasportal} from './sasportal'; +import type {VERSIONS as scriptVersions, script} from './script'; +import type { + VERSIONS as searchads360Versions, + searchads360, +} from './searchads360'; +import type { VERSIONS as searchconsoleVersions, searchconsole, } from './searchconsole'; -import { +import type { VERSIONS as secretmanagerVersions, secretmanager, } from './secretmanager'; -import { +import type { VERSIONS as securesourcemanagerVersions, securesourcemanager, } from './securesourcemanager'; -import { +import type { VERSIONS as securitycenterVersions, securitycenter, } from './securitycenter'; -import { +import type { VERSIONS as securitypostureVersions, securityposture, } from './securityposture'; -import { +import type { VERSIONS as serviceconsumermanagementVersions, serviceconsumermanagement, } from './serviceconsumermanagement'; -import { +import type { VERSIONS as servicecontrolVersions, servicecontrol, } from './servicecontrol'; -import { +import type { VERSIONS as servicedirectoryVersions, servicedirectory, } from './servicedirectory'; -import { +import type { VERSIONS as servicemanagementVersions, servicemanagement, } from './servicemanagement'; -import { +import type { VERSIONS as servicenetworkingVersions, servicenetworking, } from './servicenetworking'; -import {VERSIONS as serviceusageVersions, serviceusage} from './serviceusage'; -import {VERSIONS as sheetsVersions, sheets} from './sheets'; -import { +import type { + VERSIONS as serviceusageVersions, + serviceusage, +} from './serviceusage'; +import type {VERSIONS as sheetsVersions, sheets} from './sheets'; +import type { VERSIONS as siteVerificationVersions, siteVerification, } from './siteVerification'; -import {VERSIONS as slidesVersions, slides} from './slides'; -import { +import type {VERSIONS as slidesVersions, slides} from './slides'; +import type { VERSIONS as smartdevicemanagementVersions, smartdevicemanagement, } from './smartdevicemanagement'; -import {VERSIONS as solarVersions, solar} from './solar'; -import {VERSIONS as sourcerepoVersions, sourcerepo} from './sourcerepo'; -import {VERSIONS as spannerVersions, spanner} from './spanner'; -import {VERSIONS as speechVersions, speech} from './speech'; -import {VERSIONS as sqlVersions, sql} from './sql'; -import {VERSIONS as sqladminVersions, sqladmin} from './sqladmin'; -import {VERSIONS as storageVersions, storage} from './storage'; -import { +import type {VERSIONS as solarVersions, solar} from './solar'; +import type {VERSIONS as sourcerepoVersions, sourcerepo} from './sourcerepo'; +import type {VERSIONS as spannerVersions, spanner} from './spanner'; +import type {VERSIONS as speechVersions, speech} from './speech'; +import type {VERSIONS as sqlVersions, sql} from './sql'; +import type {VERSIONS as sqladminVersions, sqladmin} from './sqladmin'; +import type {VERSIONS as storageVersions, storage} from './storage'; +import type { VERSIONS as storagebatchoperationsVersions, storagebatchoperations, } from './storagebatchoperations'; -import { +import type { VERSIONS as storagetransferVersions, storagetransfer, } from './storagetransfer'; -import { +import type { VERSIONS as streetviewpublishVersions, streetviewpublish, } from './streetviewpublish'; -import {VERSIONS as stsVersions, sts} from './sts'; -import {VERSIONS as tagmanagerVersions, tagmanager} from './tagmanager'; -import {VERSIONS as tasksVersions, tasks} from './tasks'; -import {VERSIONS as testingVersions, testing} from './testing'; -import {VERSIONS as texttospeechVersions, texttospeech} from './texttospeech'; -import {VERSIONS as toolresultsVersions, toolresults} from './toolresults'; -import {VERSIONS as tpuVersions, tpu} from './tpu'; -import { +import type {VERSIONS as stsVersions, sts} from './sts'; +import type {VERSIONS as tagmanagerVersions, tagmanager} from './tagmanager'; +import type {VERSIONS as tasksVersions, tasks} from './tasks'; +import type {VERSIONS as testingVersions, testing} from './testing'; +import type { + VERSIONS as texttospeechVersions, + texttospeech, +} from './texttospeech'; +import type {VERSIONS as toolresultsVersions, toolresults} from './toolresults'; +import type {VERSIONS as tpuVersions, tpu} from './tpu'; +import type { VERSIONS as trafficdirectorVersions, trafficdirector, } from './trafficdirector'; -import {VERSIONS as transcoderVersions, transcoder} from './transcoder'; -import {VERSIONS as translateVersions, translate} from './translate'; -import { +import type {VERSIONS as transcoderVersions, transcoder} from './transcoder'; +import type {VERSIONS as translateVersions, translate} from './translate'; +import type { VERSIONS as travelimpactmodelVersions, travelimpactmodel, } from './travelimpactmodel'; -import {VERSIONS as vaultVersions, vault} from './vault'; -import {VERSIONS as vectortileVersions, vectortile} from './vectortile'; -import { +import type {VERSIONS as vaultVersions, vault} from './vault'; +import type {VERSIONS as vectortileVersions, vectortile} from './vectortile'; +import type { VERSIONS as verifiedaccessVersions, verifiedaccess, } from './verifiedaccess'; -import { +import type { VERSIONS as versionhistoryVersions, versionhistory, } from './versionhistory'; -import { +import type { VERSIONS as videointelligenceVersions, videointelligence, } from './videointelligence'; -import {VERSIONS as visionVersions, vision} from './vision'; -import {VERSIONS as vmmigrationVersions, vmmigration} from './vmmigration'; -import {VERSIONS as vmwareengineVersions, vmwareengine} from './vmwareengine'; -import {VERSIONS as vpcaccessVersions, vpcaccess} from './vpcaccess'; -import { +import type {VERSIONS as visionVersions, vision} from './vision'; +import type {VERSIONS as vmmigrationVersions, vmmigration} from './vmmigration'; +import type { + VERSIONS as vmwareengineVersions, + vmwareengine, +} from './vmwareengine'; +import type {VERSIONS as vpcaccessVersions, vpcaccess} from './vpcaccess'; +import type { VERSIONS as walletobjectsVersions, walletobjects, } from './walletobjects'; -import {VERSIONS as webfontsVersions, webfonts} from './webfonts'; -import {VERSIONS as webmastersVersions, webmasters} from './webmasters'; -import {VERSIONS as webriskVersions, webrisk} from './webrisk'; -import { +import type {VERSIONS as webfontsVersions, webfonts} from './webfonts'; +import type {VERSIONS as webmastersVersions, webmasters} from './webmasters'; +import type {VERSIONS as webriskVersions, webrisk} from './webrisk'; +import type { VERSIONS as websecurityscannerVersions, websecurityscanner, } from './websecurityscanner'; -import { +import type { VERSIONS as workflowexecutionsVersions, workflowexecutions, } from './workflowexecutions'; -import {VERSIONS as workflowsVersions, workflows} from './workflows'; -import { +import type {VERSIONS as workflowsVersions, workflows} from './workflows'; +import type { VERSIONS as workloadmanagerVersions, workloadmanager, } from './workloadmanager'; -import { +import type { VERSIONS as workspaceeventsVersions, workspaceevents, } from './workspaceevents'; -import {VERSIONS as workstationsVersions, workstations} from './workstations'; -import {VERSIONS as youtubeVersions, youtube} from './youtube'; -import { +import type { + VERSIONS as workstationsVersions, + workstations, +} from './workstations'; +import type {VERSIONS as youtubeVersions, youtube} from './youtube'; +import type { VERSIONS as youtubeAnalyticsVersions, youtubeAnalytics, } from './youtubeAnalytics'; -import { +import type { VERSIONS as youtubereportingVersions, youtubereporting, } from './youtubereporting'; @@ -775,643 +847,2554 @@ export interface APIList { } export const APIS: APIList = { - abusiveexperiencereport: abusiveexperiencereportVersions, - acceleratedmobilepageurl: acceleratedmobilepageurlVersions, - accessapproval: accessapprovalVersions, - accesscontextmanager: accesscontextmanagerVersions, - acmedns: acmednsVersions, - addressvalidation: addressvalidationVersions, - adexchangebuyer: adexchangebuyerVersions, - adexchangebuyer2: adexchangebuyer2Versions, - adexperiencereport: adexperiencereportVersions, - admin: adminVersions, - admob: admobVersions, - adsense: adsenseVersions, - adsensehost: adsensehostVersions, - adsenseplatform: adsenseplatformVersions, - advisorynotifications: advisorynotificationsVersions, - aiplatform: aiplatformVersions, - airquality: airqualityVersions, - alertcenter: alertcenterVersions, - alloydb: alloydbVersions, - analytics: analyticsVersions, - analyticsadmin: analyticsadminVersions, - analyticsdata: analyticsdataVersions, - analyticshub: analyticshubVersions, - analyticsreporting: analyticsreportingVersions, - androiddeviceprovisioning: androiddeviceprovisioningVersions, - androidenterprise: androidenterpriseVersions, - androidmanagement: androidmanagementVersions, - androidpublisher: androidpublisherVersions, - apigateway: apigatewayVersions, - apigeeregistry: apigeeregistryVersions, - apihub: apihubVersions, - apikeys: apikeysVersions, - apim: apimVersions, - appengine: appengineVersions, - apphub: apphubVersions, - appsactivity: appsactivityVersions, - area120tables: area120tablesVersions, - areainsights: areainsightsVersions, - artifactregistry: artifactregistryVersions, - assuredworkloads: assuredworkloadsVersions, - authorizedbuyersmarketplace: authorizedbuyersmarketplaceVersions, - backupdr: backupdrVersions, - baremetalsolution: baremetalsolutionVersions, - batch: batchVersions, - beyondcorp: beyondcorpVersions, - biglake: biglakeVersions, - bigquery: bigqueryVersions, - bigqueryconnection: bigqueryconnectionVersions, - bigquerydatapolicy: bigquerydatapolicyVersions, - bigquerydatatransfer: bigquerydatatransferVersions, - bigqueryreservation: bigqueryreservationVersions, - bigtableadmin: bigtableadminVersions, - billingbudgets: billingbudgetsVersions, - binaryauthorization: binaryauthorizationVersions, - blockchainnodeengine: blockchainnodeengineVersions, - blogger: bloggerVersions, - books: booksVersions, - businessprofileperformance: businessprofileperformanceVersions, - calendar: calendarVersions, - certificatemanager: certificatemanagerVersions, - chat: chatVersions, - checks: checksVersions, - chromemanagement: chromemanagementVersions, - chromepolicy: chromepolicyVersions, - chromeuxreport: chromeuxreportVersions, - chromewebstore: chromewebstoreVersions, - civicinfo: civicinfoVersions, - classroom: classroomVersions, - cloudasset: cloudassetVersions, - cloudbilling: cloudbillingVersions, - cloudbuild: cloudbuildVersions, - cloudchannel: cloudchannelVersions, - cloudcommerceprocurement: cloudcommerceprocurementVersions, - cloudcontrolspartner: cloudcontrolspartnerVersions, - clouddebugger: clouddebuggerVersions, - clouddeploy: clouddeployVersions, - clouderrorreporting: clouderrorreportingVersions, - cloudfunctions: cloudfunctionsVersions, - cloudidentity: cloudidentityVersions, - cloudiot: cloudiotVersions, - cloudkms: cloudkmsVersions, - cloudlocationfinder: cloudlocationfinderVersions, - cloudprofiler: cloudprofilerVersions, - cloudresourcemanager: cloudresourcemanagerVersions, - cloudscheduler: cloudschedulerVersions, - cloudsearch: cloudsearchVersions, - cloudshell: cloudshellVersions, - cloudsupport: cloudsupportVersions, - cloudtasks: cloudtasksVersions, - cloudtrace: cloudtraceVersions, - composer: composerVersions, - compute: computeVersions, - config: configVersions, - connectors: connectorsVersions, - contactcenteraiplatform: contactcenteraiplatformVersions, - contactcenterinsights: contactcenterinsightsVersions, - container: containerVersions, - containeranalysis: containeranalysisVersions, - content: contentVersions, - contentwarehouse: contentwarehouseVersions, - css: cssVersions, - customsearch: customsearchVersions, - datacatalog: datacatalogVersions, - dataflow: dataflowVersions, - dataform: dataformVersions, - datafusion: datafusionVersions, - datalabeling: datalabelingVersions, - datalineage: datalineageVersions, - datamanager: datamanagerVersions, - datamigration: datamigrationVersions, - datapipelines: datapipelinesVersions, - dataplex: dataplexVersions, - dataportability: dataportabilityVersions, - dataproc: dataprocVersions, - datastore: datastoreVersions, - datastream: datastreamVersions, - deploymentmanager: deploymentmanagerVersions, - developerconnect: developerconnectVersions, - dfareporting: dfareportingVersions, - dialogflow: dialogflowVersions, - digitalassetlinks: digitalassetlinksVersions, - discovery: discoveryVersions, - discoveryengine: discoveryengineVersions, - displayvideo: displayvideoVersions, - dlp: dlpVersions, - dns: dnsVersions, - docs: docsVersions, - documentai: documentaiVersions, - domains: domainsVersions, - domainsrdap: domainsrdapVersions, - doubleclickbidmanager: doubleclickbidmanagerVersions, - doubleclicksearch: doubleclicksearchVersions, - drive: driveVersions, - driveactivity: driveactivityVersions, - drivelabels: drivelabelsVersions, - essentialcontacts: essentialcontactsVersions, - eventarc: eventarcVersions, - factchecktools: factchecktoolsVersions, - fcm: fcmVersions, - fcmdata: fcmdataVersions, - file: fileVersions, - firebase: firebaseVersions, - firebaseappcheck: firebaseappcheckVersions, - firebaseappdistribution: firebaseappdistributionVersions, - firebaseapphosting: firebaseapphostingVersions, - firebasedatabase: firebasedatabaseVersions, - firebasedataconnect: firebasedataconnectVersions, - firebasedynamiclinks: firebasedynamiclinksVersions, - firebasehosting: firebasehostingVersions, - firebaseml: firebasemlVersions, - firebaserules: firebaserulesVersions, - firebasestorage: firebasestorageVersions, - firestore: firestoreVersions, - fitness: fitnessVersions, - forms: formsVersions, - games: gamesVersions, - gamesConfiguration: gamesConfigurationVersions, - gamesManagement: gamesManagementVersions, - gameservices: gameservicesVersions, - genomics: genomicsVersions, - gkebackup: gkebackupVersions, - gkehub: gkehubVersions, - gkeonprem: gkeonpremVersions, - gmail: gmailVersions, - gmailpostmastertools: gmailpostmastertoolsVersions, - groupsmigration: groupsmigrationVersions, - groupssettings: groupssettingsVersions, - healthcare: healthcareVersions, - homegraph: homegraphVersions, - iam: iamVersions, - iamcredentials: iamcredentialsVersions, - iap: iapVersions, - ideahub: ideahubVersions, - identitytoolkit: identitytoolkitVersions, - ids: idsVersions, - indexing: indexingVersions, - integrations: integrationsVersions, - jobs: jobsVersions, - keep: keepVersions, - kgsearch: kgsearchVersions, - kmsinventory: kmsinventoryVersions, - language: languageVersions, - libraryagent: libraryagentVersions, - licensing: licensingVersions, - lifesciences: lifesciencesVersions, - localservices: localservicesVersions, - logging: loggingVersions, - looker: lookerVersions, - managedidentities: managedidentitiesVersions, - managedkafka: managedkafkaVersions, - manufacturers: manufacturersVersions, - marketingplatformadmin: marketingplatformadminVersions, - meet: meetVersions, - memcache: memcacheVersions, - merchantapi: merchantapiVersions, - metastore: metastoreVersions, - migrationcenter: migrationcenterVersions, - ml: mlVersions, - monitoring: monitoringVersions, - mybusinessaccountmanagement: mybusinessaccountmanagementVersions, - mybusinessbusinesscalls: mybusinessbusinesscallsVersions, - mybusinessbusinessinformation: mybusinessbusinessinformationVersions, - mybusinesslodging: mybusinesslodgingVersions, - mybusinessnotifications: mybusinessnotificationsVersions, - mybusinessplaceactions: mybusinessplaceactionsVersions, - mybusinessqanda: mybusinessqandaVersions, - mybusinessverifications: mybusinessverificationsVersions, - netapp: netappVersions, - networkconnectivity: networkconnectivityVersions, - networkmanagement: networkmanagementVersions, - networksecurity: networksecurityVersions, - networkservices: networkservicesVersions, - notebooks: notebooksVersions, - oauth2: oauth2Versions, - observability: observabilityVersions, - ondemandscanning: ondemandscanningVersions, - oracledatabase: oracledatabaseVersions, - orgpolicy: orgpolicyVersions, - osconfig: osconfigVersions, - oslogin: osloginVersions, - pagespeedonline: pagespeedonlineVersions, - parallelstore: parallelstoreVersions, - parametermanager: parametermanagerVersions, - paymentsresellersubscription: paymentsresellersubscriptionVersions, - people: peopleVersions, - places: placesVersions, - playablelocations: playablelocationsVersions, - playcustomapp: playcustomappVersions, - playdeveloperreporting: playdeveloperreportingVersions, - playgrouping: playgroupingVersions, - playintegrity: playintegrityVersions, - plus: plusVersions, - policyanalyzer: policyanalyzerVersions, - policysimulator: policysimulatorVersions, - policytroubleshooter: policytroubleshooterVersions, - pollen: pollenVersions, - poly: polyVersions, - privateca: privatecaVersions, - prod_tt_sasportal: prod_tt_sasportalVersions, - publicca: publiccaVersions, - pubsub: pubsubVersions, - pubsublite: pubsubliteVersions, - rapidmigrationassessment: rapidmigrationassessmentVersions, - readerrevenuesubscriptionlinking: readerrevenuesubscriptionlinkingVersions, - realtimebidding: realtimebiddingVersions, - recaptchaenterprise: recaptchaenterpriseVersions, - recommendationengine: recommendationengineVersions, - recommender: recommenderVersions, - redis: redisVersions, - remotebuildexecution: remotebuildexecutionVersions, - reseller: resellerVersions, - resourcesettings: resourcesettingsVersions, - retail: retailVersions, - run: runVersions, - runtimeconfig: runtimeconfigVersions, - saasservicemgmt: saasservicemgmtVersions, - safebrowsing: safebrowsingVersions, - sasportal: sasportalVersions, - script: scriptVersions, - searchads360: searchads360Versions, - searchconsole: searchconsoleVersions, - secretmanager: secretmanagerVersions, - securesourcemanager: securesourcemanagerVersions, - securitycenter: securitycenterVersions, - securityposture: securitypostureVersions, - serviceconsumermanagement: serviceconsumermanagementVersions, - servicecontrol: servicecontrolVersions, - servicedirectory: servicedirectoryVersions, - servicemanagement: servicemanagementVersions, - servicenetworking: servicenetworkingVersions, - serviceusage: serviceusageVersions, - sheets: sheetsVersions, - siteVerification: siteVerificationVersions, - slides: slidesVersions, - smartdevicemanagement: smartdevicemanagementVersions, - solar: solarVersions, - sourcerepo: sourcerepoVersions, - spanner: spannerVersions, - speech: speechVersions, - sql: sqlVersions, - sqladmin: sqladminVersions, - storage: storageVersions, - storagebatchoperations: storagebatchoperationsVersions, - storagetransfer: storagetransferVersions, - streetviewpublish: streetviewpublishVersions, - sts: stsVersions, - tagmanager: tagmanagerVersions, - tasks: tasksVersions, - testing: testingVersions, - texttospeech: texttospeechVersions, - toolresults: toolresultsVersions, - tpu: tpuVersions, - trafficdirector: trafficdirectorVersions, - transcoder: transcoderVersions, - translate: translateVersions, - travelimpactmodel: travelimpactmodelVersions, - vault: vaultVersions, - vectortile: vectortileVersions, - verifiedaccess: verifiedaccessVersions, - versionhistory: versionhistoryVersions, - videointelligence: videointelligenceVersions, - vision: visionVersions, - vmmigration: vmmigrationVersions, - vmwareengine: vmwareengineVersions, - vpcaccess: vpcaccessVersions, - walletobjects: walletobjectsVersions, - webfonts: webfontsVersions, - webmasters: webmastersVersions, - webrisk: webriskVersions, - websecurityscanner: websecurityscannerVersions, - workflowexecutions: workflowexecutionsVersions, - workflows: workflowsVersions, - workloadmanager: workloadmanagerVersions, - workspaceevents: workspaceeventsVersions, - workstations: workstationsVersions, - youtube: youtubeVersions, - youtubeAnalytics: youtubeAnalyticsVersions, - youtubereporting: youtubereportingVersions, + get abusiveexperiencereport() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./abusiveexperiencereport').VERSIONS; + }, + get acceleratedmobilepageurl() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./acceleratedmobilepageurl').VERSIONS; + }, + get accessapproval() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./accessapproval').VERSIONS; + }, + get accesscontextmanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./accesscontextmanager').VERSIONS; + }, + get acmedns() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./acmedns').VERSIONS; + }, + get addressvalidation() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./addressvalidation').VERSIONS; + }, + get adexchangebuyer() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adexchangebuyer').VERSIONS; + }, + get adexchangebuyer2() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adexchangebuyer2').VERSIONS; + }, + get adexperiencereport() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adexperiencereport').VERSIONS; + }, + get admin() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./admin').VERSIONS; + }, + get admob() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./admob').VERSIONS; + }, + get adsense() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adsense').VERSIONS; + }, + get adsensehost() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adsensehost').VERSIONS; + }, + get adsenseplatform() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adsenseplatform').VERSIONS; + }, + get advisorynotifications() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./advisorynotifications').VERSIONS; + }, + get aiplatform() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./aiplatform').VERSIONS; + }, + get airquality() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./airquality').VERSIONS; + }, + get alertcenter() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./alertcenter').VERSIONS; + }, + get alloydb() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./alloydb').VERSIONS; + }, + get analytics() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./analytics').VERSIONS; + }, + get analyticsadmin() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./analyticsadmin').VERSIONS; + }, + get analyticsdata() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./analyticsdata').VERSIONS; + }, + get analyticshub() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./analyticshub').VERSIONS; + }, + get analyticsreporting() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./analyticsreporting').VERSIONS; + }, + get androiddeviceprovisioning() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./androiddeviceprovisioning').VERSIONS; + }, + get androidenterprise() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./androidenterprise').VERSIONS; + }, + get androidmanagement() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./androidmanagement').VERSIONS; + }, + get androidpublisher() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./androidpublisher').VERSIONS; + }, + get apigateway() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apigateway').VERSIONS; + }, + get apigeeregistry() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apigeeregistry').VERSIONS; + }, + get apihub() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apihub').VERSIONS; + }, + get apikeys() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apikeys').VERSIONS; + }, + get apim() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apim').VERSIONS; + }, + get appengine() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./appengine').VERSIONS; + }, + get apphub() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apphub').VERSIONS; + }, + get appsactivity() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./appsactivity').VERSIONS; + }, + get area120tables() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./area120tables').VERSIONS; + }, + get areainsights() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./areainsights').VERSIONS; + }, + get artifactregistry() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./artifactregistry').VERSIONS; + }, + get assuredworkloads() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./assuredworkloads').VERSIONS; + }, + get authorizedbuyersmarketplace() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./authorizedbuyersmarketplace').VERSIONS; + }, + get backupdr() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./backupdr').VERSIONS; + }, + get baremetalsolution() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./baremetalsolution').VERSIONS; + }, + get batch() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./batch').VERSIONS; + }, + get beyondcorp() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./beyondcorp').VERSIONS; + }, + get biglake() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./biglake').VERSIONS; + }, + get bigquery() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigquery').VERSIONS; + }, + get bigqueryconnection() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigqueryconnection').VERSIONS; + }, + get bigquerydatapolicy() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigquerydatapolicy').VERSIONS; + }, + get bigquerydatatransfer() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigquerydatatransfer').VERSIONS; + }, + get bigqueryreservation() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigqueryreservation').VERSIONS; + }, + get bigtableadmin() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigtableadmin').VERSIONS; + }, + get billingbudgets() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./billingbudgets').VERSIONS; + }, + get binaryauthorization() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./binaryauthorization').VERSIONS; + }, + get blockchainnodeengine() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./blockchainnodeengine').VERSIONS; + }, + get blogger() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./blogger').VERSIONS; + }, + get books() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./books').VERSIONS; + }, + get businessprofileperformance() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./businessprofileperformance').VERSIONS; + }, + get calendar() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./calendar').VERSIONS; + }, + get certificatemanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./certificatemanager').VERSIONS; + }, + get chat() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./chat').VERSIONS; + }, + get checks() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./checks').VERSIONS; + }, + get chromemanagement() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./chromemanagement').VERSIONS; + }, + get chromepolicy() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./chromepolicy').VERSIONS; + }, + get chromeuxreport() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./chromeuxreport').VERSIONS; + }, + get chromewebstore() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./chromewebstore').VERSIONS; + }, + get civicinfo() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./civicinfo').VERSIONS; + }, + get classroom() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./classroom').VERSIONS; + }, + get cloudasset() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudasset').VERSIONS; + }, + get cloudbilling() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudbilling').VERSIONS; + }, + get cloudbuild() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudbuild').VERSIONS; + }, + get cloudchannel() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudchannel').VERSIONS; + }, + get cloudcommerceprocurement() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudcommerceprocurement').VERSIONS; + }, + get cloudcontrolspartner() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudcontrolspartner').VERSIONS; + }, + get clouddebugger() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./clouddebugger').VERSIONS; + }, + get clouddeploy() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./clouddeploy').VERSIONS; + }, + get clouderrorreporting() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./clouderrorreporting').VERSIONS; + }, + get cloudfunctions() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudfunctions').VERSIONS; + }, + get cloudidentity() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudidentity').VERSIONS; + }, + get cloudiot() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudiot').VERSIONS; + }, + get cloudkms() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudkms').VERSIONS; + }, + get cloudlocationfinder() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudlocationfinder').VERSIONS; + }, + get cloudprofiler() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudprofiler').VERSIONS; + }, + get cloudresourcemanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudresourcemanager').VERSIONS; + }, + get cloudscheduler() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudscheduler').VERSIONS; + }, + get cloudsearch() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudsearch').VERSIONS; + }, + get cloudshell() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudshell').VERSIONS; + }, + get cloudsupport() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudsupport').VERSIONS; + }, + get cloudtasks() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudtasks').VERSIONS; + }, + get cloudtrace() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudtrace').VERSIONS; + }, + get composer() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./composer').VERSIONS; + }, + get compute() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./compute').VERSIONS; + }, + get config() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./config').VERSIONS; + }, + get connectors() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./connectors').VERSIONS; + }, + get contactcenteraiplatform() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./contactcenteraiplatform').VERSIONS; + }, + get contactcenterinsights() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./contactcenterinsights').VERSIONS; + }, + get container() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./container').VERSIONS; + }, + get containeranalysis() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./containeranalysis').VERSIONS; + }, + get content() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./content').VERSIONS; + }, + get contentwarehouse() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./contentwarehouse').VERSIONS; + }, + get css() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./css').VERSIONS; + }, + get customsearch() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./customsearch').VERSIONS; + }, + get datacatalog() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datacatalog').VERSIONS; + }, + get dataflow() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dataflow').VERSIONS; + }, + get dataform() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dataform').VERSIONS; + }, + get datafusion() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datafusion').VERSIONS; + }, + get datalabeling() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datalabeling').VERSIONS; + }, + get datalineage() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datalineage').VERSIONS; + }, + get datamanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datamanager').VERSIONS; + }, + get datamigration() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datamigration').VERSIONS; + }, + get datapipelines() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datapipelines').VERSIONS; + }, + get dataplex() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dataplex').VERSIONS; + }, + get dataportability() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dataportability').VERSIONS; + }, + get dataproc() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dataproc').VERSIONS; + }, + get datastore() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datastore').VERSIONS; + }, + get datastream() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datastream').VERSIONS; + }, + get deploymentmanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./deploymentmanager').VERSIONS; + }, + get developerconnect() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./developerconnect').VERSIONS; + }, + get dfareporting() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dfareporting').VERSIONS; + }, + get dialogflow() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dialogflow').VERSIONS; + }, + get digitalassetlinks() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./digitalassetlinks').VERSIONS; + }, + get discovery() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./discovery').VERSIONS; + }, + get discoveryengine() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./discoveryengine').VERSIONS; + }, + get displayvideo() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./displayvideo').VERSIONS; + }, + get dlp() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dlp').VERSIONS; + }, + get dns() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dns').VERSIONS; + }, + get docs() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./docs').VERSIONS; + }, + get documentai() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./documentai').VERSIONS; + }, + get domains() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./domains').VERSIONS; + }, + get domainsrdap() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./domainsrdap').VERSIONS; + }, + get doubleclickbidmanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./doubleclickbidmanager').VERSIONS; + }, + get doubleclicksearch() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./doubleclicksearch').VERSIONS; + }, + get drive() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./drive').VERSIONS; + }, + get driveactivity() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./driveactivity').VERSIONS; + }, + get drivelabels() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./drivelabels').VERSIONS; + }, + get essentialcontacts() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./essentialcontacts').VERSIONS; + }, + get eventarc() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./eventarc').VERSIONS; + }, + get factchecktools() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./factchecktools').VERSIONS; + }, + get fcm() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./fcm').VERSIONS; + }, + get fcmdata() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./fcmdata').VERSIONS; + }, + get file() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./file').VERSIONS; + }, + get firebase() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebase').VERSIONS; + }, + get firebaseappcheck() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebaseappcheck').VERSIONS; + }, + get firebaseappdistribution() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebaseappdistribution').VERSIONS; + }, + get firebaseapphosting() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebaseapphosting').VERSIONS; + }, + get firebasedatabase() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebasedatabase').VERSIONS; + }, + get firebasedataconnect() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebasedataconnect').VERSIONS; + }, + get firebasedynamiclinks() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebasedynamiclinks').VERSIONS; + }, + get firebasehosting() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebasehosting').VERSIONS; + }, + get firebaseml() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebaseml').VERSIONS; + }, + get firebaserules() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebaserules').VERSIONS; + }, + get firebasestorage() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebasestorage').VERSIONS; + }, + get firestore() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firestore').VERSIONS; + }, + get fitness() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./fitness').VERSIONS; + }, + get forms() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./forms').VERSIONS; + }, + get games() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./games').VERSIONS; + }, + get gamesConfiguration() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gamesConfiguration').VERSIONS; + }, + get gameservices() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gameservices').VERSIONS; + }, + get gamesManagement() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gamesManagement').VERSIONS; + }, + get genomics() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./genomics').VERSIONS; + }, + get gkebackup() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gkebackup').VERSIONS; + }, + get gkehub() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gkehub').VERSIONS; + }, + get gkeonprem() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gkeonprem').VERSIONS; + }, + get gmail() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gmail').VERSIONS; + }, + get gmailpostmastertools() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gmailpostmastertools').VERSIONS; + }, + get groupsmigration() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./groupsmigration').VERSIONS; + }, + get groupssettings() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./groupssettings').VERSIONS; + }, + get healthcare() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./healthcare').VERSIONS; + }, + get homegraph() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./homegraph').VERSIONS; + }, + get iam() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./iam').VERSIONS; + }, + get iamcredentials() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./iamcredentials').VERSIONS; + }, + get iap() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./iap').VERSIONS; + }, + get ideahub() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./ideahub').VERSIONS; + }, + get identitytoolkit() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./identitytoolkit').VERSIONS; + }, + get ids() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./ids').VERSIONS; + }, + get indexing() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./indexing').VERSIONS; + }, + get integrations() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./integrations').VERSIONS; + }, + get jobs() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./jobs').VERSIONS; + }, + get keep() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./keep').VERSIONS; + }, + get kgsearch() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./kgsearch').VERSIONS; + }, + get kmsinventory() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./kmsinventory').VERSIONS; + }, + get language() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./language').VERSIONS; + }, + get libraryagent() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./libraryagent').VERSIONS; + }, + get licensing() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./licensing').VERSIONS; + }, + get lifesciences() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./lifesciences').VERSIONS; + }, + get localservices() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./localservices').VERSIONS; + }, + get logging() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./logging').VERSIONS; + }, + get looker() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./looker').VERSIONS; + }, + get managedidentities() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./managedidentities').VERSIONS; + }, + get managedkafka() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./managedkafka').VERSIONS; + }, + get manufacturers() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./manufacturers').VERSIONS; + }, + get marketingplatformadmin() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./marketingplatformadmin').VERSIONS; + }, + get meet() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./meet').VERSIONS; + }, + get memcache() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./memcache').VERSIONS; + }, + get merchantapi() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./merchantapi').VERSIONS; + }, + get metastore() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./metastore').VERSIONS; + }, + get migrationcenter() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./migrationcenter').VERSIONS; + }, + get ml() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./ml').VERSIONS; + }, + get monitoring() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./monitoring').VERSIONS; + }, + get mybusinessaccountmanagement() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessaccountmanagement').VERSIONS; + }, + get mybusinessbusinesscalls() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessbusinesscalls').VERSIONS; + }, + get mybusinessbusinessinformation() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessbusinessinformation').VERSIONS; + }, + get mybusinesslodging() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinesslodging').VERSIONS; + }, + get mybusinessnotifications() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessnotifications').VERSIONS; + }, + get mybusinessplaceactions() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessplaceactions').VERSIONS; + }, + get mybusinessqanda() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessqanda').VERSIONS; + }, + get mybusinessverifications() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessverifications').VERSIONS; + }, + get netapp() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./netapp').VERSIONS; + }, + get networkconnectivity() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./networkconnectivity').VERSIONS; + }, + get networkmanagement() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./networkmanagement').VERSIONS; + }, + get networksecurity() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./networksecurity').VERSIONS; + }, + get networkservices() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./networkservices').VERSIONS; + }, + get notebooks() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./notebooks').VERSIONS; + }, + get oauth2() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./oauth2').VERSIONS; + }, + get observability() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./observability').VERSIONS; + }, + get ondemandscanning() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./ondemandscanning').VERSIONS; + }, + get oracledatabase() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./oracledatabase').VERSIONS; + }, + get orgpolicy() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./orgpolicy').VERSIONS; + }, + get osconfig() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./osconfig').VERSIONS; + }, + get oslogin() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./oslogin').VERSIONS; + }, + get pagespeedonline() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./pagespeedonline').VERSIONS; + }, + get parallelstore() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./parallelstore').VERSIONS; + }, + get parametermanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./parametermanager').VERSIONS; + }, + get paymentsresellersubscription() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./paymentsresellersubscription').VERSIONS; + }, + get people() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./people').VERSIONS; + }, + get places() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./places').VERSIONS; + }, + get playablelocations() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./playablelocations').VERSIONS; + }, + get playcustomapp() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./playcustomapp').VERSIONS; + }, + get playdeveloperreporting() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./playdeveloperreporting').VERSIONS; + }, + get playgrouping() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./playgrouping').VERSIONS; + }, + get playintegrity() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./playintegrity').VERSIONS; + }, + get plus() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./plus').VERSIONS; + }, + get policyanalyzer() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./policyanalyzer').VERSIONS; + }, + get policysimulator() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./policysimulator').VERSIONS; + }, + get policytroubleshooter() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./policytroubleshooter').VERSIONS; + }, + get pollen() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./pollen').VERSIONS; + }, + get poly() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./poly').VERSIONS; + }, + get privateca() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./privateca').VERSIONS; + }, + get prod_tt_sasportal() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./prod_tt_sasportal').VERSIONS; + }, + get publicca() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./publicca').VERSIONS; + }, + get pubsub() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./pubsub').VERSIONS; + }, + get pubsublite() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./pubsublite').VERSIONS; + }, + get rapidmigrationassessment() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./rapidmigrationassessment').VERSIONS; + }, + get readerrevenuesubscriptionlinking() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./readerrevenuesubscriptionlinking').VERSIONS; + }, + get realtimebidding() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./realtimebidding').VERSIONS; + }, + get recaptchaenterprise() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./recaptchaenterprise').VERSIONS; + }, + get recommendationengine() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./recommendationengine').VERSIONS; + }, + get recommender() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./recommender').VERSIONS; + }, + get redis() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./redis').VERSIONS; + }, + get remotebuildexecution() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./remotebuildexecution').VERSIONS; + }, + get reseller() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./reseller').VERSIONS; + }, + get resourcesettings() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./resourcesettings').VERSIONS; + }, + get retail() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./retail').VERSIONS; + }, + get run() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./run').VERSIONS; + }, + get runtimeconfig() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./runtimeconfig').VERSIONS; + }, + get saasservicemgmt() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./saasservicemgmt').VERSIONS; + }, + get safebrowsing() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./safebrowsing').VERSIONS; + }, + get sasportal() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sasportal').VERSIONS; + }, + get script() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./script').VERSIONS; + }, + get searchads360() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./searchads360').VERSIONS; + }, + get searchconsole() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./searchconsole').VERSIONS; + }, + get secretmanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./secretmanager').VERSIONS; + }, + get securesourcemanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./securesourcemanager').VERSIONS; + }, + get securitycenter() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./securitycenter').VERSIONS; + }, + get securityposture() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./securityposture').VERSIONS; + }, + get serviceconsumermanagement() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./serviceconsumermanagement').VERSIONS; + }, + get servicecontrol() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./servicecontrol').VERSIONS; + }, + get servicedirectory() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./servicedirectory').VERSIONS; + }, + get servicemanagement() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./servicemanagement').VERSIONS; + }, + get servicenetworking() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./servicenetworking').VERSIONS; + }, + get serviceusage() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./serviceusage').VERSIONS; + }, + get sheets() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sheets').VERSIONS; + }, + get siteVerification() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./siteVerification').VERSIONS; + }, + get slides() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./slides').VERSIONS; + }, + get smartdevicemanagement() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./smartdevicemanagement').VERSIONS; + }, + get solar() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./solar').VERSIONS; + }, + get sourcerepo() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sourcerepo').VERSIONS; + }, + get spanner() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./spanner').VERSIONS; + }, + get speech() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./speech').VERSIONS; + }, + get sql() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sql').VERSIONS; + }, + get sqladmin() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sqladmin').VERSIONS; + }, + get storage() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./storage').VERSIONS; + }, + get storagebatchoperations() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./storagebatchoperations').VERSIONS; + }, + get storagetransfer() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./storagetransfer').VERSIONS; + }, + get streetviewpublish() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./streetviewpublish').VERSIONS; + }, + get sts() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sts').VERSIONS; + }, + get tagmanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./tagmanager').VERSIONS; + }, + get tasks() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./tasks').VERSIONS; + }, + get testing() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./testing').VERSIONS; + }, + get texttospeech() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./texttospeech').VERSIONS; + }, + get toolresults() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./toolresults').VERSIONS; + }, + get tpu() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./tpu').VERSIONS; + }, + get trafficdirector() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./trafficdirector').VERSIONS; + }, + get transcoder() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./transcoder').VERSIONS; + }, + get translate() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./translate').VERSIONS; + }, + get travelimpactmodel() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./travelimpactmodel').VERSIONS; + }, + get vault() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vault').VERSIONS; + }, + get vectortile() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vectortile').VERSIONS; + }, + get verifiedaccess() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./verifiedaccess').VERSIONS; + }, + get versionhistory() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./versionhistory').VERSIONS; + }, + get videointelligence() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./videointelligence').VERSIONS; + }, + get vision() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vision').VERSIONS; + }, + get vmmigration() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vmmigration').VERSIONS; + }, + get vmwareengine() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vmwareengine').VERSIONS; + }, + get vpcaccess() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vpcaccess').VERSIONS; + }, + get walletobjects() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./walletobjects').VERSIONS; + }, + get webfonts() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./webfonts').VERSIONS; + }, + get webmasters() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./webmasters').VERSIONS; + }, + get webrisk() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./webrisk').VERSIONS; + }, + get websecurityscanner() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./websecurityscanner').VERSIONS; + }, + get workflowexecutions() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./workflowexecutions').VERSIONS; + }, + get workflows() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./workflows').VERSIONS; + }, + get workloadmanager() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./workloadmanager').VERSIONS; + }, + get workspaceevents() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./workspaceevents').VERSIONS; + }, + get workstations() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./workstations').VERSIONS; + }, + get youtube() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./youtube').VERSIONS; + }, + get youtubeAnalytics() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./youtubeAnalytics').VERSIONS; + }, + get youtubereporting() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./youtubereporting').VERSIONS; + }, }; export class GeneratedAPIs { - abusiveexperiencereport = abusiveexperiencereport; - acceleratedmobilepageurl = acceleratedmobilepageurl; - accessapproval = accessapproval; - accesscontextmanager = accesscontextmanager; - acmedns = acmedns; - addressvalidation = addressvalidation; - adexchangebuyer = adexchangebuyer; - adexchangebuyer2 = adexchangebuyer2; - adexperiencereport = adexperiencereport; - admin = admin; - admob = admob; - adsense = adsense; - adsensehost = adsensehost; - adsenseplatform = adsenseplatform; - advisorynotifications = advisorynotifications; - aiplatform = aiplatform; - airquality = airquality; - alertcenter = alertcenter; - alloydb = alloydb; - analytics = analytics; - analyticsadmin = analyticsadmin; - analyticsdata = analyticsdata; - analyticshub = analyticshub; - analyticsreporting = analyticsreporting; - androiddeviceprovisioning = androiddeviceprovisioning; - androidenterprise = androidenterprise; - androidmanagement = androidmanagement; - androidpublisher = androidpublisher; - apigateway = apigateway; - apigeeregistry = apigeeregistry; - apihub = apihub; - apikeys = apikeys; - apim = apim; - appengine = appengine; - apphub = apphub; - appsactivity = appsactivity; - area120tables = area120tables; - areainsights = areainsights; - artifactregistry = artifactregistry; - assuredworkloads = assuredworkloads; - authorizedbuyersmarketplace = authorizedbuyersmarketplace; - backupdr = backupdr; - baremetalsolution = baremetalsolution; - batch = batch; - beyondcorp = beyondcorp; - biglake = biglake; - bigquery = bigquery; - bigqueryconnection = bigqueryconnection; - bigquerydatapolicy = bigquerydatapolicy; - bigquerydatatransfer = bigquerydatatransfer; - bigqueryreservation = bigqueryreservation; - bigtableadmin = bigtableadmin; - billingbudgets = billingbudgets; - binaryauthorization = binaryauthorization; - blockchainnodeengine = blockchainnodeengine; - blogger = blogger; - books = books; - businessprofileperformance = businessprofileperformance; - calendar = calendar; - certificatemanager = certificatemanager; - chat = chat; - checks = checks; - chromemanagement = chromemanagement; - chromepolicy = chromepolicy; - chromeuxreport = chromeuxreport; - chromewebstore = chromewebstore; - civicinfo = civicinfo; - classroom = classroom; - cloudasset = cloudasset; - cloudbilling = cloudbilling; - cloudbuild = cloudbuild; - cloudchannel = cloudchannel; - cloudcommerceprocurement = cloudcommerceprocurement; - cloudcontrolspartner = cloudcontrolspartner; - clouddebugger = clouddebugger; - clouddeploy = clouddeploy; - clouderrorreporting = clouderrorreporting; - cloudfunctions = cloudfunctions; - cloudidentity = cloudidentity; - cloudiot = cloudiot; - cloudkms = cloudkms; - cloudlocationfinder = cloudlocationfinder; - cloudprofiler = cloudprofiler; - cloudresourcemanager = cloudresourcemanager; - cloudscheduler = cloudscheduler; - cloudsearch = cloudsearch; - cloudshell = cloudshell; - cloudsupport = cloudsupport; - cloudtasks = cloudtasks; - cloudtrace = cloudtrace; - composer = composer; - compute = compute; - config = config; - connectors = connectors; - contactcenteraiplatform = contactcenteraiplatform; - contactcenterinsights = contactcenterinsights; - container = container; - containeranalysis = containeranalysis; - content = content; - contentwarehouse = contentwarehouse; - css = css; - customsearch = customsearch; - datacatalog = datacatalog; - dataflow = dataflow; - dataform = dataform; - datafusion = datafusion; - datalabeling = datalabeling; - datalineage = datalineage; - datamanager = datamanager; - datamigration = datamigration; - datapipelines = datapipelines; - dataplex = dataplex; - dataportability = dataportability; - dataproc = dataproc; - datastore = datastore; - datastream = datastream; - deploymentmanager = deploymentmanager; - developerconnect = developerconnect; - dfareporting = dfareporting; - dialogflow = dialogflow; - digitalassetlinks = digitalassetlinks; - discovery = discovery; - discoveryengine = discoveryengine; - displayvideo = displayvideo; - dlp = dlp; - dns = dns; - docs = docs; - documentai = documentai; - domains = domains; - domainsrdap = domainsrdap; - doubleclickbidmanager = doubleclickbidmanager; - doubleclicksearch = doubleclicksearch; - drive = drive; - driveactivity = driveactivity; - drivelabels = drivelabels; - essentialcontacts = essentialcontacts; - eventarc = eventarc; - factchecktools = factchecktools; - fcm = fcm; - fcmdata = fcmdata; - file = file; - firebase = firebase; - firebaseappcheck = firebaseappcheck; - firebaseappdistribution = firebaseappdistribution; - firebaseapphosting = firebaseapphosting; - firebasedatabase = firebasedatabase; - firebasedataconnect = firebasedataconnect; - firebasedynamiclinks = firebasedynamiclinks; - firebasehosting = firebasehosting; - firebaseml = firebaseml; - firebaserules = firebaserules; - firebasestorage = firebasestorage; - firestore = firestore; - fitness = fitness; - forms = forms; - games = games; - gamesConfiguration = gamesConfiguration; - gamesManagement = gamesManagement; - gameservices = gameservices; - genomics = genomics; - gkebackup = gkebackup; - gkehub = gkehub; - gkeonprem = gkeonprem; - gmail = gmail; - gmailpostmastertools = gmailpostmastertools; - groupsmigration = groupsmigration; - groupssettings = groupssettings; - healthcare = healthcare; - homegraph = homegraph; - iam = iam; - iamcredentials = iamcredentials; - iap = iap; - ideahub = ideahub; - identitytoolkit = identitytoolkit; - ids = ids; - indexing = indexing; - integrations = integrations; - jobs = jobs; - keep = keep; - kgsearch = kgsearch; - kmsinventory = kmsinventory; - language = language; - libraryagent = libraryagent; - licensing = licensing; - lifesciences = lifesciences; - localservices = localservices; - logging = logging; - looker = looker; - managedidentities = managedidentities; - managedkafka = managedkafka; - manufacturers = manufacturers; - marketingplatformadmin = marketingplatformadmin; - meet = meet; - memcache = memcache; - merchantapi = merchantapi; - metastore = metastore; - migrationcenter = migrationcenter; - ml = ml; - monitoring = monitoring; - mybusinessaccountmanagement = mybusinessaccountmanagement; - mybusinessbusinesscalls = mybusinessbusinesscalls; - mybusinessbusinessinformation = mybusinessbusinessinformation; - mybusinesslodging = mybusinesslodging; - mybusinessnotifications = mybusinessnotifications; - mybusinessplaceactions = mybusinessplaceactions; - mybusinessqanda = mybusinessqanda; - mybusinessverifications = mybusinessverifications; - netapp = netapp; - networkconnectivity = networkconnectivity; - networkmanagement = networkmanagement; - networksecurity = networksecurity; - networkservices = networkservices; - notebooks = notebooks; - oauth2 = oauth2; - observability = observability; - ondemandscanning = ondemandscanning; - oracledatabase = oracledatabase; - orgpolicy = orgpolicy; - osconfig = osconfig; - oslogin = oslogin; - pagespeedonline = pagespeedonline; - parallelstore = parallelstore; - parametermanager = parametermanager; - paymentsresellersubscription = paymentsresellersubscription; - people = people; - places = places; - playablelocations = playablelocations; - playcustomapp = playcustomapp; - playdeveloperreporting = playdeveloperreporting; - playgrouping = playgrouping; - playintegrity = playintegrity; - plus = plus; - policyanalyzer = policyanalyzer; - policysimulator = policysimulator; - policytroubleshooter = policytroubleshooter; - pollen = pollen; - poly = poly; - privateca = privateca; - prod_tt_sasportal = prod_tt_sasportal; - publicca = publicca; - pubsub = pubsub; - pubsublite = pubsublite; - rapidmigrationassessment = rapidmigrationassessment; - readerrevenuesubscriptionlinking = readerrevenuesubscriptionlinking; - realtimebidding = realtimebidding; - recaptchaenterprise = recaptchaenterprise; - recommendationengine = recommendationengine; - recommender = recommender; - redis = redis; - remotebuildexecution = remotebuildexecution; - reseller = reseller; - resourcesettings = resourcesettings; - retail = retail; - run = run; - runtimeconfig = runtimeconfig; - saasservicemgmt = saasservicemgmt; - safebrowsing = safebrowsing; - sasportal = sasportal; - script = script; - searchads360 = searchads360; - searchconsole = searchconsole; - secretmanager = secretmanager; - securesourcemanager = securesourcemanager; - securitycenter = securitycenter; - securityposture = securityposture; - serviceconsumermanagement = serviceconsumermanagement; - servicecontrol = servicecontrol; - servicedirectory = servicedirectory; - servicemanagement = servicemanagement; - servicenetworking = servicenetworking; - serviceusage = serviceusage; - sheets = sheets; - siteVerification = siteVerification; - slides = slides; - smartdevicemanagement = smartdevicemanagement; - solar = solar; - sourcerepo = sourcerepo; - spanner = spanner; - speech = speech; - sql = sql; - sqladmin = sqladmin; - storage = storage; - storagebatchoperations = storagebatchoperations; - storagetransfer = storagetransfer; - streetviewpublish = streetviewpublish; - sts = sts; - tagmanager = tagmanager; - tasks = tasks; - testing = testing; - texttospeech = texttospeech; - toolresults = toolresults; - tpu = tpu; - trafficdirector = trafficdirector; - transcoder = transcoder; - translate = translate; - travelimpactmodel = travelimpactmodel; - vault = vault; - vectortile = vectortile; - verifiedaccess = verifiedaccess; - versionhistory = versionhistory; - videointelligence = videointelligence; - vision = vision; - vmmigration = vmmigration; - vmwareengine = vmwareengine; - vpcaccess = vpcaccess; - walletobjects = walletobjects; - webfonts = webfonts; - webmasters = webmasters; - webrisk = webrisk; - websecurityscanner = websecurityscanner; - workflowexecutions = workflowexecutions; - workflows = workflows; - workloadmanager = workloadmanager; - workspaceevents = workspaceevents; - workstations = workstations; - youtube = youtube; - youtubeAnalytics = youtubeAnalytics; - youtubereporting = youtubereporting; + get abusiveexperiencereport(): typeof abusiveexperiencereport { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./abusiveexperiencereport').abusiveexperiencereport; + } + get acceleratedmobilepageurl(): typeof acceleratedmobilepageurl { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./acceleratedmobilepageurl').acceleratedmobilepageurl; + } + get accessapproval(): typeof accessapproval { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./accessapproval').accessapproval; + } + get accesscontextmanager(): typeof accesscontextmanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./accesscontextmanager').accesscontextmanager; + } + get acmedns(): typeof acmedns { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./acmedns').acmedns; + } + get addressvalidation(): typeof addressvalidation { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./addressvalidation').addressvalidation; + } + get adexchangebuyer(): typeof adexchangebuyer { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adexchangebuyer').adexchangebuyer; + } + get adexchangebuyer2(): typeof adexchangebuyer2 { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adexchangebuyer2').adexchangebuyer2; + } + get adexperiencereport(): typeof adexperiencereport { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adexperiencereport').adexperiencereport; + } + get admin(): typeof admin { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./admin').admin; + } + get admob(): typeof admob { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./admob').admob; + } + get adsense(): typeof adsense { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adsense').adsense; + } + get adsensehost(): typeof adsensehost { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adsensehost').adsensehost; + } + get adsenseplatform(): typeof adsenseplatform { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./adsenseplatform').adsenseplatform; + } + get advisorynotifications(): typeof advisorynotifications { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./advisorynotifications').advisorynotifications; + } + get aiplatform(): typeof aiplatform { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./aiplatform').aiplatform; + } + get airquality(): typeof airquality { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./airquality').airquality; + } + get alertcenter(): typeof alertcenter { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./alertcenter').alertcenter; + } + get alloydb(): typeof alloydb { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./alloydb').alloydb; + } + get analytics(): typeof analytics { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./analytics').analytics; + } + get analyticsadmin(): typeof analyticsadmin { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./analyticsadmin').analyticsadmin; + } + get analyticsdata(): typeof analyticsdata { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./analyticsdata').analyticsdata; + } + get analyticshub(): typeof analyticshub { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./analyticshub').analyticshub; + } + get analyticsreporting(): typeof analyticsreporting { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./analyticsreporting').analyticsreporting; + } + get androiddeviceprovisioning(): typeof androiddeviceprovisioning { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./androiddeviceprovisioning').androiddeviceprovisioning; + } + get androidenterprise(): typeof androidenterprise { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./androidenterprise').androidenterprise; + } + get androidmanagement(): typeof androidmanagement { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./androidmanagement').androidmanagement; + } + get androidpublisher(): typeof androidpublisher { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./androidpublisher').androidpublisher; + } + get apigateway(): typeof apigateway { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apigateway').apigateway; + } + get apigeeregistry(): typeof apigeeregistry { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apigeeregistry').apigeeregistry; + } + get apihub(): typeof apihub { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apihub').apihub; + } + get apikeys(): typeof apikeys { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apikeys').apikeys; + } + get apim(): typeof apim { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apim').apim; + } + get appengine(): typeof appengine { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./appengine').appengine; + } + get apphub(): typeof apphub { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./apphub').apphub; + } + get appsactivity(): typeof appsactivity { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./appsactivity').appsactivity; + } + get area120tables(): typeof area120tables { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./area120tables').area120tables; + } + get areainsights(): typeof areainsights { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./areainsights').areainsights; + } + get artifactregistry(): typeof artifactregistry { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./artifactregistry').artifactregistry; + } + get assuredworkloads(): typeof assuredworkloads { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./assuredworkloads').assuredworkloads; + } + get authorizedbuyersmarketplace(): typeof authorizedbuyersmarketplace { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./authorizedbuyersmarketplace').authorizedbuyersmarketplace; + } + get backupdr(): typeof backupdr { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./backupdr').backupdr; + } + get baremetalsolution(): typeof baremetalsolution { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./baremetalsolution').baremetalsolution; + } + get batch(): typeof batch { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./batch').batch; + } + get beyondcorp(): typeof beyondcorp { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./beyondcorp').beyondcorp; + } + get biglake(): typeof biglake { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./biglake').biglake; + } + get bigquery(): typeof bigquery { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigquery').bigquery; + } + get bigqueryconnection(): typeof bigqueryconnection { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigqueryconnection').bigqueryconnection; + } + get bigquerydatapolicy(): typeof bigquerydatapolicy { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigquerydatapolicy').bigquerydatapolicy; + } + get bigquerydatatransfer(): typeof bigquerydatatransfer { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigquerydatatransfer').bigquerydatatransfer; + } + get bigqueryreservation(): typeof bigqueryreservation { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigqueryreservation').bigqueryreservation; + } + get bigtableadmin(): typeof bigtableadmin { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./bigtableadmin').bigtableadmin; + } + get billingbudgets(): typeof billingbudgets { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./billingbudgets').billingbudgets; + } + get binaryauthorization(): typeof binaryauthorization { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./binaryauthorization').binaryauthorization; + } + get blockchainnodeengine(): typeof blockchainnodeengine { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./blockchainnodeengine').blockchainnodeengine; + } + get blogger(): typeof blogger { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./blogger').blogger; + } + get books(): typeof books { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./books').books; + } + get businessprofileperformance(): typeof businessprofileperformance { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./businessprofileperformance').businessprofileperformance; + } + get calendar(): typeof calendar { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./calendar').calendar; + } + get certificatemanager(): typeof certificatemanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./certificatemanager').certificatemanager; + } + get chat(): typeof chat { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./chat').chat; + } + get checks(): typeof checks { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./checks').checks; + } + get chromemanagement(): typeof chromemanagement { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./chromemanagement').chromemanagement; + } + get chromepolicy(): typeof chromepolicy { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./chromepolicy').chromepolicy; + } + get chromeuxreport(): typeof chromeuxreport { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./chromeuxreport').chromeuxreport; + } + get chromewebstore(): typeof chromewebstore { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./chromewebstore').chromewebstore; + } + get civicinfo(): typeof civicinfo { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./civicinfo').civicinfo; + } + get classroom(): typeof classroom { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./classroom').classroom; + } + get cloudasset(): typeof cloudasset { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudasset').cloudasset; + } + get cloudbilling(): typeof cloudbilling { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudbilling').cloudbilling; + } + get cloudbuild(): typeof cloudbuild { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudbuild').cloudbuild; + } + get cloudchannel(): typeof cloudchannel { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudchannel').cloudchannel; + } + get cloudcommerceprocurement(): typeof cloudcommerceprocurement { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudcommerceprocurement').cloudcommerceprocurement; + } + get cloudcontrolspartner(): typeof cloudcontrolspartner { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudcontrolspartner').cloudcontrolspartner; + } + get clouddebugger(): typeof clouddebugger { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./clouddebugger').clouddebugger; + } + get clouddeploy(): typeof clouddeploy { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./clouddeploy').clouddeploy; + } + get clouderrorreporting(): typeof clouderrorreporting { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./clouderrorreporting').clouderrorreporting; + } + get cloudfunctions(): typeof cloudfunctions { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudfunctions').cloudfunctions; + } + get cloudidentity(): typeof cloudidentity { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudidentity').cloudidentity; + } + get cloudiot(): typeof cloudiot { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudiot').cloudiot; + } + get cloudkms(): typeof cloudkms { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudkms').cloudkms; + } + get cloudlocationfinder(): typeof cloudlocationfinder { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudlocationfinder').cloudlocationfinder; + } + get cloudprofiler(): typeof cloudprofiler { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudprofiler').cloudprofiler; + } + get cloudresourcemanager(): typeof cloudresourcemanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudresourcemanager').cloudresourcemanager; + } + get cloudscheduler(): typeof cloudscheduler { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudscheduler').cloudscheduler; + } + get cloudsearch(): typeof cloudsearch { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudsearch').cloudsearch; + } + get cloudshell(): typeof cloudshell { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudshell').cloudshell; + } + get cloudsupport(): typeof cloudsupport { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudsupport').cloudsupport; + } + get cloudtasks(): typeof cloudtasks { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudtasks').cloudtasks; + } + get cloudtrace(): typeof cloudtrace { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./cloudtrace').cloudtrace; + } + get composer(): typeof composer { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./composer').composer; + } + get compute(): typeof compute { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./compute').compute; + } + get config(): typeof config { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./config').config; + } + get connectors(): typeof connectors { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./connectors').connectors; + } + get contactcenteraiplatform(): typeof contactcenteraiplatform { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./contactcenteraiplatform').contactcenteraiplatform; + } + get contactcenterinsights(): typeof contactcenterinsights { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./contactcenterinsights').contactcenterinsights; + } + get container(): typeof container { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./container').container; + } + get containeranalysis(): typeof containeranalysis { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./containeranalysis').containeranalysis; + } + get content(): typeof content { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./content').content; + } + get contentwarehouse(): typeof contentwarehouse { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./contentwarehouse').contentwarehouse; + } + get css(): typeof css { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./css').css; + } + get customsearch(): typeof customsearch { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./customsearch').customsearch; + } + get datacatalog(): typeof datacatalog { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datacatalog').datacatalog; + } + get dataflow(): typeof dataflow { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dataflow').dataflow; + } + get dataform(): typeof dataform { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dataform').dataform; + } + get datafusion(): typeof datafusion { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datafusion').datafusion; + } + get datalabeling(): typeof datalabeling { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datalabeling').datalabeling; + } + get datalineage(): typeof datalineage { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datalineage').datalineage; + } + get datamanager(): typeof datamanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datamanager').datamanager; + } + get datamigration(): typeof datamigration { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datamigration').datamigration; + } + get datapipelines(): typeof datapipelines { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datapipelines').datapipelines; + } + get dataplex(): typeof dataplex { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dataplex').dataplex; + } + get dataportability(): typeof dataportability { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dataportability').dataportability; + } + get dataproc(): typeof dataproc { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dataproc').dataproc; + } + get datastore(): typeof datastore { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datastore').datastore; + } + get datastream(): typeof datastream { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./datastream').datastream; + } + get deploymentmanager(): typeof deploymentmanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./deploymentmanager').deploymentmanager; + } + get developerconnect(): typeof developerconnect { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./developerconnect').developerconnect; + } + get dfareporting(): typeof dfareporting { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dfareporting').dfareporting; + } + get dialogflow(): typeof dialogflow { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dialogflow').dialogflow; + } + get digitalassetlinks(): typeof digitalassetlinks { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./digitalassetlinks').digitalassetlinks; + } + get discovery(): typeof discovery { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./discovery').discovery; + } + get discoveryengine(): typeof discoveryengine { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./discoveryengine').discoveryengine; + } + get displayvideo(): typeof displayvideo { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./displayvideo').displayvideo; + } + get dlp(): typeof dlp { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dlp').dlp; + } + get dns(): typeof dns { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./dns').dns; + } + get docs(): typeof docs { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./docs').docs; + } + get documentai(): typeof documentai { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./documentai').documentai; + } + get domains(): typeof domains { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./domains').domains; + } + get domainsrdap(): typeof domainsrdap { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./domainsrdap').domainsrdap; + } + get doubleclickbidmanager(): typeof doubleclickbidmanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./doubleclickbidmanager').doubleclickbidmanager; + } + get doubleclicksearch(): typeof doubleclicksearch { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./doubleclicksearch').doubleclicksearch; + } + get drive(): typeof drive { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./drive').drive; + } + get driveactivity(): typeof driveactivity { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./driveactivity').driveactivity; + } + get drivelabels(): typeof drivelabels { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./drivelabels').drivelabels; + } + get essentialcontacts(): typeof essentialcontacts { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./essentialcontacts').essentialcontacts; + } + get eventarc(): typeof eventarc { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./eventarc').eventarc; + } + get factchecktools(): typeof factchecktools { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./factchecktools').factchecktools; + } + get fcm(): typeof fcm { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./fcm').fcm; + } + get fcmdata(): typeof fcmdata { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./fcmdata').fcmdata; + } + get file(): typeof file { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./file').file; + } + get firebase(): typeof firebase { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebase').firebase; + } + get firebaseappcheck(): typeof firebaseappcheck { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebaseappcheck').firebaseappcheck; + } + get firebaseappdistribution(): typeof firebaseappdistribution { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebaseappdistribution').firebaseappdistribution; + } + get firebaseapphosting(): typeof firebaseapphosting { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebaseapphosting').firebaseapphosting; + } + get firebasedatabase(): typeof firebasedatabase { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebasedatabase').firebasedatabase; + } + get firebasedataconnect(): typeof firebasedataconnect { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebasedataconnect').firebasedataconnect; + } + get firebasedynamiclinks(): typeof firebasedynamiclinks { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebasedynamiclinks').firebasedynamiclinks; + } + get firebasehosting(): typeof firebasehosting { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebasehosting').firebasehosting; + } + get firebaseml(): typeof firebaseml { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebaseml').firebaseml; + } + get firebaserules(): typeof firebaserules { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebaserules').firebaserules; + } + get firebasestorage(): typeof firebasestorage { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firebasestorage').firebasestorage; + } + get firestore(): typeof firestore { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./firestore').firestore; + } + get fitness(): typeof fitness { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./fitness').fitness; + } + get forms(): typeof forms { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./forms').forms; + } + get games(): typeof games { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./games').games; + } + get gamesConfiguration(): typeof gamesConfiguration { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gamesConfiguration').gamesConfiguration; + } + get gameservices(): typeof gameservices { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gameservices').gameservices; + } + get gamesManagement(): typeof gamesManagement { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gamesManagement').gamesManagement; + } + get genomics(): typeof genomics { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./genomics').genomics; + } + get gkebackup(): typeof gkebackup { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gkebackup').gkebackup; + } + get gkehub(): typeof gkehub { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gkehub').gkehub; + } + get gkeonprem(): typeof gkeonprem { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gkeonprem').gkeonprem; + } + get gmail(): typeof gmail { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gmail').gmail; + } + get gmailpostmastertools(): typeof gmailpostmastertools { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./gmailpostmastertools').gmailpostmastertools; + } + get groupsmigration(): typeof groupsmigration { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./groupsmigration').groupsmigration; + } + get groupssettings(): typeof groupssettings { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./groupssettings').groupssettings; + } + get healthcare(): typeof healthcare { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./healthcare').healthcare; + } + get homegraph(): typeof homegraph { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./homegraph').homegraph; + } + get iam(): typeof iam { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./iam').iam; + } + get iamcredentials(): typeof iamcredentials { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./iamcredentials').iamcredentials; + } + get iap(): typeof iap { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./iap').iap; + } + get ideahub(): typeof ideahub { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./ideahub').ideahub; + } + get identitytoolkit(): typeof identitytoolkit { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./identitytoolkit').identitytoolkit; + } + get ids(): typeof ids { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./ids').ids; + } + get indexing(): typeof indexing { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./indexing').indexing; + } + get integrations(): typeof integrations { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./integrations').integrations; + } + get jobs(): typeof jobs { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./jobs').jobs; + } + get keep(): typeof keep { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./keep').keep; + } + get kgsearch(): typeof kgsearch { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./kgsearch').kgsearch; + } + get kmsinventory(): typeof kmsinventory { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./kmsinventory').kmsinventory; + } + get language(): typeof language { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./language').language; + } + get libraryagent(): typeof libraryagent { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./libraryagent').libraryagent; + } + get licensing(): typeof licensing { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./licensing').licensing; + } + get lifesciences(): typeof lifesciences { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./lifesciences').lifesciences; + } + get localservices(): typeof localservices { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./localservices').localservices; + } + get logging(): typeof logging { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./logging').logging; + } + get looker(): typeof looker { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./looker').looker; + } + get managedidentities(): typeof managedidentities { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./managedidentities').managedidentities; + } + get managedkafka(): typeof managedkafka { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./managedkafka').managedkafka; + } + get manufacturers(): typeof manufacturers { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./manufacturers').manufacturers; + } + get marketingplatformadmin(): typeof marketingplatformadmin { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./marketingplatformadmin').marketingplatformadmin; + } + get meet(): typeof meet { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./meet').meet; + } + get memcache(): typeof memcache { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./memcache').memcache; + } + get merchantapi(): typeof merchantapi { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./merchantapi').merchantapi; + } + get metastore(): typeof metastore { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./metastore').metastore; + } + get migrationcenter(): typeof migrationcenter { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./migrationcenter').migrationcenter; + } + get ml(): typeof ml { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./ml').ml; + } + get monitoring(): typeof monitoring { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./monitoring').monitoring; + } + get mybusinessaccountmanagement(): typeof mybusinessaccountmanagement { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessaccountmanagement').mybusinessaccountmanagement; + } + get mybusinessbusinesscalls(): typeof mybusinessbusinesscalls { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessbusinesscalls').mybusinessbusinesscalls; + } + get mybusinessbusinessinformation(): typeof mybusinessbusinessinformation { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessbusinessinformation') + .mybusinessbusinessinformation; + } + get mybusinesslodging(): typeof mybusinesslodging { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinesslodging').mybusinesslodging; + } + get mybusinessnotifications(): typeof mybusinessnotifications { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessnotifications').mybusinessnotifications; + } + get mybusinessplaceactions(): typeof mybusinessplaceactions { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessplaceactions').mybusinessplaceactions; + } + get mybusinessqanda(): typeof mybusinessqanda { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessqanda').mybusinessqanda; + } + get mybusinessverifications(): typeof mybusinessverifications { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./mybusinessverifications').mybusinessverifications; + } + get netapp(): typeof netapp { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./netapp').netapp; + } + get networkconnectivity(): typeof networkconnectivity { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./networkconnectivity').networkconnectivity; + } + get networkmanagement(): typeof networkmanagement { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./networkmanagement').networkmanagement; + } + get networksecurity(): typeof networksecurity { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./networksecurity').networksecurity; + } + get networkservices(): typeof networkservices { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./networkservices').networkservices; + } + get notebooks(): typeof notebooks { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./notebooks').notebooks; + } + get oauth2(): typeof oauth2 { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./oauth2').oauth2; + } + get observability(): typeof observability { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./observability').observability; + } + get ondemandscanning(): typeof ondemandscanning { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./ondemandscanning').ondemandscanning; + } + get oracledatabase(): typeof oracledatabase { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./oracledatabase').oracledatabase; + } + get orgpolicy(): typeof orgpolicy { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./orgpolicy').orgpolicy; + } + get osconfig(): typeof osconfig { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./osconfig').osconfig; + } + get oslogin(): typeof oslogin { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./oslogin').oslogin; + } + get pagespeedonline(): typeof pagespeedonline { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./pagespeedonline').pagespeedonline; + } + get parallelstore(): typeof parallelstore { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./parallelstore').parallelstore; + } + get parametermanager(): typeof parametermanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./parametermanager').parametermanager; + } + get paymentsresellersubscription(): typeof paymentsresellersubscription { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./paymentsresellersubscription') + .paymentsresellersubscription; + } + get people(): typeof people { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./people').people; + } + get places(): typeof places { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./places').places; + } + get playablelocations(): typeof playablelocations { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./playablelocations').playablelocations; + } + get playcustomapp(): typeof playcustomapp { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./playcustomapp').playcustomapp; + } + get playdeveloperreporting(): typeof playdeveloperreporting { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./playdeveloperreporting').playdeveloperreporting; + } + get playgrouping(): typeof playgrouping { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./playgrouping').playgrouping; + } + get playintegrity(): typeof playintegrity { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./playintegrity').playintegrity; + } + get plus(): typeof plus { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./plus').plus; + } + get policyanalyzer(): typeof policyanalyzer { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./policyanalyzer').policyanalyzer; + } + get policysimulator(): typeof policysimulator { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./policysimulator').policysimulator; + } + get policytroubleshooter(): typeof policytroubleshooter { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./policytroubleshooter').policytroubleshooter; + } + get pollen(): typeof pollen { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./pollen').pollen; + } + get poly(): typeof poly { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./poly').poly; + } + get privateca(): typeof privateca { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./privateca').privateca; + } + get prod_tt_sasportal(): typeof prod_tt_sasportal { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./prod_tt_sasportal').prod_tt_sasportal; + } + get publicca(): typeof publicca { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./publicca').publicca; + } + get pubsub(): typeof pubsub { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./pubsub').pubsub; + } + get pubsublite(): typeof pubsublite { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./pubsublite').pubsublite; + } + get rapidmigrationassessment(): typeof rapidmigrationassessment { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./rapidmigrationassessment').rapidmigrationassessment; + } + get readerrevenuesubscriptionlinking(): typeof readerrevenuesubscriptionlinking { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./readerrevenuesubscriptionlinking') + .readerrevenuesubscriptionlinking; + } + get realtimebidding(): typeof realtimebidding { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./realtimebidding').realtimebidding; + } + get recaptchaenterprise(): typeof recaptchaenterprise { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./recaptchaenterprise').recaptchaenterprise; + } + get recommendationengine(): typeof recommendationengine { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./recommendationengine').recommendationengine; + } + get recommender(): typeof recommender { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./recommender').recommender; + } + get redis(): typeof redis { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./redis').redis; + } + get remotebuildexecution(): typeof remotebuildexecution { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./remotebuildexecution').remotebuildexecution; + } + get reseller(): typeof reseller { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./reseller').reseller; + } + get resourcesettings(): typeof resourcesettings { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./resourcesettings').resourcesettings; + } + get retail(): typeof retail { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./retail').retail; + } + get run(): typeof run { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./run').run; + } + get runtimeconfig(): typeof runtimeconfig { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./runtimeconfig').runtimeconfig; + } + get saasservicemgmt(): typeof saasservicemgmt { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./saasservicemgmt').saasservicemgmt; + } + get safebrowsing(): typeof safebrowsing { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./safebrowsing').safebrowsing; + } + get sasportal(): typeof sasportal { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sasportal').sasportal; + } + get script(): typeof script { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./script').script; + } + get searchads360(): typeof searchads360 { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./searchads360').searchads360; + } + get searchconsole(): typeof searchconsole { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./searchconsole').searchconsole; + } + get secretmanager(): typeof secretmanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./secretmanager').secretmanager; + } + get securesourcemanager(): typeof securesourcemanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./securesourcemanager').securesourcemanager; + } + get securitycenter(): typeof securitycenter { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./securitycenter').securitycenter; + } + get securityposture(): typeof securityposture { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./securityposture').securityposture; + } + get serviceconsumermanagement(): typeof serviceconsumermanagement { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./serviceconsumermanagement').serviceconsumermanagement; + } + get servicecontrol(): typeof servicecontrol { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./servicecontrol').servicecontrol; + } + get servicedirectory(): typeof servicedirectory { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./servicedirectory').servicedirectory; + } + get servicemanagement(): typeof servicemanagement { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./servicemanagement').servicemanagement; + } + get servicenetworking(): typeof servicenetworking { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./servicenetworking').servicenetworking; + } + get serviceusage(): typeof serviceusage { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./serviceusage').serviceusage; + } + get sheets(): typeof sheets { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sheets').sheets; + } + get siteVerification(): typeof siteVerification { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./siteVerification').siteVerification; + } + get slides(): typeof slides { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./slides').slides; + } + get smartdevicemanagement(): typeof smartdevicemanagement { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./smartdevicemanagement').smartdevicemanagement; + } + get solar(): typeof solar { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./solar').solar; + } + get sourcerepo(): typeof sourcerepo { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sourcerepo').sourcerepo; + } + get spanner(): typeof spanner { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./spanner').spanner; + } + get speech(): typeof speech { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./speech').speech; + } + get sql(): typeof sql { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sql').sql; + } + get sqladmin(): typeof sqladmin { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sqladmin').sqladmin; + } + get storage(): typeof storage { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./storage').storage; + } + get storagebatchoperations(): typeof storagebatchoperations { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./storagebatchoperations').storagebatchoperations; + } + get storagetransfer(): typeof storagetransfer { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./storagetransfer').storagetransfer; + } + get streetviewpublish(): typeof streetviewpublish { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./streetviewpublish').streetviewpublish; + } + get sts(): typeof sts { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./sts').sts; + } + get tagmanager(): typeof tagmanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./tagmanager').tagmanager; + } + get tasks(): typeof tasks { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./tasks').tasks; + } + get testing(): typeof testing { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./testing').testing; + } + get texttospeech(): typeof texttospeech { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./texttospeech').texttospeech; + } + get toolresults(): typeof toolresults { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./toolresults').toolresults; + } + get tpu(): typeof tpu { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./tpu').tpu; + } + get trafficdirector(): typeof trafficdirector { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./trafficdirector').trafficdirector; + } + get transcoder(): typeof transcoder { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./transcoder').transcoder; + } + get translate(): typeof translate { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./translate').translate; + } + get travelimpactmodel(): typeof travelimpactmodel { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./travelimpactmodel').travelimpactmodel; + } + get vault(): typeof vault { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vault').vault; + } + get vectortile(): typeof vectortile { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vectortile').vectortile; + } + get verifiedaccess(): typeof verifiedaccess { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./verifiedaccess').verifiedaccess; + } + get versionhistory(): typeof versionhistory { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./versionhistory').versionhistory; + } + get videointelligence(): typeof videointelligence { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./videointelligence').videointelligence; + } + get vision(): typeof vision { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vision').vision; + } + get vmmigration(): typeof vmmigration { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vmmigration').vmmigration; + } + get vmwareengine(): typeof vmwareengine { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vmwareengine').vmwareengine; + } + get vpcaccess(): typeof vpcaccess { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./vpcaccess').vpcaccess; + } + get walletobjects(): typeof walletobjects { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./walletobjects').walletobjects; + } + get webfonts(): typeof webfonts { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./webfonts').webfonts; + } + get webmasters(): typeof webmasters { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./webmasters').webmasters; + } + get webrisk(): typeof webrisk { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./webrisk').webrisk; + } + get websecurityscanner(): typeof websecurityscanner { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./websecurityscanner').websecurityscanner; + } + get workflowexecutions(): typeof workflowexecutions { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./workflowexecutions').workflowexecutions; + } + get workflows(): typeof workflows { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./workflows').workflows; + } + get workloadmanager(): typeof workloadmanager { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./workloadmanager').workloadmanager; + } + get workspaceevents(): typeof workspaceevents { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./workspaceevents').workspaceevents; + } + get workstations(): typeof workstations { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./workstations').workstations; + } + get youtube(): typeof youtube { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./youtube').youtube; + } + get youtubeAnalytics(): typeof youtubeAnalytics { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./youtubeAnalytics').youtubeAnalytics; + } + get youtubereporting(): typeof youtubereporting { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./youtubereporting').youtubereporting; + } } diff --git a/src/apis/managedkafka/v1.ts b/src/apis/managedkafka/v1.ts index 68040729303..0ecf918b4a5 100644 --- a/src/apis/managedkafka/v1.ts +++ b/src/apis/managedkafka/v1.ts @@ -196,6 +196,23 @@ export namespace managedkafka_v1 { */ aclCreated?: boolean | null; } + /** + * Details of a broker in the Kafka cluster. + */ + export interface Schema$BrokerDetails { + /** + * Output only. The index of the broker. + */ + brokerIndex?: string | null; + /** + * Output only. The node id of the broker. + */ + nodeId?: string | null; + /** + * Output only. The rack of the broker. + */ + rack?: string | null; + } /** * The request message for Operations.CancelOperation. */ @@ -260,6 +277,10 @@ export namespace managedkafka_v1 { * An Apache Kafka cluster deployed in a location. */ export interface Schema$Cluster { + /** + * Output only. Only populated when FULL view is requested. Details of each broker in the cluster. + */ + brokerDetails?: Schema$BrokerDetails[]; /** * Required. Capacity configuration for the Kafka cluster. */ @@ -272,6 +293,10 @@ export namespace managedkafka_v1 { * Required. Configuration properties for a Kafka cluster deployed to Google Cloud Platform. */ gcpConfig?: Schema$GcpConfig; + /** + * Output only. Only populated when FULL view is requested. The Kafka version of the cluster. + */ + kafkaVersion?: string | null; /** * Optional. Labels as key value pairs. */ @@ -1460,9 +1485,11 @@ export namespace managedkafka_v1 { * requestBody: { * // request body parameters * // { + * // "brokerDetails": [], * // "capacityConfig": {}, * // "createTime": "my_createTime", * // "gcpConfig": {}, + * // "kafkaVersion": "my_kafkaVersion", * // "labels": {}, * // "name": "my_name", * // "rebalanceConfig": {}, @@ -1755,14 +1782,18 @@ export namespace managedkafka_v1 { * const res = await managedkafka.projects.locations.clusters.get({ * // Required. The name of the cluster whose configuration to return. * name: 'projects/my-project/locations/my-location/clusters/my-cluster', + * // Optional. Specifies the view of the Cluster resource to be returned. Defaults to CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values. + * view: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { + * // "brokerDetails": [], * // "capacityConfig": {}, * // "createTime": "my_createTime", * // "gcpConfig": {}, + * // "kafkaVersion": "my_kafkaVersion", * // "labels": {}, * // "name": "my_name", * // "rebalanceConfig": {}, @@ -2058,9 +2089,11 @@ export namespace managedkafka_v1 { * requestBody: { * // request body parameters * // { + * // "brokerDetails": [], * // "capacityConfig": {}, * // "createTime": "my_createTime", * // "gcpConfig": {}, + * // "kafkaVersion": "my_kafkaVersion", * // "labels": {}, * // "name": "my_name", * // "rebalanceConfig": {}, @@ -2212,6 +2245,10 @@ export namespace managedkafka_v1 { * Required. The name of the cluster whose configuration to return. */ name?: string; + /** + * Optional. Specifies the view of the Cluster resource to be returned. Defaults to CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values. + */ + view?: string; } export interface Params$Resource$Projects$Locations$Clusters$List extends StandardParameters { /** diff --git a/src/apis/observability/v1.ts b/src/apis/observability/v1.ts index 60c3fad678c..3b4cc327e22 100644 --- a/src/apis/observability/v1.ts +++ b/src/apis/observability/v1.ts @@ -102,7 +102,7 @@ export namespace observability_v1 { /** * Observability API * - * + * Provides functionality for configuring the observability scope, which controls the log, metric, and trace data that you can view. * * @example * ```js @@ -112,8 +112,6 @@ export namespace observability_v1 { */ export class Observability { context: APIRequestContext; - folders: Resource$Folders; - organizations: Resource$Organizations; projects: Resource$Projects; constructor(options: GlobalOptions, google?: GoogleConfigurable) { @@ -122,8 +120,6 @@ export namespace observability_v1 { google, }; - this.folders = new Resource$Folders(this.context); - this.organizations = new Resource$Organizations(this.context); this.projects = new Resource$Projects(this.context); } } @@ -283,27 +279,6 @@ export namespace observability_v1 { */ updateTime?: string | null; } - /** - * Describes the settings associated with a project, organization, or folder. - */ - export interface Schema$Settings { - /** - * Optional. The location which should be used when any regional resources are provisioned by GCP. - */ - defaultStorageLocation?: string | null; - /** - * Optional. The resource name for the configured Cloud KMS key. KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example: `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` - */ - kmsKeyName?: string | null; - /** - * Identifier. The resource name of the settings. - */ - name?: string | null; - /** - * Output only. The service account for the given resource container, such as project or folder. This will be used by Cloud Observability to perform actions in the container's project like access KMS keys or create Links. Always the same service account per resource container regardless of region. - */ - serviceAccountId?: string | null; - } /** * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). */ @@ -347,23 +322,33 @@ export namespace observability_v1 { updateTime?: string | null; } - export class Resource$Folders { + export class Resource$Projects { context: APIRequestContext; - locations: Resource$Folders$Locations; + locations: Resource$Projects$Locations; constructor(context: APIRequestContext) { this.context = context; - this.locations = new Resource$Folders$Locations(this.context); + this.locations = new Resource$Projects$Locations(this.context); } } - export class Resource$Folders$Locations { + export class Resource$Projects$Locations { context: APIRequestContext; + operations: Resource$Projects$Locations$Operations; + scopes: Resource$Projects$Locations$Scopes; + traceScopes: Resource$Projects$Locations$Tracescopes; constructor(context: APIRequestContext) { this.context = context; + this.operations = new Resource$Projects$Locations$Operations( + this.context + ); + this.scopes = new Resource$Projects$Locations$Scopes(this.context); + this.traceScopes = new Resource$Projects$Locations$Tracescopes( + this.context + ); } /** - * Get Settings + * Gets information about a location. * @example * ```js * // Before running the sample: @@ -392,18 +377,19 @@ export namespace observability_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await observability.folders.locations.getSettings({ - * // Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]/locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings" - * name: 'folders/my-folder/locations/my-location/settings', + * const res = await observability.projects.locations.get({ + * // Resource name for the location. + * name: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "defaultStorageLocation": "my_defaultStorageLocation", - * // "kmsKeyName": "my_kmsKeyName", - * // "name": "my_name", - * // "serviceAccountId": "my_serviceAccountId" + * // "displayName": "my_displayName", + * // "labels": {}, + * // "locationId": "my_locationId", + * // "metadata": {}, + * // "name": "my_name" * // } * } * @@ -419,53 +405,53 @@ export namespace observability_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getSettings( - params: Params$Resource$Folders$Locations$Getsettings, + get( + params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions ): Promise>; - getSettings( - params?: Params$Resource$Folders$Locations$Getsettings, + get( + params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): Promise>; - getSettings( - params: Params$Resource$Folders$Locations$Getsettings, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getSettings( - params: Params$Resource$Folders$Locations$Getsettings, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getSettings( - params: Params$Resource$Folders$Locations$Getsettings, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Get, + callback: BodyResponseCallback ): void; - getSettings(callback: BodyResponseCallback): void; - getSettings( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Folders$Locations$Getsettings - | BodyResponseCallback + | Params$Resource$Projects$Locations$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Folders$Locations$Getsettings; + {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Folders$Locations$Getsettings; + params = {} as Params$Resource$Projects$Locations$Get; options = {}; } @@ -491,17 +477,17 @@ export namespace observability_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Update Settings + * Lists information about the supported locations for this service. * @example * ```js * // Before running the sample: @@ -530,32 +516,24 @@ export namespace observability_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await observability.folders.locations.updateSettings({ - * // Identifier. The resource name of the settings. - * name: 'folders/my-folder/locations/my-location/settings', - * // Optional. The field mask specifying which fields of the settings are to be updated. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "defaultStorageLocation": "my_defaultStorageLocation", - * // "kmsKeyName": "my_kmsKeyName", - * // "name": "my_name", - * // "serviceAccountId": "my_serviceAccountId" - * // } - * }, + * const res = await observability.projects.locations.list({ + * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * extraLocationTypes: 'placeholder-value', + * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + * filter: 'placeholder-value', + * // The resource that owns the locations collection, if applicable. + * name: 'projects/my-project', + * // The maximum number of results to return. If not set, the service selects a default. + * pageSize: 'placeholder-value', + * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + * pageToken: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "locations": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -571,53 +549,55 @@ export namespace observability_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - updateSettings( - params: Params$Resource$Folders$Locations$Updatesettings, + list( + params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions ): Promise>; - updateSettings( - params?: Params$Resource$Folders$Locations$Updatesettings, + list( + params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): Promise>; - updateSettings( - params: Params$Resource$Folders$Locations$Updatesettings, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - updateSettings( - params: Params$Resource$Folders$Locations$Updatesettings, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - updateSettings( - params: Params$Resource$Folders$Locations$Updatesettings, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$List, + callback: BodyResponseCallback ): void; - updateSettings(callback: BodyResponseCallback): void; - updateSettings( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Folders$Locations$Updatesettings - | BodyResponseCallback + | Params$Resource$Projects$Locations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Folders$Locations$Updatesettings; + {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Folders$Locations$Updatesettings; + params = {} as Params$Resource$Projects$Locations$List; options = {}; } @@ -631,8 +611,11 @@ export namespace observability_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1/{+name}/locations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options @@ -643,997 +626,37 @@ export namespace observability_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Folders$Locations$Getsettings extends StandardParameters { + export interface Params$Resource$Projects$Locations$Get extends StandardParameters { /** - * Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]/locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings" + * Resource name for the location. */ name?: string; } - export interface Params$Resource$Folders$Locations$Updatesettings extends StandardParameters { + export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Identifier. The resource name of the settings. + * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */ - name?: string; + extraLocationTypes?: string[]; /** - * Optional. The field mask specifying which fields of the settings are to be updated. + * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */ - updateMask?: string; - + filter?: string; /** - * Request body metadata + * The resource that owns the locations collection, if applicable. */ - requestBody?: Schema$Settings; - } - - export class Resource$Organizations { - context: APIRequestContext; - locations: Resource$Organizations$Locations; - constructor(context: APIRequestContext) { - this.context = context; - this.locations = new Resource$Organizations$Locations(this.context); - } - } - - export class Resource$Organizations$Locations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - + name?: string; /** - * Get Settings - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/observability.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const observability = google.observability('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await observability.organizations.locations.getSettings({ - * // Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]/locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings" - * name: 'organizations/my-organization/locations/my-location/settings', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "defaultStorageLocation": "my_defaultStorageLocation", - * // "kmsKeyName": "my_kmsKeyName", - * // "name": "my_name", - * // "serviceAccountId": "my_serviceAccountId" - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - getSettings( - params: Params$Resource$Organizations$Locations$Getsettings, - options: StreamMethodOptions - ): Promise>; - getSettings( - params?: Params$Resource$Organizations$Locations$Getsettings, - options?: MethodOptions - ): Promise>; - getSettings( - params: Params$Resource$Organizations$Locations$Getsettings, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getSettings( - params: Params$Resource$Organizations$Locations$Getsettings, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getSettings( - params: Params$Resource$Organizations$Locations$Getsettings, - callback: BodyResponseCallback - ): void; - getSettings(callback: BodyResponseCallback): void; - getSettings( - paramsOrCallback?: - | Params$Resource$Organizations$Locations$Getsettings - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Getsettings; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Organizations$Locations$Getsettings; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://observability.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Update Settings - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/observability.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const observability = google.observability('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await observability.organizations.locations.updateSettings({ - * // Identifier. The resource name of the settings. - * name: 'organizations/my-organization/locations/my-location/settings', - * // Optional. The field mask specifying which fields of the settings are to be updated. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "defaultStorageLocation": "my_defaultStorageLocation", - * // "kmsKeyName": "my_kmsKeyName", - * // "name": "my_name", - * // "serviceAccountId": "my_serviceAccountId" - * // } - * }, - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - updateSettings( - params: Params$Resource$Organizations$Locations$Updatesettings, - options: StreamMethodOptions - ): Promise>; - updateSettings( - params?: Params$Resource$Organizations$Locations$Updatesettings, - options?: MethodOptions - ): Promise>; - updateSettings( - params: Params$Resource$Organizations$Locations$Updatesettings, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - updateSettings( - params: Params$Resource$Organizations$Locations$Updatesettings, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - updateSettings( - params: Params$Resource$Organizations$Locations$Updatesettings, - callback: BodyResponseCallback - ): void; - updateSettings(callback: BodyResponseCallback): void; - updateSettings( - paramsOrCallback?: - | Params$Resource$Organizations$Locations$Updatesettings - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Updatesettings; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Organizations$Locations$Updatesettings; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://observability.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Organizations$Locations$Getsettings extends StandardParameters { - /** - * Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]/locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings" - */ - name?: string; - } - export interface Params$Resource$Organizations$Locations$Updatesettings extends StandardParameters { - /** - * Identifier. The resource name of the settings. - */ - name?: string; - /** - * Optional. The field mask specifying which fields of the settings are to be updated. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Settings; - } - - export class Resource$Projects { - context: APIRequestContext; - locations: Resource$Projects$Locations; - constructor(context: APIRequestContext) { - this.context = context; - this.locations = new Resource$Projects$Locations(this.context); - } - } - - export class Resource$Projects$Locations { - context: APIRequestContext; - operations: Resource$Projects$Locations$Operations; - scopes: Resource$Projects$Locations$Scopes; - traceScopes: Resource$Projects$Locations$Tracescopes; - constructor(context: APIRequestContext) { - this.context = context; - this.operations = new Resource$Projects$Locations$Operations( - this.context - ); - this.scopes = new Resource$Projects$Locations$Scopes(this.context); - this.traceScopes = new Resource$Projects$Locations$Tracescopes( - this.context - ); - } - - /** - * Gets information about a location. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/observability.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const observability = google.observability('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await observability.projects.locations.get({ - * // Resource name for the location. - * name: 'projects/my-project/locations/my-location', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "displayName": "my_displayName", - * // "labels": {}, - * // "locationId": "my_locationId", - * // "metadata": {}, - * // "name": "my_name" - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - get( - params: Params$Resource$Projects$Locations$Get, - options: StreamMethodOptions - ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Get, - options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Get, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Get, - callback: BodyResponseCallback - ): void; - get(callback: BodyResponseCallback): void; - get( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Get - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Get; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Get; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://observability.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Get Settings - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/observability.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const observability = google.observability('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await observability.projects.locations.getSettings({ - * // Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]/locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings" - * name: 'projects/my-project/locations/my-location/settings', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "defaultStorageLocation": "my_defaultStorageLocation", - * // "kmsKeyName": "my_kmsKeyName", - * // "name": "my_name", - * // "serviceAccountId": "my_serviceAccountId" - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - getSettings( - params: Params$Resource$Projects$Locations$Getsettings, - options: StreamMethodOptions - ): Promise>; - getSettings( - params?: Params$Resource$Projects$Locations$Getsettings, - options?: MethodOptions - ): Promise>; - getSettings( - params: Params$Resource$Projects$Locations$Getsettings, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getSettings( - params: Params$Resource$Projects$Locations$Getsettings, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getSettings( - params: Params$Resource$Projects$Locations$Getsettings, - callback: BodyResponseCallback - ): void; - getSettings(callback: BodyResponseCallback): void; - getSettings( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Getsettings - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Getsettings; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Getsettings; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://observability.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Lists information about the supported locations for this service. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/observability.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const observability = google.observability('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await observability.projects.locations.list({ - * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. - * extraLocationTypes: 'placeholder-value', - * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). - * filter: 'placeholder-value', - * // The resource that owns the locations collection, if applicable. - * name: 'projects/my-project', - * // The maximum number of results to return. If not set, the service selects a default. - * pageSize: 'placeholder-value', - * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. - * pageToken: 'placeholder-value', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "locations": [], - * // "nextPageToken": "my_nextPageToken" - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - list( - params: Params$Resource$Projects$Locations$List, - options: StreamMethodOptions - ): Promise>; - list( - params?: Params$Resource$Projects$Locations$List, - options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$List, - callback: BodyResponseCallback - ): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://observability.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}/locations').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Update Settings - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/observability.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const observability = google.observability('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await observability.projects.locations.updateSettings({ - * // Identifier. The resource name of the settings. - * name: 'projects/my-project/locations/my-location/settings', - * // Optional. The field mask specifying which fields of the settings are to be updated. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "defaultStorageLocation": "my_defaultStorageLocation", - * // "kmsKeyName": "my_kmsKeyName", - * // "name": "my_name", - * // "serviceAccountId": "my_serviceAccountId" - * // } - * }, - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - updateSettings( - params: Params$Resource$Projects$Locations$Updatesettings, - options: StreamMethodOptions - ): Promise>; - updateSettings( - params?: Params$Resource$Projects$Locations$Updatesettings, - options?: MethodOptions - ): Promise>; - updateSettings( - params: Params$Resource$Projects$Locations$Updatesettings, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - updateSettings( - params: Params$Resource$Projects$Locations$Updatesettings, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - updateSettings( - params: Params$Resource$Projects$Locations$Updatesettings, - callback: BodyResponseCallback - ): void; - updateSettings(callback: BodyResponseCallback): void; - updateSettings( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Updatesettings - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Updatesettings; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Updatesettings; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://observability.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Get extends StandardParameters { - /** - * Resource name for the location. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Getsettings extends StandardParameters { - /** - * Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]/locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings" - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$List extends StandardParameters { - /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. - */ - extraLocationTypes?: string[]; - /** - * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). - */ - filter?: string; - /** - * The resource that owns the locations collection, if applicable. - */ - name?: string; - /** - * The maximum number of results to return. If not set, the service selects a default. + * The maximum number of results to return. If not set, the service selects a default. */ pageSize?: number; /** @@ -1641,21 +664,6 @@ export namespace observability_v1 { */ pageToken?: string; } - export interface Params$Resource$Projects$Locations$Updatesettings extends StandardParameters { - /** - * Identifier. The resource name of the settings. - */ - name?: string; - /** - * Optional. The field mask specifying which fields of the settings are to be updated. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Settings; - } export class Resource$Projects$Locations$Operations { context: APIRequestContext; diff --git a/src/generator/templates/index.njk b/src/generator/templates/index.njk index 75b449dec93..ccd74acd13e 100644 --- a/src/generator/templates/index.njk +++ b/src/generator/templates/index.njk @@ -2,7 +2,7 @@ /*! THIS FILE IS AUTO-GENERATED */ {% for apiName, api in apis %} - import { + import type { VERSIONS as {{apiName}}Versions, {{apiName}} } from './{{ apiName }}'; @@ -15,12 +15,18 @@ export interface APIList { export const APIS: APIList = { {% for apiName, api in apis %} - {{ apiName }}: {{ apiName }}Versions, + get {{ apiName }}() { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./{{ apiName }}').VERSIONS; + }, {% endfor %} }; export class GeneratedAPIs { {% for apiName, api in apis %} - {{ apiName }} = {{ apiName }}; + get {{ apiName }}(): typeof {{ apiName }} { + // eslint-disable-next-line @typescript-eslint/no-var-requires + return require('./{{ apiName }}').{{ apiName }}; + } {% endfor %} } diff --git a/src/googleapis.ts b/src/googleapis.ts index 9d0153c6360..f8bb9839b12 100644 --- a/src/googleapis.ts +++ b/src/googleapis.ts @@ -11,7 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -import {GeneratedAPIs, APIS} from './apis'; + +import { GeneratedAPIs, APIS } from './apis'; import { AuthPlus, @@ -21,10 +22,10 @@ import { GlobalOptions, } from 'googleapis-common'; -export {AuthPlus}; +export { AuthPlus }; export class GoogleApis extends GeneratedAPIs { - private _discovery = new Discovery({debug: false, includePrivate: false}); + private _discovery = new Discovery({ debug: false, includePrivate: false }); auth = new AuthPlus(); _options: GlobalOptions = {}; [index: string]: APIEndpoint; @@ -49,7 +50,7 @@ export class GoogleApis extends GeneratedAPIs { * Obtain a Map of supported APIs, along with included API versions. */ getSupportedAPIs() { - const apiMap = {} as {[index: string]: string[]}; + const apiMap = {} as { [index: string]: string[] }; Object.keys(APIS).forEach(a => { apiMap[a] = Object.keys(APIS[a]); }); diff --git a/src/index.ts b/src/index.ts index e2a59922bfe..283c2478818 100644 --- a/src/index.ts +++ b/src/index.ts @@ -297,9 +297,9 @@ export {fitness_v1} from './apis/fitness/v1'; export {forms_v1} from './apis/forms/v1'; export {games_v1} from './apis/games/v1'; export {gamesConfiguration_v1configuration} from './apis/gamesConfiguration/v1configuration'; -export {gamesManagement_v1management} from './apis/gamesManagement/v1management'; export {gameservices_v1} from './apis/gameservices/v1'; export {gameservices_v1beta} from './apis/gameservices/v1beta'; +export {gamesManagement_v1management} from './apis/gamesManagement/v1management'; export {genomics_v1} from './apis/genomics/v1'; export {genomics_v1alpha2} from './apis/genomics/v1alpha2'; export {genomics_v2alpha1} from './apis/genomics/v2alpha1'; diff --git a/verify_lazy.js b/verify_lazy.js new file mode 100644 index 00000000000..813fe0941e9 --- /dev/null +++ b/verify_lazy.js @@ -0,0 +1,54 @@ + +const { google } = require('./build/src/googleapis'); +const { APIS } = require('./build/src/apis'); + +console.log('google imported'); + +// Check if APIS is defined +if (!APIS) { + console.error('APIS is undefined'); + process.exit(1); +} + +// Check if we can access a property (triggering the getter) +try { + const drive = google.drive({ version: 'v3' }); + console.log('drive v3 loaded'); +} catch (e) { + console.error('Failed to load drive v3', e); + process.exit(1); +} + +// Check if APIS object has getters (this is tricky in JS if they are enumerable) +// But we can check if accessing a prop works. +const apiNames = Object.keys(APIS); +console.log('Number of APIs:', apiNames.length); + +// Check if properties are getters (indicating lazy loading) +if (apiNames.length > 0) { + const firstApiName = apiNames[0]; + console.log('First API:', firstApiName); + const descriptor = Object.getOwnPropertyDescriptor(APIS, firstApiName); + if (descriptor && descriptor.get) { + console.log(`${firstApiName} is a getter (lazy loaded)`); + } else { + console.log(`${firstApiName} is not a getter`); + } + // Try to access it + const firstApi = APIS[firstApiName]; + console.log('First API loaded:', !!firstApi); +} + +// Additional verification: Check a few more APIs to ensure lazy loading +const testApis = ['drive', 'gmail', 'youtube']; +for (const apiName of testApis) { + if (APIS[apiName]) { + console.log(`Testing ${apiName}...`); + const api = APIS[apiName]; + console.log(`${apiName} loaded successfully:`, !!api); + } else { + console.log(`${apiName} not found in APIS`); + } +} + +console.log('Verification successful');